[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: starting address of a kernel module



anumula venkat wrote:
>    I want to know how to get starting address of a
> kernel module. For example if we an executable file by
> reading header of that file we can get starting
> address of that prog in memory. But it is difficult to
> find starting address of a module by examining the
> header as it will be a relocatable file. Is there any
> way of getting it ?

Perhaps "insmod -m foo.o" is what you are looking for...

    Scott Anderson
    scott_anderson@mvista.com   MontaVista Software Inc.
    (408)328-9214               1237 East Arques Ave.
    http://www.mvista.com       Sunnyvale, CA  94085
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/