Skip to main content

Assembly functions have a single address - Knowledgebase / TRACE32 PowerView - Lauterbach Support

Assembly functions have a single address

Assembly functions are often represented in the debugging information by the compiler as a single address label. As a consequence, these assembly functions won’t be for example included in the function run-time analysis or function coverage windows.

The commands sYmbol.Modify.AddressToRange and sYmbol.Modify.RangeToFunction can be used together in this case in order to change these single address labels into functions.

Example:

sYmbol.Modify.AddressToRange _divsi3
sYmbol.Modify.RangeToFunction _divsi3

sYmbol.Modify.AddressToRange extends a single address label into a symbol with an address range. The address range starts at the symbol address and ends at the address of the next symbol minus 1. sYmbol.Modify.RangeToFunction converts then the extended range into a function.

Helpful Unhelpful

1 of 1 people found this page helpful

Add a comment

ID-0
To prove you are a human, please tell us the text you see in the CAPTCHA image