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

Dave Anderson anderson at redhat.com
Tue Dec 6 14:52:19 UTC 2011



----- Original Message -----
> 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

I like it!  Queued for crash-6.0.2.

Thanks,
  Dave

> ---
> 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>
> 
> --
> Crash-utility mailing list
> Crash-utility at redhat.com
> https://www.redhat.com/mailman/listinfo/crash-utility
> 




More information about the Crash-utility mailing list