Jump to content

Obfuscator question


JohnOne
 Share

Recommended Posts

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.

Link to comment
Share on other sites

  • Developers

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

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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...