2 votes
Accepted

How to get hexadecimal of instruction and distinct value(token) of opcode by ghidra script?

I'm going to assume you have an Address object (I'll just use currentAddress) . With an address you can get the Instruction at that address. Then read that many bytes from Instruction object. from ...
saquintes's user avatar
  • 136

Only top scored, non community-wiki answers of a minimum length are eligible