aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser/bruiser.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-03-19updated to trunk 355787(llvm-clang 9.0). some more fixes to the codegen ↵bloodstalker1-13/+38
scripts for bruiser. the set methods are now working properly. i just have to figure out how I want to handle the get methods. the dev will be mostly on the codegen scripts side like for the past months for briser. if the builds returns weird results for tests or just in general, run make clean, get rid of the .depend files and rebuild again. I had that problem with obfuscator. the old compilation database was somehow bad.
2018-10-06fixed more bugs on ft and ltg side. i had some fundamental misunderstandings ↵bloodstalker1-7/+8
on how clang encodes wasm objects. todo: test custom section getters and setters, garbage collection, repacking
2018-09-30some more fixes, mainly for tablegen and fualtreiber, will check later to ↵bloodstalker1-2/+3
make sure everything is working correctly
2018-09-29with a few minor tweaks, you can build m0, obfuscator and bruiser with llvm ↵bloodstalker1-12/+12
8.0(latest tested:trunk 340121). we are skipping llvm 7.0. Ill keep backwards compatibility with 5.0 or 6.0 for a good while.
2018-09-27did some code cleanup on m0 and bruiser, now you can specify report paths ↵bloodstalker1-394/+100
for m0, wip of dedrecating mutator.sh and mutator.py
2018-09-25it's working for the most part, the getter methods are also registering ↵bloodstalker1-13/+13
lightuserdata with a respective global metatable
2018-09-20WIP, update faultreiber and tablegen again. we're getting the tables just ↵bloodstalker1-63/+95
fine. need more testing to do.
2018-09-18still WIPbloodstalker1-4/+161
2018-09-16WIPbloodstalker1-3/+70
2018-08-19fixes #47. probably a good idea to just wipe and re-clone. also moved m0 to ↵bloodstalker1-1/+1
its own folder.
2018-07-29added new options to delfbloodstalker1-1/+0
2018-07-21updated the README with the mirror repo links for luatablegen, delf and dwasmbloodstalker1-2/+3
2018-07-19a fix for the luatablegen json file, added a new option to load.py, minor ↵bloodstalker1-4/+8
cosmetic changes
2018-06-24fixes 42, fixes 44bloodstalker1-10/+12
2018-06-19fixes #43. the auto-gen source files by luatablegen dont look like source ↵bloodstalker1-2/+24
files instead of headers. luatablegen also generates an excuse of a doc for all the table methods.
2018-06-09the codegen is working now. the generated codes will not be part of the repo ↵bloodstalker1-0/+6
for the time being. they will be generated during the build process.
2018-06-01fixed a bug with default.lua. added the blueprint for the wasm interface to ↵bloodstalker1-3/+4
bruiser.
2018-05-20wip:added a wasm backend. i need to setup an interface with the main c++ ↵bloodstalker1-8/+28
code. added some commands to bruiser for managing xobj memories
2018-05-18fixes #33. fixed #34. python interpreter should clean up after itself ↵bloodstalker1-105/+87
properly so maybe #32 is also sovled but i need more time to know. the stack usage for lua has been reduced so larger number of xobjs are fine now. general cleanup for executioner and bruiser. added a note regarding running obfuscators test. lua no longer needs libreadline to build. bfds test no longer needs libbfd to build.
2018-04-30fixing travisbloodstalker1-1/+1
2018-04-30fixes #30. run make deepclean on bruiser. lua needs to be rebuilt. added a ↵bloodstalker1-180/+213
new commandline option, --keepalive. drops to cli if you were running in non-cli after script finishes running.
2018-04-28ramdump is herebloodstalker1-2/+9
2018-04-27relicensed everything excluding safercpp to GPL-3.0. fixes #31. now there is ↵bloodstalker1-5/+55
ramdump. i just need to write a luawrapper.
2018-04-23updated the readme, added a wiki entry, fixed the default.lua script which i ↵bloodstalker1-7/+5
broke in the last commit
2018-04-15fixed #29bloodstalker1-13/+18
2018-04-08added some more cli options to load.py. added a new test file for bruiser to ↵bloodstalker1-3/+14
see how it fares against bigger files.
2018-03-19some fixesbloodstalker1-3/+6
2018-03-12added a lua module for asmrewriter, will soon add docs. you can try the new ↵bloodstalker1-1/+0
module by running asmtest.lua or demo2.lua did some cosmetic fixes to load bfd so it doesnt suck as hard when you get dumps
2018-03-04the jmp table is working now. you get member set and get methods, and an ↵bloodstalker1-4/+4
iterator. you can demo2 in the lua scripts folder for a test.
2018-03-04wip-the lua syntax is not what i want to be yet and im having trouble with ↵bloodstalker1-3/+4
the JMP_S_T pointers
2018-03-02the skeletion code for the jump table struct is now workingbloodstalker1-0/+6
2018-03-01some fixes for the jump table lua modulebloodstalker1-0/+1
2018-03-01wip-the asm rewriter module plus the assembly jump table lua module ↵bloodstalker1-3/+172
implementation
2018-02-24bruiser will now run a lua script before startup so now you can easily use ↵bloodstalker1-2/+44
your lua rocks from inside bruiser. added a new demo using bruisers xobj module. added a new bruiser option for the default lua script to run prior to bruiser startup. updated the readme for bruiser.
2018-02-18added some elf stuff plus leb128 encode decode functionsbloodstalker1-0/+1
2018-02-17trying to implement the nested call and global object rewritersbloodstalker1-2/+2
2018-02-112 major bug fixed for bruiser, a lot of little improvements and bug fixed ↵bloodstalker1-38/+42
here and there
2018-02-01updatebloodstalker1-4/+8
2018-01-26fixed string type for xobjs, also xcall can now call functions by name as wellbloodstalker1-12/+24
2018-01-22fixed some issues with the way bruiser handled integers, added some initial ↵bloodstalker1-8/+13
tests.
2018-01-21xobj handling for int types and pointers is done.next is structs,unoins and ↵bloodstalker1-21/+104
adding docs. you can try running demo1.lua under lua-scripts for a demo
2018-01-20WIP.using libffi for calling xobjects now.bloodstalker1-0/+1
2018-01-20updatebloodstalker1-1/+51
2018-01-17updatebloodstalker1-12/+6
2018-01-12you can now run objects that are loaded into bruiser from a shared library ↵bloodstalker1-59/+50
from lua. right now very simple examples work. i have to figure out how to handles runtime pointer recasts.
2018-01-09updatebloodstalker1-2/+16
2018-01-08the function code, function name, var names and var sized are now being ↵bloodstalker1-29/+33
returned to lua as tables.
2018-01-02load.py now loads all objects and functions along with names to c++. next is ↵bloodstalker1-14/+20
getting them to lua.
2017-12-31wipbloodstalker1-3/+17
2017-12-30bruiser gets the function code and name from bfd now. besides that minor ↵bloodstalker1-9/+20
changes here and there.