Theodosius
v3.0
Jit linker, mapper, obfuscator, and mutator
|
this namespace encompasses the code for transforming relocations. More...
Classes | |
class | add_op_t |
class | operation_t |
operation_t is the base class for all types of transformations. classes that inherit this class are singleton and simply call the super constructor (operation_t::operation_t). More... | |
class | rol_op_t |
class | ror_op_t |
class | sub_op_t |
class | xor_op_t |
Typedefs | |
using | transform_t = std::function< std::size_t(std::size_t, std::uint32_t)> |
lambda function which takes in a 64bit value (relocation address) and a 32bit value (random value used in transformation). More... | |
Functions | |
std::vector< std::uint8_t > | generate (xed_decoded_inst_t *inst, recomp::reloc_t *reloc, std::uint8_t low, std::uint8_t high) |
generate a sequence of transformations given an instruction that has a relocation in it. More... | |
Variables | |
std::map< xed_iclass_enum_t, operation_t * > | operations |
map of all of the operations and their type. More... | |
this namespace encompasses the code for transforming relocations.
using theo::obf::transform::transform_t = typedef std::function<std::size_t(std::size_t, std::uint32_t)> |
lambda function which takes in a 64bit value (relocation address) and a 32bit value (random value used in transformation).
Definition at line 54 of file operation.hpp.
|
inline |
generate a sequence of transformations given an instruction that has a relocation in it.
inst | instruction that has a relocation in it. |
reloc | meta data relocation object for the instruction. |
low | lowest number of transformations to generate. |
high | highest number of transformations to generate. |
Definition at line 45 of file gen.hpp.
|
inline |
map of all of the operations and their type.
Definition at line 42 of file transform.hpp.