Addo Well-Known Member Licensed User Longtime User Jun 17, 2018 #1 i have followed this tutorial https://www.b4x.com/android/forum/threads/code-obfuscation.13773/ to understand how to obfuscate/harden sensitive data after decompling the variable is process globals are obfuscated but now i am trying to obfuscate A sub by doing the following Code: Copy Sub Process_Globals 'These global variables will be declared once when the application starts. 'These variables can be accessed from all modules. Dim iamatext As String = "catch me" Dim subName2 As String = "Test_2" End Sub Test_2 Log("b") End Sub but i can see the sub as a plaintext after decompiling what is my mistake ?
i have followed this tutorial https://www.b4x.com/android/forum/threads/code-obfuscation.13773/ to understand how to obfuscate/harden sensitive data after decompling the variable is process globals are obfuscated but now i am trying to obfuscate A sub by doing the following Code: Copy Sub Process_Globals 'These global variables will be declared once when the application starts. 'These variables can be accessed from all modules. Dim iamatext As String = "catch me" Dim subName2 As String = "Test_2" End Sub Test_2 Log("b") End Sub but i can see the sub as a plaintext after decompiling what is my mistake ?
Erel B4X founder Staff member Licensed User Longtime User Jun 18, 2018 #2 There is no relation between the strings and the sub names. Subs without an underscore and that are not called with CallSub will be obfuscated. Upvote 0
There is no relation between the strings and the sub names. Subs without an underscore and that are not called with CallSub will be obfuscated.
Addo Well-Known Member Licensed User Longtime User Jun 18, 2018 #3 Now all clear I didn't realise if I use callsub will ignore the obfuscation thank you @Erel Upvote 0