These are chat archives for dropbox/pyston

28th
Sep 2016
An Long
@aisk
Sep 28 2016 03:52
thanks!
David Manouchehri
@Manouchehri
Sep 28 2016 13:25
If I want to run OLLVM (for control flow flattening) on the LLVM IR, should it be trivial or am I likely to run into problems with pyston? dropbox/pyston#841
Marius Wachtler
@undingen
Sep 28 2016 13:27
is OLLVM this https://github.com/obfuscator-llvm/obfuscator/wiki obfuscation tool?
David Manouchehri
@Manouchehri
Sep 28 2016 13:27
@undingen Correct.
Marius Wachtler
@undingen
Sep 28 2016 13:29
what are you trying to achieve with it and pyston?
David Manouchehri
@Manouchehri
Sep 28 2016 13:29
Easy obfuscation of Python scripts. It's being done in an academic context for fun. :)
what I'm doing currently using jythonc with ProGuard.
Marius Wachtler
@undingen
Sep 28 2016 13:37
hard to say because I don't know this OLLVM but if it works with the MCJIT (and our llvm version which is afaik somewhere around v3.6 but we are not using a released version) and supports the LLVM patchpoint intrinsic I think it should work.
David Manouchehri
@Manouchehri
Sep 28 2016 13:37
thanks, I'll give it a shot then.
Marius Wachtler
@undingen
Sep 28 2016 13:38
But then I don't see too much purpose it in because is not a ahead of time compiler. And it will only generate code using llvm when the function is very hot (or you pass -n to pyston executable but this will make it slow)
David Manouchehri
@Manouchehri
Sep 28 2016 13:39
slow is okay :)
it's not going to be touching anything near production.
Marius Wachtler
@undingen
Sep 28 2016 13:40
I don't want to discourage just want to make sure there is not a misunderstanding. ;-)