Commit graph

1028 commits

Author SHA1 Message Date
emteere
b10d01a2cb GP-3216 Fixed CParser creation of Enums from define's with upper and
lower case u,l,ul when value surrounded by parentheses
2023-03-19 19:17:58 +00:00
caheckman
f9bc45cdf0 GP-3088 Marshal pointer wordsize as unsigned 2023-02-07 18:14:50 -05:00
emteere
93c291ba72 GP-2905: Fixed regression in handling of spacebase register values that
cause a stack trace in the decompiler for RISCV.  Removed unnecessary
spacebase settings in tricore, mips, riscv.
2023-02-07 10:51:56 -05:00
Ryan Kurtz
65f20da73c Merge remote-tracking branch 'origin/GP-3065_ParsingExtrapop' into patch 2023-02-06 09:31:33 -05:00
ghidra1
8d4287811c GP-0 ensure empty component comments are set as null 2023-02-03 11:30:27 -05:00
caheckman
94aca176ef GP-3065 Special parsing for mixed format attribute 2023-01-27 19:51:46 -05:00
Ryan Kurtz
43a82b4aa2 GP-2606: Fixing test compilation error. Formatting code. 2023-01-20 06:30:50 -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
caheckman
4b2a78b1fb GP-3014 - Add deduping to DynamicHash gatherFirstLevelVars 2023-01-13 11:19:00 -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
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
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
4f72df352d Merge remote-tracking branch
'origin/GP-2758_HashedFunctionCorrelatorCollision' into patch
(Closes #4683)
2022-12-07 01:50:47 -05:00
ghidra1
f30b37bc05 GP-0 corrected latent issue in AbstractEditFunctionSignatureDialog 2022-12-01 21:05:12 -05:00
Ryan Kurtz
02801d161d Merge remote-tracking branch 'origin/GP-2830_PspecSymbolParsing' into patch 2022-11-18 01:20:16 -05:00
Ryan Kurtz
56281c5150 Merge remote-tracking branch
'origin/GP-2789_Dan_asmUnsigned64Immediates--SQUASHED' into patch
(Closes #4688)
2022-11-17 01:03:52 -05:00
Dan
ed1ac1e46f GP-2789: Fix parsing of unsigned 64-bit immediates in assembler (Closes #4688) 2022-11-16 13:02:49 -05:00
caheckman
8f2450e625 GP-2830 Parsing pspec symbols 2022-11-14 20:02:27 -05:00
ghidra1
1b78b352d5 Merge remote-tracking branch 'origin/GP-2800_CrossBuildOverlays' into patch 2022-11-14 16:51:04 -05:00
ghidra1
d7d029c053 GP-2831 corrected a few TypedefDataType constructors to establish
datatype manager from specified datatype
2022-11-14 16:29:24 -05:00
caheckman
b0db02b0de GP-2800 cross build must check for overlay 2022-11-10 21:16:48 -05:00
ghidra1
0820129229 Merge remote-tracking branch 'origin/GP-2777_ghidra1_StructurePerformance--SQUASHED' into patch 2022-11-09 12:26:38 -05:00
ghidra1
277a0f5843 GP-2777 Structure build-up and resolution performance improvements 2022-11-09 12:12:14 -05:00
caheckman
89b52dae84 GP-2800 Overlay disassembly bugfix 2022-11-07 20:26:13 -05:00
caheckman
d2805a673c GP-2758 Include size in compareTo 2022-11-02 14:19:24 -04:00
ghidorahrex
15223fd4f5 GP-2718: Fixed vmov disassembly regression 2022-10-31 13:44:14 +00:00
ghidra1
2803472278 GP-2744 correct ELF symbol table processing in absence of associated string table 2022-10-21 12:44:04 -04:00
ghidra1
c7d77ab2e7 Merge remote-tracking branch 'origin/GP-2708_ghidorahrex_ARMNeon_vmov_fix' into Ghidra_10.2 2022-10-18 18:16:08 -04:00
ghidra1
3c566a4d5f Merge remote-tracking branch 'origin/GP-2707_dev747368_string_translation_toggle_on_char_arrays' into Ghidra_10.2 2022-10-18 11:33:03 -04:00
ghidra1
b33cd2b4d8 GP-2712 silence prototype errors prior to language upgrade 2022-10-17 17:24:25 -04:00
ghidorahrex
1b68950ca6 GP-2708: Fix for vmov instruction not assembling correctly. 2022-10-17 19:32:52 +00:00
dev747368
ccb1ba1ca5 GP-2707 fix string translation toggle on char arrays 2022-10-17 18:03:56 +00:00
Ryan Kurtz
2d5762a45e Merge remote-tracking branch 'origin/GP-0-dragonmacher-test-fixes-10-13-22' 2022-10-14 01:13:16 -04:00
dragonmacher
655a71d1ab Test fixes 2022-10-13 10:59:52 -04:00
Ryan Kurtz
ab0f6d2c4d GP-0: Fixing some javadoc warnings that show up during the build 2022-10-13 10:29:53 -04:00
Ryan Kurtz
9ee4383886 Merge remote-tracking branch 'origin/GP-2391_ARmThumb_returndetect--SQUASHED' 2022-10-13 01:15:07 -04:00
Ryan Kurtz
cc4019179d Merge remote-tracking branch
'origin/GP-2689-dragonmacher-enum-length--SQUASHED' (Closes #4654)
2022-10-13 00:32:38 -04:00
dragonmacher
ca8438f5a0 GP-2689 - add length check to EnumDataType 2022-10-12 17:38:25 -04:00
emteere
ca5a6204c3 GP-2391 added evaluation of return address, allow thunking addresses to externals. Added new arem thunk pattern. 2022-10-11 18:25:09 -04:00
emteere
019e95530d GP-2534 Turn on shared function contiguous function options, except for
on ARM
2022-10-11 22:20:11 +00:00
emteere
9c73c86fec GP-2534 turn on shared function contiguous function options, except for on ARM 2022-10-11 17:57:55 -04:00
ghidorahrex
aea2fe5f77 GP-0 fixed AVR8 Wlo test 2022-10-06 11:20:00 +00:00
Ryan Kurtz
adc3d1b570 Merge remote-tracking branch 'origin/GP-2504_Arm_common_switchpattern--SQUASHED' 2022-10-04 01:43:16 -04:00
emteere
b9496de7f5 GP-2504,GP-2494 Arm switch patterns moved into pattern matching, adding additional pattern, fixed issues in function start patterns and validcode precondition. Added after='ptr'. 2022-10-03 22:02:19 -04:00
caheckman
072d8fa08f GP-2578 Display volatile reads/writes as simple assignments 2022-09-23 16:18:15 -04:00
Ryan Kurtz
b7bbd7698c Merge remote-tracking branch
'origin/GP-2206_James_CALLOTHER_override_improvements' (Closes #3936,
Closes #3665)
2022-09-21 11:11:17 -04:00
ghidra1
c5c651a053 GP-2558 PropertyMap templatize and cleanup. ProgramMerge bug/cleanup
related to User Properties.  Program Diff bug fix for multiple labels at
same address.
2022-09-21 09:33:04 -04:00