Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Stack viewer. #249

Closed
epasveer opened this issue Sep 23, 2024 · 3 comments · Fixed by #250
Closed

Add Stack viewer. #249

epasveer opened this issue Sep 23, 2024 · 3 comments · Fixed by #250
Assignees
Labels
enhancement New feature or request

Comments

@epasveer
Copy link
Owner

As outlined in this task.

#127

Address:
SS is the stack segment.
In x86 real mode which is the legacy mode in which all PCs boot, memory is accessed using a pair of registers, and for stack it is SS:SP.
Effective physical address computation is SS*16+SP. More info here: https://en.wikipedia.org/wiki/Real_mode

Content:
x86 stack can contain 16, 32 or 64 bits values (yay!). There is no good way of representing that.
What would be useful would maybe to have a table that would display a column for each 2 bytes address in rows and with various visualizations in columns so that different representations could be seen for each address.

@epasveer epasveer self-assigned this Sep 23, 2024
@epasveer epasveer added the enhancement New feature or request label Sep 23, 2024
@epasveer epasveer pinned this issue Sep 23, 2024
@epasveer
Copy link
Owner Author

@epasveer
Copy link
Owner Author

epasveer commented Oct 1, 2024

I've noticed detached windows are always been detached as minimized windows. I need to look into this.

Some info:

Assuming your widget is w, then try

w->setWindowState(w->windowState() & ~Qt::WindowMinimized | Qt::WindowActive);
to restore the window, and

w->setWindowState(w->windowState() | Qt::WindowMinimized)
to show the window minimised.

@epasveer
Copy link
Owner Author

epasveer commented Oct 5, 2024

For the stack viewer, it looks like this:
image

@epasveer epasveer linked a pull request Oct 5, 2024 that will close this issue
@epasveer epasveer unpinned this issue Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant