Jump to content
  • 0

How to get the ARM op codes from GG


Question

Posted

is there a way when doing gg.getValues() in script to return the ARM op codes?  ie "LDR X13,[PC,#0x8]", "RET", "BLR... " , "BR.. " etc  if not by getValues,  is there some other creative way? 

Thanks 🙂

5 answers to this question

Recommended Posts

  • 0
Posted
6 hours ago, THETWINSOFFICIAL said:

edit value wtih hex or arm after modif copy opcodes code 

why you use opcodes ? why u not use arm code ?

 

I need gg to return the ARM as a string.  like gg.getValues() gets dword, qword, float, double etc. example dword -698416192 dword,  I can convert to hex using string.format("%X",*value*) but how to get "RET"?? (using only gg and script)  I don't think there is a way.. 

my scripy needs to get ARM as string so I can string.find(). MUST be the ARM as string, no other way. 

  • 0
Posted
6 minutes ago, APEXggV2 said:

I need gg to return the ARM as a string.  like gg.getValues() gets dword, qword, float, double etc. example dword -698416192 dword,  I can convert to hex using string.format("%X",*value*) but how to get "RET"?? (using only gg and script)  I don't think there is a way.. 

my scripy needs to get ARM as string so I can string.find(). MUST be the ARM as string, no other way. 

How to get the value of ret? You can modify one of the offsets with ~A RET. There the value of dword qword and others changes and that value shows in ret.

  • 0
Posted
56 minutes ago, THETWINSOFFICIAL said:

How to get the value of ret? You can modify one of the offsets with ~A RET. There the value of dword qword and others changes and that value shows in ret.

I think you misunderstand..  that was an example..  I need gg to return the ARM string for EVERY arm possibility.  I'm getting addresses in libil2cpp.so range, (the arm will be unkown)  then I need script/gg to get the ARM string. 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.