Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OLLVM-obfuscated binary test_fla_argv #32

Merged
merged 1 commit into from
Nov 8, 2022

Conversation

chinggg
Copy link
Contributor

@chinggg chinggg commented Oct 25, 2022

This binary will be used for examples/extensions/r2/deflat_r2.py in qilingframework/qiling#1244

How to build it from examples/src/linux/fla_test.c with OLLVM CFG flatten:

git clone [email protected]:heroims/obfuscator.git -b llvm-9.0 
mkdir build-ollvm && cd build-ollvm
cmake -DCMAKE_BUILD_TYPE=Release -DLLVM_INCLUDE_TESTS=OFF -G Ninja ../obfuscator/
ninja
./bin/clang -m32 -mllvm -fla fla_test.c -o test_fla_argv

see source code at examples/src/linux/fla_test.c

How to build with OLLVM CFG flatten:
git clone [email protected]:heroims/obfuscator.git -b llvm-9.0
mkdir build-ollvm && cd build-ollvm
cmake -DCMAKE_BUILD_TYPE=Release -DLLVM_INCLUDE_TESTS=OFF -G Ninja ../obfuscator/
ninja
./bin/clang -m32 -mllvm -fla fla_test.c -o test_fla_argv
@xwings
Copy link
Member

xwings commented Nov 8, 2022

You did not include the source code ?

@xwings
Copy link
Member

xwings commented Nov 8, 2022

My bad, saw it.

@xwings xwings merged commit 32c4fcf into qilingframework:master Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants