Linux tools

  1. file, strings

$ file <binary>  # identify file type
$ strings <binary> # extract readable strings
  1. objdump

$ objdump ... <binary> 
  • -d , --disassemble: Display assembler contents of executable sections

  • -D, --disassemble-all: Display assembler contents of all sections

  1. readelf

  • -l flag: Displays the information contained in the file's segment headers, if it has any

    • other possible flag names for -l: --program-headers/--segments

$ readelf -l <binary>
$ readelf -a <binary> # all
  1. strace , ltrace

$ strace <binary> # trace system calls
$ ltrace <binary> # trace library calls

Last updated