Commit Graph

  • ee0dc1866d Forbid clang format off Ivan Krysak 2023-06-09 07:07:15 +03:00
  • 5deede9992 Switch to c++20 from c++2a Ivan Krysak 2023-05-16 12:13:16 +03:00
  • 9f1d9fd5d0 Use Container::contains() where appropriate Ivan Krysak 2023-05-16 10:23:52 +03:00
  • 5779cd878d KOCs: make more STL-like Ivan Krysak 2023-05-16 10:29:29 +03:00
  • 4ab4d85ead STLExtras: remove incomplete iterator concepts Ivan Krysak 2023-05-16 10:29:27 +03:00
  • 690df84eca Concepts: prefer non-strict SpecializationOf Ivan Krysak 2023-05-16 10:29:24 +03:00
  • 37b8f80bf1 Concepts: introduce SpecializationOf Ivan Krysak 2023-05-15 16:54:31 +03:00
  • b927e26f94 Drop concepts provided by the standard library Ivan Krysak 2023-05-15 16:38:17 +03:00
  • a123ec2c35 Remove clang-format off around concepts Ivan Krysak 2023-05-15 16:34:36 +03:00
  • d0e174497b Formatting: change PenaltyBreakOpenParenthesis Ivan Krysak 2023-05-15 16:06:19 +03:00
  • bc98e0079f Formatting: change PenaltyReturnTypeOnItsOwnLine Ivan Krysak 2023-05-15 15:42:47 +03:00
  • 01b4ec36c9 Formatting: set AllowShortEnumsOnASingleLine Ivan Krysak 2023-05-15 15:14:16 +03:00
  • c523167302 Formatting: enforce access modifier whitespaces Ivan Krysak 2023-05-15 13:50:09 +03:00
  • f198f67e87 Formatting: set LineEnding to LF Ivan Krysak 2023-05-15 13:41:39 +03:00
  • 6c668d6820 Formatting: set InsertNewlineAtEOF to true Ivan Krysak 2023-05-15 13:15:04 +03:00
  • aabc22a388 Update clang-format-style-file Ivan Krysak 2023-05-15 14:48:18 +03:00
  • 6e2d222c23 Formatting: update deprecated options Ivan Krysak 2023-05-15 14:29:49 +03:00
  • 0e061aedc4 Make clang-format-style-file a YAML file Ivan Krysak 2023-05-15 14:11:15 +03:00
  • 7ed14ca65c Minor improvements Ivan Krysak 2023-05-16 09:31:04 +03:00
  • 5885e4f9c8 ValueMaterializer: fix handling of ptr Alessandro Di Federico 2023-06-30 16:54:57 +02:00
  • 56d43ff089 Isolate/Enforce: add nomerge to calls Alessandro Di Federico 2023-06-30 16:53:59 +02:00
  • 5273aaa15c check-conventions: handle one line commits Alessandro Di Federico 2023-06-30 15:05:25 +02:00
  • e97501abc4 Merge branch 'feature/value-materializer' Alessandro Di Federico 2023-06-30 14:41:58 +02:00
  • a65ccc3413 Introduce ValueMaterializer feature/value-materializer Alessandro Di Federico 2023-06-01 16:49:47 +02:00
  • 4c01d9c28d BidirectionalNode: implement edge removal Alessandro Di Federico 2023-06-29 19:24:14 +02:00
  • 4edcb6dd49 MetaAddress::decomposeIntegerPC: accept APInt Alessandro Di Federico 2023-06-29 19:20:25 +02:00
  • 466871e866 Introduce RegisterClobberer Alessandro Di Federico 2023-06-29 19:20:25 +02:00
  • f120ad334c Statistics.h: rework Alessandro Di Federico 2023-06-29 19:20:25 +02:00
  • 5e72f8e31b ConstantRangeSet::dump: custom APInt formatter Alessandro Di Federico 2023-06-29 19:20:25 +02:00
  • 08b8b0bd9f ConstantRangeSet::size: fix corner case Alessandro Di Federico 2023-06-29 19:20:25 +02:00
  • b21861b7f9 GraphTraits<GenericGraph>: fix const support Alessandro Di Federico 2023-06-29 19:24:14 +02:00
  • 6ca6692d1e getUniqueJumpTarget: do not abort if PC unwritten Alessandro Di Federico 2023-06-29 19:20:25 +02:00
  • 3706f77960 LDDTree: mark Logger static Alessandro Di Federico 2023-06-29 19:20:25 +02:00
  • 5ebec631b9 getMaximalFixedPoint: fix Flow argument type Alessandro Di Federico 2023-06-29 19:20:25 +02:00
  • e3be901f1f STLExtras: allow skip to result in empty ranges Ivan Krysak 2023-06-20 13:08:59 +03:00
  • d3c37fc692 ProgramCounterHandler::expandNewPC: take CallBase Alessandro Di Federico 2023-06-30 09:38:56 +02:00
  • b8b2fcff71 GenericGraph tests: zero initialize EdgeLabel::X Alessandro Di Federico 2023-06-30 09:38:56 +02:00
  • 84dd10cbdb GenerichGraph.h: nullptr-initialize Edge::Neighbor Alessandro Di Federico 2023-06-29 19:20:25 +02:00
  • b53d3f457b Minor changes Alessandro Di Federico 2023-06-29 19:20:25 +02:00
  • 8505a7222b Merge branch 'feature/fix-test-list' Pietro Fezzardi 2023-06-30 10:49:14 +02:00
  • c06f963fe1 Test recompilation for i386 separately Pietro Fezzardi 2023-06-30 09:57:46 +02:00
  • d9b5bfd99a revng-primitive-types.h: improve generic{80,96}_t Pietro Fezzardi 2023-06-30 09:22:39 +02:00
  • 6bc5346733 Rename tests in revng-c-model-to-header.yml Pietro Fezzardi 2023-06-30 09:17:46 +02:00
  • eae5e3069d revng-primitive-types.h: fix 128-bits definitions Pietro Fezzardi 2023-06-30 09:15:38 +02:00
  • 1b4079b496 DecompileFunction.cpp: HTML-escape strings in PTML Pietro Fezzardi 2023-06-29 15:20:43 +02:00
  • dd3836112d DecompileFunction.cpp: handle enum comparisons Pietro Fezzardi 2023-06-29 15:04:10 +02:00
  • 6acd265c5a Add revng helpers to decompile llvm::UndefValue Pietro Fezzardi 2023-06-29 14:41:26 +02:00
  • e988932442 DecompileFunction.cpp: fix 128 bit literals Pietro Fezzardi 2023-06-29 12:25:49 +02:00
  • 01a985632f OperatorPrecedence: support OpaqueExtractValue Pietro Fezzardi 2023-06-29 11:48:01 +02:00
  • e2791443fb Remove extractvalue instructions in decompilation Pietro Fezzardi 2023-06-29 11:45:38 +02:00
  • e4315c2cf0 FoldModelGEP: update transparent opcodes Pietro Fezzardi 2023-06-29 11:42:26 +02:00
  • cb02af692a FunctionTags::OpaqueExtractValue: add attributes Pietro Fezzardi 2023-06-28 15:00:23 +02:00
  • ce576870a5 FunctionTags: drop old unused FunctionTags::Marker Pietro Fezzardi 2023-06-28 14:50:40 +02:00
  • c3d7125dd5 Drop old unused RestoreExtractValuesPass Pietro Fezzardi 2023-06-27 18:06:51 +02:00
  • 1b575e75dc Drop restore-extractvalues from the pipeline Pietro Fezzardi 2023-06-27 18:03:46 +02:00
  • 220a7718e8 Fix getModelGEPToken Pietro Fezzardi 2023-06-27 07:47:55 +02:00
  • 56a340bcb1 MakeModelGEPPass.cpp: improve debug prints Pietro Fezzardi 2023-06-27 07:48:44 +02:00
  • 0dd6e75800 Fix flattenTypedefsIgnoringConst Pietro Fezzardi 2023-06-27 07:47:07 +02:00
  • 386a6cc8aa MakeModelGEPPass.cpp: remove old dead classes Pietro Fezzardi 2023-06-26 16:30:09 +02:00
  • d1c1a79553 MakeModelGEPPass: drop old too stric assertions Pietro Fezzardi 2023-06-26 09:56:42 +02:00
  • a9128fb72b InitModelTypes: improve const-correctness Pietro Fezzardi 2023-06-28 14:43:13 +02:00
  • d2c9cbafb8 Add a DCE pass before RemoveLiftingArtifacts Pietro Fezzardi 2023-06-28 14:46:01 +02:00
  • a660c83b49 Segregate: fix handling of return values Alessandro Di Federico 2023-06-23 18:09:01 +02:00
  • 569dc8005b tests: limit inputs to ensure 1-to-1 matching Alessandro Di Federico 2023-06-23 18:07:37 +02:00
  • 559cc7d699 HoistStructPhis: various improvements Alessandro Di Federico 2023-06-23 18:05:41 +02:00
  • c2f7f62677 Merge branch 'gh/feature/fix-test-list' Alessandro Di Federico 2023-06-30 10:47:08 +02:00
  • 2162bd6f4a BeautifyGHAST: change Standard to WhileTrue Andrea Gussoni 2023-06-26 10:43:58 +02:00
  • 3b07a6fba6 BeautifyGHAST: Introduce the hybrid not simplify Andrea Gussoni 2023-05-26 10:36:49 +02:00
  • 72947f0f71 tests: limit inputs to ensure 1-to-1 matching feature/fix-test-list Alessandro Di Federico 2023-06-23 17:56:55 +02:00
  • 0ecfbf94b9 SystemV_x86: remove VectorArgumentRegisters Alessandro Di Federico 2023-06-23 17:56:09 +02:00
  • 42abf64c62 revng.cli: ensure proper exit code propagation Alessandro Di Federico 2023-06-23 17:55:38 +02:00
  • 942cc1323a revng::verify: dump module upon failure Alessandro Di Federico 2023-06-23 17:54:52 +02:00
  • fa61c784c2 Reintroduce st0_x86 as floating point return value Alessandro Di Federico 2023-06-23 17:54:14 +02:00
  • 4c9df76673 BeautifyGHAST: fix numbering of debug filenames Pietro Fezzardi 2023-06-23 16:34:37 +02:00
  • f7dfd1e4ca Backend: drop duplicated do-while condition Pietro Fezzardi 2023-06-23 16:33:49 +02:00
  • 37b630a31e Merge branch 'feature/handle-small-return-types' Pietro Fezzardi 2023-06-21 15:19:11 +02:00
  • bc76cbe546 AddAssignmentMarkersPass: fix size of ptr locals Pietro Fezzardi 2023-06-21 15:10:00 +02:00
  • 2a322dcfeb Segregate: handle small return types Alessandro Di Federico 2023-06-21 11:03:36 +02:00
  • dfa279cfec MakeModelGEPPass: ignore zero-size types Pietro Fezzardi 2023-06-21 15:08:20 +02:00
  • 3f2742d902 Merge branch 'feature/make-model-gep-improvements' Pietro Fezzardi 2023-06-21 12:06:27 +02:00
  • 55d433e020 Layout::verify: be stricter on return values feature/handle-small-return-types Alessandro Di Federico 2023-06-21 10:56:23 +02:00
  • 0af9b34a0a Layout: make ReturnValues empty in case of void Alessandro Di Federico 2023-06-21 10:55:46 +02:00
  • 3016c2ad41 MakeModelGEPPass: enable operator [] on pointers Pietro Fezzardi 2023-06-14 14:56:37 +02:00
  • 35fded0b38 MakeModelGEPPass: handle affine indices in arrays Pietro Fezzardi 2023-06-13 15:54:41 +02:00
  • 63970fb925 MakeModelGEPPass.cpp: use IRSummationin ChildInfo Pietro Fezzardi 2023-06-13 14:27:51 +02:00
  • 6bf0de84ce Recompile tests with -Wimplicitly-unsigned-literal Pietro Fezzardi 2023-06-14 16:04:06 +02:00
  • 70eb3e8c4d AddAssignmentMarkersPass: fix size of locals Pietro Fezzardi 2023-06-14 12:22:20 +02:00
  • ea3c6216ad DecompileFunction.cpp: ban floats only on ICmp Pietro Fezzardi 2023-06-13 17:04:14 +02:00
  • 228e733a65 Cleanup disabled warnings for decompiled Pietro Fezzardi 2023-06-12 16:39:51 +02:00
  • bb5b5f0f64 Merge branch 'feature/boolean-not' Pietro Fezzardi 2023-06-12 14:33:22 +02:00
  • 8409c435a6 Add decompilation support for (x != 0) -> (x) Valentina Sona 2023-05-04 14:41:34 +02:00
  • 866b9965fa Add test for the boolean not TANP transformation Valentina Sona 2023-04-19 22:32:58 +02:00
  • 8429c35f2e Insert boolean not on equal to zero comparisons Valentina Sona 2023-04-19 22:27:30 +02:00
  • 8dfd7c2d96 Add custom opcode BooleanNot Valentina Sona 2023-04-19 22:06:19 +02:00
  • aa63ede37b MakeModelGEP: refactor to support partial mismatch Pietro Fezzardi 2023-05-15 18:09:34 +02:00
  • f05c08547d ptml: Introduce PTMLBuilder class Djordje Todorovic 2023-05-25 14:21:58 +02:00
  • 286eb4d734 c-backend: Introduce PTMLCBuilder Djordje Todorovic 2023-05-09 12:11:22 +02:00
  • a263270858 Remove redundant casts on comparisons Pietro Fezzardi 2023-05-31 17:03:47 +02:00
  • f4020c9fa6 TNAP: fix handling of wraparounds Pietro Fezzardi 2023-06-08 18:23:45 +02:00
  • fceaa57f80 InitModelTypes: UnaryMinus is considered Signed Pietro Fezzardi 2023-06-06 18:25:41 +02:00