[Crash-utility] Pseudo symbol for found out module sections

Toshikazu Nakayama nakayama.ts at ncos.nec.co.jp
Tue Dec 6 06:15:08 UTC 2011


Hello Dave,

I add helper pseudo symbol about found out module sections.
They can be looked see by "sym -m <module name>" after module
object file has been loaded.
I think the visual effects of section layout or grouping are
useful information for symbols.

Thanks,
Toshi
---
crash> mod -s blowfish
crash> sym -m blowfish
ffffffffa0134000 MODULE START: blowfish
ffffffffa0134000 [.text]: section start
ffffffffa0134000 (t) encrypt_block
ffffffffa0134434 (t) bf_encrypt
ffffffffa0134470 (t) bf_decrypt
ffffffffa01348ae (t) bf_setkey
ffffffffa0134a10 [.text]: section end
ffffffffa0134a10 [.exit.text]: section start
ffffffffa0134a10 (T) cleanup_module
ffffffffa0134a10 (t) fini
ffffffffa0134a25 [.exit.text]: section end
ffffffffa0134a40 [.rodata]: section start
ffffffffa0134a40 (r) bf_pbox
ffffffffa0134aa0 (r) bf_sbox
ffffffffa0135aa0 [.rodata]: section end
ffffffffa01361a0 [.data]: section start
ffffffffa01361a0 (d) alg
ffffffffa0136230 [.data]: section end
ffffffffa0136280 [.gnu.linkonce.this_module]: section start
ffffffffa0136280 (D) __this_module
ffffffffa0136800 [.gnu.linkonce.this_module]: section end
ffffffffa0136800 MODULE END: blowfish
crash>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-section-pseudo-symbol-for-module.patch
Type: text/x-patch
Size: 5279 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20111206/53bf1c41/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-add-pseudo-section-symbol-skip-to-value_search_modul.patch
Type: text/x-patch
Size: 1350 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20111206/53bf1c41/attachment-0001.bin>


More information about the Crash-utility mailing list