HomeFreeBSD

o Teach opcode rewriting framework handle several rewriters for

Description

o Teach opcode rewriting framework handle several rewriters for

the same opcode.

o Reduce number of times classifier callback is called. It is

redundant to call it just after find_op_rw(), since the last
does call it already and can have all results.

o Do immediately opcode rewrite in the ref_opcode_object().

This eliminates additional classifier lookup later on bulk update.
For unresolved opcodes the behavior still the same, we save information
from classifier callback in the obj_idx array, then perform automatic
objects creation, then perform rewriting for opcodes using indeces
from created objects.

Obtained from: Yandex LLC
Sponsored by: Yandex LLC

Details

Provenance
aeAuthored on
Parents
rS297999: Clean up trailing whitespace in lib/libcam; no functional change
Branches
Unknown
Tags
Unknown