Module: OneGadget::Emulators::DataProcessing

Included in:
Processor
Defined in:
lib/one_gadget/emulators/data_processing.rb

Overview

What an instruction leaves in a register: the architecture-independent half of an inst_* handler. A result that stays an offset from a known base keeps that form, so the rest of the emulator can resolve it against tracked memory; one that does not is named as the operation it is, since a caller deriving a value that way still has to arrange its operands. Anything neither of those aborts the candidate rather than being recorded as a value it is not. Mixed into Processor.