well what i have done is , i have unregister the binary fmt from the kernel and register our own binary format. once we register it we know the flow of binary. so here before mmapping i open the binary and read the plt and got sections. once i got the size of these sections i have exported that symbol. Can u suggest better than that. Thanks Anurag ----- Original Message ----- From: "srinivas bakki" <srinivas.bakki@xxxxxxxxx> To: "Anurag Verma" <averma@xxxxxxxxxxxxxxxxxxx> Cc: <kernelnewbies@xxxxxxxxxxxx> Sent: Friday, July 22, 2005 4:44 PM Subject: Re: mmap info > > > well i have to find out the size of a plt or got section at the runtime. > > > Means, if a program is running then inside the program i need to know > > > the size of a plt or got section. > > > Thanks > > I guess your mmap idea is improper in this context. this way the > properties of the plt or got sections cannot be scrutinized. > > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > ******************************************************************************** Network Programs is a SEI-CMM Level 5 & ISO 9001: 2000 Certified Company ******************************************************************************** The information contained in this communication (including any attachments) is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by responding to this email and delete it from your system. Network Programs (India) Limited is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. ******************************************************************************** -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/