Host computer:
arm-none-linux-gnueabi-objdump -EL -b binary -D -m armv5t zImage | grep 8b1f
33d4: 00088b1f andeq r8, r8, pc, lsl fp
342ec: 638b1f53 orrvs r1, fp, #332 ; 0x14c
3ef2c: 5a8b1fb1 bpl 0xfe306df8
......
dd if=zImage of=pigg.gz bs=1 skip=13268
gzip -d pigg.gz
arm-none-linux-gnueabi-objdump -EL -b binary -D -m armv5t pigg | less
Target computer:
cat /proc/kallsyms #to get kernel function call name
reference:
http://openinkpot.org/wiki/ZImageFormat
沒有留言:
張貼留言