Commit Graph

  • a96c6d4931 get{Name,Value}FromYAMLScalar: support quotes Alessandro Di Federico 2021-02-10 09:55:14 +01:00
  • 60ae42aa46 Introduce GCBI::arch() Alessandro Di Federico 2021-02-18 18:10:22 +01:00
  • 0ab1b786b6 check-revng-conventions: static in C headers is OK Alessandro Di Federico 2021-02-18 18:37:40 +01:00
  • 448d7366ac Small lib to detect isolated functions using Model Pietro Fezzardi 2021-02-16 08:28:29 +01:00
  • cc65e946cb RestructureCFG: fix exit dispatcher to backedges Pietro Fezzardi 2021-02-18 11:53:53 +01:00
  • b23cf45fd9 RestructureCFG: refactor entry and exit dispatcher Pietro Fezzardi 2021-02-18 11:53:18 +01:00
  • 444663ed94 RestructureCFG: refactor logging of MetaRegions Pietro Fezzardi 2021-02-18 00:50:42 +01:00
  • 1616b9d0ab Fix checkMetaRegionConsistency Pietro Fezzardi 2021-02-18 00:36:10 +01:00
  • 9a4bb33bfe RegionCFG: refactor simplifySCSAbnormalRetreating Pietro Fezzardi 2021-02-18 00:32:05 +01:00
  • 2998494d18 RegionCFG: use meaningful names for dummy nodes Pietro Fezzardi 2021-02-18 00:30:48 +01:00
  • 685dbfd3f7 Whitespace and other minor changes Alessandro Di Federico 2021-02-07 19:22:37 +01:00
  • 495e725d14 ADT: Enclose RPOExt in the llvm namespace Alvise de Faveri 2020-11-26 15:20:18 +01:00
  • 98996a5d47 Merge branch 'feature/improve-model' Alessandro Di Federico 2021-02-17 11:56:24 +01:00
  • 49287e9de7 Improve Model and TupleTree Alessandro Di Federico 2021-02-17 11:47:10 +01:00
  • 071cce12f6 KeyTraits::toInts: handle invalid MetaAddress Alessandro Di Federico 2021-02-17 11:46:44 +01:00
  • e382f40119 get*FromYAML* handle scalars and enumeration Alessandro Di Federico 2021-02-17 11:45:28 +01:00
  • 6e6483b5eb Whitespace changes Alessandro Di Federico 2021-02-17 11:44:41 +01:00
  • 7f86530e74 MetaAddress::verify: handle invalid types Alessandro Di Federico 2021-02-17 11:44:18 +01:00
  • 85971bcc06 revng-lift: write empty Model in lifted Modules Pietro Fezzardi 2021-02-16 18:13:04 +01:00
  • 10b90d6e15 SerializeModelPass: static method to write Model Pietro Fezzardi 2021-02-16 18:12:14 +01:00
  • 645484f699 LoadModelPass: add static function to read Model Pietro Fezzardi 2021-02-16 11:07:36 +01:00
  • 8ffcd49dd2 RecursiveCoroutine: fix reference arguments Pietro Fezzardi 2021-02-08 14:32:54 +01:00
  • 3116b67948 Ensure to find an isolated function in tests Pietro Fezzardi 2021-02-11 16:26:20 +01:00
  • eda6e60330 decompileFunction: run only on isolated functions Pietro Fezzardi 2021-02-11 16:25:42 +01:00
  • f05f785023 Fix revng_merge_dynamic installation Filippo Cremonese 2021-02-09 13:38:25 +01:00
  • 4d3d625957 Merge branch 'feature/serializable-graph' Alessandro Di Federico 2021-02-09 23:19:13 +01:00
  • 8e275ed957 ADT: Add SerializableGraph Alain Carlucci 2021-02-04 12:42:55 +01:00
  • 148119c528 PromoteStackPointer: make local sp aligned Pietro Fezzardi 2021-02-09 15:06:39 +01:00
  • e0c4cd843e tmp feature/serializable-graph Alessandro Di Federico 2021-02-08 18:42:42 +01:00
  • 0261181cd1 ADT: Add SerializableGraph Alain Carlucci 2021-02-04 12:42:55 +01:00
  • f3d755e0ff TupleTree*.h: add missing include Alain Carlucci 2021-02-02 10:40:12 +01:00
  • 557ee758e6 MetaAddress: enable quoting on YAML serialization Alain Carlucci 2021-02-01 11:35:44 +01:00
  • c9a98f3ccd CMakeLists.txt: remove redundant tests and deps Pietro Fezzardi 2021-02-05 16:09:16 +01:00
  • f01fe2ec7a MarkForSerialization: fix needsVarDecl Pietro Fezzardi 2021-02-05 15:45:11 +01:00
  • 87119ca1ca Remove standalone tests for AddSCEVBarrierPass Pietro Fezzardi 2021-02-04 18:32:10 +01:00
  • 2820fc395c Fix emission of (?:) with ptr type and int args Pietro Fezzardi 2021-02-04 18:09:53 +01:00
  • f722224a09 Emit return statements returning a ConstantStruct Pietro Fezzardi 2021-02-04 15:49:48 +01:00
  • b98228eed0 Fix generation of bool typedef in C Pietro Fezzardi 2021-02-04 14:33:41 +01:00
  • 87c248a941 CMakeLists.txt: reduce the number of tests Pietro Fezzardi 2021-02-03 17:17:18 +01:00
  • ec86afdc5a decompileFunction: run doFinalization at end Pietro Fezzardi 2021-02-03 16:19:59 +01:00
  • 21053432b7 CMakeLists.txt: remove verbose logs for tests Pietro Fezzardi 2021-02-03 15:51:32 +01:00
  • d6ba89b8a9 Add tests for decompilation pipeline with DLA Pietro Fezzardi 2021-02-03 12:42:10 +01:00
  • 5b57a206d0 ASTBuildAnalysis: handle pointer operands from DLA Pietro Fezzardi 2021-02-03 12:37:24 +01:00
  • 6ad6d5294d Fix getPointedLayouts for struct types Pietro Fezzardi 2021-02-03 12:13:14 +01:00
  • 4b50946d60 DLACreateIntraProcedualTypes: create less pointers Pietro Fezzardi 2021-02-03 12:07:28 +01:00
  • 7a1b11a83d DecompilationHelpers: improve int->ptr casts Pietro Fezzardi 2021-02-03 12:03:29 +01:00
  • 904aab0f6f LayoutTypePtr: drop friend struct std::less Pietro Fezzardi 2021-02-03 12:02:25 +01:00
  • dc84daf7e8 DLATypeSystem: add assertion on mergeNodes Pietro Fezzardi 2021-02-03 12:00:04 +01:00
  • 42b9fb97e7 Drop static storage specifier for globals Pietro Fezzardi 2021-01-25 14:52:54 +01:00
  • 4cf69e8edd ASTBuildAnalysis: fix emission of comparison ops Pietro Fezzardi 2021-01-22 15:30:58 +01:00
  • c02db52709 IRASTTypeTranslation: fix bug in getPointedLayouts Pietro Fezzardi 2021-01-22 15:21:23 +01:00
  • ad70251a7f SCEVBaseAddressExplorer: fix exploration of Values Pietro Fezzardi 2021-01-19 18:00:23 +01:00
  • b33e9385fe ASTBuildAnalysis: add draft of member accesses Pietro Fezzardi 2021-01-18 17:57:39 +01:00
  • 6c0cc326a4 Fix comment Pietro Fezzardi 2021-01-18 17:57:17 +01:00
  • 4767fa63c3 Fixed emission for local_sp and scev_barrier Pietro Fezzardi 2021-01-14 14:28:14 +01:00
  • ba0e57e956 DeclCreator: unify type mapping Pietro Fezzardi 2021-01-08 18:18:03 +01:00
  • 2485cd2c8b DLAHelpers: relax assumptions on ExtractValueInst Pietro Fezzardi 2021-01-05 00:15:55 +01:00
  • 56fe5c95c3 New Typeable type Pietro Fezzardi 2020-12-29 17:14:55 +01:00
  • 821b430f40 Collapse FunctionDecls map into GlobalDecls map Pietro Fezzardi 2020-12-29 10:00:10 +01:00
  • 6de169e138 MarkForSerialization: new LatticeElement Pietro Fezzardi 2020-11-25 18:40:37 +01:00
  • 5e433cd7b3 Switch tests order, anticipating torture. Pietro Fezzardi 2020-11-24 18:42:22 +01:00
  • 3f1ee6ea64 Stub of DLA integration in Clang AST emission Pietro Fezzardi 2020-09-25 14:17:32 +02:00
  • 3b3dbc3a8b Add end-to-end tests for AddSCEVBarrierPass Pietro Fezzardi 2020-10-06 14:58:14 +02:00
  • 23a338dfb7 Add end-to-end tests for various passes Pietro Fezzardi 2020-10-06 12:07:49 +02:00
  • 7987eccecd ASTBuildAnalysis: handle nested InsertValueInst Pietro Fezzardi 2020-10-06 16:51:29 +02:00
  • aecfd8c7f6 ASTBuildAnalysis: handle undefs in InserValueInst Pietro Fezzardi 2020-10-06 11:43:49 +02:00
  • d01aa3b0fb Move SCEVBaseAddressExplorer to its own file Pietro Fezzardi 2020-09-24 18:28:51 +02:00
  • 088015e11c Forward SCEV and DLA results to decompilation Pietro Fezzardi 2020-09-23 16:07:27 +02:00
  • 3cbd8f2254 Create AddSCEVBarrierPass Pietro Fezzardi 2020-09-23 11:36:12 +02:00
  • 23d2f19211 Remove old TODO Pietro Fezzardi 2020-09-21 12:04:42 +02:00
  • 9d1d6afe6e MarkForSerialization: extract into its own Pass Pietro Fezzardi 2020-09-07 18:15:09 +02:00
  • a9e171e4ed UnitTest: update cmake file to match revng Pietro Fezzardi 2020-09-07 18:13:42 +02:00
  • f642a0983c Decompiler: make NDuplicates a const reference Pietro Fezzardi 2020-09-04 15:46:48 +02:00
  • 8be05522e6 MarkForSerialization: improve const-correctness Pietro Fezzardi 2020-09-04 15:37:49 +02:00
  • d1ada19ca6 CDecompilerBeautify: remove unused Mark parameter Pietro Fezzardi 2020-09-03 17:25:09 +02:00
  • 2ff7044bb9 Decompiler: forward-declare types coming from DLA Pietro Fezzardi 2020-08-07 14:53:06 +02:00
  • b9c17362dd Decompiler: handle emission of logical operators Pietro Fezzardi 2020-08-07 14:50:15 +02:00
  • 476064d855 [DLA] kill structural deduplication of Layouts Pietro Fezzardi 2020-07-30 18:02:05 +02:00
  • e0f9401ff8 ADT: add HeterogeneousPtrCompare template class Pietro Fezzardi 2020-07-30 18:00:07 +02:00
  • d6c8214d52 Decompiler: improve handling of command line flags Pietro Fezzardi 2020-07-30 16:01:04 +02:00
  • b59c239401 Decompiler: make all command line options Optional Pietro Fezzardi 2020-07-30 15:59:54 +02:00
  • ba3fb13dd6 CDecompilerPass: avoid removing calls to newpc Pietro Fezzardi 2020-07-30 15:05:27 +02:00
  • ca999a7c3c Add DeclCreator class to unify forward declaration Pietro Fezzardi 2020-07-23 18:40:33 +02:00
  • 1e825a8201 Create IRASTTypeTranslator class Pietro Fezzardi 2020-07-23 16:09:59 +02:00
  • cbbbdf660f [DLA] propagate DLA results to CDecompilerPass Pietro Fezzardi 2020-07-22 11:40:44 +02:00
  • 44564c2ba7 [DLA] export layouts to DLAPass Pietro Fezzardi 2020-07-21 16:27:38 +02:00
  • 52d0d9aeb2 [DLA] Move Layouts declarations in separate files Pietro Fezzardi 2020-07-21 12:50:20 +02:00
  • c553965b62 CDecompilerPass: addUsedIfAvailable<DLAPass>() Pietro Fezzardi 2020-07-21 12:35:35 +02:00
  • 84d9dd1533 ASTBuildAnalysis: enable print negative literals Pietro Fezzardi 2020-07-21 12:06:40 +02:00
  • 59076db31b [DLA] Avoid instance links for unsupported offsets Pietro Fezzardi 2020-07-08 17:24:43 +02:00
  • 730854aa1c [DLA] Add CreateNonInterferingComponents DLAStep Pietro Fezzardi 2020-07-07 17:33:51 +02:00
  • 6ae374b5f0 [DLA] Add InterferingInfo to LayoutTypeSystemNode Pietro Fezzardi 2020-07-07 11:29:27 +02:00
  • c40b3c5386 [DLA] Add LayoutTypeSystem::createArtificialLayout Pietro Fezzardi 2020-06-23 14:34:31 +02:00
  • 46a504b9ea [DLA] Drop useless method from LayoutTypeSystem Pietro Fezzardi 2020-06-23 14:31:12 +02:00
  • b980c8bcfc [DLA] Use defaulted operator <=> whenever possible Pietro Fezzardi 2020-06-15 19:10:44 +02:00
  • cdca33a99f [DLA] Guard costly verify calls with VerifyLog Pietro Fezzardi 2020-05-21 10:57:10 +02:00
  • 6119e54e1b [DLA] Add MakeLayouts DLAStep Pietro Fezzardi 2020-05-07 16:07:58 +02:00
  • 8d02bec310 [DLA] Add ComputeUpperMemberAccess DLAStep Pietro Fezzardi 2020-05-07 16:06:31 +02:00
  • e259397b4e [DLA] Add PruneLayoutNodesWithoutLayout DLAStep Pietro Fezzardi 2020-05-07 16:04:16 +02:00
  • 8fdfe8e169 [DLA] Add MakeInheritanceTree DLAStep Pietro Fezzardi 2020-05-07 16:01:01 +02:00