Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > irrFuscator
bug report: encrypted object keys wrongly

Jacky
Guest
Quote
2010-02-23 09:22:45

irrFuscator version: 2.1
platform: MacOS

sample code:
var obj:Object = { "key": "value" };

or
var obj:Object = { key: "value" };

after enabling the option to encrypt strings, both sample code will have the following generated results:
var obj:Object = { irrcrpt("xxxxxx", 1): irrcrpt("yyyyyy", 2) };

which will have the following compilation error:
Error: Syntax error: expecting colon before leftparen.


It is useless to include "key" into "Ignore Symbols" list either. Please advise.


niko
Moderator
Quote
2010-02-23 17:06:52

Thanks for the bug report.
irrFuscator simply didn't expect this syntax combined with string encryption, so it is a bug. (will be fixed in a future version.)
Workaround for now: Either use another syntax to create the object (the dot syntax should work seemlessly as well) or disable string encryption for now. Third option: compile your code and use the binary obfuscator of irrfuscator.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "In?ernational" (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