Sign in to follow this  
Followers 0
gil900

Suggestion about Au3Stripper

5 posts in this topic

When /RenameMinimum is on, Au3Stripper doing a good job

but i don't think that it is necessary to add "_" before each function name when the name is not number..

It is useless.

The purpose of this option is to "Generates a much smaller file"

so without the useless "_" before the name of the function - the file will be more smaller.

Suggest that Au3Stripper will add it only if the random string(the name of the function) is number.

In another case, it is unnecessary

Share this post


Link to post
Share on other sites



When /RenameMinimum is on, Au3Stripper doing a good job

but i don't think that it is necessary to add "_" before each function name when the name is not number..

It is useless.

The purpose of this option is to "Generates a much smaller file"

so without the useless "_" before the name of the function - the file will be more smaller.

Suggest that Au3Stripper will add it only if the random string(the name of the function) is number.

In another case, it is unnecessary

This is to keep the readability to a reasonable level and doubt it saves a lot of space removing the underscore.

Also need to avoid conflicts with internal functionnames and thus would require a check for avoiding duplications.

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

What is the chance that will be internal function with name that the random string is the same?

I guess chances is very low .. especially if the character length probably not be greater than four characters..

I think it might be nice to optimzation..

In any case, even if it is necessary check if the random string is matches to built in function, you only nead to create array which contains a list of all of the built in functions and then each time search in the array the random string. if the string found in the array then it will create another.. until the string was not found in the array.

also,  you can know that there is no built in function with less than X characters.. so do this check only if the random string length is from X characters.

I hope you understand

 

I want to be clear - I do not require you to do this. Do not think that I think you need to work for me. I'm just offering a suggestion. (In case you tell me "do it yourself")

I do not want to sound incorrectly ...
Edited by gil900

Share this post


Link to post
Share on other sites

 

I do not want to sound incorrectly ...

 

You aren't and I just told you my considerations when implementing this function in Obfuscator and later Au3Stripper.

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          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  
Followers 0