Exetools

Exetools (https://forum.exetools.com/index.php)
-   Source Code (https://forum.exetools.com/forumdisplay.php?f=46)
-   -   HexRaysAST Matcher - PoC of Modifying HexRays AST (https://forum.exetools.com/showthread.php?t=18925)

TechLord 08-31-2018 15:47

HexRaysAST Matcher - PoC of Modifying HexRays AST
 
This is simple PoC that allows you to define AST pattern you want to process and make some actions with them

Current code contains templates for:
  • Replacing inlined strlen called on global variable
  • Auto renaming globals in expressions like global_var = func(arg1, "newglobalname")
  • Auto renaming structure fields like glob_str.f0 = sub_cafebabe to glob_str.sub_cafebabe = sub_cafebabe


FULL REPO HERE:
Quote:

https://github.com/sibears/HRAST


All times are GMT +8. The time now is 23:38.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX