mirror of
https://github.com/autistic-symposium/sec-pentesting-toolkit.git
synced 2025-11-19 19:12:20 -05:00
| .. | ||
| IntroX86 | ||
| COMMAND_LINE_TOOLS.md | ||
| GDB Cheat Sheet.pdf | ||
| GDB_NOTES.txt | ||
| README.md | ||
| table.png | ||
| X86_Win32_Reverse_Engineering_Cheat_Sheet.pdf | ||
Tools
Dissasembly
gdb
$ gcc -ggdb -o <filename> <filename>.c
Starting with some commands:
$ gdb <program name> -x <command file>
For example:
$ cat command.txt
set disassembly-flavor intel disas main
#### objdump
Display information from object files:
• Where object file can be an intermediate file
created during compilation but before linking, or a
fully linked executable
$ objdump -d
#### hexdump & xxd
For canonical hex & ASCII view:
$hexdump -C
#### xxd
Make a hexdump or do the reverse:
xxd hello > hello.dump xxd -r hello.dump > hello