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

String encryption failed #8

Open
androiddisk opened this issue Mar 9, 2024 · 2 comments
Open

String encryption failed #8

androiddisk opened this issue Mar 9, 2024 · 2 comments

Comments

@androiddisk
Copy link

fn main() {
    println!("Hello, world!11111111");
}

docker pull ghcr.io/joaovarelas/obfuscator-llvm-16.0:latest
docker run -v  .:/projects/ -it ghcr.io/joaovarelas/obfuscator-llvm-16.0:latest /bin/bash
cargo clean && cargo rustc --target x86_64-unknown-linux-gnu --release -- -Cdebuginfo=0 -Cstrip=symbols -Cpanic=abort -Copt-level=3 -Cllvm-args=-enable-allobf
root@b1b21ac3b374:/projects# strings target/x86_64-unknown-linux-gnu/release/demo | grep Hello
..range start index  out of range for slice of length slice index starts at  but ends at panicked at 00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899invalid args/repos/rust-1.70.0/library/core/src/fmt/mod.rsHello, world!11111111
@joaovarelas
Copy link
Owner

"-strcry" not working because Rust strings are handled different from Cstrings

Other features don't work, see https://github.com/joaovarelas/Obfuscator-LLVM-16.0?tab=readme-ov-file#available-ollvm-features

I dont know how to debug or fix

@androiddisk
Copy link
Author

Okay, thank you

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

No branches or pull requests

2 participants