Open nogitsune-youkai opened 2 weeks ago
You'll need to define for the emulator what the LOCK
pcode userop means. See https://github.com/NationalSecurityAgency/ghidra/blob/master/GhidraDocs/GhidraClass/Debugger/B4-Modeling.md. That tutorial goes into quite a bit more than you need, but essentialy, create a custom userop library that defines LOCK
, then use a script to install an emulator with that library into the UI.
Essentially, the same solution as found here, but for a different processor: https://github.com/NationalSecurityAgency/ghidra/issues/6089. It's very possible your definition is effectively a NOP.
Ok. Thank you, i'll look into it
Describe the bug When emulating software which runs in VM, ghidra apparently can't emulate properly LOCK instruction. Is it a bug or i'm doing something wrong?
To Reproduce Steps to reproduce the behavior:
Expected behavior LOCK instruction should be emulated without issues.
Environment (please complete the following information):
Additional context Full error log: