macro
處理
#define
, #include
, #pragma
...等做初步處理object file
object file
,組成一個執行檔案,就可以執行了Static Linking
Dynamic Linking
#include <stdio.h>
int main()
{
printf("Hello World!");
}
gcc hello.c -o hello
objdump -M intel -d <binary>
Disassembly
,懶得開ida或ghidra可以試試這個{char}
,{short}
,{long}
1/2/8sudo apt install git
git clone https://github.com/longld/peda.git ~/peda
echo "source ~/peda/peda.py" >> ~/.gdbinit
詳情可參考:GDB-CheatSheet