Code with an if statement. I thought that 0xdeadbeef was a constant that shouldn't be changed, so I thought it would be in the data area.
But when I tried gdb,
The assembly code is in the code area, right?
If you look at the image above, is it right to say that 0xdeadbeef is stored in the code area?
I wonder if the value 0xdeadbeef is in the code area or the data area.
gdb data-structure
The operand value of the command cmp is the 0xdeadbeef value.
Even at the binary level, it's liturgical.
https://www.felixcloutier.com/x86/cmp
If you go and see. CMP EAX, imm32 You can check the appropriate commands.
im is an abbreviation for the immediate value.
Yes, it is embedded in the code area as an operand value.
1825 Uncaught (inpromise) Error on Electron: An object could not be cloned
1841 I want to run pyautogui without remote connection on Windows 10 in the cloud
1777 Error in x, y, and format string must not be None
2006 I want to connect to the webcam from WSL(ubuntu)
1947 M2 Mac fails to install rbenv install 3.1.3 due to errors
© 2026 OneMinuteCode. All rights reserved.