發表文章

目前顯示的是 12月, 2011的文章

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