panraven Grandmaster Cheater Reputation: 55
Joined: 01 Oct 2008 Posts: 942
|
Posted: Fri Oct 21, 2016 4:25 am Post subject: Disassembler Shorten Address |
|
|
This shorten symbolic address display in disaseembler relative to the selected address.
The symbolic address different only to the the selected address by a offset will be shorten to this form: => +ofs.
Other symbolic address with ':' symbol that 'similar' to the selected address will be shorten as following:
Code: |
the selected address:
CivilizationVI.ForgeUI::StackControl:~StackControl+25
referenced base address without the offset:
CivilizationVI.ForgeUI::StackControl:~StackControl
other address 1:
CivilizationVI.ForgeUI::StackControl:~StackControl+40
shorten:
=> +40
other address 2:
CivilizationVI.ForgeUI::TextControl:TextControl
shorten:
~ForgeUI::TextControl:TextControl
|
disadventage: the green color is lost.
-----
This will affect other function like getNameFromAddress.
So by default the conversion is off.
To toggle the conversion, double click right side of Top Address Label.
When the conversion have effect, left side of Top Address Label will show the refernced base address. Double Clicking it will let disassembler view go to this address.
The extension script is in table file of rge ct, it can be save to autorun directory, or load by lua script when need.
Feel free to modify to improve or suit your need.
bye~
UPDATED:
- change number of trailing common character from 5 to 7.
Description: |
|
Filesize: |
175.09 KB |
Viewed: |
13387 Time(s) |
|
Description: |
|
Download |
Filename: |
disassemblerShortenAddress.CT |
Filesize: |
2.57 KB |
Downloaded: |
1365 Time(s) |
_________________
- Retarded. |
|