Timeline for Local variables and addition not shown in Ghidra
Current License: CC BY-SA 4.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 20, 2020 at 11:59 | comment | added | rustyMagnet |
did you try volatile ? Example: volatile int x = 1;
|
|
Sep 25, 2019 at 11:53 | vote | accept | Rebegin | ||
Sep 25, 2019 at 10:14 | answer | added | blabb | timeline score: 1 | |
Sep 25, 2019 at 10:04 | answer | added | Anton Kukoba | timeline score: 0 | |
Sep 25, 2019 at 9:09 | comment | added | julian♦ | You’re free to ask as many questions as you want here, as long as they are on-topic. The purpose of this site is to help people out with RE related problems, so there is no need to apologize | |
Sep 25, 2019 at 8:48 | comment | added | Rebegin | @Biswapriyo I have added some additional code to be able to see more in assembly. I have updated my initial question. There is more info now, but I still cannot see the declaration of local variables nor the use of arithmetic operation. | |
Sep 25, 2019 at 8:48 | history | edited | Rebegin | CC BY-SA 4.0 |
Added new information
|
Sep 25, 2019 at 8:26 | comment | added | Biswapriyo |
The variables are not used further so compiler optimizes it to nothing. Try to create a different function and call it in main. For example add(1, 2); .
|
|
Sep 25, 2019 at 8:01 | history | asked | Rebegin | CC BY-SA 4.0 |