Skip to content

feat(ghidra): admit RISC-V ilp32f ELF with a derived calling convention - #8401

Merged
morluto merged 54 commits into
morluto:mainfrom
Entrpi:feat-ghidra-riscv-ilp32f
Nov 24, 2026
Merged

morluto merged 54 commits into
morluto:mainfrom
Entrpi:feat-ghidra-riscv-ilp32f

Conversation

@Entrpi

@Entrpi Entrpi commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Follow-up to #8229 (merged) under decision D3, decided on #7477: option 1, a written calling-convention policy per ABI, ilp32 first, then ilp32f. This PR adds the ilp32f row. Review from 244c42306, the first commit: it records the row in the policy table and the decision record, and ilp32f sessions stay refused until the next commit implements it in the bridge.

Part of the embedded firmware roadmap #7955.

Summary

ESP32-P4, H4 and S31 builds use the single-float ABI ilp32f, which REA refused at the RISC-V lane's float-ABI check. Ghidra's RV32 compiler specification models ilp32d, which passes a double in a float register. Limiting its float entries to 4 bytes is not enough: measured on Ghidra 12.1.4, that still joins struct { float; int; } into a1:a0, where ilp32f passes the float in fa0 and the integer in a0. With this PR, ELF32 images that declare ilp32f and the F extension open in a new lane with a derived __rea_ilp32f prototype, and every argument of the fixture's calls sits where LLVM put it.

rea function h4.elf rea_riscv_abi_single_caller --provider ghidra --json

opens images whose Tag_RISCV_arch lists only extensions that Ghidra 12.2 decodes, such as builds with ESP-IDF 5.5's -march for the preview ESP32-H4, rv32imafc_zicsr_zifencei. Images that also declare B, Zcb/Zcmp/Zcmt or an Espressif vendor extension stay refused, and the refusal names those extensions. As of ESP-IDF v6.1, that includes every ESP32-P4 build (xesploop and xespv, plus xesppie on 5.5 before rev 3) and the 6.x builds for H4 (B and xespdsp) and S31 (xesploop and xespv). One prototype cannot express every ilp32f shape on Ghidra 12.2, so when an image's typed signatures use a shape __rea_ilp32f would misplace, REA refuses its analysis and names up to eight signatures.

Closes #7477. Refs #8229, #2063. Coordinates with #4811 (RISC-V PIE), which edits the same admission and profile functions.

Decision record: the ilp32f row of D3

D3 is decided on #7477; this row is the follow-up it names. docs/ghidra-riscv.md#ilp32f keeps the full policy.

  • Choice.
    • Lane elf32-exec-le-single-float-generic-v1, policy ilp32f-prototype-v1, prototype __rea_ilp32f, on the pinned RISCV:LE:32:default language with gcc. Admission also requires f in Tag_RISCV_arch.
    • __rea_ilp32f is one more row of feat(ghidra): admit RISC-V ilp32 ELF with a derived calling convention #8229's derivation in ReaGhidraRiscvCallingConvention.java. It limits the default float entries to 4 bytes, keeps fs0–fs11 preserved and keeps the shared rule that passes values of 9 bytes or more by reference. One new rule gives structures of up to 8 bytes Ghidra 12.1.4's join_dual_class with fillalternate: each 4-byte part that holds one float takes a float register, and each other part an integer register.
    • That rule decides by 4-byte part, not by the psABI's flattened fields. So it also splits struct { float; short; short; }, a float beside a pointer or a union (LLVM passes these in integer registers), and it cannot place _Float16 or a packed or over-aligned float structure. After assigning the prototype, the script compares the storage class it gives each signature type, as a first argument and as a return, with the psABI's, for every typed function and function-pointer type. If any differ, the bridge reports {policy, refused} with every count and up to eight shortened signatures, and REA refuses the session with that reason. Flattening follows the compilers: a nonzero array of empty C++ classes and a flexible array member, wherever it starts, use the integer convention, as does a GNU vector passed directly, a bit-field counts by its width rather than its declared type, and each array element type is classified once. Ghidra imports a trailing [0] array like a flexible one, so that shape is refused too. A value whose fields hold up to 8 bytes, whatever padding alignment adds, and include a type Ghidra left untyped, such as float _Complex, is refused, because Ghidra's import gives an encoding it does not map an untyped byte, word, dword or qword. A C++ class with a non-trivial copy constructor or destructor is not detected or refused: Ghidra keeps only its fields and GCC's DWARF does not record the rule, so sessions state it as a limitation. ilp32f sessions also state two types whose distinction Ghidra's import erases: a GNU vector inside a structure, and _Atomic(float), which GCC 14.2 places as the policy does and Clang 19 does not.
    • The lane refuses Tag_RISCV_arch that declares d or zcd: ilp32f then preserves only the low 32 bits of fs0–fs11, and Ghidra's model preserves all 64.
  • Alternatives (and what switching to each would take):
    • join_dual_class without the check: those signatures would get wrong storage without notice.
    • Correct typed functions with custom storage instead of refusing: more images are admitted, but the script becomes a second psABI allocator in Java, and a function and a pointer to it get different answers, because a function-pointer type cannot carry storage. Switching needs a new policy id.
    • Admit such images with the misplaced signatures marked unverified: the later widening. It admits images refused now and adds a per-signature limitation to the contract.
    • Keep refusing ilp32f: the lane row becomes a refusal again.
  • Costs of changing it. Code: S; one table row and its derivation row, plus the comparison. Once released, the single-float lane id and ilp32f-prototype-v1 persist in sessions, snapshots and Evidence; a changed derivation ships as a new policy id that invalidates that lane's snapshots only. Verification: npm run verify:ghidra:riscv.

Problem and expected behavior

  • Before: ELF32 e_flags 0x3 was refused: "…the single-float ABI (ilp32f) declared by e_flags has no verified calling-convention policy."
  • After: ELF32 single-float images that declare F and only decoded extensions are admitted with __rea_ilp32f; without F they are refused before any provider starts. An image whose signatures __rea_ilp32f would misplace opens, and its analysis is then refused with the signatures named. ilp32 and double-float behaviour and identity are unchanged.

Change and scope

  1. 244c42306: the ilp32f row of the decision record and policy table (with the required F), the session-report schema for {policy, refused}, docs, and fixture source with single-float-only shapes and a refused variant. ilp32f images pass admission, but until the next commit the bridge rejects the new policy id, so REA still refuses their sessions.
  2. 88c82b88a: the bridge row, its self-check (a float, double, two-float and float-and-int signature, and fs0–fs11 preserved), and the comparison with the psABI.
  3. 4f97b9202: the real lane: typed and stripped builds with ESP-IDF 5.5's ESP32-H4 -march, a refused unmodelled build, per-ABI storage tables, a call-site oracle that follows fa registers and per-byte stack memory, and header mutations.
  4. 6940199b4: the ilp32f limitation tests check facts, not wording.
  5. Merges of feat(ghidra): admit RISC-V ilp32 ELF with a derived calling convention #8229's heads (51419dca5, 5fd177413, 688c1d567, 2db1fa8a9); 688c1d567 takes feat(ghidra): admit RISC-V ilp32 ELF with a derived calling convention #8229's stripped return-storage check and records ilp32f's two stripped returns that differ (tagged at a0:4, flagged at a0:1). Merges of main up to d3ab0faf5 (8acebd1f4, a5c020aae, ba174afe6, bfef6976b); a5c020aae records feat(ghidra): admit RISC-V ilp32 ELF with a derived calling convention #8229's squash e669365c3 with -s ours, after checking that its git patch-id --stable equals that of d8ae325f1's own patch.
  6. 823083f8c, 4d7f0f6a6, 719f3d27d, 4101f5d4f, b2c7dea41: review rounds. The check refuses values whose bytes may hide a bit-field, union parameters that may be transparent and float parameters of old-style C definitions; it caches the layout checks per type and admits a direct C++ empty-class member.
  7. fe7752554, 644cf8fa1: before either RISC-V policy installs its prototype, the bridge reads the image's DWARF once. It refuses the image when a compile unit whose DW_AT_language is not C, C++ or assembly, or that has no DW_AT_language, defines a function with code, and the reason names each language. Rust's default ABI, for example, passes some small aggregates by reference or as two scalars. The same rule applies to main's soft-float __rea_ilp32 policy, which had no refusal path; its session schema now accepts a refusal report. C, C++ and assembly images are unchanged. C++ stays admitted under the existing hidden-reference limitation, because Ghidra's DWARF importer ignores DW_AT_calling_convention and GCC 14.2 does not emit it. Every session that applies either policy states that functions no compile unit describes, such as all of a stripped image, are not checked.
  8. 8be5cb81d: flattening records the bit position of each field, and a value whose float-register fields do not each start their own 4-byte part is refused (review: after the empty member of rea_riscv_abi_member, flag lies at byte 1, which the psABI passes in bits 0–7 of a0 and the prototype read from bits 8–15). This also covers packed layouts and bit-fields above bit 0 of their part. None of the shapes the lane admits changes.
  9. 610c6b7d3 and 166fbd2a8 merge main 39ccb1d3b and dff9b479e. main now requires Ghidra 12.2 and JDK 25 (feat(ghidra)!: verify the bridge on Ghidra 12.2 #12081): the bridge calls 12.2's four-argument PrototypeModel.getStorageLocations, and the lanes declare their load models beside main's PIE lanes. Earlier merges of main are 82a28e59a, a1fddbe2b, 4748c9245, 4edcda1d8, 603f6f041, 745db9003 and b44d7781c.
  10. 839a62d0b merges main d35e14270 cleanly. 525300a51 merges main 36997555d: main's test(ghidra): consolidate session authority checks #13367 removed the "unknown policy" row of GhidraSessionValues.test.ts, because its MIPS-policy row covers the same case, and this PR had only renamed that row, so the merge takes main's deletion.

Not included: the shapes the check refuses (above); quad-float, RVE, TSO, ELF64 soft- or single-float, ET_DYN (#4811); and images that declare undecoded extensions (above).

Contract and boundary impact

  • Semantic owner and earliest changed stage: feat(ghidra): admit RISC-V ilp32 ELF with a derived calling convention #8229's owners (src/domain/riscvIsaDeclaration.ts, the tables in src/ghidra/GhidraRiscvProfile.ts, bridge/ghidra/ReaGhidraRiscvCallingConvention.java). The earliest changed stage is Ghidra admission: the lane row and its required F.
  • Contribution scope fit and linked maintainer decision: static analysis in the existing Ghidra RISC-V lane; no target execution, injection, mutation or protection recovery. No maintainer scope decision is required for static analysis in an existing lane (CONTRIBUTING); design decision D3, which names ilp32f as its follow-up, is recorded on [Design] Admit RISC-V ilp32 and ilp32f ELF in the Ghidra lane with a per-ABI calling-convention policy #7477.
  • CLI and MCP/tool-catalog contract: no new inputs or tools. ELF32 single-float images are admitted. New refusals: "Tag_RISCV_arch declares … without f, which the single-float ABI (ilp32f) declared by e_flags requires." before any provider starts, and, from the first analysis call, "RISC-V calling-convention policy ilp32f-prototype-v1 refused this image, so REA does not serve its analysis: … See docs/ghidra-riscv.md." The ELF32 float-ABI refusal now lists three admitted ABIs. A failed calling-convention handshake, MIPS soft-float included, now also carries its reason as the error's userMessage, not only as diagnostics.reason.
  • Provider, bridge, target-format, or platform compatibility: Ghidra on Linux and macOS (RISC-V is outside Windows Ghidra P0). The bridge script gains the ilp32f row; its session report may carry a refusal of at most 2,048 characters.
  • Evidence, artifact, provenance, or reconstruction contract: single-float profiles carry riscv_elf.float_abi: "single", riscv_elf.arch and riscv_calling_convention: ilp32f-prototype-v1; session Evidence states the prototype and its counts. ilp32 and double-float profiles are unchanged (tested).
  • Target selection, authority, upstream behavior, and cleanup details: as in feat(ghidra): admit RISC-V ilp32 ELF with a derived calling convention #8229. A refused policy ends the session before any analysis is served, with the normal cleanup.
  • Generated metadata (docs/public/product-catalog.json), package, or installation impact: none; the bridge source already ships.

Expected effects:

  • Read existing files or captured data.
  • Launch or attach to a process. (Ghidra, as before.)
  • Inject instrumentation or run scripts/code. (REA's fixed Ghidra scripts, as before; no target execution.)
  • Change process memory, registers, files, or configuration.
  • Contact network services.
  • Recover protected code or work around protections.
  • Documentation or usability only; no target interaction.
  • Not sure yet; investigation or maintainer guidance needed.

Evidence and regression coverage

  • Tests added or updated: four test files; per-file coverage below.
  • Base reproduction or other evidence: source-derived, main refuses ELF32 e_flags 0x3 ("no verified calling-convention policy"). Measured on Ghidra 12.1.4 (recorded in feat(ghidra): admit RISC-V ilp32 ELF with a derived calling convention #8229's docs): 4-byte float entries alone put struct { float; int; } in a1:a0. The conformance checks refuse the stock model's placements: a whole double in fa0, and that structure joined into an integer pair.
  • User-visible CLI/MCP output: below, from the CLI on this PR's head.
  • Remaining proof gaps: no real-Ghidra run on macOS or Windows; no image built by GCC or ESP-IDF itself (the fixtures are LLVM builds with ESP-IDF 5.5's ESP32-H4 -march). A GNU vector inside a structure and Clang's _Atomic(float) get wrong storage, which every ilp32f session states as a limitation. The stock double-float lanes still show float _Complex as an integer. The compiler placements of the new shapes come from one-off GCC 14.2 and Clang 19 builds; the lane builds with LLVM only.
Per-file test coverage (counts on the head)
  • src/ghidra/GhidraRiscvProfile.test.ts (66 tests): the single-float lane row and where F is required; ilp32f admission and its refusals; the single-float profile's exact parameters; the stated ABI, prototype and ISA; and the launch with the single-float policy and its outcome.
  • src/ghidra/GhidraSessionValues.test.ts (40 tests): the ilp32 and ilp32f outcomes and an ilp32f refusal accepted. Refused: an unknown policy, a custom-storage count, an ilp32 refusal, a refusal with counts, and an empty or unbounded refusal.
  • tests/boundary/providers/ghidra/ghidraLauncher.test.ts (59 tests, 3 Windows-only skipped): the post-script for both policy ids.
  • tests/conformance/ghidra/riscv-checks.test.ts (12 tests): per-ABI tables and the call-site oracle across both callers, with fa registers, halfword stores and sub-word stack words. Also ilp32f storage, refusing a float-and-integer structure the wrong way round, the stock pair and a whole double in fa0. Stripped storage with ilp32f's recorded exceptions, refusing a stripped pair return that loses its high word. Both callers' pseudocode, refusing an unaccounted register value.
CLI output on this PR's head

For the single-float build of the fixture (-march=rv32imafc_zicsr_zifencei -mabi=ilp32f), the committed profile:

{"language_id":"RISCV:LE:32:default","compiler_spec_id":"gcc",
 "riscv_support_lane":"elf32-exec-le-single-float-generic-v1",
 "riscv_calling_convention":"ilp32f-prototype-v1",
 "riscv_elf":{"elf_class":32,"byte_order":"little","type":2,"flags":3,
   "float_abi_double":false,"rvc_declared":true,"rve_declared":false,
   "tso_declared":false,"float_abi":"single",
   "arch":"rv32i2p1_m2p0_a2p1_f2p2_c2p0_zicsr2p0_zifencei2p0_zmmul1p0"}}

Excerpts of both callers' pseudocode:

local_10 = rea_riscv_abi_pick(1.5,2.5,sel);
local_20 = rea_riscv_abi_mixed(local_c,4.75,5.5,6.125);
rVar2 = rea_riscv_abi_pair((rea_riscv_abi_pair)0x4118000041080000,10.5);
rVar3 = rea_riscv_abi_tagged((rea_riscv_abi_tagged)0xc41380000,local_c);
rVar2 = rea_riscv_abi_flagged((rea_riscv_abi_flagged)0x41b400000000002a,23.5);
fVar1 = rea_riscv_abi_fill(1.0,2.0,3.0,4.0,5.0,6.0,7.0,8.0,(rea_riscv_abi_tagged)0x1c41dc0000,29.5
                          );
rVar3 = (*rea_riscv_abi_tagged_callback)((rea_riscv_abi_tagged)0x2041fc0000,sel);

The limitations include "RISC-V calling-convention outcome: 16 functions and 16 function definitions use __rea_ilp32f." The same source built with REA_RISCV_ABI_UNMODELLED opens, and its first analysis call fails. On ef3ea15bb the lane checks that the reason counts "7 functions and 1 function-pointer type", names rea_riscv_abi_spread, rea_riscv_abi_half, rea_riscv_abi_flexible, rea_riscv_abi_padded, rea_riscv_abi_vector, rea_riscv_abi_complex, the C++ rea_riscv_abi_empties and the function-pointer type, and does not name rea_riscv_abi_elements or the bit-field function rea_riscv_abi_bits. On bfef6976b, before those shapes were added, it read:

{"code":"execution_failure",
 "message":"RISC-V calling-convention policy ilp32f-prototype-v1 refused this image, so REA does not serve its analysis: 2 functions and 1 function-pointer type pass by-value types whose psABI storage __rea_ilp32f cannot express: rea_riscv_abi_spread (returns rea_riscv_abi_spread, rea_riscv_abi_spread); rea_riscv_abi_half (returns _Float16, _Float16); function-pointer type _func_void_rea_riscv_abi_spread_int (rea_riscv_abi_spread). See docs/ghidra-riscv.md."}

For evidence-bearing changes:

  • Observed, derived, and inferred claims remain distinguishable.
  • Artifact identity, source provenance, and failed attempts remain preserved.
  • Unsupported, incomplete, unavailable, or uncertain outcomes remain visible.

Validation performed

On the head 525300a51, which merges main 36997555d into 839a62d0b (Linux x64 container, Ghidra 12.2 with JDK 25, Node 24.22.1): npm run check:fast, build:cached, docs:check and node scripts/verify-advertised-schemas.mjs passed, npm run test:focused over 15 files passed 796 tests (5 skipped), and verify:ghidra:bridge-sources and npm run verify:ghidra:riscv passed, "mocked": false. The fork's integration branch also ran the real RISC-V lane with #8464 merged: its ESP-IDF fixtures pass this PR's fail-closed language check. CI passed on this head: 30 checks passed, 23 skipped, none failed.

On the head 166fbd2a8, which merges main dff9b479e cleanly into 8be5cb81d (Linux x64 container, Ghidra 12.2 with JDK 25, Node 24.22.1): npm run check:fast, build:cached, docs:check and node scripts/verify-advertised-schemas.mjs passed, npm run test:focused over 15 files passed 783 tests (5 skipped), and npm run verify:ghidra:riscv passed, "mocked": false. CI passed on this head: 30 checks passed, 23 skipped, none failed.

On 8be5cb81d: the same checks passed, npm run test:focused over 36 files passed 1,070 tests (5 skipped), and verify:ghidra:bridge-sources and verify:ghidra:riscv passed, "mocked": false. The lane relabels one C11 compile unit (0x1d) of the typed soft- and single-float builds as DW_LANG_Rust (0x1c), with a bounds-checked reader of the units' abbreviations, and checks that each policy refuses the result and names Rust; the unlabelled builds are the controls. A new caller passes {.flag = 0x5a, .value = 1.5f} and the int 7; the lane checks from objdump that the call writes a0 = 0x5a, fa0 = 0x3fc00000 and a1 = 7, and that the refusal names rea_riscv_abi_member. CI on 8be5cb81d: 30 checks passed, 23 skipped, none failed.

On 610c6b7d3, which merges main 39ccb1d3b: npm run check:fast, build:cached, docs:check and 36 focused test files (1,068 passed, 5 skipped) passed, and verify:ghidra:riscv and verify:ghidra:bridge-sources passed on Ghidra 12.2, "mocked": false.

On the head cca443532, which walks each field type once: npm run verify:ghidra:riscv and verify:ghidra:bridge-sources passed in a Linux container (Ghidra 12.1.4), "mocked": false, cleanup complete. npm run check:fast, format:check, docs:check, knip and the 4 test files this PR changes (175 passed, 3 skipped) passed. With a temporary, uncommitted chain of 29 nested structures, verify:ghidra:riscv took 442 s on the earlier walk and 385 s on this one, one run each. CI passed on this head.

On c6345b0d7, which refuses an untyped value that alignment pads past 8 bytes: npm run verify:ghidra:riscv and verify:ghidra:bridge-sources passed in a Linux container (Ghidra 12.1.4), "mocked": false, cleanup complete. The lane checks that the reason names the over-aligned rea_riscv_abi_aligned, still counts 7 functions, and does not name rea_riscv_abi_complexes, whose two float _Complex fields pass by reference. With the old guard and this fixture the lane fails, because the reason leaves out rea_riscv_abi_aligned. npm run check:fast, format:check, docs:check, knip and the 4 test files this PR changes (175 passed, 3 skipped) passed. CI passed there.

On 7f54acacb, which merges main 71f680d7c without conflicts: npm run verify:ghidra:riscv and verify:ghidra:bridge-sources passed in the same container, "mocked": false, cleanup complete. npm run check:fast, format:check, docs:check, knip and the same 4 test files passed. CI passed there; it did not run on 808271a78, for a reason not established.

On ef3ea15bb, which closes the review findings after 042d25f94 in c6659e329 and refuses untyped values (808271a78 after it changes docs/ghidra-riscv.md only, and docs:check passed there): npm run verify:ghidra:riscv and verify:ghidra:bridge-sources passed in a Linux container (Ghidra 12.1.4), "mocked": false, cleanup complete. The lane's header-mutated double-float image, now declared ilp32f, is refused for its d. npm run check:fast, docs:check and three test files (Ghidra RISC-V profile, session values, conformance checks; 119 tests) passed. The same lane failed without each fix: with the fixture ahead of the bridge change, the reason did not name rea_riscv_abi_padded or rea_riscv_abi_vector on 042d25f94's bridge, or rea_riscv_abi_complex on c6659e329's.

On 042d25f94, which adds the hidden-reference limitation to 0933597de: npm run check:fast and docs:check passed, and 15 files of the Ghidra RISC-V profile, session-value, provider-client and conformance-check tests passed (684 passed, 3 skipped).

On 0933597de, which fixes the review findings in the flattener and the refusal after 87fdfc89d merged main c3647ade1 without conflicts: npm run verify:ghidra:riscv and verify:ghidra:bridge-sources passed in a Linux container (Ghidra 12.1.4), "mocked": false, cleanup complete, process lineage verified with no descendants. Source-derived: on bfef6976b the empty-class and flexible shapes are admitted and the bit-field shape is refused, so those checks would fail there; that was not run.

On bfef6976b, which merges main d3ab0faf5. main moved the real-toolchain lanes section to docs/testing-lanes.md, so the verify:ghidra:riscv row that names the ilp32f fixtures moves there unchanged.

  • macOS arm64 (Darwin 25.5.0), Node 24.22.1:
    • npm run check:fast and docs:check — passed. format:check fails only on 16 files that this PR does not change; they are byte-identical to main, whose own CI fails the same way.
    • npm run test:focused -- 17 files: the test files this PR changes and the Ghidra tests that main changed — 590 passed, 3 skipped.
  • Real Ghidra 12.1.4 in the Debian 13 container described below: npm run verify:ghidra:riscv — passed ("mocked": false, cleanup complete).

The checks below ran on the previous head ba174afe6, which merges main 6e9ee97a6.

  • macOS arm64 (Darwin 25.5.0), Node 24.22.1, npm 11.19.1:
    • npm run check:fast, format:check, docs:check (built steps executed) and verify:module-boundaries — passed.
    • npx knip — one finding, the unused exported type DarwinHelperCache (src/process/DarwinHelperCache.ts:465). knip on a built main 6e9ee97a6 prints the same output, so this PR adds none.
    • npm run test:focused -- 22 files: the 4 test files this PR changes, the other RISC-V test files, and tests of the code it shares with main's latest changes — 948 passed, 4 skipped (Windows-only).
  • Real Ghidra 12.1.4 in a Debian 13 container (Linux x86_64; OpenJDK 21.0.12, Node 24.22.1, Debian's LLVM 19.1.7; npm ci --ignore-scripts), on ba174afe6:
    • npm run verify:ghidra:bridge-sources — passed: javac 21.0.12 compiles all 11 bridge sources against Ghidra's 195 jars.
    • npm run verify:ghidra:riscv — passed for both ABIs: "mocked": false, cleanup complete, process lineage verified with no descendants. The typed ilp32f build has the compiler's storage at all 13 calls of both callers, the stripped builds return where the tables say, and the unmodelled build is refused with its three signatures named. Per fixture below.
    • npm run verify:ghidra:mips — passed, run because this PR changes the shared handshake's failure message: all six fixtures, including the soft-float pair with __rea_soft_float; process lineage verified with no descendants.
  • Both hosts' installs differ from the lockfile only in the transitive fast-uri 3.1.8 and qs 6.16.0 (lockfile: 3.1.9 and 6.16.1).
  • Not run: real Ghidra on macOS or Windows.
Lane results per fixture on ba174af
  • RV32 and RV64 double-float: the unchanged lanes. RV32 relabelled 0x1 and 0x3 is admitted over MCP and the CLI through the soft- and single-float lanes; RV64 0x1 (lp64), 0x3 (lp64f) and 0x80000005 are refused.
  • RV32 ilp32, typed and stripped (ESP32-C3's -march): unchanged from feat(ghidra): admit RISC-V ilp32 ELF with a derived calling convention #8229. 13 functions, with 12 and 0 function definitions; the soft-float image relabelled 0x3 lacks F and is refused.
  • RV32 ilp32f, typed (ESP-IDF 5.5's ESP32-H4 -march=rv32imafc_zicsr_zifencei): the single-float lane and ilp32f-prototype-v1. fence.i, csrr, fmv.w.x and fmv.x.w decode. Every inspect_native_api prototype uses __rea_ilp32f with the table's storage, for example fa0:4,a0:4 for the flagged structure, a0:4,fa0:4 for the tagged one, and the integer pair a1:4,a0:4 for a double. 16 functions and 16 function definitions use the prototype; 0x80000003 is refused.
  • RV32 ilp32f, stripped: the same allocated bytes. Ghidra's inferred storage matches the table: one word per location, except the recorded tagged, flagged and fill. Returns are in the typed registers, except tagged at a0:4 and flagged at a0:1, which leave their float in fa0. 16 functions and 0 function definitions.
  • Unmodelled build: admitted by its headers, then refused over MCP and the CLI with the bridge's reason, which names its three signatures.
  • Call-site oracles: LLVM 19.1.7 llvm-objdump places every expected word for the 10 ilp32 calls and the 13 ilp32f calls, in integer and float registers and on the stack.
  • Snapshots save and replay, CLI and MCP agree, and source bytes are unchanged for every fixture.

Compatibility, safety, and release

  • Breaking changes or migration steps: none. Admission widens; the changed refusal texts are listed above.
  • Real Hopper/Ghidra, browser, or OS coverage: real Ghidra 12.2 with JDK 25 on Linux x86_64; earlier runs used Ghidra 12.1.4, which main no longer accepts; no Hopper.
  • Package or release metadata impact: none.
  • Security, privacy, process, or containment review: no new authority.

Author readiness

Human owner: @Entrpi

  • I reviewed the final diff and relevant existing code, understand the change and its edge cases, and take responsibility for the complete PR, including AI-assisted work.
  • I checked the evidence above, confirmed it supports the current change, and recorded meaningful validation gaps.
  • I declare this PR ready for initial maintainer review.

Before merge

  • This PR addresses a concrete problem or an agreed enhancement.
  • Material scope and authority questions are resolved, and any required maintainer scope decision covers the final diff.
  • The PR has one focused outcome and the title follows type(scope): outcome.
  • Related issue is linked, or the reason for not linking one is stated above.
  • Tests cover changed observable behavior and meaningful failure paths.
  • Owning docs, contracts, and generated metadata are updated where needed.
  • User-visible CLI/MCP changes include representative output.
  • I checked the final diff for secrets, unrelated cleanup, and unsupported claims.

Entrpi added 20 commits October 28, 2026 10:36
Decision D3 (morluto#7477), provisional: admit ELF32 soft-float (ilp32) RISC-V
images through a lane that keeps the pinned RISCV:LE:32:default language and
corrects the calling convention in the bridge.

This commit is the contract only; admission is unchanged.

- The domain owns the e_flags float-ABI vocabulary and parses
  .riscv.attributes and Tag_RISCV_arch into a declared, absent or
  unavailable ISA declaration.
- The Ghidra profile owns the lane table (class and float ABI), lane ids
  built from fields, the ilp32-prototype-v1 policy and its __rea_ilp32
  prototype, and the extensions Ghidra 12.1.4 decodes with p-code.
- The session handshake accepts the bridge's calling-convention report.
- docs/ghidra-riscv.md keeps the decision record and per-ABI policies for
  ilp32 and ilp32f; a test keeps it in step with the tables.
- tests/conformance/c/riscv-float-abi.c is the source the policies were
  measured on.
ESP32-C2, C3, C5, C6, C61, H2 and H21 builds are ELF32 soft-float (ilp32)
images, which the RISC-V lane refused at its double-float check. Ghidra
12.1.4's generic RV32 compiler specification models ilp32d, so its stock
prototype would read float and double arguments from fa0-fa7.

- Target resolution reads the one SHT_RISCV_ATTRIBUTES section through the
  same bounded ELF declaration reader as range validation, and records
  Tag_RISCV_arch as declared, absent or unavailable.
- Admission selects a lane from the class and float-ABI table. The soft-float
  lane also requires an RV32I Tag_RISCV_arch that declares only extensions
  Ghidra decodes with p-code; the refusal names any others (Zcb, Zcmp, Zcmt,
  Zb*, xesp*).
- Soft-float profiles commit float_abi, arch, riscv_calling_convention
  ilp32-prototype-v1 and the lane elf32-exec-le-soft-float-generic-v1.
  Double-float profiles are unchanged.
- ReaGhidraRiscvCallingConvention.java runs after analysis. It derives
  __rea_ilp32 from the default prototype without floating-point entries and
  rules, with fs0-fs11 killed by calls, self-checks its storage and assigns
  it to every non-thunk function, external function and function
  definition. Its report is written last.
- The provider client requires that report exactly when the profile commits
  the policy, before any operation, and keeps it as session limitations and
  caller-project history.

ELF32 single-float (ilp32f), quad-float and ELF64 soft- or single-float
images stay refused, now with a reason built from the lane table.
verify:ghidra:riscv now also builds tests/conformance/c/riscv-float-abi.c
with ESP32-C3's -march=rv32imc_zicsr_zifencei -mabi=ilp32, typed with DWARF
and linked again with --strip-all. Every allocated section of the stripped
image must keep its address and bytes.

- riscv-checks.mjs holds the ilp32 storage of each fixture function together
  with the words the compiler's call site writes there. An LLVM objdump
  reading of the caller must find every word at its stated location: an
  unaligned named double, the a7/stack split, two floats in an integer pair,
  a large structure by reference, aligned variadic pairs and an indirect
  call.
- Through CLI and stdio MCP, the soft-float builds must report the soft-float
  lane and ilp32-prototype-v1, __rea_ilp32 with exactly that storage (one
  integer word per location when stripped), caller pseudocode that passes the
  source constants and names no floating-point register, the prototype
  outcome in retained Evidence, and decoded fence.i and csrr.
- The RV32 double-float image relabelled as soft-float, refused before, is
  admitted through the new lane. RV64 soft-float, single-float and unsupported
  bits are refused with their reasons.
- riscv-checks.test.ts runs the checks offline against recorded LLVM and
  Ghidra output, including Ghidra's stock ilp32d prototypes as a negative
  control.
The psABI passes any value wider than 2 x XLEN by reference, scalars
included. __rea_ilp32 converted only structures and unions over 8 bytes to
pointers, so a long double (16 bytes) was joined into a1-a4. Measured on
Ghidra 12.1.4, rea_riscv_abi_quad(long double value, int sel) read value
from a4:4,a3:4,a2:4,a1:4 and sel from a5, where clang passes a pointer in
a1 and sel in a2.

- ReaGhidraRiscvCallingConvention.java now has one derivation driven by a
  per-policy row (floating-point entry size, preserved floating-point
  registers). Every policy inserts a rule before the input list's final
  join that converts any value of 9 bytes or more to a pointer; a return
  that size already becomes a caller buffer. The self-check requires a
  16-byte value to pass by reference.
- The fixture gains rea_riscv_abi_quad. The call-site oracle now checks the
  words the by-reference pointers point at, for the large structure and the
  long double, and the recorded data comes from an LLVM 19 build.
- docs/ghidra-riscv.md: the decision record and the ilp32 policy row.

ilp32-prototype-v1 keeps its id: no release carries it yet.
Decision D3 (morluto#7477), provisional, gains its ilp32f row: ELF32 images that
declare the single-float ABI are admitted through the lane
elf32-exec-le-single-float-generic-v1 with policy ilp32f-prototype-v1 and
the __rea_ilp32f prototype, keeping the pinned RISCV:LE:32:default language.

- The lane table gains the row, and admission requires the F extension in
  Tag_RISCV_arch beside the decoded-extension check.
- docs/ghidra-riscv.md records how the one-float-one-integer rule is
  realised: the shared derivation's row limits float entries to 4 bytes,
  keeps fs0-fs11 preserved and adds Ghidra 12.1.4's join_dual_class with
  fillalternate for structures of up to 8 bytes. The prototype is the only
  thing that assigns storage: a check of every typed function and
  function-pointer type against the psABI refuses the image when one uses a
  shape the prototype misplaces (a float with two shorts, a pointer or a
  union, _Float16, packed or over-aligned float structures). float _Complex,
  which Ghidra imports as a qword, stays unmodelled. Custom storage for typed
  functions and an unverified-signature admission are recorded alternatives.
- The session report for ilp32f can carry the bridge's refusal instead of
  the outcome; the handshake turns it into the user-facing reason.
- tests/conformance/c/riscv-float-abi.c gains single-float-only shapes and a
  refused variant; the ilp32 build's code is unchanged.

Until the bridge implements the policy (next commit), its post-analysis
script rejects the new policy id and REA refuses ilp32f sessions.
ReaGhidraRiscvCallingConvention.java gains ilp32f-prototype-v1 as a row of
its one derivation: float entries limited to 4 bytes, fs0-fs11 preserved,
and structures that Ghidra's dual-class join splits between register files.
The ilp32 row and its checks are unchanged.

- For that row the derivation inserts, before the input and output lists'
  final join, a rule giving structures of up to 8 bytes join_dual_class
  with fillalternate. The shared rule still passes values of 9 bytes or
  more by reference.
- The self-check also pins the storage of a float, double, two-float and
  float-and-int signature, and requires fs0-fs11 preserved.
- After assigning the prototype to every function and function definition,
  the script compares the storage class it gives each signature type, as a
  first argument or return, with the psABI's from the flattened fields. It
  checks every typed function and every definition a pointer type refers
  to. When any signature uses a shape the prototype misplaces, the report
  carries a refusal naming up to eight signatures instead of the outcome,
  and REA refuses the session with that reason.

The launcher test covers both policy ids.
verify:ghidra:riscv now also builds tests/conformance/c/riscv-float-abi.c
with ESP32-H4's -march=rv32imafc_zicsr_zifencei -mabi=ilp32f, typed with
DWARF and linked again with --strip-all, and a typed build with
REA_RISCV_ABI_UNMODELLED that the bridge must refuse.

- riscv-checks.mjs holds per-ABI tables: the ilp32 and ilp32f storage of
  each fixture function with the words its caller's call site writes there
  (and, for by-reference values, the words the pointer points at), the
  callers, and the indirect calls. Stripped builds record where Ghidra's
  inference differs from one word per typed location.
- The objdump call-site oracle now follows fa registers (flw, fsw, fmv.w.x)
  and tracks stack memory per byte, so word loads see byte and halfword
  stores, across both callers.
- Through CLI and stdio MCP the single-float builds must report the lane,
  ilp32f-prototype-v1 and __rea_ilp32f with the table's storage, including
  float-and-integer structures both ways round, float registers running
  out, long double by reference and an indirect float-and-integer call.
- riscv-isa-probe.S adds fmv.w.x and fmv.x.w when the build has F.
- The unmodelled build opens, then its first analysis call over MCP and the
  CLI fails with the bridge's reason naming its three signatures: a
  function passing a three-field structure, a _Float16 function and a
  function-pointer type passing the three-field structure.
- Header mutations: RV32 double-float relabelled single-float is admitted;
  the soft-float image relabelled single-float lacks F and is refused; RV64
  lp64f and high bits are refused.
The limitation tests froze a full explanatory sentence, the note count and
array positions, so a harmless rewording failed them: the pattern Greptile
flagged on morluto#7486. Assert the facts the notes must carry instead: the pinned
language, the static-linkage boundary, one note naming the declared ABI,
the ABI the pinned language models and the prototype REA applies, and the
declared ISA.
Like the ilp32 tests, the ilp32f test froze its explanatory sentence, the
note count and array positions. Assert one note naming the declared ilp32f
ABI, the modelled ilp32d and the applied `__rea_ilp32f` prototype, and the
declared ISA.
Takes main d48e472, which includes the squash merges of morluto#7481-morluto#7485.

Conflict, resolved: GhidraRiscvProfile.test.ts imports this branch's lane
and policy tables plus ghidraRiscvUnsupportedReason, which morluto#7484's
refusal-table assertions use; embedded-integration holds the same list.
morluto#7484's readback test merges cleanly and appears once.
The stripped branch of assertRiscvIlp32Storage compared parameter storage
only, so an inferred return that lost the high word of a register pair,
such as rea_riscv_abi_wide at a0:4 instead of a1:4,a0:4, still passed.

Stripped returns must now use the typed build's storage, or none when the
result goes through caller memory. Recovered type names are still not
compared: a test accepts other type names and refuses the dropped high word.
Takes ilp32 d02fc6b: main d48e472 and the check of stripped return
storage.

Conflicts, resolved by keeping both rules:
- riscv-checks.mjs: stripped functions get one inferred word per parameter
  location and the typed return storage (none for caller-memory results),
  unless the table records what Ghidra infers instead. The table's
  `stripped` is now { return, parameters }; the recorded ilp32f output
  gives tagged a0:4 and flagged a0:1, which leave their float in fa0.
- docs/ghidra-riscv.md: ilp32f's text for both builds, with the stripped
  return storage.

Semantic fixes: the new return-storage message names the function, not the
ABI; the ilp32 test of it uses assertRiscvStorage; an ilp32f test refuses a
stripped pair return that loses its high word, through a helper that keeps
the ilp32f block under oxlint's 150-line limit.
Takes ilp32 d8ae325, which records decision D3 as decided in morluto#7477. The merge is clean.
e6d0618 (morluto#8228) is the parent of morluto#8229's squash e669365, which the next merge records. The merge is clean.
Recorded with -s ours: this branch already holds morluto#8229's final head d8ae325, and git patch-id --stable of the squash equals that of d8ae325's own patch (7bc824d8360616b7).
The merge is clean. Main's changes to GhidraRiscvProfile.test.ts (morluto#8295), GhidraProviderClient.ts and docs/testing.md touch other regions than this branch.
@greptile-apps

greptile-apps Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5 Tier: plus

[Medium impact] The documentation update appears safe to merge, with no outstanding numbered findings.

Summary

Adds the RISC-V ilp32f lane with __rea_ilp32f, checks unsupported signature shapes, and carries refusal reasons to users. The latest update removes design-record material from the guide while keeping implemented behavior and compatibility requirements.

  • Eligible RISC-V images with ilp32f now enter their own Ghidra lane.
  • Ghidra places ilp32f values in matching integer and float registers.
  • Ghidra stops RISC-V analysis when DWARF names a source language it cannot model.

Reviews (25) · Last reviewed commit: "docs(ghidra): keep RISC-V guide focused ..." · Reviewed by Greptile

@morluto
morluto marked this pull request as ready for review November 1, 2026 04:23
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-24T16:09:09.715011Z
We couldn’t complete this review. Comment @codex review to try again.
124737f New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ba174afe69

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@Entrpi

Entrpi commented Nov 1, 2026

Copy link
Copy Markdown
Contributor Author

Disclosure: this PR's H4 evidence was measured while Ghidra 12.1.4 loaded ESP-IDF's .flash.text into an overlay address space, which its DWARF import does not reach (#8461). The signature refusal check therefore saw DWARF types for IRAM functions only: 272 of H4's 278 DWARF-described flash functions had no imported signature. The fix, #8464, moves flash code into the default address space; once it lands, this branch will merge it and measure H4 again.

…ture

Ghidra imports a C++ empty class as a one-byte structure without
components, so the unexplained-bytes check counted its byte as an omitted
field. A structure such as `struct S { E e; char c; float f; }` was then
UNKNOWN and refused the whole ilp32f image, although GCC 14.2 (ESP-IDF)
and Clang 21.1.8 ignore the member when flattening and pass S in a0 and
fa0, the storage the derived float-and-integer rule gives it.

The check now treats a one-byte structure without components as that
storage. A nonzero array of empty classes still uses the integer
convention and stays refused. The unmodelled fixture gains
rea_riscv_abi_member, which the real-Ghidra verifier requires to be
admitted, and the guide names the shape.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b44d7781c1

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

… the C psABI

Both RISC-V calling-convention policies apply a C psABI prototype to every
function, so code from a language with another calling convention, such as
Rust's default ABI, was silently given the wrong storage. Before either
policy installs its prototype, the bridge now reads the image's DWARF once
and refuses the image when a compile unit outside C, C++ and assembly, or
one without DW_AT_language, defines a function with code, naming each
language. The same pass collects the old-style C definitions the ilp32f
check needs, which were read lazily before. This also changes main's ilp32
policy, which had no refusal path. Code that no DWARF compile unit
describes cannot be checked, and every session that applies a policy now
states that limitation.
…ed Rust

The real RISC-V lane rewrites the DW_AT_language of each C compile unit in
the typed soft- and single-float builds to Rust, with a bounds-checked
reader of the units' abbreviations, and checks that each policy refuses the
image and names the language. The unlabelled builds are the controls.
…their parts

The psABI puts each flattened field of a structure passed in float
registers at bit 0 of its own register, while __rea_ilp32f's dual-class
join gives each register a 4-byte part of the value as laid out in memory.
Both agree only when every such field starts its part. A C++ empty member
keeps its byte although the psABI ignores it as a field, so the char of
struct { E e; char c; float f; } passes in bits 0-7 of a0 while the
prototype reads bits 8-15; the policy compared only storage classes, which
match, and admitted it. Flattening now records each field's bit position,
and a value whose float-register fields do not each start their own part
is refused, which also covers packed layouts and bit-fields above bit 0.
The unmodelled fixture's caller now shows where the compiler puts that char.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8be5cb81dc

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 166fbd2a86

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread src/ghidra/GhidraRiscvProfile.ts Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 839a62d0ba

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread src/ghidra/GhidraRiscvProfile.ts Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 525300a512

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread src/ghidra/GhidraRiscvProfile.ts Resolved
@morluto morluto added area: native Native analysis and decompilation, including Ghidra, IDA, and Hopper analysis behavior enhancement New feature or request provider: ghidra Analysis provider / engine: ghidra labels Nov 23, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@morluto
morluto enabled auto-merge (squash) November 24, 2026 14:00
# Conflicts:
#	docs/providers/ghidra-riscv.md
#	scripts/verify-real-ghidra-riscv.mjs
#	src/ghidra/GhidraProviderClient.ts
#	src/ghidra/GhidraRiscvProfile.ts
#	src/ghidra/GhidraSessionValues.ts
#	tests/boundary/providers/ghidra/ghidraLauncher.test.ts
#	tests/conformance/ghidra/riscv-fixture.mjs
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Comment thread docs/providers/ghidra-riscv.md Resolved
# Conflicts:
#	tests/boundary/providers/ghidra/ghidraLauncher.test.ts
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@morluto
morluto merged commit d8aadcc into morluto:main Nov 24, 2026
54 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: native Native analysis and decompilation, including Ghidra, IDA, and Hopper analysis behavior enhancement New feature or request provider: ghidra Analysis provider / engine: ghidra

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Design] Admit RISC-V ilp32 and ilp32f ELF in the Ghidra lane with a per-ABI calling-convention policy

3 participants