_xeroxz
51d64b44b1
new pass system is done, old passes have been re-written to conform.
...
TODO: still need to write a pass to split functions into individual
instructions. I also need to add a pass for encrypting relocations.
3 years ago
_xeroxz
d744c6b585
expanded the pass system, added more places where passes can run...
3 years ago
_xeroxz
96c238e24f
working on fixing a few things, moving code to passes...
3 years ago
_xeroxz
dca70322fe
removed the code that splits functions up. this code should be a pass,
...
not part of the framework itself. move this code. :)
3 years ago
_xeroxz
a26be3fd80
updated doxygen, added demo
3 years ago
_xeroxz
16e2e868a5
added a bunch of documentation and a license
3 years ago
_xeroxz
966d1e814c
almost done writing docs. i need to add license to each header file and
...
create a doxygen...
3 years ago
_xeroxz
8b7229ac75
starting to add documentation
...
- moved obf engine stuff out of theo and into the demo
- started to document theo and how to use it
- TODO: make a demo pass...
3 years ago
IDontCode
f1f808081b
- moved "tests" to its own folder
...
- remove the src/theo folder contents just into src
- added some cmkr shit so that tests only build on windows
- added compile options for mcmodel=large in the demolibs
- changed how we get a ptr to the element from an interator
3 years ago
_xeroxz
dedfad81a5
fixed an issue with number of symbols... code works good now, its
...
finished
3 years ago
_xeroxz
e244d3eed1
need to continue debugging and figure out why relocations in data
...
sections arent happening...
3 years ago
_xeroxz
367a62d8de
if the obj has more symbols with data than the max section size then the
...
compiler will start putting multiple symbols into a single section... i
fixed my code so that it can handle decomposing functions and
relocations with this fact...
however there is still an issue with private_symbol's... private symbols
with no name use the section name as their symbol name... this means
there can be duplicate symbol names... if the symbol is private and the
base type is none and it has a section, then we need to create a symbol
name...
create a function that handles both situations... do something like
std::string symbol_t::get_symbol_name(coff::symbol_t* sym)...
3 years ago
_xeroxz
1c51f37f60
wrote a bunch of code optimizations, wrote an algo to get all the
...
symbols that the code uses...
3 years ago
_xeroxz
17b2371910
forgot to preserve flags before transformations... wrote tests now...
3 years ago
_xeroxz
b1e74a4466
renamed inst_split to instruction
3 years ago
_xeroxz
88bf8873ec
moved a function out of pass_t that doesnt belong there...
3 years ago
_xeroxz
c7eb3c83bf
finished coding transformations, next_inst_pass, jcc_rewrite_pass and
...
reloc_transform_pass are all done....
3 years ago
_xeroxz
df0ba19093
finished relocation transformation pass... todo write other passes and
...
also move the code that checks to see if the section is .obf to outside
of routine_t so that you can re-use routine_t to decompose entire
functions after running them through obfuscation passes....
3 years ago
_xeroxz
9199d5bef7
about half way done with transformations... imm's cant be 8 bytes, only
...
4...
3 years ago
_xeroxz
78f2b39b71
refactored the code so that there are 3 main namespaces: decomp, obf,
...
and recomp...
3 years ago
_xeroxz
9cf6cc8f03
created a pass system... starting to code transformation system for
...
relocations...
3 years ago
_xeroxz
312762b3ca
starting work on transformations...
3 years ago
_xeroxz
0529fda2cc
demo is working with mapping entire functions... still need to make
...
relocation transformations and such...
3 years ago
_xeroxz
c0e53277b4
preparing to add transformation code to reloc_t... also need to handle
...
.data/.bss/.rdata symbols and sections... getting there slowly...
3 years ago
_xeroxz
116eff8a32
finished decomp of routines... its time to start on comp...
3 years ago
_xeroxz
79db6d538c
just now starting to create symbols... need to add transformations like
...
vmp does, except each reloc will decrypt the ptr... polymorphic stuff..
3 years ago
_xeroxz
3cc9c0e05e
starting to work on decomposition functions
3 years ago
_xeroxz
dd78f5309a
added spdlog, started to dev on 3.0 now... still need to workout
...
relocs...
3 years ago
_xeroxz
e028a5877b
added files, designing 3.0
3 years ago
_xeroxz
56ca6b3d07
started work on 3.0, a recode with xed and cmake... also cross
...
platform...
3 years ago
_xeroxz
4ea2ba046b
added page protections to theo::malloc_t....
4 years ago
_xeroxz
7f58b51736
added server/client example that works with all other demos
4 years ago
_xeroxz
4af07664ce
added Zydis source, asmjit source...
4 years ago