Commit graph

1099 commits

Author SHA1 Message Date
Ryan Kurtz
fe1d80a585 Merge remote-tracking branch 'origin/patch' 2023-02-03 11:54:27 -05:00
ghidra1
8d4287811c GP-0 ensure empty component comments are set as null 2023-02-03 11:30:27 -05:00
ghidragon
73a55cfd5a fixed merge conflicts 2023-01-31 12:03:27 -05:00
ghidragon
6563cebcf5 GP-2141 adding feature for better starting location when opening a
program.
2023-01-31 11:42:55 -05:00
Ryan Kurtz
01473cf813 Merge remote-tracking branch 'origin/GP-2793_PtrMetatypeProto' 2023-01-31 08:28:35 -05:00
Ryan Kurtz
aa7a93f0a3 Merge remote-tracking branch
'origin/GP-3015_Dan_symbolsByNameAssemblerFix--REBASED-1' (Closes #2630)
2023-01-26 10:58:53 -05:00
ghidra1
57656b567b GP-0 reverted recent test changes to reflect x86 revert (see GP-3041) 2023-01-25 12:35:27 -05:00
Dan
bc43f20c3c GP-3015: Add scanSymbolsByName, javadocs, checks, refactor assembler 2023-01-25 11:42:02 -05:00
caheckman
52d97329b9 GP-2793 Better support for metatype="ptr" pentry tags 2023-01-20 17:37:21 -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
b1cf7d1b61 GP-1 corrected merge error 2023-01-19 13:42:37 -05:00
ghidra1
07a35dd91a Merge remote-tracking branch 'origin/patch' 2023-01-19 08:41:23 -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
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
Ryan Kurtz
539d5b2aad Merge remote-tracking branch 'origin/patch' 2023-01-13 12:32:34 -05:00
caheckman
4b2a78b1fb GP-3014 - Add deduping to DynamicHash gatherFirstLevelVars 2023-01-13 11:19:00 -05:00
Ryan Kurtz
bf5dfa6170 Merge remote-tracking branch 'origin/GP-2834_Dan_hoverVarVals--SQUASHED'
(#4732)
2023-01-12 18:57:13 -05:00
Dan
df9a1e2756 GP-2834: Add Unwind Stack action, hovers for dynamic variable values. 2023-01-12 13:38:17 -05:00
Ryan Kurtz
7b690b4257 Merge remote-tracking branch
'origin/GP-3001-dragonmacher-decomp-convert-actions--SQUASHED'
(Closes #3689)
2023-01-11 11:21:51 -05:00
dragonmacher
761346d888 GP-3001 - Decompiler - Added Double and Float convert actions 2023-01-11 10:11:53 -05:00
Ryan Kurtz
559ea64048 Merge remote-tracking branch 'origin/GP-2931_dev747368_nuke_unsigneddatautils' 2023-01-11 06:34:47 -05:00
ghidra1
0f3bb2acee GP-0 corrected various test failures 2023-01-06 17:32:29 -05:00
Ryan Kurtz
1b034882d2 Merge remote-tracking branch 'origin/GP-2668-dragonmacher-show-symbol-references-action' 2023-01-06 11:44:16 -05:00
Ryan Kurtz
1656ecf471 Merge remote-tracking branch 'origin/GP-2785_TokenFieldBounds' 2023-01-06 08:13:34 -05:00
dragonmacher
2d2b2b8771 GP-2945 - Updated the structure editor to maintain selection during external updates 2023-01-04 17:08:29 -05:00
dragonmacher
b73c9972ef GP-2668 - Small tweaks to xrefs table 2023-01-03 18:56:40 -05:00
Ryan Kurtz
55124ff249 Merge remote-tracking branch 'origin/patch' 2022-12-28 09:02:06 -05:00
Ryan Kurtz
70a155cb70 GP-0: Using TaskMonitor.DUMMY instead of deprecated
TaskMonitorAdapter.DUMMY_MONITOR
2022-12-28 08:06:16 -05:00
Ryan Kurtz
8c304d01be Merge remote-tracking branch 'origin/patch' 2022-12-21 10:53:32 -05:00
Ryan Kurtz
093c574947 Merge remote-tracking branch
'origin/GP-2946_Dan_asmThumbTbbPcRel--SQUASHED' into patch
(Closes #4824)
2022-12-21 10:49:19 -05:00
Dan
5ced5e61cb GP-2946: Correct print piece in ARM/THUMB pc-relative tbb and tbh instructions 2022-12-21 10:30:06 -05:00
ghidra1
848826c679 Merge remote-tracking branch 'origin/patch' 2022-12-20 17:27:49 -05:00
ghidra1
fecaf7b5b1 Merge branch 'GP-2964_ghidra_CorrectProgramUpgradeIssues' into patch 2022-12-20 17:22:28 -05:00
ghidra1
63b22fd8fc GP-2964 corrected legacy program upgrade issues 2022-12-20 17:20:49 -05:00
Ryan Kurtz
19a63531c3 Merge remote-tracking branch 'origin/GP-2767_BreakoutStructureCONCAT' 2022-12-20 13:23:16 -05:00
Ryan Kurtz
01dfe6cab5 Merge remote-tracking branch
'origin/GP-1307_ghidra1_DTResolveWithSource--SQUASHED' (Closes #4634)
2022-12-18 05:58:01 -05:00
ghidra1
a0a4ea67f8 GP-1307 data type resolution conflict handling improvements 2022-12-16 18:42:46 -05:00
caheckman
535ac7c08d GP-2767 Structured pieces 2022-12-16 18:05:20 -05:00
dev747368
79875e0014 GP-2931 remove UnsignedDataUtils 2022-12-16 16:59:47 +00:00
Ryan Kurtz
b707c2ea6b Merge remote-tracking branch 'origin/GP-2903_ghidra1_ImmutableDomainObjects--SQUASHED' 2022-12-15 06:01:56 -05:00
ghidra1
7c0dcaec3d GP-2903 corrected use of getImmutableObject for link-handler, Diff and OpenVersionedFileDialog. Improved handling of required upgrade. 2022-12-14 14:13:35 -05:00
Ryan Kurtz
5e2bbde8dd Merge remote-tracking branch 'origin/GP-2795-dragonmacher-theme-cleanup-buttons--SQUASHED' 2022-12-13 06:30:39 -05:00
ghidra1
e2d3d20c17 GP-1 minor cleanup 2022-12-12 22:58:25 -05:00
dragonmacher
8379285044 GP-2795 - Refactor of ButtonPanelFactory 2022-12-12 18:54:57 -05:00
ghidra1
12cb9010c5 GP-1 Hard-wired DefaultLanguageService into SleighLanguageProvider and
eliminated single-ldef usage.
2022-12-12 18:05:46 -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
ghidra1
6a006ac085 GP-1945 Eliminate use of blank component names (zero-length bitfields) 2022-12-08 09:39:30 -05:00
ghidra1
791b4108de GP-2731 use warning bookmark for bad flows to address 00000000 instead
of error bookmark
2022-12-07 11:50:36 -05:00
Ryan Kurtz
70489f8f1c Merge remote-tracking branch 'origin/patch' 2022-12-07 02:01:14 -05:00