> I want to find where each module is loaded in memory by traversing the > module list . Once I have the address and the size of the module, I > want to read the bytes in memory of the module and hash it to check > it's integrity. > Heres some code I wrote for Stargames to do a CRC tracking of every module loaded, it may have a race condition on module unload, but it works perfectly for what they want to use it for.... It just runs a kthread doing the CRCing of the kernel test and modules every so often... I also have similiar code to do the same for shared objects loaded in userspace, but it requires a daemon in userspace to the CRCing whose license I'm not entirely sure of.. Dave.
Attachment:
mytest.diff
Description: Binary data
- References:
- Re: Kernel page table and module text
- From: Allison <[email protected]>
- Re: Kernel page table and module text
- Prev by Date: [PATCH libata-dev-2.6] sata_via: VT6420 PATA support - please help, correct this driver's alfa source code
- Next by Date: Re: GPL violation by CorAccess?
- Previous by thread: Re: Kernel page table and module text
- Next by thread: Re: Kernel page table and module text
- Index(es):