![]() ![]() ![]() Even Hewlett-Packard’s free ‘SWF security checking’ program, SWFScan, could do that (this is a useful tool in its own right, by the way, though it does not do as complete a job of project reconstruction as Flash Decompiler Trillix). ![]() This isn’t the only decompilation tool that could be used malicious purposes. Put more bluntly, it can help people to rip off your code. Isn’t this sort of ‘reverse engineering’ of interest only to those people with dubious intent? The makers of the Flash Decompiler gives four examples of its use for legitimate purposes: “Restore your original FLA file from SWF in case you have lost it Make changes to SWF file when you don’t have its source code (original FLA file) Modify protected SWF file“ and “Improve your designer’s skills by learning from others”.īut let’s be honest about this: a Flash decompiler would undoubtedly be of enormous value to anyone who wanted to examine or copy compiled ActionScript programs to which they have no legitimate right. by putting braces on new lines or on the same line).īy now, maybe some of you are wondering why anyone would legitimately want to decompile SWF code. The Decompiler provides various conversion and extraction options - for example to extract resources (jpg, mp3 and so on) - and to apply formatting to extracted code (e.g. The search tools can locate names in multiple classes and packages and it displays the results on the branches of a tree. But, really, nothing huge - nothing that a bit of judicious editing could not fix.įlash Decompiler Trillix has a pretty slick user interface with the an Office 2007-style tabbed toolbar which groups buttons by function: Manage, Extract, Convert, Edit and Search. For example, in some decompiled Flex projects which I tested out there were various errors such as ‘illegal assignment to a variable specified as a constant’ and a couple of incorrect class references. In a complex project it is highly likely that you would need to rewrite certain parts of the decompiled code before it could be compiled again. The original code structures - the ‘for’ loops, ‘if’ tests and so on - may not exactly match those in the original code, but the overall logic is preserved and it wouldn’t take a halfway competent programmer very long to see exactly what the code is up to. Class names, method names, class-level variable names, constant names and even the names of arguments passed to functions are all retained. But, even so, in my tests it did a pretty good job of reconstructing code that was far too damn’ close for comfort to the original source. The Flash Decompiler cannot recreate the source code perfectly - for example, local variable names are lost, comments (of course) are gone and MXML files are reconstructed as ActionScript. If you haven’t taken measures to obfuscate your code, the results of decompilation are scary. In the case of a Flex project, no FLA is created but, instead, the original Flex directory structure and the project files required by Flex/Flash Builder are created. In the case of a Flash project, a FLA file will also be created to let you load the decompiled code into the Flash IDE. Here you can open each file node to view its contents or you can click a button to extract the code onto disk at which time the real files and folders will be created. ![]() Typically this will show a tree-structure mimicking the original project structure with ‘folder’ nodes for the various packages and ‘file’ nodes for the individual classes. It is Flash Decompiler Trillix’s reconstruction of the source code based on the information in a compiled SWF file.įlash Decompiler Trillix lets you browse to a SWF using an integrated disk explorer then simply drag the file into a task pane to view its code ‘decompiled’. This may look like my original ActionScript source code but it isn’t. It peers into compiled SWFs and displays their contents as ActionScript. Flash Decompiler Trillix 4 is a similar tool for Flash developers. NET assemblies and displays their contents as human-readable C# or Visual Basic code. NET Reflector, a tool that peers into compiled. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |