Commit graph

694 commits

Author SHA1 Message Date
caheckman
6e239a393e GP-3029 Treat annotations in comments as a single token 2023-03-08 12:38:58 -05:00
caheckman
74e1bbdb57 GP-3148 More join space overlaps 2023-03-07 17:13:11 -05:00
Pokechu22
e4ab760242 Add rule to simplify lzcount followed by right shift 2023-03-02 18:30:04 -08:00
Pokechu22
14880b53c4 Create and use LZCOUNT Pcode op 2023-03-02 18:30:04 -08:00
caheckman
7d6c6d28be GP-3126 Join support for CONCAT trees 2023-02-23 20:01:05 -05:00
Ryan Kurtz
ebde3f7250 Merge remote-tracking branch 'origin/GP-2603_ConditionalConstPhiNode'
(Closes #4527)
2023-02-21 12:43:56 -05:00
caheckman
e996440c77 GP-2586 Exceptions for injection error conditions 2023-02-21 11:34:07 -05:00
caheckman
042dbbcaba GP-2603 Handle conditional constant propagation in phi-nodes 2023-02-17 16:38:48 -05:00
Ryan Kurtz
43bbf5ea9f Merge remote-tracking branch 'origin/GP-3085_NativeCompatibility' 2023-02-13 14:53:34 -05:00
Ryan Kurtz
1de4b32e51 Merge remote-tracking branch 'origin/patch' 2023-02-08 06:10:33 -05:00
caheckman
f9bc45cdf0 GP-3088 Marshal pointer wordsize as unsigned 2023-02-07 18:14:50 -05:00
caheckman
4f728c082f GP-3085 Adjustments for older build environments 2023-02-07 16:36:37 -05:00
Ryan Kurtz
ba70679ee8 Merge remote-tracking branch 'origin/GP-2544_ProtoModelGroupList'
(Closes #4568)
2023-02-06 09:42:03 -05:00
Ryan Kurtz
c87707cc4e Merge remote-tracking branch 'origin/patch' 2023-02-06 09:37:09 -05:00
Ryan Kurtz
65f20da73c Merge remote-tracking branch 'origin/GP-3065_ParsingExtrapop' into patch 2023-02-06 09:31:33 -05:00
ghidra1
843d780eb5 Merge remote-tracking branch 'origin/patch' 2023-02-03 15:59:33 -05:00
Matt Borgerson
fbde367fe1 Fix typo: unitialized -> uninitialized 2023-02-03 01:41:14 -07:00
caheckman
38535dcb86 GP-2544 Allow a joined pentry to overlap non-contiguous groups 2023-02-02 19:25:40 -05:00
caheckman
7149c92e4b GP-3075 Don't filter segment op from switch analysis 2023-02-02 12:05:24 -05:00
Ryan Kurtz
01473cf813 Merge remote-tracking branch 'origin/GP-2793_PtrMetatypeProto' 2023-01-31 08:28:35 -05:00
caheckman
94aca176ef GP-3065 Special parsing for mixed format attribute 2023-01-27 19:51:46 -05:00
Johannes Obermayr
c839c0f9a3 Fix build error after 8b442ea
> Task :Decompiler:compileSleighLinux_x86_64ExecutableSleighCpp
/tmp/ghidra/Ghidra/Features/Decompiler/src/decompile/cpp/float.cc: In member function ???double FloatFormat::getHostFloat(uintb, floatclass*) const???:
/tmp/ghidra/Ghidra/Features/Decompiler/src/decompile/cpp/float.cc:245:30: error: ???numeric_limits??? is not a member of ???std???
  245 |       double infinity = std::numeric_limits<double>::infinity();
      |                              ^~~~~~~~~~~~~~
/tmp/ghidra/Ghidra/Features/Decompiler/src/decompile/cpp/float.cc:245:45: error: expected primary-expression before ???double???
  245 |       double infinity = std::numeric_limits<double>::infinity();
      |                                             ^~~~~~
/tmp/ghidra/Ghidra/Features/Decompiler/src/decompile/cpp/float.cc:250:23: error: ???numeric_limits??? is not a member of ???std???
  250 |     double nan = std::numeric_limits<double>::quiet_NaN();
      |                       ^~~~~~~~~~~~~~
/tmp/ghidra/Ghidra/Features/Decompiler/src/decompile/cpp/float.cc:250:38: error: expected primary-expression before ???double???
  250 |     double nan = std::numeric_limits<double>::quiet_NaN();
      |                                      ^~~~~~

> Task :Decompiler:compileDecompileLinux_x86_64ExecutableDecompileCpp
/tmp/ghidra/Ghidra/Features/Decompiler/src/decompile/cpp/float.cc: In member function ???double FloatFormat::getHostFloat(uintb, floatclass*) const???:
/tmp/ghidra/Ghidra/Features/Decompiler/src/decompile/cpp/float.cc:245:30: error: ???numeric_limits??? is not a member of ???std???
  245 |       double infinity = std::numeric_limits<double>::infinity();
      |                              ^~~~~~~~~~~~~~
/tmp/ghidra/Ghidra/Features/Decompiler/src/decompile/cpp/float.cc:245:45: error: expected primary-expression before ???double???
  245 |       double infinity = std::numeric_limits<double>::infinity();
      |                                             ^~~~~~
/tmp/ghidra/Ghidra/Features/Decompiler/src/decompile/cpp/float.cc:250:23: error: ???numeric_limits??? is not a member of ???std???
  250 |     double nan = std::numeric_limits<double>::quiet_NaN();
      |                       ^~~~~~~~~~~~~~
/tmp/ghidra/Ghidra/Features/Decompiler/src/decompile/cpp/float.cc:250:38: error: expected primary-expression before ???double???
  250 |     double nan = std::numeric_limits<double>::quiet_NaN();
      |                                      ^~~~~~
2023-01-21 23:16:56 +01:00
caheckman
52d97329b9 GP-2793 Better support for metatype="ptr" pentry tags 2023-01-20 17:37:21 -05:00
caheckman
8b442eac0b GP-2985 Remove "using namespace" directives 2023-01-18 15:35:17 -05:00
Ryan Kurtz
3433f49cdc Merge remote-tracking branch
'origin/GP-2983_caheckman_PR-3998_ekilmer_fix-decompiler-test-cli-parsing'
(Closes #3998)
2023-01-13 13:07:41 -05:00
Ryan Kurtz
539d5b2aad Merge remote-tracking branch 'origin/patch' 2023-01-13 12:32:34 -05:00
caheckman
583847b761 Don't filter JumpAssist from switch analysis 2023-01-13 11:21:10 -05:00
caheckman
4b2a78b1fb GP-3014 - Add deduping to DynamicHash gatherFirstLevelVars 2023-01-13 11:19:00 -05:00
Ryan Kurtz
4ff113f92c Merge remote-tracking branch 'origin/patch'
Conflicts:
	Ghidra/Features/Decompiler/src/decompile/cpp/funcdata.hh
2023-01-09 10:33:18 -05:00
Ryan Kurtz
2ee1d80215 Merge remote-tracking branch 'origin/GP-2956_SubpieceZext' 2023-01-06 08:18:24 -05:00
Ryan Kurtz
1656ecf471 Merge remote-tracking branch 'origin/GP-2785_TokenFieldBounds' 2023-01-06 08:13:34 -05:00
Ryan Kurtz
1e8c575671 Merge remote-tracking branch 'origin/GP-2866_SwitchAnalysisFilter' into patch 2023-01-06 08:05:11 -05:00
caheckman
735c6d3a8b Removed unused include directive 2023-01-05 12:25:04 -05:00
Eric Kilmer
cd09ea0c4a Fixes CLI argument parsing
Accept more than one option for specifying test paths.

Support non-zero exit code when tests fail

Return a non-zero exit code (saturated to max value 255, even if more
than 255 tests fail) indicating number of failed tests. This is helpful
when running in a script (like in CI) to detect failures instead of
detecting failures through manual visual inspection of output text.
2023-01-05 12:22:13 -05:00
caheckman
6f49dc939e GP-2980 Analysis for unrolled switch guards 2023-01-04 18:15:10 -05:00
caheckman
04431f0ad2 Precision check in RuleSubZext 2022-12-22 19:00:12 -05:00
caheckman
2345c1289b GP-2956 Adjustment to RuleSubExtComm 2022-12-22 16:39:26 -05:00
caheckman
11abb716c4 GP-2560 Don't reprocess Funcdata for multiple jumptables 2022-12-21 15:32:10 -05:00
Ryan Kurtz
19a63531c3 Merge remote-tracking branch 'origin/GP-2767_BreakoutStructureCONCAT' 2022-12-20 13:23:16 -05:00
caheckman
0ee824f017 GP-2961 Clear calculated flags on restart 2022-12-19 16:13:59 -05:00
caheckman
535ac7c08d GP-2767 Structured pieces 2022-12-16 18:05:20 -05:00
Ryan Kurtz
93d3b41d01 Merge remote-tracking branch
'origin/GP-2913_ghidracadabra_PR-4595_kkaempf_improve_sleigh_error_reporting'
(Closes #4595)
2022-12-08 14:18:51 -05:00
Ryan Kurtz
a04f7fbb03 Merge remote-tracking branch 'origin/GP-2845_PartialMerging' 2022-12-07 02:04:02 -05:00
Ryan Kurtz
9b49843a70 Merge remote-tracking branch 'origin/GP-2859_SymbolsSameVariable' into patch 2022-12-07 01:57:36 -05:00
James
93d3808232 GP-2913 addressing code review comments 2022-12-06 21:34:28 +00:00
caheckman
e0a5cf1720 GP-2785 Match up token field bounds checking between compilers 2022-12-06 15:35:23 -05:00
caheckman
722c17f9f2 GP-2845 Merging overlapping variables 2022-12-05 18:54:27 -05:00
James
6e6cf6d935 GP-2913 minor adjustments 2022-12-02 19:30:21 +00:00
Klaus Kämpf
23c1b63f55 Improve sleigh compiler error messages
Signed-off-by: Klaus Kämpf <kkaempf@gmail.com>
2022-12-02 15:43:55 +00:00
Klaus Kämpf
2758cbb40c Prevent underflow in calc_mask
Signed-off-by: Klaus Kämpf <kkaempf@gmail.com>
2022-12-02 15:43:55 +00:00