Linux utils
Linux utils
- brk, sbrk - change the program break (allocate more memory to the process)
- also ANONYMOUS mmap can be used to allocate memory to process
- objdump - dump information about object files
objdump <program> -d- dissassembly sections
- readelf - extract information from ELF object files
readelf <program> -l- show headersreadelf <program> -S- show sections
- ldd - show dynamic libraries dependencies
- mprotect - changes memory permissions/protections
- nm - list symbols in object file
Misc
file <file_path>- determine type of fileless <text_file_path>- view text filessize <program>- view section sizes of binary files