Ambiera Forum

Discussions, Help and Support.

Create a new account, Search, or Login:
Name: Password:
Ambiera Forum > irrFuscator
bug report: encrypted object keys wrongly
Author Text

2010-02-23 09:22:45

irrFuscator version: 2.1
platform: MacOS

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

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.

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: "Internationa?" (you are not logged in)




Possible Codes

Feature Code
Link [url] [/url]
Bold [b]bold text[/b]
Image [img][/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]



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