objdump

来源:互联网 发布:a5网站源码 编辑:程序博客网 时间:2024/04/27 16:11

### basic

#### google search :

 command example , steps ( how to use / towards XX mastery ) .

#### related tools :

 nm , readelf

#### background knowledge : 

(1) Understanding object file structure

(2) Learning the DWARF debug information format.


-d : disassemble ( .init , .plt ,  .text )

-D : disassemble all , and under ARM architecture , it will decode data in code sections as if they were instructions as well . 

-j : selected sections ( for a common example , .text )


^ example : objdump -j .text -d local-block


^ example 2 : disassemble a specific function 

(1) readelf -a local-block | grep function 

(2) objdump --start-address XX --stop-address XX local-block


#### others : 

http://blog.csdn.net/joans123/article/details/8159262



原创粉丝点击