Skip to content

Commit

Permalink
Update obfus.h
Browse files Browse the repository at this point in the history
  • Loading branch information
DosX-dev committed May 17, 2024
1 parent 83d84f7 commit 24c43d4
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions include/obfus.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,6 @@
#define __attribute__(...)
#endif

// legacy args support
#define ANTIDEBUG_V2 antidebug_v2
#define NO_ANTIDEBUG no_antidebug
#define FAKE_SIGNS fake_signs
#define CFLOW_V2 cflow_v2
#define NO_CFLOW no_cflow
#define NO_OBF no_obf
#define VIRT virt

// if virtualization disabled
#if NO_OBF == 1 || VIRT != 1
#define VM_ADD(num1, num2) num1 + num2
Expand Down Expand Up @@ -375,11 +366,13 @@ int isBlockValidated() { // returns true if validateBlock() executed
__asm__ __volatile(".byte 0x3C"); \
} \
else if (RND(0, 10) == (RND(11, 100))) { \
cflowPoint_1: \
BREAK_STACK_3; \
int_Proxy(_3 - RND(0, 10000)); \
} \
else if (FALSE * RND(0, 1000)) { \
BREAK_STACK_1; \
goto cflowPoint_1; \
} \
else if (FALSE * (int_Proxy(RND(0, 1000)) ? RND(1, 99999) : RND(1, 99999))) { \
__asm__ __volatile(".byte 0xEB"); \
Expand Down

0 comments on commit 24c43d4

Please sign in to comment.