Commit Graph

  • 782eb09ffc Switch to produce bitcode where possible Alessandro Di Federico 2020-10-12 15:13:38 +02:00
  • 0e4c4aad59 Make --use-debug-symbols the default Alessandro Di Federico 2020-10-12 15:13:20 +02:00
  • d72f69c975 Import GenericGraph Alessandro Di Federico 2020-10-21 09:58:44 +02:00
  • 228a935a2a Add tests for preparation passes, using revng-qa Pietro Fezzardi 2020-09-29 17:01:25 +02:00
  • 6313b3229a Decompiler: fix detection of revng-c include file. Pietro Fezzardi 2020-09-28 16:29:03 +02:00
  • 94b28d0514 bin/revng: more robust diff of opt --help output Alessandro Di Federico 2020-10-06 16:04:55 +02:00
  • 1c2d3e0613 bin/revng: introduce $REAL_ARGV0 Alessandro Di Federico 2020-10-06 16:04:32 +02:00
  • 1fa5b0fe68 Install bin/revng from build directory Alessandro Di Federico 2020-10-06 16:03:59 +02:00
  • 62c1e3c564 Go back to version 0.0.0 Alessandro Di Federico 2020-10-06 16:03:33 +02:00
  • 05e34ef6f9 Add functions to get installed resource files Pietro Fezzardi 2020-09-28 21:36:41 +02:00
  • 838ab5b247 CSAA: switch taint sets to SetVector Pietro Fezzardi 2020-10-02 18:31:08 +02:00
  • 9fca2ba1e0 CSAA: fix handling of recursion again Pietro Fezzardi 2020-10-02 15:10:41 +02:00
  • 11e9203de9 StackAnalysis: storing Type in copy() method Antonio Frighetto 2020-03-12 13:46:41 +01:00
  • a94371cca2 EnforceABI: promote CSV in ConstantExprs casts Pietro Fezzardi 2020-06-09 16:14:30 +02:00
  • 5a7d4d194a Install check-revng-conventions Alessandro Di Federico 2020-10-01 17:14:10 +02:00
  • 883dd14f43 Declare the exception object with static storage Antonio Frighetto 2020-09-15 19:12:18 +02:00
  • 9034fcb235 scripts/revng: s/log/log_error/ Alain Carlucci 2020-06-30 17:18:27 +02:00
  • 510f503716 IRHelpers: improve prints for llvm::Value Pietro Fezzardi 2020-05-21 10:06:38 +02:00
  • 408b2c9592 IRHelpers: improve replaceAllUsesInFunctionWith Pietro Fezzardi 2020-06-24 09:29:53 +02:00
  • b4c78ad047 libtinycode is now bitcode Alessandro Di Federico 2020-09-30 21:24:53 +02:00
  • b8e2f85ddd CSAA: fix handling of recursion Pietro Fezzardi 2020-09-29 18:42:12 +02:00
  • 998d003d10 check-conventions.sh: better match C++ filenames Pietro Fezzardi 2020-06-16 02:06:18 +02:00
  • 44e47de54c check-conventions.sh: properly set exit status Pietro Fezzardi 2020-06-16 00:16:34 +02:00
  • 643a79ede5 check-conventions.sh: add check helper functions Pietro Fezzardi 2020-06-16 00:11:39 +02:00
  • 1594664743 check-conventions.sh: drop --format option Pietro Fezzardi 2020-06-16 00:07:40 +02:00
  • 89651cbde8 revng-lift: fix new module's data layout Alessandro Di Federico 2020-09-30 18:09:24 +02:00
  • 72b840605c AVI: fix out-of-bound access Alessandro Di Federico 2020-09-30 17:56:29 +02:00
  • 60fdcbc66a Whitespace changes Alessandro Di Federico 2020-10-01 17:40:17 +02:00
  • 927dab517a Run RemoveNewPCCalls only on isolated functions Pietro Fezzardi 2020-09-28 10:42:13 +02:00
  • d24edfc3f7 Add enable_testing() to CMakeLists.txt Pietro Fezzardi 2020-09-25 14:26:00 +02:00
  • 25e4f9ef73 Update required version of cmake to match revng Pietro Fezzardi 2020-09-25 14:24:02 +02:00
  • 3cafe56223 MetaAddress::fromString: fix error handling Alain Carlucci 2020-09-09 18:03:06 +02:00
  • 66243838c8 Allow decompiling functions called bb.main Pietro Fezzardi 2020-09-11 18:27:01 +02:00
  • 466d058c5e UnitTests: fix CMake linking for Boost Unit Test Pietro Fezzardi 2020-09-09 10:57:45 +02:00
  • 476a004c30 Use revng_add_private_executable to build tests Andrea Gussoni 2020-09-08 15:41:40 +02:00
  • 50f59b0eb9 Move ReachabilityPass to tests folder Andrea Gussoni 2020-09-04 10:18:03 +02:00
  • 724c4c0baa Add g_realloc to support.c Alessandro Di Federico 2020-09-08 17:06:54 +02:00
  • 85ec2e2e05 Produce artifacts for decompilation Alessandro Di Federico 2020-09-04 23:54:26 +02:00
  • cbe36d5267 FunctionIsolation: enable/disable safety checks Alessandro Di Federico 2020-09-04 23:53:00 +02:00
  • 270595632c Fix dependencies for revng-qa artifacts Alessandro Di Federico 2020-09-04 23:52:45 +02:00
  • 85058249c5 Avoid pygraphviz crash with Python 3 Alessandro Di Federico 2020-09-04 17:40:00 +02:00
  • ae3c800109 Implement MetaAddress::{from,to}String Alessandro Di Federico 2020-09-02 16:56:19 +02:00
  • e62cbb5ceb Implement comparison operators for MetaAddress Alessandro Di Federico 2020-09-02 16:55:20 +02:00
  • d48a15e607 Run revng translation test with function isolation Andrea Gussoni 2020-07-27 11:31:55 +02:00
  • a590159993 Use c++ compiler for linking the translated module Andrea Gussoni 2020-07-27 11:29:56 +02:00
  • 76a6403ebd FunctionIsolation: drop ExceptionFlag Antonio Frighetto 2020-05-21 19:03:21 +02:00
  • a89b4a32d9 RegionCFG: prevent inserting nodes while iterating Pietro Fezzardi 2020-07-27 16:57:01 +02:00
  • 41ab9f3c72 Flattening: avoid removing SetNodes Pietro Fezzardi 2020-07-27 15:18:53 +02:00
  • 37b894b36c RegionCFG: fix combing for switches Pietro Fezzardi 2020-07-27 12:03:48 +02:00
  • 342300cf9c RegionCFGTree: remove costly method orderNodes Pietro Fezzardi 2020-07-24 17:41:30 +02:00
  • 140f0962ab weave: remove useless early exit on cases Pietro Fezzardi 2020-07-24 16:09:31 +02:00
  • 3dd149f995 RegionCFGTree: remove useless recomputation of DT Pietro Fezzardi 2020-07-24 16:08:48 +02:00
  • 1664c6b060 RegionCFGTree: improve logging Pietro Fezzardi 2020-07-24 16:07:46 +02:00
  • 08bcfa3384 RegionCFGTree: remove unused local variable Pietro Fezzardi 2020-07-24 16:07:19 +02:00
  • 8c936422f4 RegionCFGTree: remove method getInterestingNodes Pietro Fezzardi 2020-07-24 16:06:20 +02:00
  • 3286789a9e SwitchNode: fix embedding of original BasicBlock Pietro Fezzardi 2020-07-23 15:39:42 +02:00
  • 6d10120e2e Decompiler: fix emission of code before branches Pietro Fezzardi 2020-07-22 17:13:05 +02:00
  • fc98fc69f5 Fix detection of isolated functions using metadata Pietro Fezzardi 2020-07-22 11:46:20 +02:00
  • 1895a2de3e CDecompilerPass: fix detection of isolated funcs Pietro Fezzardi 2020-07-21 17:50:09 +02:00
  • f77b904d2a CDecompilerPass: remove dead code Pietro Fezzardi 2020-07-21 17:48:25 +02:00
  • e34dbe1b70 Add RemoveNewPCCallsPass Pietro Fezzardi 2020-02-05 14:51:02 +01:00
  • 2be51e97cd RemovePCStoresPass: fix return of runOnFunction Pietro Fezzardi 2020-06-23 17:54:38 +02:00
  • bbbe537b18 RemovePCStoresPass: prevent removing self loops Pietro Fezzardi 2020-06-23 17:46:59 +02:00
  • 5a826848fe RemovePCStoresPass: properly detect isolated funcs Pietro Fezzardi 2020-06-23 17:46:17 +02:00
  • 1a9ae59e4a RestructureCFG: major refactoring of switches Pietro Fezzardi 2020-07-20 19:00:24 +02:00
  • bebd3a3f33 Fix creation of new nodes during weave Pietro Fezzardi 2020-07-16 16:07:38 +02:00
  • 1ca39d25f0 Add Weaved field to BasicBlockNode<T> Pietro Fezzardi 2020-07-16 16:06:24 +02:00
  • a7b3e34d85 RegionCFGTree: add assertions in addArtificialNode Pietro Fezzardi 2020-07-16 15:31:34 +02:00
  • 0e5dceeed4 ASTNode: fix isEqual method for switch nodes Pietro Fezzardi 2020-07-16 14:43:45 +02:00
  • 7f6ce70c82 Refactor RegionCFG::inflate() method Pietro Fezzardi 2020-07-14 21:14:16 +02:00
  • bc9ac5f9eb Add void RegionCFG::dumpDotOnFile(const char *) Pietro Fezzardi 2020-07-14 21:11:14 +02:00
  • 47f797ba9a RegionCFGTree: fix AST simplification for switches Andrea Gussoni 2020-07-13 19:12:58 +02:00
  • a89ebde96a RegionCFGTree: handle switches in AST simplify Pietro Fezzardi 2020-07-10 16:47:49 +02:00
  • 023a703e43 RegionCFGTree: update CaseSet for nested weaving Pietro Fezzardi 2020-07-10 14:42:52 +02:00
  • 0505b1754f RegionCFGTree: weave also switches with 3 cases Pietro Fezzardi 2020-07-10 14:41:20 +02:00
  • c28bcda012 RegionCFGTree: keep InlinedEdges up-to-date Pietro Fezzardi 2020-07-10 14:38:55 +02:00
  • 05e79bb607 RegionCFGTree: remove dead code Pietro Fezzardi 2020-07-10 14:27:37 +02:00
  • a078be2478 RestructureCFG: avoid dedicated untangling of root Pietro Fezzardi 2020-07-09 18:12:40 +02:00
  • c5f584db65 RegionCFGTree: fix untangle dominance criterion Pietro Fezzardi 2020-07-09 16:59:02 +02:00
  • 6c1721dbdd RegionCFGTree: remove dead code from untangling Pietro Fezzardi 2020-07-09 16:56:39 +02:00
  • c35a186e58 [SWITCH] Correct createSequence for switch Andrea Gussoni 2020-06-25 16:45:23 +02:00
  • 2ab2e779d9 [SWITCH] Introduce case replace methods Andrea Gussoni 2020-06-25 16:26:41 +02:00
  • b7660a06c3 [MetaAddress] Fix tie type Alessandro Di Federico 2020-06-29 23:49:52 +02:00
  • be9bc6ce0a MetaAddress: remove header dependency from IRBuilder Alain Carlucci 2020-06-25 14:26:36 +02:00
  • 314cae3a1e Abandon removeUnreachableBlocks Alessandro Di Federico 2020-06-23 15:01:52 +02:00
  • d8cbc86b1c Isolate: handle IndirectBranchDispatcherHelper Alessandro Di Federico 2020-06-23 14:55:13 +02:00
  • f7e8599c5e Enforce check-conventions.sh Pietro Fezzardi 2020-06-15 15:40:02 +02:00
  • 7c1ee4ac6b Make isASwitch inline Pietro Fezzardi 2020-06-15 15:30:08 +02:00
  • 921092aa6f Uniform ReversePostOrderTraversalExt with LLVM. Pietro Fezzardi 2020-06-15 15:27:47 +02:00
  • 6367b822a0 Add default case in RegularSwitch Andrea Gussoni 2020-06-04 12:22:23 +02:00
  • afa0cfbab4 Emit actual case values for regular switches Andrea Gussoni 2020-06-02 17:58:53 +02:00
  • 95dbc22a36 Remove IfDispatcherNode Andrea Gussoni 2020-05-19 20:11:53 +02:00
  • a264117aac Rename IfCheck in IfDispatcher Andrea Gussoni 2020-05-14 15:03:44 +02:00
  • dc944d35f5 Rename SwitchCheck in SwitchDispatcher Andrea Gussoni 2020-05-14 13:24:23 +02:00
  • 933dd20e44 Restructure dispatcher creation Andrea Gussoni 2020-05-14 11:31:24 +02:00
  • ca22f8567d Declare variables as late as possible Andrea Gussoni 2020-05-13 23:50:08 +02:00
  • 3a31495a50 Move cases in the switch constructors Andrea Gussoni 2020-05-13 22:55:03 +02:00
  • e611e47a20 Remove Check nodes Andrea Gussoni 2020-05-13 22:47:15 +02:00
  • 3cd475e96e Refactor IsASwitch in a static function Andrea Gussoni 2020-05-13 18:03:45 +02:00
  • aa11bcc307 Refactor switch AST generation phase Andrea Gussoni 2020-05-13 17:38:37 +02:00