Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Disassembler Shorten Address

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Extensions
View previous topic :: View next topic  
Author Message
panraven
Grandmaster Cheater
Reputation: 54

Joined: 01 Oct 2008
Posts: 938

PostPosted: Fri Oct 21, 2016 4:25 am    Post subject: Disassembler Shorten Address Reply with quote

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.



ceshortaddr.jpg
 Description:
 Filesize:  175.09 KB
 Viewed:  13311 Time(s)

ceshortaddr.jpg



disassemblerShortenAddress.CT
 Description:

Download
 Filename:  disassemblerShortenAddress.CT
 Filesize:  2.57 KB
 Downloaded:  1306 Time(s)


_________________
- Retarded.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Extensions All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites