-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 pass #18
base: llvm-3.4
Are you sure you want to change the base?
Conversation
I've got a bug in this pass (same bug is in #11). I have two files, test.c
other.c
When I compile this without the pass, it runs as expected.
The output of the executable is When I compile this with -xse, I get an undefined reference error at the linker step.
Commenting out lines 70-73 in AbstractStringEncryptionPass.cpp alleviates this issue (but it neuters the pass since the plaintext strings are left in place). It seems that the issue is in what checkStringsCanBeEncrypted is deciding can be encrypted (if I had to bet; I have still not delved too deeply into this problem). |
functional string encryption pass. Some strings are not handle (skipped by the pass and left unencrypted...)