Commit graph

825 commits

Author SHA1 Message Date
Ryan Kurtz
4f199ce8fe Merge remote-tracking branch 'origin/patch' 2022-02-05 00:51:17 -05:00
caheckman
102ce52243 Allow DebugDecompilerAction to run even if decompiler produces no output 2022-02-04 13:13:57 -05:00
dragonmacher
0e23fe8c23 Merge remote-tracking branch 'origin/patch' into
GP-0-dragonmacher-merge-conflict-resolution
2022-02-04 11:04:03 -05:00
dragonmacher
871389897b GP-1721 - Decompiler - Fixed the Find dialog to not use the entire comment line when activated on a comment 2022-02-02 17:08:05 -05:00
Ryan Kurtz
a10c101198 Merge branch 'GP-0_ryanmkurtz_PR-3824_Pokechu22_decompile-options-typo' 2022-02-01 03:10:30 -05:00
Ryan Kurtz
2921d8502e Merge branch 'GP-0_ryanmkurtz_PR-3758_GameCubeGBA_newline' 2022-02-01 01:12:13 -05:00
Ryan Kurtz
5bccf5b2d9 Merge remote-tracking branch 'origin/GP-1653_PrototypeModelAlias' 2022-02-01 00:43:28 -05:00
caheckman
cb913e6a91 GP-1653 Allow PrototypeModel aliases 2022-01-31 13:17:02 -05:00
ghidra1
72a8bac6d2 Merge remote-tracking branch 'origin/patch' 2022-01-26 15:03:02 -05:00
ghidra1
f2706bb1de Merge remote-tracking branch
'origin/GP-1670_ghidra007_RecoveredClass_ReplaceInStructureBug--SQUASHED'
into patch

Conflicts:
	Ghidra/Features/Decompiler/ghidra_scripts/classrecovery/RTTIGccClassRecoverer.java
	Ghidra/Features/Decompiler/ghidra_scripts/classrecovery/RecoveredClassHelper.java
2022-01-24 17:07:32 -05:00
ghidra007
87d6ff4db3 GP-1670 Fixed bug in a class recovery helper class that in some cases was causing an exception when trying to replace a component in a structure. 2022-01-24 21:34:12 +00:00
ghidra1
c56961f06b Merge remote-tracking branch 'origin/GP-1601_ghidra007_ApplyClassFunctionDef_fixPureVirtualCase--SQUASHED' into patch 2022-01-24 16:20:29 -05:00
ghidra007
eeee6c1ba4 GP-1601 Fixed the ApplyClassFunctionDefinitionUpdatesScript and the ApplyClassFunctionSignatureUpdatesScript and related methods in RecoveredClassHelper to work with new 10.1 function definition changes. 2022-01-24 21:02:03 +00:00
ghidra1
4ba431c1bd Merge remote-tracking branch 'origin/GP-1687_emteere_switchrecoverybug' into patch 2022-01-24 12:21:50 -05:00
ghidra1
073c726885 Merge remote-tracking branch 'origin/patch' 2022-01-21 19:49:10 -05:00
ghidra1
62a23e87da Merge remote-tracking branch 'origin/GP-1686_ghidra007_limit_gcc_typeinfo_structs_to_nonexe_mem--SQUASHED' into patch 2022-01-21 19:23:30 -05:00
emteere
961a9e7b75 GP-1687_emteere fix for CSEL AARCH64 instruction causing switches not to
recover
2022-01-21 21:47:26 +00:00
ghidra007
19ace220cf GP-1686 updated gcc class recovery to only allow typeinfo structs in non-executable blocks. 2022-01-21 18:15:45 +00:00
ghidra1
02512dcc82 Merge remote-tracking branch 'origin/patch' 2022-01-21 12:03:05 -05:00
dragonmacher
f0d0dd532d GP-1685 - Fixed the Find Dialog incorrectly matching history entries
when the selected item was programmatically set
2022-01-20 17:35:15 -05:00
caheckman
4bfade4cd8 GP-1647 equivalence check 2022-01-18 11:13:03 -05:00
ghidra1
e5080cd9b1 Merge remote-tracking branch 'origin/GP-1659_SwitchWithInject' into
patch
2022-01-14 19:33:45 -05:00
ghidra1
c0a81f9c8e Merge remote-tracking branch 'origin/GP-1671_ghidra007_RecoveredClass_FixSetLabel_InvalidChars' into patch 2022-01-14 19:19:52 -05:00
ghidra1
e90babdc78 Merge remote-tracking branch 'origin/GP-1659_SwitchWithInject' into patch 2022-01-14 19:18:37 -05:00
ghidra007
34efbc5f1c GP-1671 fixed space typo in createShortenedTemplateNames causing
symbol.setName stack trace.
2022-01-12 17:11:43 +00:00
ghidra1
82c42e648c Merge remote-tracking branch 'origin/patch' 2022-01-11 17:50:34 -05:00
ghidra1
bfd55195bb Merge remote-tracking branch 'origin/GP-1663_ghidra-007_FixFunctionDefinitionCreationForMultiInheritanceCases--SQUASHED' into patch 2022-01-11 16:58:57 -05:00
ghidra007
0c1c7d1acf GP-1663 The RecoverClassesForRTTIScript was updated to improve function definition creation for the multi-inheritance and single virtual inheritance cases. 2022-01-11 18:51:06 +00:00
ghidra1
273fe030cb Merge remote-tracking branch 'origin/patch' 2022-01-10 20:52:42 -05:00
dragonmacher
15e267b606 GP-1654 - Decompiler - Fixed retype field to not rename the field
Closes #3783
2022-01-07 13:01:40 -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
Pokechu22
2ca39af302 Fix typo and formatting in DecompileOptions 2022-01-01 16:36:56 -08:00
GameCubeGBA
8031257ff1
res.append("\n") should be in the if clause, as two newlines are unnecessary 2021-12-14 14:55:24 -05:00
dragonmacher
d4d18a2313 GP-1602 - Decompiler - Fixed stack trace sporadically encountered when
clicking Decompiler brace tokens
2021-12-14 13:30:15 -05:00
dragonmacher
b82f8631fe GP-1589 - fixed decompiler action stack trace
Closes #3740
2021-12-10 11:54:10 -05:00
Ryan Kurtz
bed44bd55d Merge remote-tracking branch 'origin/Ghidra_10.1' 2021-12-03 19:10:24 -05:00
ghidra007
9567e2f1ea GP-1506 Refactored to put new class structure code in RecoverClassHelper then added calls to it in gcc create structure code. Plus some code refactoring and cleanup. 2021-12-03 23:06:53 +00:00
Ryan Kurtz
ae5b81deff Merge remote-tracking branch 'origin/Ghidra_10.1' 2021-12-01 07:54:46 -05:00
ghidra1
f290b1f6ba Merge remote-tracking branch 'origin/GP-1552_TypePointerRelParent' into Ghidra_10.1 2021-11-30 19:50:26 -05:00
caheckman
64534bc774 TypePointerRel adjustments 2021-11-30 19:05:04 -05:00
Ryan Kurtz
ad1af902bd Merge remote-tracking branch 'origin/Ghidra_10.1'
Conflicts:
	Ghidra/Debug/Debugger/src/main/java/ghidra/app/services/DebuggerStaticMappingService.java
	Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/assembler/sleigh/SleighAssembler.java
2021-11-30 10:51:40 -05:00
ghidra1
659892a810 Merge remote-tracking branch
'origin/GP-1519_ghirdra007_RecoverClass_replaceGetComponentA--SQUASHED'
into Ghidra_10.1

Conflicts:
	Ghidra/Features/Decompiler/ghidra_scripts/classrecovery/ExtraScriptUtils.java
	Ghidra/Features/Decompiler/ghidra_scripts/classrecovery/RTTIGccClassRecoverer.java
	Ghidra/Features/Decompiler/ghidra_scripts/classrecovery/RTTIWindowsClassRecoverer.java
2021-11-29 22:35:26 -05:00
ghidra007
2aefe6a15d GP-1519 Changed getComponentAt to getComponentContaining in a breaking EditStructureUtils method and a couple other places. Various refactoring to clean up code. 2021-11-30 01:38:13 +00:00
Ryan Kurtz
3e6a1b67a7 Merge remote-tracking branch 'origin/GP-1514-dragonmacher-search-for-enum-fields' 2021-11-29 12:14:16 -05:00
Ryan Kurtz
34e6bd775c Merge remote-tracking branch
'origin/GP-1533-dragonmacher-decompiler-highlights-exception' (Closes
#3664)
2021-11-29 12:09:52 -05:00
Ryan Kurtz
d6841fbe0f Merge remote-tracking branch 'origin/Ghidra_10.1' 2021-11-29 12:00:27 -05:00
dragonmacher
33b2bbbd0b GP-1514 - Find References to - Added support for finding usage of enum
fields

Closes #1967
2021-11-29 11:12:44 -05:00
ghidra1
b2e4e25147 Merge remote-tracking branch 'origin/GP-1499_ghidra007_ClassRecovery_code_cleanup--SQUASHED' into Ghidra_10.1 2021-11-29 10:32:50 -05:00
ghidra007
80538d8c49 GP-1499 Recover classes script various improvements. Updated checks for whether program has DWARF and whether DWARF has been applied so it works for old and new cases.
Improved error handling. Updated deprecated graph methods which were no longer using defined colors. Various code cleanup.
2021-11-25 19:02:53 +00:00