Simon Hedström
Simon Hedström
I'm afraid it didn't work. We tested it on 2 Pi Zeros following your instructions and we still got "Illegal instruction"
Obfuscate output : ``` pi@raspberrypi:~/PerkinElmer/Source $ pyarmor -d obfuscate main.py DEBUG PyArmor installation path: /home/pi/.local/lib/python3.7/site-packages/pyarmor DEBUG PyArmor home path: /home/pi/.pyarmor DEBUG Native platform is linux.armv6 DEBUG Search dynamic library in...
Here is the output from both: ``` pi@raspberrypi:~ $ ./foo-arm-mode carmor_set_key_iv at 0x0x91fc Illegal instruction pi@raspberrypi:~ $ ./foo-thumb-mode carmor_set_key_iv at 0x0x91fc Illegal instruction ```
Output: ``` pi@raspberrypi:~ $ ./foo2t carmor_set_key_iv at 0x0x11000 Illegal instruction pi@raspberrypi:~ $ ./foo2a carmor_set_key_iv at 0x0x11000 Illegal instruction ```
This is what I get: ``` COLLECT_GCC_OPTIONS='-v' '-shared' '-mfloat-abi=hard' '-mfpu=vfp' '-mtls-dialect=gnu' '-marm' '-march=armv6+fp' ```
> Does this work? > https://pyarmor.dashingsoft.com/downloads/temp/foo-armv6 > I'm afraid that it did not work
Okay, will update my scripts to use armv6.0. Do you think its possible for you to test on a qemu with a kernel that is 5.x?