May 24, 2016

objdump tool


Install the command line tools:
$ brew install binutils

Print out shared library dependencies:
$ otool -L <file> ( ldd <file> )

Disassemble the text section:
$ otool -tV ( objdump -j .text -d <file> )

Dump the contents of the data section:
$ otool -dv <file> ( objdump -j .data -s <file> )

No comments:

Post a Comment

Kubernetes

kubectl installation $ curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl...