Commit graph

530 commits

Author SHA1 Message Date
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
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
caheckman
8c2bddffaf GP-2866 early switch failure 2022-11-22 11:16:08 -05:00
caheckman
9424fdf208 GP-2859 Clearing symbols from HighVariable must set symboldirty 2022-11-17 18:35:48 -05:00
caheckman
8f2450e625 GP-2830 Parsing pspec symbols 2022-11-14 20:02:27 -05:00
caheckman
4990101d6e GP-2818 Don't attach usepoint to address tied symbols 2022-11-09 18:14:09 -05:00
Ryan Kurtz
5e3e22b4f0 Merge remote-tracking branch 'origin/GP-2783_HeritageGuardRevisit' into patch 2022-11-03 10:48:57 -04:00
caheckman
589d96580a GP-2783 Adjustments to guards when revisiting an address 2022-11-02 14:49:03 -04:00
caheckman
45374b3354 GP-2747 Check for explicit case fallthru 2022-11-02 14:37:36 -04:00
Ryan Kurtz
43a93554e2 Merge remote-tracking branch 'origin/GP-2654_ReconcileAdjustments' 2022-10-12 00:59:32 -04:00
Ryan Kurtz
983eb9578a Merge remote-tracking branch 'origin/GP-2664_DecompilerDocsUpdate' 2022-10-12 00:56:35 -04:00
caheckman
d094cdf091 GP-2486_HexStack 2022-10-11 18:45:41 -04:00
caheckman
35cfd02d87 GP-2654 Varnodes overlapping multiple structure fields can reconcile 2022-10-11 17:07:57 -04:00
caheckman
79d95710e4 GP-2664 Docs for unions, relative pointers 2022-10-11 16:48:48 -04:00
caheckman
e45be5da7d GP-2601 Adjustments to setting up callspecs 2022-10-03 12:19:09 -04:00
Ryan Kurtz
b662f61bc6 Merge remote-tracking branch 'origin/GP-2578_VolatileDisplay' 2022-09-28 01:15:04 -04:00