Decompressing vmlinux from vmlinuz

Find the gzip signature:
# od -A d -t x1 vmlinuz | grep '1f 8b 08'
0018016 48 8d 83 e0 c7 2e 00 ff e0 1f 8b 08 00 00 00 00
Decompress data after that:
# dd if=vmlinuz bs=1 skip=18025 | zcat > vmlinux
Note that 18025 = 18016 + 9 Reference: http://www.codeguru.com/forum/showthread.php?t=415186

留言

這個網誌中的熱門文章

[教學] 在GMail 收台大Web Mail信件