Commit graph

607 commits

Author SHA1 Message Date
Florian Märkl
b821aec519 Fix pcodeparse.y after only the generated pcodeparse.cc was changed
311a22c038 has changed the purely
generated pcodeparse.cc instead of updating pcodeparse.y and
re-generating the source. This meant that the .y file was out of sync
with the .h file and re-generating would lead to compiler errors because
of the uintb/uint4 mismatch.
2022-04-13 15:42:12 -04:00
caheckman
716dfb1690 GP-1871 Overlapping pentry tags 2022-03-30 12:42:46 -04:00
Ryan Kurtz
12c051867c Merge remote-tracking branch 'origin/GP-1796_NullPtrPaths' (Addresses
comment in #3878)
2022-03-09 11:02:14 -05:00
Ryan Kurtz
7dbf5e7639 Merge remote-tracking branch 'origin/patch'
Conflicts:
	Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/component/DecompilerUtils.java
2022-03-09 00:56:10 -05:00
Benno Fünfstück
fcff16262b decompiler: fix '#error config.h must be included before this header'
See https://sourceware.org/bugzilla/show_bug.cgi?id=14243
2022-03-08 15:21:23 -05:00
caheckman
45eeb7cfb2 GP-1796 NULL ptr accesses on rare paths 2022-03-04 14:56:46 -05:00
caheckman
6aefaa106d GP-1792 Prevent proto override from cancelling a callfixup 2022-03-03 19:14:43 -05:00
caheckman
cb913e6a91 GP-1653 Allow PrototypeModel aliases 2022-01-31 13:17:02 -05:00
ghidra1
e5080cd9b1 Merge remote-tracking branch 'origin/GP-1659_SwitchWithInject' into
patch
2022-01-14 19:33:45 -05:00
caheckman
4234f1dc0b Do p-code injection prior to jumptable recovery 2022-01-06 18:09:54 -05:00
caheckman
311a22c038 Allow SLEIGH bitrange operator applied to dynamic varnodes 2022-01-03 17:03:29 -05:00
caheckman
64534bc774 TypePointerRel adjustments 2021-11-30 19:05:04 -05:00
ghidra1
db393faca4 Merge remote-tracking branch 'origin/GP-1498_FunctionDefinitionMarshaling' into Ghidra_10.1 2021-11-18 15:09:23 -05:00
caheckman
e4451fcd49 Refactor TypeStruct and TypeCode restoration 2021-11-17 15:56:56 -05:00
ghidra1
835a2492a2 GP-0 allow decompiler to build for x86 with older compiler (e.g., g++
4.8.5)
2021-11-16 17:59:49 -05:00
caheckman
0ff0036121 Recalculate pointer submeta after structure definition is complete 2021-11-15 21:19:58 -05:00
caheckman
cce187a4c5 Decompiler support for offset/relative pointers 2021-11-08 11:51:03 -05:00
Ryan Kurtz
6f969ddf73 Merge remote-tracking branch 'origin/GP-1404_RiscvCspecParsing' 2021-10-19 11:36:41 -04:00
Ryan Kurtz
618f52c0ed Merge remote-tracking branch 'origin/GP-1407_TypePropagation' 2021-10-19 07:50:37 -04:00
caheckman
5ec6cfcd81 Additional adjustments 2021-10-15 20:05:15 -04:00
caheckman
60dbaa0559 New data-type ordering implementation 2021-10-15 18:17:17 -04:00
caheckman
a00de6cbac Breaking out ParamListRegisterOut 2021-10-15 14:55:54 -04:00
Andrew Strelsky
f1a8123547
Simplified types.h 2021-10-13 18:15:49 -04:00
caheckman
41d0be6b95 Adjustments to get rid of some compiler warnings 2021-10-08 16:51:12 -04:00
Ryan Kurtz
1566bcb7e6 Merge remote-tracking branch 'origin/patch' 2021-10-07 08:16:36 -04:00
caheckman
a6afce67e7 In case of partial overlap always add Varnode to disjoint 2021-10-06 18:09:26 -04:00
caheckman
75b7d5fe14 Support for per function unaffected/killedbycall/likelytrash 2021-09-30 15:09:09 -04:00
caheckman
75cf11634c Adjust casting rules on implied varnodes 2021-09-23 17:50:54 -04:00
caheckman
c9ba3640bf Expanded RulePushPtr and RuleExtensionPush 2021-09-21 17:32:59 -04:00
Ryan Kurtz
fdbb69e712 Merge remote-tracking branch 'origin/patch' 2021-09-17 07:18:16 -04:00
caheckman
74df84bed8 Move segmentop tags into pspec 2021-09-16 14:40:04 -04:00
caheckman
8aed810d4a GP-1297 More explicit support for typedefs in the decompiler (Closes #2393, Closes #3249) 2021-09-15 16:50:19 -04:00
Ryan Kurtz
af2d461d85 Merge remote-tracking branch 'origin/GP-1284_TestFrameworkFixes' 2021-09-10 13:40:09 -04:00
ghidra1
b5b4f94eed Merge remote-tracking branch 'origin/patch'
Conflicts:
	Ghidra/Features/Decompiler/certification.manifest
2021-09-08 23:22:35 -04:00
caheckman
407285176d Don't clear StringManager as part of local function analysis 2021-09-03 16:10:31 -04:00
caheckman
dff7c83542 Add testfunction to ghidra_dbg. Push and pops scripts properly. 2021-09-03 15:34:12 -04:00
caheckman
40c6202e38 Always store recovered indirect prototypes and deindirect addresses 2021-09-03 15:02:21 -04:00
Ryan Kurtz
8b8a01c725 Merge remote-tracking branch 'origin/patch' 2021-09-01 08:29:48 -04:00
caheckman
1271bf044a Don't let splitflow undo double-precision merges 2021-08-31 16:33:46 -04:00
ghidra1
86e579d910 GP-1106 update Makefile arch reference 2021-08-31 15:52:49 -04:00
Ryan Kurtz
5ef6ac96c3 Merge remote-tracking branch
'origin/GP-1106_ryanmkurtz_PR-3197_ryanmkurtz_platforms' (Closes #3197)
2021-08-31 14:02:05 -04:00
caheckman
b275a02cdf Unit tests for CircleRange 2021-08-24 17:04:29 -04:00
Ryan Kurtz
00533b2869 GP-1106: Platform naming convention now supports different
architectures. Support for building on ARM.
2021-08-17 13:41:47 -04:00
Ryan Kurtz
e624c19cc6 Merge remote-tracking branch 'origin/caheckman_NewTesting' 2021-08-10 15:40:57 -04:00
Ryan Kurtz
81ea93cb29 Merge remote-tracking branch 'origin/GP-1172_ElseIfSyntax' (Closes
#1609)
2021-08-05 09:46:42 -04:00
ghidra1
f5615aa240 Merge remote-tracking branch 'origin/patch' 2021-08-04 19:38:26 -04:00
caheckman
79fd837145 Support for "else if" syntax 2021-08-04 15:48:28 -04:00
caheckman
1c9913e417 New tests for data-types, test debugging infrastructure 2021-08-04 15:29:02 -04:00
ghidra1
0e81327c46 Merge remote-tracking branch 'origin/GP-1163_RealModeReferences' into patch 2021-08-04 11:05:35 -04:00
ghidra1
6b04eb793f Merge remote-tracking branch 'origin/patch' 2021-08-03 19:26:00 -04:00