4
votes
Accepted
How can I find my variables in the running process?
Your std::string is not a plain ascii string it is a structure (actually a class) so you cannot take the address and find the string.
In your specific case since your string test's length is less ...
2
votes
How does this local var get assigned?
probably the Buffer variable is accessed indirectly by one of the called functions and var_22C is actually part of the buffer.
2
votes
There is any way to see the subroutine local variables values and who actually access them?
If you have a debugger with access to symbols, then you can run to the start of the function, and then place watches on the symbol names.
In the absence of a debugger, if you can hook the function ...
2
votes
Is there any way to create alias/variable for memory-related value in Radare 2?
So, it turns out, there is no way to do it in Radare2. However, I created a plugin with a huge help from pancake, that allows just that:
https://github.com/satk0/r2-afen-plugin
Installation is as ...
1
vote
Accepted
Find out the name of constants and var in IDA pro
Generally speaking, this is not possible with any reverse engineering tool. If the programmer created custom #define statements to associate numbers with symbolic names, this information will be ...
1
vote
How to watch a function's local variable in GDB?
You could use a Watchpoint
The simplest way to do it is to use a watchpoint. A watchpoint will stop execution when a certain memory address is read or written. According to the GDB Manual section on ...
1
vote
Accepted
Local variables and addition not shown in Ghidra
you may either need to use the local variables or compile with optimizations disabled
I assume you are using msvc on windows ??
shown below is a snippet that was compiled on x64 for x64 in win 10 ...
1
vote
How can I find my variables in the running process?
Answer of blabb is correct, I will just add some more information.
You are looking at wrong window of x64 for searching values. As you can see in your picture content of this window (CPU) is ...
1
vote
Accepted
Dolphin Emulator Android port modifications
After I did some more digging in the APK, I found what handles the fylesystem for the emulator. It is the libmain.so binary. Because it is handled by this file, modifying it is next to imposdible, ...
1
vote
How does this local var get assigned?
As far as I can see this mov al, [ebp+var_22C] command works with 8 bit data (according to name al), and there is a possibility that this var_22C variable is assigned as a part of bigger entity, ...
1
vote
Obtaining memory locations of local variables
Let's start first with finding local variables. Binary files contain multiple sections used for a plethora of purposes. The section of interest in your case is the .bss. In this sections, you're ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
local-variables × 17stack-variables × 7
ida × 5
binary-analysis × 3
assembly × 2
c × 2
ghidra × 2
hexrays × 2
disassembly × 1
windows × 1
debugging × 1
x86 × 1
c++ × 1
android × 1
radare2 × 1
arm × 1
gdb × 1
elf × 1
memory × 1
binary × 1
stack × 1
strings × 1
idapro-sdk × 1
ida-plugin × 1
gcc × 1