6050 Commits (1ecf489597d39cf833159e41ef55bcf695d9a456)
 

Author SHA1 Message Date
David Srbecký 0bff44d922 Create class for each node type 15 years ago
David Srbecký faff1bf5a9 Working on graph reduction algorithm. (Graph creation and presentation is still missing) 15 years ago
David Srbecký aba6b0950c Split method body to basic blocks 15 years ago
David Srbecký a43af72f9e Bugfix - keep return if it is labelled. 15 years ago
David Srbecký 22494bde37 Define local variables when value is first assigned to them 15 years ago
David Srbecký 82d3debe87 Do not output the very last return statement 15 years ago
David Srbecký 9eb2441490 Test on the compiler optimized version of quicksort 15 years ago
David Srbecký 29b95cd28c Remove some parenthesis 15 years ago
David Srbecký acdac3ecf5 Join consecutive expression together if possible 15 years ago
David Srbecký 37d40932d9 Convert ByteCodeCollection to new data representation: StackExpressionCollection; 15 years ago
David Srbecký ed413b7ec3 Move stack analysis to the ByteCode class 15 years ago
David Srbecký b7486c3221 Move StackBehaviour code to separate file 15 years ago
David Srbecký 53eed43bf5 Moved typing code to ByteCode.GetType() 15 years ago
David Srbecký 475eab39cf Move code from Util class to 15 years ago
David Srbecký 0fe95f6b0b Use custom data structure to store bytecode sequence 15 years ago
David Srbecký 9d82c6c55b Remove unnecessary labels 15 years ago
David Srbecký 970706161a Get type of elements obtained from array 15 years ago
David Srbecký a9ab824805 Get type for stack slots (partially implemented); Types are stored as Cecil TypeReferences 15 years ago
David Srbecký ffef73b007 Hack - convert int to bool on == operator 15 years ago
David Srbecký cfa3ecd70d Get type of new array 15 years ago
David Srbecký 56ced90f95 Added "using System;"; 15 years ago
David Srbecký 2642e6de19 Output local variables 15 years ago
David Srbecký 4468b4a3e1 Use stack analysis to figure out basic data flow - use actual inputs instead of the dummy ones 15 years ago
David Srbecký 238605c831 Initial stack analysis implementation: 15 years ago
David Srbecký 306b17db33 Started a type checking algorithm 15 years ago
David Srbecký 466e199cca Assign the result of each instruction to a temporary local variable 15 years ago
David Srbecký e650e1afe6 Ldelema; 15 years ago
David Srbecký 5032ab1df0 Implemented 'ret' instruction (function return) 15 years ago
David Srbecký c57f053f7a Add a label in front of every statement 15 years ago
David Srbecký 8faee275ed Implemented 'call' instruction 15 years ago
David Srbecký 8bf08b1e1e Implemented branching operations 15 years ago
David Srbecký fda3f6e0b5 Implemented comparison operators 15 years ago
David Srbecký cc2d74dc94 Implemented basic array operations 15 years ago
David Srbecký 6ee62de047 Finished arithmetic operations 15 years ago
David Srbecký af3a01cd44 Rename files 15 years ago
David Srbecký 7753b88bc5 Use NRefactory to create method bodies -> CodeDom not used anymore 15 years ago
David Srbecký e5500abf75 Output the skeleton code using NRefactory instead of CodeDom 15 years ago
David Srbecký 801a31f8d1 Generate code for some arithmetic operations (some operations are unsupported by CodeDom) 15 years ago
David Srbecký 35fcc443e6 Tweaks in the format of the output (place an empty line between commands) 15 years ago
David Srbecký a38d4f49c0 Group some op-codes: Arithmetic, Arrays, Branching, Comparison, Conversions, Indirect 15 years ago
David Srbecký 0410750716 Generate code for some basic commands; 15 years ago
David Srbecký 831739c4a7 Sort op-codes alphabetically 15 years ago
David Srbecký f0640bb4ef Moved some code into separate file; 15 years ago
David Srbecký 3f3885d92e Disassemble the CIL bytecode and write it into the methods as comments 15 years ago
David Srbecký ce43dec65f Recreate members of classes (no method bodies yet) 15 years ago
David Srbecký a605c5b5a3 Types have proper access modifiers and are properly nested 15 years ago
David Srbecký d43bf783ba Load the assembly and create a skeleton for each type (just 'public class' now) 15 years ago
David Srbecký c3368ce842 Added reference to the Mono.Cecil library 15 years ago
David Srbecký a6ff8910b4 Started the decompiler project - just a form with a text box where the generated source code will go 15 years ago
David Srbecký 9d470dff4e Project Proposal 15 years ago