Commit Graph

1072 Commits

Author SHA1 Message Date
caheckman
44eef24fa4 GP-2627 Adjust tests 2023-03-22 13:11:18 -04:00
caheckman
2591c17f22 GP-2627 TypePartialStruct 2023-03-21 13:28:09 -04:00
Ryan Kurtz
45d2e42bb4 Merge remote-tracking branch 'origin/GP-3186_ZeroSizeExportConsistency' 2023-03-17 15:57:28 -04:00
dragonmacher
4592ebcd5a GP-3195 - Updated ParallelDecompiler to not save processed items for cal
that does not used them
2023-03-14 14:24:05 -04:00
Ryan Kurtz
67625f5b9c Merge remote-tracking branch 'origin/GP-3174_PieceMarshaling' 2023-03-14 06:26:22 -04:00
Ryan Kurtz
fba98d104e Merge remote-tracking branch 'origin/GP-3029_CommentAnnotations' 2023-03-14 06:25:47 -04:00
caheckman
b39c60e221 GP-3174 Indexed attribute marshaling 2023-03-13 16:48:16 -04:00
caheckman
349b891165 GP-3186 Add 0 size exports to consistency check for subtables 2023-03-13 14:30:34 -04:00
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
dragonmacher
84521c6f09 GP-3170 - Updates to fix clients of languages.css 2023-03-06 15:56:44 -05:00
Ryan Kurtz
73e4c17f2a Merge remote-tracking branch 'origin/GP-2717_TokenSymbolAccess'
(Closes #4670)
2023-02-28 13:12:26 -05:00
caheckman
a5ba9e390c GP-2717 Symbol attached to variable declarations 2023-02-27 16:50:09 -05:00
caheckman
7d6c6d28be GP-3126 Join support for CONCAT trees 2023-02-23 20:01:05 -05:00
Ryan Kurtz
87cc8c2993 Merge branch
'GP-3120_ryanmkurtz_PR-4748_johanngan_switch-override-conditional'
(Closes #4747, Closes #4748)
2023-02-22 07:56:00 -05:00
Ryan Kurtz
d9a6dbecbf Merge remote-tracking branch 'origin/patch' 2023-02-22 07:21:28 -05:00
endrin
69f6dae46f Fix several Gradle 8.x compatibility issues
Addressed the following deprecations:

* [JacocoMerge task removed:](https://docs.gradle.org/current/userguide/upgrading_version_7.html#jacocomerge_task_removed)
deleted jacocoMerge task, moved its inputs to jacocoReport.
* [`classifier` property removed from archive tasks:](https://docs.gradle.org/current/userguide/upgrading_version_7.html#abstractarchivetask_api_cleanup)
replaced `classifier` calls with `archiveClassifier.set`.
* [execResult getter property removed from exec tasks:](https://docs.gradle.org/current/userguide/upgrading_version_7.html#abstractexectask_api_cleanup)
replaced with `executionResult.get`.
2023-02-22 06:55:47 -05:00
Ryan Kurtz
ebde3f7250 Merge remote-tracking branch 'origin/GP-2603_ConditionalConstPhiNode'
(Closes #4527)
2023-02-21 12:43:56 -05:00
Ryan Kurtz
fece9ce5f7 Merge remote-tracking branch 'origin/GP-2587_InjectionErrorHandling' 2023-02-21 12:40:49 -05:00
caheckman
e996440c77 GP-2586 Exceptions for injection error conditions 2023-02-21 11:34:07 -05:00
Ryan Kurtz
2df54f37f5 Merge remote-tracking branch 'origin/GP-1123_PlaceholderStructCollision'
(Closes #3196)
2023-02-18 07:36:41 -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
caheckman
51b1b51d89 GP-1123 Check for name collision when creating placeholder structure 2023-02-10 12:31:23 -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
7143f64c51 Merge remote-tracking branch
'origin/GP-2986-dragonmacher-component-provider-methods--SQUASHED'
2023-02-03 17:55:23 -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
dragonmacher
c252e3b905 GP-2986 - ComponentProvder and dialog cleanup on dispose 2023-02-02 17:51:15 -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
Ryan Kurtz
c2522c81c6 Merge remote-tracking branch 'origin/GP-2985_UsingNamespace'
(Closes #4703)
2023-01-20 13:02:40 -05:00
Ryan Kurtz
1b9f90e827 Merge remote-tracking branch 'origin/patch'
Conflicts:
	Ghidra/Framework/SoftwareModeling/src/test/java/ghidra/app/plugin/processors/sleigh/SleighLanguageVolatilityTest.java
2023-01-20 12:31:22 -05:00
Ryan Kurtz
43a82b4aa2 GP-2606: Fixing test compilation error. Formatting code. 2023-01-20 06:30:50 -05:00
ghidra1
07a35dd91a Merge remote-tracking branch 'origin/patch' 2023-01-19 08:41:23 -05:00
Ryan Kurtz
e12837fe7b Merge remote-tracking branch
'origin/GP-3020-dragonmacher-fill-in-structure-size-limit' into patch
(Closes #4879)
2023-01-19 06:34:05 -05:00
Ryan Kurtz
c0397036e4 Merge remote-tracking branch 'origin/GP-2606_ghidragander_volatile_symbol_pspec--SQUASHED' into patch 2023-01-19 06:18:16 -05:00
caheckman
8b442eac0b GP-2985 Remove "using namespace" directives 2023-01-18 15:35:17 -05:00
ghidraGander
dce57a7bf7 GP-2606
Fixed typo in AddressLabelInfo.
Improved implementation and error handling of AddressLabelInfo.
GP-2606
Refactored the package of 'AddressLabelInfo' to beghidra.program.model.lang. Removed the source and namespace variablesfrom AddressLabelInfo since they would always be global and IMPORTED.Removed a number of constructors to simplify AddressLabelInfo. Improvederror handing in SleighLanguage class.
GP-2606
Added javadocs to and throw exceptions from AddressLabelInfo constructors and removed extra constructors that were no longer needed. Added exception handling to AbsractProgramLoader and SleighLanguage for thrown exceptions. Made some variables in SleighLanguage private and removed an unnecessary null check.
GP-2606
Prepared test to help investigate volatility interplay settings.
GP-2606
Updated per review comments. SleighLanguage will parse pspec files andthen apply symbol element settings for volatility afterward. Simplifiedtests for SleighLanguage and the Decompiler.
GP-2606
Made updates based on review feedback. Address label info holds the endaddress of the label. Sleigh language will resolve symbol mutabilityafter parsing the pspec file such that the order of elements in the filewill not be a factor. Rearranged tests in preparation for improvement.Added a constructor to the ProgramBuilder class so that custom definedpspec files may be used in the tests.
GP-2606
Updated SpecXmlUtils decodeBoolean method to call decodeNullableBooleanfirst, however if the result is null, to return false instead of null.
GP-2606
Changed size of addressLabelInfo to sizeInBytes and added comment toisVolatile that specifies what null, false, or true mean in context.Incorporated improvements per review comments to SleighLanguage.
GP-2606
Added tests for the sleigh language volatility changes and thedecompiler itself.
GP-2606:
Updated SleighLanguage to alter 'volatileAddresses' based on the symbolelements and their attributes in pspec files. Added size and volatilevariables to AddressLabelInfo class. Added Boolean parser method to theSpecXmlUtils.java file.
GP-2606: Added optional volatile boolean and optional size integer attributes to the symbol element of processor specification (pspec) files.
2023-01-18 14:04:50 -05:00
dragonmacher
fc6fb6e4ae GP-3020 - Updated the Fill in Structure action to take into account the
structure size
2023-01-17 14:24:04 -05:00
Ryan Kurtz
cb30d5e844 Merge remote-tracking branch 'origin/patch'
Conflicts:
	Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/progmgr/SaveProgramAction.java
2023-01-17 06:08:18 -05:00