Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Elf parsing

If you have debug information in the binary, Symbol class has a method
getFile() or something like that. (Debug info when you compile gcc -c
-g -o foo.o foo.c)


On Wed, Sep 30, 2009 at 9:05 AM, Bhavana Babu
<bhavana.babu@xxxxxxxxxxxxx> wrote:
> Hi all,
>
>
>
> We are using  “org.eclipse.cdt.utils.elf.Elf” for parsing an elf file.
>
>
>
> getSymbols() method returns all symbols form the elf file ( files,
> functions, variables ) etc.
>
> But we need to identify which function/variable  belongs to which file .
>
> Is there any option to identify the functions and variables of a particular
> file.
>
>
>
>  Thanks & Regards,
>
> Bhavana
>
>
>
> ***** Confidentiality Statement/Disclaimer *****
>
> This message and any attachments is intended for the sole use of the
> intended recipient. It may contain confidential information. Any
> unauthorized use, dissemination or modification is strictly prohibited. If
> you are not the intended recipient, please notify the sender immediately
> then delete it from all your systems, and do not copy, use or print.
> Internet communications are not secure and it is the responsibility of the
> recipient to make sure that it is virus/malicious code exempt.
>
> The company/sender cannot be responsible for any unauthorized alterations or
> modifications made to the contents. If you require any form of confirmation
> of the contents, please contact the company/sender. The company/sender is
> not liable for any errors or omissions in the content of this message.
>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>
>


Back to the top