-
In this function, there is a stack alignment at 1 which results in one or two stack slots. Also, at 2 a frame pointer is established which is subsequently used to refer to stack variables in the frame of the previous function as shown at 3. In the Stack pane, the distances shown are static. Over in x64dbg-land, there is an elegant feature in the stack view where double clicking on a location in the stack sets that as zero and then marks the slots north and south of that location with the appropriate distance. I was reliably informed that this feature dates back to OllyDbg: https://twitter.com/Hexacorn/status/1764068094811529495 How I missed that I don't know, but it is super useful. This should happen when I double click one of the distance values in the first colunm of the Stack pane shown in red in the following screenshot. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
This is an interesting feature request. However, I am not sure the way x64dbg does it is the best. Could you please let me know why you would wish to set alternative "zero" for the stack? I know the code adjusted the stack twice at the prologue, but since our stack view is ebp-based, that does not really affect the layout of the stack. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
This has since been handled! In builds >= 4.1.5256 you can double click the offset side of the stack view and it will base the others off where you clicked. |
Beta Was this translation helpful? Give feedback.
I kinda get what you mean. This is a different workflow tham my personal one, but I believe we should add this feature to support yours