Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > irrFuscator
Obfuscation not complete

cjmalloy
Guest
Quote
2011-04-27 15:51:23

Hi,

I am trialing your product and comparing the results in a decompiler. There are a few questions I still have about your product.
How do I enable obfuscation for packages?
Some function names are not obfuscated. Why is this?
How do I enable obufcation of function arguments?

thanks,
Chris


niko
Moderator
Quote
2011-04-27 18:30:15

Hi,
Function names which are not obfuscated are probably named like reserved functions from Adobe. Function arguments don't need to be obfuscated normally, because they won't appear with names in the compiled .swf.
Obfuscation for packages is not supported currently, due to several technical problems with the flex compiler.


cjmalloy
Guest
Quote
2011-04-27 19:05:00

The functions I am having trouble with were written by me. Some functions are obfuscated, some are not. I cannot find anything in common with the functions that were not obfuscated- it seems random.
Now that I have checked throughly, the same goes for local variables and arguments. The only thing that works every time is class names.

Also, mxml class names are not obfuscated?

I would just resort to a swf based obfuscate but that is not working for me at all. Will post again soon with samples.

thanks,
Chris


cjmalloy
Guest
Quote
2011-04-27 21:33:51

Had to find an open source example. I am fine with the arguments and local vars not getting scrambled- they don't show up anyway. In this example several fields are not obfuscated. Is this because they are named similarly to a field in the SDK? Is there any way around this?


//Copyright 2010 SRT Solutions
//
//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//http://www.apache.org/licenses/LICENSE-2.0
//
//Unless required by applicable law or agreed to in writing, software
//distributed under the License is distributed on an "AS IS" BASIS,
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
//limitations under the License.

package System.Linq
{
import System.Collection.Generic._uv194;
import System.Collection.Generic._rb148;

internal class _nu72 implements _rb148
{
private var _lg145:_rb148;
private var selector:Function;
private var current:*;
private var count:int = -1;

public function _nu72(enumerable:_uv194, selector:Function)
{
this._lg145 = enumerable._ge68();
this.selector = selector;
}

public function _li30():Boolean
{
if(_lg145._li30())
{
current = selector.length == 1 ? selector(_lg145._st61()) : selector(_lg145._st61(), ++count);
return true;
}

return false;
}

public function _st61():*
{
return current;
}

public function _qm193():void
{
_lg145._qm193();
count = -1;
current = null;
}
}
}



erik
Registered User
Quote
2011-04-28 15:39:29

I guess names like 'current' and 'count' are simply used by Adobe, and irrFuscator won't touch those then. If you name them _count for example, just to try out, I guess it will work.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Inter?ational" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact