Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tcf-dev] Find all expressions

Hi Claes,

 

You can use findByName command in the Symbols service to get all symbols IDs for a specific symbol name.

Then you can use _expression_ ”&${symbol-ID}” to get the address of a symbol by the symbol ID.

 

Regards,

Eugene

 

 

From: tcf-dev-bounces@xxxxxxxxxxx [mailto:tcf-dev-bounces@xxxxxxxxxxx] On Behalf Of Lillieskold, Claes
Sent: Wednesday, November 02, 2016 4:25 AM
To: TCF Development
Subject: [tcf-dev] Find all expressions

 

Hi,

I’m trying to get all addresses for a specific symbol name.

We are calling evaluate_expression with the _expression_ ”&(symbol)” to get the address of a symbol.

 

The scenario is for example that a static function may be present in multiple modules,

and we want to get the address for all of them.

 

Can this be done with expressions.c, or should it be done somehow by using symbols.c as well?

 

Thanks,

Claes

 

----------------------------------------------------------------------
Intel Sweden AB
Registered Office: Isafjordsgatan 30B, 164 40 Kista, Stockholm, Sweden
Registration Number: 556189-6027

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.



This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.


Back to the top