Jump to content
Sign in to follow this  
JohnOne

Obfuscator question

Recommended Posts

JohnOne

When you use obfuscator, it will by default warn if you have Call() function in your script.

I believe that this is because string obfuscation would/could, cause you problems.

Is this because string obfuscation is different to function and variable renaming, and if so, how come Other functions like HotkeySet and Opt are not affected?


AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Share this post


Link to post
Share on other sites
Jos

There is no difference in the way Obfuscator warns about any Function that can contain a link to a Func.

In the below example the first Call statement doesn't give any error since Obfuscator is able to understand which Func is called and will be able to Obfuscate the FuncName.

The second Call statement will trigger an error/warning as Obfuscator doesn't know about the real value of $testvar. It will also break that Call() statement.

$testvar= "Test"
Call("test")
Call($testvar)

Func test()
    MsgBox(0,"that worked","that worked")
EndFunc

All clear?

Edited by Jos
  • Like 1

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×