Commit Graph
18443 Commits
Author SHA1 Message Date
Ryan Kurtz 1946fea24f Merge remote-tracking branch
'origin/GP-7306_dragonmacher_PR-9668_mduggan_fix-integer-array-display'
into Ghidra_12.2 (Closes #9668)
2026-09-23 07:56:59 -04:00
Matthew Duggan d817b07388 Fix display of integer arrays
In e0aae02, the `++` was dropped from the index reference in this loop, but
that means the first item on each row of an integer array is incorrectly
repeated.

Restore the ++ so the array index is incremented across the line.
2026-09-22 18:43:19 -04:00
Ryan Kurtz ce80e056b8 GP-0: Updating 12.2 ChangeHistory 2026-09-21 14:10:51 -04:00
ghidra1 09795e3f34 GP-0 Corrected test failures 2026-09-21 14:04:17 -04:00
Ryan Kurtz 4e44b743b4 Merge remote-tracking branch 'origin/GP-7297_ryanmkurtz_bouncycastle' into Ghidra_12.2 2026-09-21 13:46:50 -04:00
Ryan Kurtz 636ad24586 GP-7297: Upgraded Bouncy Castle to 1.86 2026-09-21 13:25:24 -04:00
ghidra1 0cb6e61d12 GP-1 Corrected GhidraOSGOStreamHandler bug 2026-09-18 14:55:22 -04:00
Ryan Kurtz 2c73738f13 Merge remote-tracking branch
'origin/GP-7292_ghidragon_fixed_bug_from_GP-3049' into Ghidra_12.2
(Closes #9651)
2026-09-18 12:49:50 -04:00
ghidragon ef5dfe702b GP-7292 fixed bug in FixedSizedIntegerTextField introduced in GP-3049 2026-09-18 12:41:09 -04:00
ghidra1 b21c41fc7b Merge remote-tracking branch 'origin/GP-7043_ghidra_AllowPlusCharInNames' into Ghidra_12.2 2026-09-18 10:11:41 -04:00
ghidra1 b9e86d3c62 GP-7043 Allow local project path, project name and project content
file/folder pathnames to contain '+' char
2026-09-18 09:51:54 -04:00
Ryan Kurtz 868227c296 Merge remote-tracking branch 'origin/GP-1_ghidra1_FixElfResolveExtSyms' into Ghidra_12.2 2026-09-17 13:34:07 -04:00
ghidra1 fbe86aacaa GP-1 Correct GP-6643 regression with resolving ELF external symbols to
libraries
2026-09-17 13:32:28 -04:00
Ryan Kurtz 818cc48cfc Merge remote-tracking branch 'origin/GP-7281_ghidra1_CorrectGhidraURLErrorHandling' into Ghidra_12.2 2026-09-17 09:29:31 -04:00
Ryan Kurtz cf97013b2a Merge remote-tracking branch 'origin/GP-7283_ghidra1_ELFPermissions'
into Ghidra_12.2 (Closes #9644)
2026-09-17 09:27:48 -04:00
Ryan Kurtz 02ba9f2f04 Merge branch
'GP-7284_ryanmkurtz_PR-9646_unusual-thoughts_fix-aout-symbols' into
Ghidra_12.2 (Closes #9646)
2026-09-17 08:38:41 -04:00
Henri Chain 0da3f75f66 Place a.out symbols at their image address
loadSymbols adds n_value to the start of the block the symbol belongs to, but
n_value is an address (see https://man.freebsd.org/cgi/man.cgi?a.out(5) ),
not an offset into its segment, so we need to subtract the segment's base.

In most cases `determineTextAddr` is 0, so they are the same for the .text
segment, which is why function symbols still loaded fine. But for the
.data and .bss segments they don't, so their symbol locations ended up shifted.
2026-09-17 08:35:58 -04:00
ghidra1 d6b03b9bca GP-7283 Corrected ELF section permissions determination 2026-09-16 18:04:14 -04:00
ghidra1 7565f9cae3 GP-7281 Improved Ghidra URL connection error handling and other related
fixes
2026-09-16 13:48:00 -04:00
Ryan Kurtz ad0f0231d6 GP-0: More WhatsNew 2026-09-15 12:40:37 -04:00
ghidra007 8fb1c8ce05 GP-0 fix for breaking RTTI test 2026-09-15 11:58:25 -04:00
Ryan Kurtz 2d69858b90 GP-0: More WhatsNew 2026-09-15 10:30:57 -04:00
Ryan Kurtz c54d8f5c6c GP-0: Suppressing some warnings in tests 2026-09-15 09:35:41 -04:00
Ryan Kurtz 9a09aa64a2 Merge remote-tracking branch 'origin/GP-7269_ghidra_PreserveURLHost_DisableFelixURLProxy' into Ghidra_12.2 2026-09-14 10:46:30 -04:00
ghidra1 e5c87cc09f GP-7269 Changed ProgramLocator to preserve original URL and disabled
Felix URL proxy handler mechanism.
2026-09-11 15:51:41 -04:00
ghidra1 a9cfc37b4c GP-6796 Corrected Clear Server Allow List enablement 2026-09-11 09:55:24 -04:00
Ryan Kurtz 67d4de99e3 GP-0: More WhatsNew updates 2026-09-11 09:16:19 -04:00
Ryan Kurtz b674db30e8 GP-0: WhatsNew updates 2026-09-11 09:03:42 -04:00
Ryan Kurtz b335c056b0 GP-0: Fixing JDK 21 reference in README.md 2026-09-11 08:08:41 -04:00
Ryan Kurtz e816802f8b GP-0: Adding ChangeHistory for 12.2 2026-09-11 06:51:41 -04:00
Ryan Kurtz 51915f3405 Merge remote-tracking branch 'origin/patch' into Ghidra_12.2 2026-09-11 06:35:51 -04:00
Ryan Kurtz 8b6bbb857a GP-0: Adding ChangeHistory for 12.1.4 Ghidra_12.1.4_build 2026-09-11 06:14:59 -04:00
Ryan Kurtz 1aef337b59 Merge branch 'GP-7238_ryanmkurtz_swift' into patch 2026-09-11 05:52:12 -04:00
Ryan Kurtz 6d4ec01200 GP-7238: Finding Swift demangler with GHIDRA_SWIFT_DEMANGLER env var, if
not found at a known location
2026-09-11 05:50:28 -04:00
ghidra1 b374d71ef1 Merge remote-tracking branch 'origin/patch' into Ghidra_12.2 2026-09-10 19:10:58 -04:00
ghidra1 841266bbeb Merge branch 'GP-7267_ghidra1_PR-9163_shuffle2_HexagonFixes' into patch
(Closes #9163)
2026-09-10 19:06:20 -04:00
ghidra1 dbec68725c GP-7267 Minor revision to Hexagon pcode 2026-09-10 19:02:19 -04:00
Shawn Hoffman 91c767284d hexagon: swap vmin/vmax/shuffo/vaddw operand display to match LLVM
Same class of bug as the earlier min/minu fix: the displayed source
operand order contradicts the instruction syntax recorded in each
constructor's own doc comment (and LLVM/the PRM).

  vminb/vminh/vminub/vminuh/vminuw/vminw, vmaxb/vmaxh/vmaxub/vmaxuh/
  vmaxuw/vmaxw and shuffob/shuffoh are documented as "f ( Rtt32 , Rss32 )"
  but displayed Rss before Rtt.
  vaddw and vaddw:sat are documented as "vaddw ( Rss32 , Rtt32 )" but
  displayed Rtt before Rss.

Includes the V62 "Rdd32,Pe4 = vminub ( Rtt32 , Rss32 )" form.

The pcodeop / inline arguments are swapped to match, so the emitted call
argument order still follows the displayed operand order. For the min,
max and add forms this is semantically neutral (all commutative); it
matters for vminubPred, whose result is defined relative to the first
operand, and for the opaque shuffob/shuffoh, whose operand roles are
positional.

Verified: SleighCompile clean, all 60 Hexagon unit tests pass. No test
expectations change (the one test pinning vminub uses R1R0 for both
sources).
2026-09-10 16:54:28 -04:00
Shawn Hoffman daf46c9777 Hexagon: expand tests for shift edge cases and recent fixes 2026-09-10 16:54:25 -04:00
Shawn Hoffman 55f425223b hexagon: drop stale TODOs that no longer apply 2026-09-10 16:54:23 -04:00
Shawn Hoffman ce95d4edb3 hexagon_float: build sfmake/dfmake from bit pattern per V73 2026-09-10 16:54:20 -04:00
Shawn Hoffman 0345ff83cf hexagon: refresh comments to reflect current support
Records the decode coverage this branch adds (V66 ZReg matrix extension
and V81 valign4, both decode-only stubs) and narrows the shift-amount
KNOWN ISSUE to what is actually fixed: register-form shifts now model
the 7-bit signed shift amount, other forms may still assume positive.
2026-09-10 16:54:18 -04:00
Shawn Hoffman d29b9c718f hexagon: model sxt7 shift amount in register-form shifts 2026-09-10 16:54:15 -04:00
Shawn Hoffman 0402ed5476 hexagon: drop redundant togglebit shift-count guard 2026-09-10 16:54:13 -04:00
Shawn Hoffman 9d4c191a46 Hexagon: add stub- and packet-coverage regression-pin tests
Two new JUnit tests pin the disassembly text emitted for representative
encodings of the recently added decoder stubs (HexagonStubCoverageTest)
and packet-context decoding (HexagonPacketCoverageTest), so a future edit
that accidentally drops or shadows a constructor will surface as a
deliberate review point rather than a silent regression.
2026-09-10 16:54:10 -04:00
Shawn Hoffman 671add87ab hexagon_hvx: add V81 valign4 stub
Adds a decode-only stub for V6_valign4.

The six veqhf/veqsf qfloat-accumulating predicate forms that originally
accompanied this are not added: upstream's hexagon_hvx2.sinc implements
all of them with real p-code.
2026-09-10 16:54:08 -04:00
Shawn Hoffman 42ea4784b2 hexagon_hvx: tighten vassign bit constraints
Replace the open-ended op21/op1617 patterns on the existing vassign and
Vsf/Vhf-from-qf32/qf16 constructors with the full op2123/op1620 fields,
matching the LLVM encodings exactly so neighbouring stubs don't decode
ambiguously.
2026-09-10 16:54:05 -04:00
Shawn Hoffman 8215297c83 hexagon: add V68 memw_aq decode-only stub
Acquire-load form L2_loadw_aq from V68; same iclass/op2127 family as the
existing memw_phys constructor but distinguished by op0513=0x40.
2026-09-10 13:55:39 -04:00
Shawn Hoffman 0740f82ce4 hexagon: swap min/minu operand display to match LLVM
LLVM prints min as "min(Rt, Rs)" not "min(Rs, Rt)".  Reorder the
display tokens for the four scalar/pair min and minu constructors;
pcode already evaluates min(rt, rs).
2026-09-10 13:55:37 -04:00
Shawn Hoffman 51685f00ff hexagon: drop spurious Rd5 from ictagw match list
ictagw has no destination register; Rd5 was listed in the constructor's
operand expression but never used.  Remove it so the constructor only
binds the operands it actually consumes.
2026-09-10 13:55:34 -04:00