15 questions
0
votes
1
answer
205
views
IDA Pro 9.1 displaying wrong values of local variables in locals window
Could you please advise on how to resolve the issue with variable display in the Locals window during debugging?
When execution is halted at a breakpoint at the beginning of a function, the variables ...
4
votes
1
answer
77
views
Where is the offset of the Y register from the call/stack frame in avr-gcc coming from?
On the avr-gcc website (https://gcc.gnu.org/wiki/avr-gcc#Frame_Layout) it says that the frame pointer (Y register) is off by one byte so Y+1 points to the bottom of the frame. However when I compiled ...
-1
votes
1
answer
303
views
What it means that Ebp register points to the old Ebp
i've been learning x86 assembly for reverse engineering recently and in my tutorial there is sentence that says Ebp points to the old Ebp, however i don't understand this, its confusing.
I looked up ...
6
votes
0
answers
600
views
gdb use of the frame pointer register in Aarch64 assembly?
I've run into a surprise while using the gdb debugger to trace execution of an Aarch64 assembly-language program.
A lot of documentation equates the x29 "architectural register" with the ...
1
vote
1
answer
502
views
Why does the stack pointer and frame pointer have the same address?
I was under the impression that the frame pointer $fp is set to the first word of stack according to Computer Organization and Design MIPS 5th ed page 103.
int func(int g) {
int f = 9;
return ...
1
vote
0
answers
833
views
GDB disassembly, what is the -0xc(%rbp) position? [duplicate]
I am in school and doing an assignment where I disassembly binary files and then interpret them and build a C++ program from them (reverse engineering).
What does the "c" position represent ...
74
votes
4
answers
174k
views
What are the ESP and the EBP registers?
I found that the ESP register is the current stack pointer and EBP is the base pointer for the current stack frame. However, I don't understand these definitions (I am just starting to learn how to ...
67
votes
4
answers
54k
views
What is stack frame in assembly?
What is the structure of a stack frame and how is it used while calling functions in assembly?