48fa8935c3
Added .clang-format, formatted codebase
2022-06-27 18:57:00 -05:00
1d6ce15b3d
Minor comments refactoring
2022-06-27 18:20:23 -05:00
f649ca4a56
Win: Static builds & fixed winpersist.c
2022-05-14 13:24:20 -05:00
c4fc1a1fe6
misc. refactoring, updated comments and minor documentation
2022-05-10 21:03:23 -05:00
e3a1f51d60
added 'LAIKA_OBFUSCATE' cmake option
...
- if defined, enables LAIKA_BOX obfuscation for variables
- new macros (LAIKA_BOX_SKID_START & LAIKA_BOX_SKID_END), become no-ops if LAIKA_OBFUSCATE is undefined
- TODO: use cmake to automate the generation of lboxconfig.h
2022-05-10 20:28:54 -05:00
71db213261
Implemented VMBoxes, linux persistence related strings are obfuscated, added VMBoxGen tool
...
- lboxconfig.h holds obfuscated data, which is generated by VMBoxGen
- linpersist.c now uses obfuscated strings
2022-05-09 16:41:01 -05:00
7ca855410d
Box: added LAIKA_BOX_DATA_INDX & LAIKA_BOX_UNLOCKED_INDX macros
...
- they represent the indx in the constant list the box's unlocked & data pointers will be
2022-05-08 01:45:36 -05:00
a4239282b2
Box: added LAIKA_BOX_SKID, vmTest now uses the LAIKA_BOX_SKID box
...
- updated CONTRIB
2022-05-01 14:41:32 -05:00
c63bfe00af
VM: added OP_DECPTR, minor refactoring of laikaB_unlock
2022-04-30 16:21:29 -05:00
36c3c8a65f
Box: implemented laikaB_unlock() & laikaB_lock()
2022-04-28 18:10:15 -05:00
9cea98c86a
Forced inlining for both GCC/clang & MSVC
2022-04-28 11:07:11 -05:00
b6bd8b2518
Bot persistence boilerplate
2022-04-04 12:12:37 -05:00
3515d10b1c
Minor refactoring
2022-04-01 14:10:06 -05:00
192bf22225
Shell: improved looks, added colored output
2022-03-21 17:47:46 -05:00