Commit graph

9046 commits

Author SHA1 Message Date
Ryan Kurtz 237bd604e1 Merge remote-tracking branch 'origin/GP-0-dragonmacher-screenshot-fixes' 2023-06-21 13:02:53 -04:00
Ryan Kurtz b82fdae16c Merge remote-tracking branch 'origin/GP-3565_ryanmkurtz_macho' 2023-06-21 13:02:31 -04:00
Ryan Kurtz 450c3a4091 Merge remote-tracking branch 'origin/patch' 2023-06-21 13:02:17 -04:00
Ryan Kurtz 0069658d48 GP-3565: Mach-O markup improvements 2023-06-21 13:00:16 -04:00
Ryan Kurtz d5559a477c Merge remote-tracking branch
'origin/GP-3524_ghidorahrex_arm_thumb_vdup_fix' into patch
(Closes #5420)
2023-06-21 12:52:06 -04:00
isabella3412 7551714b9d GP-3322 Renamed the interfaces from their temporary names after passing tests
GP-3322 Updated with fixes after testing
GP-3322 Few files with formatting updates
GP-3322 Initial commit with removal of transaction creation at all uses of these interfaces.
2023-06-21 16:17:30 +00:00
Ryan Kurtz 5904331b46 Merge remote-tracking branch
'origin/GP-3555-dragonmacher-build-extension-help-failure'
(Closes #5459)
2023-06-21 10:50:20 -04:00
dragonmacher c22f0296a1 GP-3560 - Updated tests and help for annotation PR 2023-06-20 18:42:21 -04:00
Ethan Arns 7f26be1741 Add annotation selection replacement for comments 2023-06-20 18:42:19 -04:00
dev747368 793bedc0b4 GP-3554 fix UnknownProgressWrappingTaskMonitor's checkCanceled
The 1L checkCanceled() was calling the base-class's impl instead of
calling the delegate's impl.  Fixed by use the right base class.

Also tweaked 2 new uses of 1L in Dtb and Fdt Analyzer.
2023-06-20 22:10:00 +00:00
dragonmacher f199a93352 GP-3555 - fixed gradle build for extensions that do not have help 2023-06-20 17:07:52 -04:00
Ryan Kurtz 0beaf23e03 Merge remote-tracking branch
'origin/GP-3559-dragonmacher-accessibility-npe' (Closes #5468)
2023-06-20 14:38:57 -04:00
Ryan Kurtz 75684164bd Merge remote-tracking branch 'origin/patch' 2023-06-20 14:37:04 -04:00
Ryan Kurtz d9d8947bda Merge remote-tracking branch
'origin/GP-2808_emteere_MoreCParserPragmaAndSilentFailure' into patch
(Closes #4692, Closes #5454)
2023-06-20 14:32:13 -04:00
dragonmacher a8328a39f5 Fixed bad palette references; set standard theme for screenshots 2023-06-20 14:23:45 -04:00
dragonmacher a4992e431a GP-3559 - Fixed NPE 2023-06-20 13:18:26 -04:00
dragonmacher e321400ee8 GP-3466 - Added dialog to Extension installation to allow users to
bypass version restriction
2023-06-16 23:09:49 -04:00
Luke Serné 0d4ad7502a Fix typo in comment in PcodeOp.java: 'peices' -> 'pieces' 2023-06-17 00:02:01 +02:00
Ryan Kurtz 9d7809902d Merge remote-tracking branch 'origin/GP-2425_dev747368_golang_duffzero_duffcopy' 2023-06-16 13:24:50 -04:00
Ryan Kurtz 10588a7a3b Merge remote-tracking branch 'origin/GP-3537_pic24_le' 2023-06-16 09:46:44 -04:00
Ryan Kurtz 8cc3a9443b Merge remote-tracking branch 'origin/patch' 2023-06-16 09:14:51 -04:00
Ryan Kurtz d7e9bb48f4 Merge remote-tracking branch 'origin/GP-0_ghizard_fix_gdt_archive_for_GP-3449_change' 2023-06-16 09:14:35 -04:00
Ryan Kurtz dc7caf0e28 GP-3552: Fixed a timestamp encoding bug that caused PE symbol .exports
files to not get matched and applied in some circumstances
(Closes #5351)
2023-06-16 09:08:56 -04:00
ghizard 0fd5fa3fd7 Updated vs12_32.gdt 2023-06-16 09:04:20 -04:00
Ryan Kurtz 3b0c50c131 Merge remote-tracking branch 'origin/GP-0-dragonmacher-test-fixes-6-15-23' 2023-06-15 17:30:07 -04:00
Ryan Kurtz da9a9ecb4e Merge remote-tracking branch
'origin/GP-3449_ghizard_32-bit_Win_8-byte_type_alignment'

Conflicts:
	Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/DataOrganizationImpl.java
2023-06-15 16:31:26 -04:00
Ryan Kurtz 6835217aa2 Merge remote-tracking branch 'origin/patch'
Conflicts:
	Ghidra/application.properties
2023-06-15 16:16:10 -04:00
Ryan Kurtz a6253b1f7f Merge remote-tracking branch 'origin/GP-3546_dev747368_relax_elfgnunotebuildid_logic_patch--SQUASHED' into patch 2023-06-15 16:12:03 -04:00
Ryan Kurtz 01c5253c03 GP-0: Upping patch to 10.3.2 2023-06-15 16:11:22 -04:00
dragonmacher fbeda6c5a7 Test changes 2023-06-15 11:04:42 -04:00
emteere b5002820c5 GP-2808 Fixed more pragma parsing issues and fixed silent failure when a
parsing error actually exists in certain cases.
2023-06-14 23:20:14 +00:00
dev747368 3054034a18 GP-3546 relax gnu note build-id hash contents checking logic 2023-06-14 17:33:02 -04:00
ghidra1 2a97771c0f Merge remote-tracking branch 'origin/patch' 2023-06-14 15:57:35 -04:00
ghidra1 69289358f2 GP-3543 additional vaidity checks for ELF Android relocation processing
and corrected related markup data
2023-06-14 15:41:04 -04:00
dev747368 b5422faefb GP-2425 more better duffzero / duffcopy function info 2023-06-14 16:30:44 +00:00
Ryan Kurtz 57a947ac96 Merge remote-tracking branch 'origin/GP-3542_dev747368_handle_notty_shells_in_launch_sh' 2023-06-14 07:53:08 -04:00
Ryan Kurtz d98ae48110 Merge remote-tracking branch 'origin/GP-3521_ghidragon_allow_user_to_see_and_pick_older_undos_or_redos--SQUASHED' 2023-06-14 07:49:31 -04:00
Ryan Kurtz e2f4565e5e Merge remote-tracking branch 'origin/patch' 2023-06-14 07:46:41 -04:00
emteere 3736ae076c GP-3532 Minor 68000 function start pattern 2023-06-13 23:06:18 +00:00
ghidra1 476d98bd9f Merge branch 'GP-3543_ghidra1_ElfAndroidRelocFix' into patch 2023-06-13 18:36:34 -04:00
ghidra1 bcfc7c84d8 GP-3543 corrected ELF Android packed reloc bug and sleb128 datatype
value
2023-06-13 18:31:26 -04:00
ghidragon 998370e09c GP-3521 add drop downs to undo/redo action to allow users to see and pick older undo or redos 2023-06-13 13:52:19 -04:00
dev747368 c93024e367 GP-3542 Don't try to prompt user for JDK path when no tty present 2023-06-13 16:30:44 +00:00
ghidra1 d40c5165f5 GP-0 updated Change History for 10.3.1 release 2023-06-13 11:09:42 -04:00
ghidra1 855a607699 Merge remote-tracking branch 'origin/patch' 2023-06-12 20:31:15 -04:00
ghidra1 5970699db1 Merge remote-tracking branch
'origin/GP-2955_ghidorahrex_PR-4795_Phlosioneer_m68k-pea-fix' into patch
(Closes #4795)
2023-06-12 20:19:58 -04:00
ghidra1 d5db5b643a Merge remote-tracking branch
'origin/GP-2779_ghidorahrex_PR-4808_Phlosioneer_m68k-movem-pc-fix' into
patch (Closes #4807, Closes #4808)
2023-06-12 20:17:06 -04:00
ghidra1 de6ff8440d Merge remote-tracking branch 'origin/GP-3478_ghidorahrex_aarch64_neon_mla_fix' into patch 2023-06-12 20:11:31 -04:00
ghidra1 6269f69c76 Merge remote-tracking branch
'origin/GP-2963_Ghidorahrex_PR-4838_c64cryptoboy_fix-6502-tsx' into
patch (Closes #4838)
2023-06-12 20:05:39 -04:00
ghidra1 de1071846a Merge remote-tracking branch
'origin/GP-3009_ghidorahrex_PR-4825_fenugrec_8048_allfixes' into patch
(Closes #2423, Closes #4825)
2023-06-12 19:59:41 -04:00
ghidra1 80cf7d6ce1 Merge remote-tracking branch 'origin/GP-3532_emteere_68k_REGABI_fix'
into patch (Closes #5390)
2023-06-12 19:49:46 -04:00
ghidra1 b5123f2553 GP-3506 Corrected various issues with data organization retention and
revision/upgrade
handling for datatypes
2023-06-12 19:13:04 -04:00
Ryan Kurtz 25b68748ae Merge remote-tracking branch 'origin/patch' 2023-06-12 17:31:34 -04:00
Ryan Kurtz 7115d1187a Merge remote-tracking branch
'origin/GP-3541_emteere_FixPragmaCommaParse' into patch (Closes #5427)
2023-06-12 17:24:58 -04:00
Ryan Kurtz f7cdef1d56 Merge remote-tracking branch 'origin/GP-3518_JoinDoublePrecision' into patch 2023-06-12 17:23:33 -04:00
emteere 6d428e0dc9 GP-3541 Fixed pragma parsing with embedded comma outside of parentheses 2023-06-12 21:17:24 +00:00
emteere 164ed51304 GP-3532 Reverted 68000 register calling convention change, added new
68000_register cspec.  Added function start patterns
2023-06-12 20:58:20 +00:00
caheckman d8b4f910ca GP-3266 Max jumptable entry option 2023-06-12 16:42:12 -04:00
Ryan Kurtz 3714499d32 Merge remote-tracking branch 'origin/GP-0-dragonmacher-tool-close-dialog-fix--SQUASHED' 2023-06-12 16:03:39 -04:00
dragonmacher 65f4789207 Updated tool closing to cancel and wait for tasks 2023-06-12 14:55:44 -04:00
Ryan Kurtz 176bdea28a Merge remote-tracking branch 'origin/GP-2085_ryanmkurtz_Swift-Metadata--SQUASHED' 2023-06-12 13:07:03 -04:00
Ryan Kurtz 60ed45156b GP-2085: Swift Type Metadata 2023-06-12 12:56:46 -04:00
Simon Kissane 41f38c355d pythonRun.bat ignored its arguments 2023-06-10 17:29:56 +10:00
James 35e46d773b GP-3537 improve le in PIC24.sinc 2023-06-09 21:13:42 +00:00
Ryan Kurtz 9ec89c37fb Merge remote-tracking branch 'origin/patch' 2023-06-09 15:43:30 -04:00
Ryan Kurtz 1e107554cf GP-3526: Restoring Mach-O indirect symbol creation when binding info is
absent
2023-06-09 15:37:49 -04:00
ghidragon 25597c2e46 Merge branch 'GP-0_ghidragon_fixed_close_tool_test' 2023-06-09 15:05:33 -04:00
ghidragon dea7046785 GP-0 fixed close tool task 2023-06-09 15:04:35 -04:00
Ryan Kurtz 5574923e23 Merge remote-tracking branch 'origin/GP-530-dragonmacher-table-edit-filter-fix' 2023-06-09 14:53:59 -04:00
Ryan Kurtz 986a68cc9d Merge remote-tracking branch 'origin/GP-0-dragonmacher-copy-actions-task-monitor--SQUASHED' 2023-06-09 14:53:37 -04:00
dragonmacher 49a3dcebe7 Updated some copy actions to use a task monitor 2023-06-09 13:09:05 -04:00
Ryan Kurtz 427714cd85 Merge remote-tracking branch 'origin/GP-3529_ghizard_Make_DataTypePath_comparable--SQUASHED' 2023-06-09 12:22:00 -04:00
ghizard 5125814a3e GP-3529 - Make DataTypePath comparable 2023-06-09 11:19:39 -04:00
Ryan Kurtz f3ebcf679b Merge remote-tracking branch 'origin/patch' 2023-06-09 11:19:29 -04:00
Ryan Kurtz 6b2bd61588 Merge remote-tracking branch 'origin/GP-3463_ghidra007_rtti_script_improve_find_internal_vtables--SQUASHED' into patch 2023-06-09 11:14:46 -04:00
Ryan Kurtz 9fd32d487d Merge remote-tracking branch
'origin/GP-3477_ghidragon_exiting_via_menu_doesn't_save_theme_changes'
into patch (Closes #5377)
2023-06-09 11:13:35 -04:00
ghidra007 0f66077ce2 GP-3463 RecoverClassesFromRTTIScript - improved finding of special vtables to account for ones in memory blocks that do not contain real bytes. 2023-06-09 15:09:00 +00:00
dragonmacher 4aff2e415b GP-530 - Fixed stale table edit after filtering 2023-06-09 10:28:32 -04:00
Ryan Kurtz 58435d0057 Merge remote-tracking branch
'origin/GP-3515_dragonmacher_PR-5364_sad-dev_CopyAddress' (Closes #5364)
2023-06-09 08:57:16 -04:00
Ryan Kurtz c792cd181f Merge remote-tracking branch 'origin/GP-3527_ghidra007_AutoVT_dupFunctionMatchSpeedup' 2023-06-09 08:54:39 -04:00
Ryan Kurtz 8e9a5b39cc Merge remote-tracking branch 'origin/patch' 2023-06-09 08:54:00 -04:00
ghidragon 11b9fdbe06 GP-3477 fixed issue where theme changes wern't save when exiting Ghidra
via menu action
2023-06-08 16:14:47 -04:00
ghidragon 157eef0ec9 GP-3528 fixing menu painting issues with Mac Aqua look and feel 2023-06-08 15:36:03 -04:00
dragonmacher 5fc9e80d40 GP-3515 - New copy special action tests and help 2023-06-08 15:10:40 -04:00
emteere ca697fcaaf GP-3009 Setting of context for correct disassembly in either bank. Set
Ports to volatile so they aren't simplified away in the decompiler.
2023-06-08 18:50:04 +00:00
Ryan Kurtz 6e533802d4 Merge remote-tracking branch 'origin/GP-3343_ghidragon_fontend_plugin_dispose--SQUASHED' 2023-06-08 07:57:13 -04:00
ghidragon d089d3fb49 GP-3343 Getting dispose to be called on Front-end plugins 2023-06-07 17:58:45 -04:00
ghidra007 62622898a2 GP-3527 Auto VT dupe function match speedup 2023-06-07 21:02:48 +00:00
ghidorahrex 7a145a75e4 GP-3524: Fixed ARM Thumb vdup instruction to use correct registers 2023-06-07 19:07:48 +00:00
Ryan Kurtz cc48928827 Merge remote-tracking branch 'origin/patch' 2023-06-07 05:50:55 -04:00
Ryan Kurtz 435627547e Merge remote-tracking branch 'origin/GP-3430-dragonmacher-gradle-buld-help-fix--SQUASHED' 2023-06-07 05:39:12 -04:00
ghidra007 ec8d9f018b GP-3841 rtti script - fixed increment issue caused when fixing
incrementer
2023-06-06 22:34:57 +00:00
dragonmacher a7668c7f85 GP-3430 - Updated the gradle buildHelp task to better handle its inputs up-do-date state 2023-06-06 15:25:25 -04:00
caheckman 603cf5523f GP-3518 Additional double precision checks 2023-06-06 12:11:06 -04:00
Ryan Kurtz 68dd1c5e89 Merge remote-tracking branch 'origin/patch' 2023-06-06 07:41:49 -04:00
Ryan Kurtz a31063dcb0 GP-3519: Fixed a bug that caused PE symbol .exports files to always get
deleted after import (Closes #5348)
2023-06-06 07:34:39 -04:00
sad-dev 6d107e145c Copy foo+0x1234 Action 2023-06-05 19:21:59 -04:00
Ryan Kurtz 459239d22a Merge remote-tracking branch 'origin/GP-3517_dev747368_fix_golang_1.19_structfield_offset_logic' 2023-06-05 14:17:59 -04:00
Ryan Kurtz 00d56d5afd Merge remote-tracking branch 'origin/patch' 2023-06-05 13:50:11 -04:00
ghidra007 4c7be8be0d GP-3481 added missing incrementer causing infinite loop in some cases 2023-06-05 17:15:47 +00:00
Ryan Kurtz 3b4d8a487c Merge branch 'GP-0_ryanmkurtz_PR-5409_jpeterson2_semisparse-changes' 2023-06-05 07:41:40 -04:00
Ryan Kurtz 0de824949c GP-0: Formatting 2023-06-05 07:41:03 -04:00
Ryan Kurtz 5d699c83cd Merge remote-tracking branch 'origin/patch' 2023-06-05 07:17:26 -04:00
Ryan Kurtz 0d3d65de23 GP-3445: Fixed an IllegalStateException that could occur if both "Load
Local Libraries From Disk" and "Load System Libraries From Disk" options
are used during import, and the same library is found in both local and
system directories
2023-06-05 06:55:50 -04:00
dev747368 fbf99ebb6e GP-3517 fix golang rtti structure field logic for 1.19+
structfield.offsetAnon was renamed to structfield.offset, and logic
regarding decoding the value was changed.
2023-06-02 19:30:09 +00:00
no 52d93f78cf Check for negative length in SemisparseByteArray.putData() 2023-06-02 10:33:57 -07:00
Ryan Kurtz 0d71657d05 Merge remote-tracking branch 'origin/patch' 2023-06-01 13:39:47 -04:00
Ryan Kurtz adf7b18547 Merge remote-tracking branch 'origin/GP-0_d-millar_maint_info_sections_template--SQUASHED' into patch 2023-06-01 13:35:49 -04:00
d-millar de3d53be90 GP-0: template for 'maint info sections'
GP-0: template for 'maint info sections'
2023-06-01 13:16:13 -04:00
Ryan Kurtz 6ae289dcb7 Merge remote-tracking branch
'origin/GP-3510_dev747368_use_builtin_tooltip_manager_for_dtm_preview--SQUASHED'
(Closes #5058)
2023-06-01 13:16:12 -04:00
d-millar 8632891f83 GP-0: use readUnsignedInt for dump memory blocks 2023-06-01 13:15:14 -04:00
dev747368 771e94e526 GP-3510 use built-in tooltip manager for DTM preview tooltips
Should fix issues with ghost windows left over mentioned in issue #5058.

Seems to also fix issues with DTM preview tooltips in WSL linux where
window focus switches and causes title bar flashing.
2023-06-01 16:47:08 +00:00
Ryan Kurtz 6b3db0a094 Merge remote-tracking branch 'origin/patch' 2023-06-01 12:03:11 -04:00
Ryan Kurtz dd5129daa8 Merge remote-tracking branch
'origin/GP-0_ghidorarex_BytesTracePcodeEm_fix' into patch
2023-06-01 11:58:22 -04:00
ghidorahrex 8a396dfd48 GP-0: Fixed test failures in BytesTracePcodeEmulatorTest 2023-06-01 15:56:18 +00:00
Ryan Kurtz 7a87bd2e64 Merge branch 'GP-0_ryanmkurtz_PR-5395_xiaoyinl_CompareGDTs' 2023-06-01 08:02:36 -04:00
Ryan Kurtz 0d04ea7390 Merge remote-tracking branch
'origin/GP-3274-dev747368_PR-5178_beshelto_fix_relocs_3' (Closes #5169,
Closes #5178, Closes #1587)
2023-06-01 06:41:47 -04:00
Ryan Kurtz b82cbebc45 Merge remote-tracking branch 'origin/GP-3504_dev747368_golang_1_19_1_20' 2023-06-01 06:20:06 -04:00
Ryan Kurtz bd61cbf80c Merge remote-tracking branch 'origin/GP-3424_NearFarPointerPropagation'
(Closes #5066)
2023-06-01 06:18:19 -04:00
Ryan Kurtz d91a60f201 Merge remote-tracking branch 'origin/patch' 2023-06-01 06:17:13 -04:00
Ryan Kurtz 146cf6df33 Merge remote-tracking branch 'origin/GP-3508_DynamicHashPcodeOp' into
patch (Closes #5372)
2023-06-01 06:14:29 -04:00
Ryan Kurtz bf3e3923e8 Merge remote-tracking branch 'origin/GP-3480_PPCSmallDataAreaPointer' into patch 2023-06-01 06:12:52 -04:00
Ryan Kurtz ea5b5e4c28 Merge remote-tracking branch 'origin/GP-3481_ghidra007_' into patch 2023-06-01 06:10:12 -04:00
Ryan Kurtz ffdec3a2e3 Merge remote-tracking branch 'origin/GP-3467_ghidra007_rtti_script_better_mangled_string_handling--SQUASHED' into patch 2023-06-01 06:07:08 -04:00
ghidra007 ecade19183 GP-3467 rtti script fixed issue clearing/creating mangled typeinfo-name mangled string of correct length. Was breaking when more than one existing dt in string range because was only clearing first one. 2023-05-31 18:01:55 +00:00
dev747368 11c434f3a0 GP-3504 add support for Golang 1.19, 1.20 binaries 2023-05-31 17:19:58 +00:00
ghidra007 81ba94a3b8 GP-3481 Fixed incorrect checks of getData and getDataContaining in rtti script and replaced api versions with non-api versions and updated checks to work with new way. 2023-05-31 15:54:12 +00:00
Ryan Kurtz 2a507c0308 Merge remote-tracking branch 'origin/GP-3327_isabella3412_Adding_Manual_Indices_for_Coldfire_Instructions--SQUASHED' 2023-05-31 11:35:26 -04:00
Ryan Kurtz f6bf4f670e Merge remote-tracking branch 'origin/GP-3296_isabella3412_PowerPC_Index_Fix' 2023-05-31 11:30:43 -04:00
Ryan Kurtz 08911bb149 Merge remote-tracking branch 'origin/patch' 2023-05-31 11:30:04 -04:00
Ryan Kurtz e3429a57db Merge remote-tracking branch
'origin/GP-3102_ghidorahrex_x86-64_popf_pushf--SQUASHED' into patch
(Closes #4980)
2023-05-31 11:20:14 -04:00
isabella3412 5968d77869 GP-3327 Adding manual indices for Coldfire instructions 2023-05-31 14:58:28 +00:00
Phlosioneer 058fa90387 Issue 4807 Fix movem PC instruction bug on 68000
The `movem` instruction's `(d16, PC)` addressing mode has an instruction
word, a mask word, and then an extension word. The addressing mode
uses the value of PC incremented to the extension word, in this case
`instr_start + 4`. The sleigh code incorrectly uses `instr_start + 2`.
The issue is present for both `movem.w` and `movem.l` variants. This
PR fixes the `PC` offset to `+4`.

See 68000 reference manual page 2-13 for PC indirect addressing mode,
and 4-128 for MOVEM documentation.

Partially addresses #4807.
2023-05-31 14:31:37 +00:00
ghidorahrex af40b28931 GP-3102: Fixed disasm of default 64-bit addrsize instructions 2023-05-31 10:13:41 -04:00
ghidorahrex 70a50dfcc2 GP-3478: Fixed registers in aarch64 neon mla instruction 2023-05-31 14:08:47 +00:00
David Youd 2d497a0d5c fix to TSX instruction 2023-05-31 13:14:48 +00:00
Ryan Kurtz 491e2f2305 Merge remote-tracking branch 'origin/patch' 2023-05-31 08:42:19 -04:00
fenugrec 2b05e1f5f2 8048 : improve display of JBx opcode
instead of e.g. "JB0x5", they will render as "JB5".
2023-05-31 12:34:24 +00:00
fenugrec bb08f67417 8048: fix JMPP @A extra dereference
JMPP was doing two indirections : one in PData and then one again in
AddrInd, where there should only be one.

MCS-48 docs :

> The contents of the Program Memory location addressed by the
Accumulator
is used as the new page offset of the Program Counter.

i.e.
(PC 0 – 7) <- ((A))

Previous implementation caused disasm / decompiler errors such as
"Low-level Error: Could not find op at target address"

refs:
https://github.com/NationalSecurityAgency/ghidra/discussions/4818
2023-05-31 12:34:23 +00:00
fenugrec 97b0984426 8048: support > 4kB address space
MCS-48 just barely supports 12 bits of program counter space (4kB), but
many real-world applications use software banking to expand this,
e.g. via IO pins driving extra address lines to the external ROM.

This patch allows up to 16-bit addresses. To use this feature, simply
select the special instruction (typically ORL Pp or ANL Pp) and set a
manual Fallthrough address to the correct bank.
2023-05-31 12:34:22 +00:00
fenugrec 3fbf16b056 8048: make DBF a context register
See GH #2423

The SEL MB0/MB1 opcodes set a DBF register but this had no effect, therefore JMP and CALL
destinations didn't take into account DBF.
This is essentially @esaulenka 's patch from
3756e1bcee

but separated from the DFB->DBF typo change, and sets the width of the new
context register to be 1 bit (doesn't need to be 2 bits)

This greatly improves analysis. The only downside is that to manually
override DBF on a single instruction, it needs to be cleared first, then
disassembled again after setting the desired DBF.
2023-05-31 12:34:21 +00:00
fenugrec 7c2b8ca27d 8048: typo in "DFB" register name , should be DBF
MCS-48 Assembly language manual #9800255D :
'
DBF designate memory bank flip-flop
'
2023-05-31 12:34:20 +00:00
fenugrec 5ea567f65b 8048: fix movp, movp3, jmpp
the correct syntax for [x,y] bitranges has y= # number of bits. These
three instructions affect the lower 8 bits of PC, not 7.

From MCS-48 docs:
'
MOVP A,@A
(PC: 0-7)<-(A)
(A)<-((PC))

Move data in program memory location addressed by A into A. Program
counter is restored.
'

There is similar wording for MOVP3 and JMPP.

Fixes #4810 on GH
2023-05-31 12:34:19 +00:00
Ryan Kurtz d4b626efc2 Merge remote-tracking branch
'origin/GP-3498-dragonmacher-find-refs-exception' (Closes #5310)
2023-05-31 08:09:47 -04:00
Ryan Kurtz 03bd2bf521 Merge remote-tracking branch 'origin/GP-2129_ghidragon_fieldpanel_accesibility--SQUASHED' 2023-05-31 08:05:33 -04:00
dragonmacher d3912c5e0f GP-5379 - Updated the Python Interpreter prompt to use less space 2023-05-30 17:23:47 -04:00
ghidragon 89e46f2ad9 Added Accessibility to FieldPanel 2023-05-30 16:24:59 -04:00
caheckman 050d3018c8 GP-3508 Fix for calcHash methods 5 and 6 2023-05-30 15:39:19 -04:00
Ryan Kurtz b8f1270951 Merge remote-tracking branch 'origin/patch' 2023-05-30 14:12:33 -04:00
Dan 4b0bd5ce12 GP-3507: Create attachable sleep specimen for gdb 2023-05-30 14:04:01 -04:00
dev747368 61e9988190 GP-0 fix archive id test for new golang 1.17 gdt 2023-05-30 17:05:03 +00:00
Phlosioneer b1c54e36e1 Fix pea SP instruction bug on 68000 processor
The `pea` instruction adjusts `SP`, but the address may be `SP`-based.
Ghidra was evaluating the effective address after adjusting `SP`, but
the address should be evaluated before `SP` is changed. For example,
`pea (SP)` should result in a pointer to the previous stack entry,
rather than a pointer to itself.
2023-05-30 16:49:29 +00:00
Ryan Kurtz 0cb865352b Merge remote-tracking branch 'origin/patch' 2023-05-30 09:15:07 -04:00
Ryan Kurtz 47eb06416c GP-3505: Fixed an AddressOutOfBoundsException that could sometimes occur
when importing the exports section of dyld_shared_cache files
(Closes #5392)
2023-05-30 09:09:55 -04:00
dragonmacher 05aac4b81e GP-3498 - Fixed IndexOutOfBoundsException 2023-05-30 09:06:40 -04:00
Xiaoyin Liu 02598e4c5d
Close FileDataTypeManager in CompareGDTs.java
`firstArchive` and `secondArchive` are not closed, which causes errors the next time you run this script with the same GDTs, because the two GDT files are still in use.
2023-05-28 19:09:43 +04:00
Ryan Kurtz 3e9419d4d7 Merge remote-tracking branch
'origin/GP-3503_emteere_PR-5242_befoulad_show-constuse-multeq'
(Closes #5242)
2023-05-26 16:41:31 -04:00
Ryan Kurtz 2c143d45bc Merge remote-tracking branch 'origin/patch' 2023-05-26 16:40:24 -04:00
Ryan Kurtz 1ea23d19fd Merge remote-tracking branch
'origin/GP-3499_InlineFunctionHang--SQUASHED' into patch (Closes #5378)
2023-05-26 16:38:00 -04:00
Ryan Kurtz 9ca267892e Merge remote-tracking branch 'origin/GP-3493_ghidra1_Elf_PT_NOTE_NPE'
into patch (Closes #5384)
2023-05-26 16:36:12 -04:00
caheckman 3c08b44a1e GP-3424 Near/far pointer data-type propagation 2023-05-26 16:05:03 -04:00
emteere b97b3ec5d5 GP-3503 Minor cleanup 2023-05-26 19:37:58 +00:00
emteere bf8d314ddb GP-3499 Fixed inlined functions causing lockups in stack depth field and analysis 2023-05-26 14:11:10 -04:00
Ryan Kurtz 007cfacd6c Merge remote-tracking branch 'origin/GP-3288_dev747368_golang_1_17--SQUASHED' 2023-05-26 11:47:47 -04:00
Ryan Kurtz 47457bef53 Merge remote-tracking branch 'origin/patch' 2023-05-26 11:45:59 -04:00
caheckman c17e5cd442 GP-3369 DecompileOptions are optional for DecompInterface 2023-05-26 11:35:26 -04:00
dev747368 d3c3287eb2 GP-3288 add support for Golang 1.17
Also fix error with structure name tagging introduced in previous commit
2023-05-26 11:16:38 -04:00
Ryan Kurtz d6fa1d9768 Merge remote-tracking branch 'origin/patch' 2023-05-26 08:31:33 -04:00
Ryan Kurtz b4f513cd79 GP-3447: Preventing MzLoader from trying to split on HEADER overlay
block (Closes #5320)
2023-05-26 08:27:52 -04:00
Ryan Kurtz 4e318086a3 Merge remote-tracking branch 'origin/patch' 2023-05-26 07:20:24 -04:00
Ryan Kurtz bfbcd06c5c GP-3474: Fixing DYLD_CHAINED_PTR_X86_64_KERNEL_CACHE fixups 2023-05-26 07:09:05 -04:00
dev747368 d7710625be GP-3274 tweaked list types, fixed whitespace 2023-05-25 20:02:17 +00:00
isabella3412 d7d80b134e GP-3296 Updated PowerISA Instruction Index with new manual 2023-05-25 18:18:55 +00:00
ghidra1 a9f3692373 GP-3493 corrected ELF PT_NOTE markup NPE 2023-05-25 12:14:32 -04:00
isabella3412 1f866578b1 GP-3328: Added support for CramFS 2023-05-25 07:19:50 -04:00
caheckman ce520cc940 GP-3480 Mark PPC r13 as unaffected 2023-05-24 14:35:59 -04:00
Ryan Kurtz 3b9263f1b4 Merge remote-tracking branch 'origin/patch' 2023-05-24 12:49:11 -04:00
Ryan Kurtz 75b1dd163f Merge remote-tracking branch 'origin/GP-3369_DecompilerTemplateShortening' into patch 2023-05-24 12:46:45 -04:00
caheckman ba694068ef GP-3369 Implement shortened display names in decompiler 2023-05-24 11:51:32 -04:00
Ryan Kurtz 359f56131b Merge remote-tracking branch 'origin/patch' 2023-05-24 08:43:20 -04:00
Ryan Kurtz 1654264d31 Merge remote-tracking branch 'origin/GP-3472_ghidra1_Windows64StdCall' into patch 2023-05-24 08:39:16 -04:00
Ryan Kurtz 2daddb7d7c Merge remote-tracking branch 'origin/patch' 2023-05-24 08:29:14 -04:00
Ryan Kurtz 78a6991613 Merge remote-tracking branch 'origin/GP-3268_ghidra1_DataTypeSymbolHash'
into patch (Closes #5335)
2023-05-24 08:22:47 -04:00
ghidra1 584260ca81 GP-3472 Added __stdcall convention alias for 64-bit Windows cspecs 2023-05-23 15:34:35 -04:00
ghizard 9cb6a7a12e GP-3449 - Fix Win32 8-byte type alignment and update test utils 2023-05-23 15:16:52 -04:00
ghidra1 edec5d9020 GP-3268 revised decompiler function override hash to factor in calling
convention
2023-05-23 14:28:48 -04:00
Ryan Kurtz 536739f0a5 Merge remote-tracking branch 'origin/patch' 2023-05-23 12:31:22 -04:00
Ryan Kurtz e23198b563 Merge remote-tracking branch 'origin/GP-3441_IndirectSwitchVar' into
patch (Closes #5307)
2023-05-23 11:35:03 -04:00
Ryan Kurtz 05ad0ea305 Merge remote-tracking branch 'origin/GP-0_d-millar_pty_for_macos' into patch 2023-05-23 11:33:18 -04:00
Ryan Kurtz 82f7a0a53d Merge remote-tracking branch 'origin/GP-3440_dev747368_golang_cleanup--SQUASHED' 2023-05-23 11:28:31 -04:00
dev747368 df49cb7f5c GP-3440 cleanup golang javadoc and markup logic 2023-05-23 11:20:44 -04:00
d-millar dec2620bea GP-0: quick fix for macos/gdb support 2023-05-23 10:25:42 -04:00
Ryan Kurtz e25881828c Merge remote-tracking branch 'origin/patch' 2023-05-23 07:53:49 -04:00
d-millar 312e396d9a GP-3442: Upgrades SWIG-generated Java (plus docs) to LLVM/lldb 16.x
(Closes #5359, #5330)
2023-05-23 07:46:55 -04:00
Ryan Kurtz 3cbd416d6d Merge remote-tracking branch 'origin/GP-0_Dan_testFixes-2023-05-22-1' 2023-05-22 15:33:39 -04:00
Ryan Kurtz 1c903c2198 Merge remote-tracking branch 'origin/patch' 2023-05-22 15:32:54 -04:00
Ryan Kurtz dd85623f3d Merge remote-tracking branch
'origin/GP-3223_ghidra_LaunchFunctionDefEditFromCompositeEditor' into
patch (#4541)
2023-05-22 15:30:04 -04:00
ghidra1 a52d2244f4 GP-3223 Allow launching Function Definition Editor from structure/union
editor.
2023-05-22 13:16:02 -04:00
Dan 8ffaebf6ce GP-0: Fix paste into Dynamic Listing 2023-05-22 13:13:30 -04:00
Ryan Kurtz 5f3d9fc738 Merge remote-tracking branch 'origin/GP-3452_ryanmkurtz_PointerType_RELATIVE' 2023-05-22 12:20:09 -04:00
Ryan Kurtz 3b9dbae6ad Merge remote-tracking branch 'origin/patch' 2023-05-22 12:19:44 -04:00
Ryan Kurtz 69549f576f Merge remote-tracking branch
'origin/GP-3454_ghidra1_DecompilerEditFunction' into patch
(Closes #5367)
2023-05-22 12:15:51 -04:00
ghidra1 416a3e9a13 GP-3454 Corrected regression in Decompiler Edit Function Signature 2023-05-22 11:32:53 -04:00
Ryan Kurtz d3ab0197c2 GP-3452: PointerType.RELATIVE now treats 0 as NaP 2023-05-22 06:59:26 -04:00
Ryan Kurtz ce8fadf7a8 Merge remote-tracking branch 'origin/patch'
Conflicts:
	Ghidra/Debug/Debugger/src/main/java/ghidra/app/plugin/core/debug/gui/objects/DebuggerObjectsProvider.java
2023-05-22 06:50:32 -04:00
Dan bcf78937d9 GP-3448: Fix GDB module ranges. Cull unnecessary queries. 2023-05-19 12:41:30 -04:00
Dan 3f34adb793 GP-0: Fix tests. 2023-05-19 09:11:06 -04:00
Ryan Kurtz 050c5f0c54 Merge remote-tracking branch 'origin/GP-1528_Dan_selectAddressesWorkflow--SQUASHED' 2023-05-18 14:22:30 -04:00
Dan 51e5229346 GP-1528: Fix dynamic listing context / focus issue, now that GP-3349 is done. 2023-05-18 11:54:49 -04:00
Ryan Kurtz a87044c521 Merge remote-tracking branch 'origin/patch' 2023-05-18 11:06:01 -04:00
Ryan Kurtz 0cae3ab0f5 Merge remote-tracking branch
'origin/GP-3325_ghidorahrex_PR-4886_Ninja3047_fix-ppc-stmvsprw' into
patch (Closes #4886)
2023-05-18 11:02:54 -04:00
Ryan Kurtz f8ebb729ef Merge remote-tracking branch
'origin/GP-3432_ghidorahrex_PR-4887_Ninja3047_ppc_vle_eieio' into patch
(Closes #4887)
2023-05-18 10:58:25 -04:00
Ryan Kurtz 59fd75aee2 GP-3446: Fixed a regression in the "Original File" exporter that
prevented it from working when unapplied relocations were present in the
relocation table
2023-05-18 07:31:40 -04:00
Ryan Kurtz 680c80dbfb Merge remote-tracking branch 'origin/patch' 2023-05-17 08:10:37 -04:00
caheckman 8977840661 GP-3426 Protect against too large constants 2023-05-16 19:00:18 -04:00
caheckman 0398e40b07 GP-3441 Protect INDIRECT path to switch variable 2023-05-16 18:42:07 -04:00
Ryan Kurtz 303c69ba16 Merge remote-tracking branch 'origin/patch' 2023-05-16 09:08:00 -04:00
Ryan Kurtz 7089e6de63 Merge remote-tracking branch 'origin/GP-3431-dragonmacher-change-history-styles' into patch 2023-05-16 09:02:04 -04:00
Ryan Kurtz 3d95f16e8b Merge branch 'GP-0_ryanmkurtz_PR-5340_gscalise_fix-targethreadtidtype'
(Closes #5340)
2023-05-16 08:56:04 -04:00
Guido Scalise cb2551117f
Fix wrong type for TID_ATTRIBUTE_NAME in LldbModelTargetThreadImpl.java 2023-05-16 10:33:48 +01:00
ghizard 03099e88f4 GP-3431 Small formatting change (remove extra spaces and new line) 2023-05-15 15:49:25 -04:00
Ryan Kurtz 033d2a2ec6 Merge remote-tracking branch
'origin/GP-3434_ghidorahrex_ppc_vle_e_sthu_fix' (Closes #5247)
2023-05-15 08:40:12 -04:00
Ryan Kurtz 619b73be24 Merge remote-tracking branch 'origin/GP-3208_ghidra1_RelaxDyanmicDataMemoryRestriction' 2023-05-15 08:37:54 -04:00
Ryan Kurtz ce5f6b4417 Merge remote-tracking branch
'origin/GP-3435_ghidra1_PR-5292_dukesilverrr_R_AARCH64_MOVW_UABS_G_Relocs'
(Closes #3545, Closes #3546, Closes #5292)
2023-05-15 06:04:08 -04:00
ghidra1 88ff341dc8 GP-3208 remove initialized memory restriction for Dynamic Data creation. 2023-05-12 14:47:46 -04:00
Ryan Kurtz 4b99900d2f Merge remote-tracking branch 'origin/patch' 2023-05-12 14:29:37 -04:00
Ryan Kurtz 5b53757dc6 Merge remote-tracking branch
'origin/GP-3428_ghidra1_ELFSegmentDiscardSize' into patch (Closes #5273)
2023-05-12 14:21:37 -04:00
ghidorahrex 9dc6e6e29d GP-3434: Fixed PPC VLE e_sthu mnemonic display 2023-05-12 17:51:08 +00:00
Ryan Kurtz d3301fc221 Merge remote-tracking branch 'origin/GP-3419_dev747368_ctrl-0_reset_font' 2023-05-12 06:20:12 -04:00
dragonmacher 7075d13bcb GP-3431 - Fixed use of custom tags in the change history 2023-05-11 20:17:03 -04:00
dragonmacher 2f2a07c671 Test fixes 2023-05-11 17:10:45 -04:00
ghidra1 cdb286a953 GP-3428 added ELF Max Zero-Segment Discard Size import option 2023-05-11 12:23:00 -04:00
dragonmacher 8a156b0bc3 GP-3409 - Refactor old constant values 2023-05-11 09:35:31 -04:00
Ryan Kurtz b618004be9 GP-0: Upping patch to 10.3.1 2023-05-11 09:13:29 -04:00
Ryan Kurtz 969a247d1c Merge remote-tracking branch 'origin/GP-1436_lazybinding-dev_DTB_FTD_Support--SQUASHED' 2023-05-11 07:23:53 -04:00
Ryan Kurtz e2188d4cfb Merge remote-tracking branch 'origin/GP-3402-dragonmacher-graph-threading' 2023-05-11 06:51:08 -04:00
Ryan Kurtz 78d9a6c6e3 Merge remote-tracking branch
'origin/GP-3349_ghidragon_adding_support_for_mutliple_default_contexts--SQUASHED'

Conflicts:
	Ghidra/Features/ByteViewer/src/test.slow/java/ghidra/app/plugin/core/byteviewer/ByteViewerPlugin2Test.java
2023-05-11 06:43:59 -04:00
Ryan Kurtz 5708d69834 Merge remote-tracking branch
'origin/GP-3414_dev747368_dwarf_skip_bad_compunit' (Closes #5300)
2023-05-11 06:39:36 -04:00
Ryan Kurtz 0c9679f823 GP-0: Upping master to 10.4-DEV 2023-05-11 06:09:31 -04:00
ghidra1 104d959248 GP-0 more doc revisions for release 2023-05-10 14:05:10 -04:00
dev747368 ec54bd4e73 GP-3419 add ctrl-0 key binding to reset font size 2023-05-10 16:45:44 +00:00
ghidra1 babc38dacc GP-0 more doc edits 2023-05-10 09:33:48 -04:00
ghidra1 7ba296397d GP-0 Additional edits of docs for 10.3 release 2023-05-10 09:27:06 -04:00
lazybinding-dev 629924ed29 Support for analyzing DTB/DTBO and FTD binaries. 2023-05-10 09:24:38 -04:00
ghidra1 989922f599 GP-0 Additional edits for 10.3 docs 2023-05-09 20:00:49 -04:00
ghidra1 2d63324b3b GP-0 Updated docs for 10.3 release 2023-05-09 18:14:46 -04:00
ghidra1 e112815007 Merge remote-tracking branch 'origin/GP-0_emteere_WhatsNew10.3' into Ghidra_10.3 2023-05-09 17:34:59 -04:00
ghidra1 e8a0323902 Merge branch 'GP-3383_dev747368_refactor_programcontext_classname' into Ghidra_10.3 2023-05-09 17:09:07 -04:00
dev747368 e98d0bbf37 GP-3383 refactor struct mapping context classname 2023-05-09 17:08:21 -04:00
emteere 537012fdda GP-0 Whats New update 2023-05-09 20:23:17 +00:00