ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > irrFuscator
forum topic indicator bug report: encrypted object keys wrongly
person icon
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.

person icon
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:










 

  

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


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






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