Jump to content

Obfuscator, compilation error. but no error without Obfuscator


 Share

Recommended Posts

well im just looking into Obfuscator and love the /striponly option, does just what i need but when i try it on one of my main programs im getting error's all over the place!

the first error is

C:\PROGRAMDATA\MY Docs\Auto It\Speedtester\speedtester_graph_18_Obfuscated.au3(3537,1) : ERROR: syntax error

EndIf

but i dunno how endif can be a syntax error. If i do a syntax check its fine, its compiles fine it's just when i try to use Obfuscator?

Where/how do i start debugging this?

thx all.

EDIT :- hmm looks like it might be something to do with me having used a line separator " _" as the second half of my separated line is missing after Obfuscator.

original line :-

If $xarray[$x + $fifo + 1][4] > 0 Or $xarray[$x + $fifo][4] > 0 Then
                    _GDIPlus_GraphicsDrawLine($backbuffer, (($x - 2) * 12) + 65, (502 - (480 / (100 / $xarray[$x + $fifo][4])) - 2) * $ymult, _ ; PKT Loss lines
                            (($x - 1) * 12) + 65, (502 - (480 / (100 / $xarray[$x + $fifo + 1][4])) - 2) * $ymult, $pen2)
                EndIf

After Obfuscator

If $xarray[$x + $fifo + 1][4] > 0 Or $xarray[$x + $fifo][4] > 0 Then
_GDIPlus_GraphicsDrawLine($backbuffer,(($x - 2) * 12) + 65,(502 -(480 /(100 / $xarray[$x + $fifo][4])) - 2) * $ymult, _
EndIf
Edited by JackDinn

Thx all,Jack Dinn.

 

JD's Auto Internet Speed Tester

JD's Clip Catch (With Screen Shot Helper)

Projects :- AutoIt - My projects

My software never has bugs. It just develops random features. :-D

Link to comment
Share on other sites

Ok well it looks like the problem is that i had remarks at the separation points ,Obfuscator just didn't like it so iv just moved them.

all ok now.

Thx all,Jack Dinn.

 

JD's Auto Internet Speed Tester

JD's Clip Catch (With Screen Shot Helper)

Projects :- AutoIt - My projects

My software never has bugs. It just develops random features. :-D

Link to comment
Share on other sites

Obfuscator ver 1.0.26.13

AI ver 3.3.0.0

yea i know i was unable to reproduce the problem in a test script either but here's a copy of the script that it happens in, DL it and have a go.

im using /striponly & i have no idea what happens with any other switches.

Thx all,Jack Dinn.

 

JD's Auto Internet Speed Tester

JD's Clip Catch (With Screen Shot Helper)

Projects :- AutoIt - My projects

My software never has bugs. It just develops random features. :-D

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...