Skip to content

Releases

kuna v1.1007

Choose a tag to compare

@github-actions github-actions released this 26 Nov 16:38
f512b42

Each archive ships kuna, one self-contained binary: the decompiler console and the SLEIGH compiler are built in, and so are the compiled SLEIGH specs (unpacked once into the user cache directory on first use). kuna-v1.1007-specs.tar.gz is the same spec tree, for KUNA_SPECS. See docs/release.md.

kuna-v1.1007-KunaDecompiler-ghidra_12.1.2.zip is the ready-to-install KunaDecompiler extension for Ghidra 12.1.2 (in Ghidra: File -> Install Extensions... -> + -> pick the zip -> restart -> enable KunaDecompilerPlugin). It bundles prebuilt kuna_ghidra backends for Linux x86_64/arm64, macOS x86_64/arm64, and Windows x86_64, so it installs fully airgapped: the Ghidra release zip plus this zip are the only two files needed -- no network, no Rust toolchain. The zip is version-locked to Ghidra 12.1.2; other Ghidra 12.x versions can choose "Install Anyway" at the version-mismatch dialog (compatibility unverified).

What's Changed

  • [AUTOMATED] Name PPC32 PIC imports in the aggressive preset auto selects under 500 KiB by @phix33 in #1961
  • [AUTOMATED] Print one || guard and a return in each arm where optimized code shares a return block (returndup auto) by @mahaloz in #1965
  • [AUTOMATED] Print one loop where gcc copied a loop's step and test into both paths (dedupitetail latch) by @mahaloz in #1966
  • [AUTOMATED] Print a byte converted to bool as a comparison and Boolean constants as false/true in Rust output by @mahaloz in #1967
  • [AUTOMATED] Print a signed power-of-two division corrected by a conditional move as the division by @mahaloz in #1973
  • [AUTOMATED] Print one return of a short-circuit test where a function only tests it (boolbranch return) by @mahaloz in #1974
  • [AUTOMATED] Keep the NULL comparison of a pointer tested inside && / || (truthycond ptrchain) by @mahaloz in #1975
  • [AUTOMATED] fix(analysis): keep gap-walk starts out of the code a PPC64 ELFv1 symbol sizes by @phix33 in #1976
  • [AUTOMATED] Print a compiler-merged range test as its two comparisons (option rangetest) by @mahaloz in #1979
  • [AUTOMATED] Keep 32-bit-address rep string loops on x86-64 by @sjkim1127 in #1981
  • [AUTOMATED] Print a chain of tests into one no-return call as one if (condfold noreturn) by @mahaloz in #1982
  • [AUTOMATED] Fold a chain of tests into one ordinary error block in optimized code (condfold auto) by @mahaloz in #1983
  • [AUTOMATED] Speed up structuring: identify only the loops the region structurer reads, and do not repeat known structurings by @mahaloz in #1986
  • [AUTOMATED] Report indirect-jump fallback only for surviving calls by @thotypous in #1984
  • [AUTOMATED] Preserve explicit integer stack-pointer parameters by @thotypous in #1988
  • [AUTOMATED] Load big-endian Octeon ELF32 images that declare O64 or no ABI as Octeon O64 by @phix33 in #1987
  • [AUTOMATED] Let disassemble, read, and raw-pcode open headerless images by @thotypous in #1991
  • [AUTOMATED] Let data assertions name a processor address space by @thotypous in #1992
  • [AUTOMATED] Keep numeric word indexes separate from pointers by @thotypous in #1990
  • [AUTOMATED] fix(analysis): bound 24-byte PPC64 ELFv1 functions and keep the starts a call or descriptor names by @phix33 in #1993
  • [AUTOMATED] Follow explicit same-instruction call continuations by @thotypous in #1989
  • [AUTOMATED] Type a parameter read only at field offsets of 0x1000 or more as a pointer by @phix33 in #1994
  • [AUTOMATED] Keep word-addressed stack values numeric without pointer use by @thotypous in #1996

Full Changelog: v1.1006...v1.1007

kuna v1.1006

Choose a tag to compare

@github-actions github-actions released this 25 Nov 17:00
fb88f58

Each archive ships kuna, one self-contained binary: the decompiler console and the SLEIGH compiler are built in, and so are the compiled SLEIGH specs (unpacked once into the user cache directory on first use). kuna-v1.1006-specs.tar.gz is the same spec tree, for KUNA_SPECS. See docs/release.md.

kuna-v1.1006-KunaDecompiler-ghidra_12.1.2.zip is the ready-to-install KunaDecompiler extension for Ghidra 12.1.2 (in Ghidra: File -> Install Extensions... -> + -> pick the zip -> restart -> enable KunaDecompilerPlugin). It bundles prebuilt kuna_ghidra backends for Linux x86_64/arm64, macOS x86_64/arm64, and Windows x86_64, so it installs fully airgapped: the Ghidra release zip plus this zip are the only two files needed -- no network, no Rust toolchain. The zip is version-locked to Ghidra 12.1.2; other Ghidra 12.x versions can choose "Install Anyway" at the version-mismatch dialog (compatibility unverified).

What's Changed

  • [AUTOMATED] Break guard-arm ties by code layout only in unoptimized functions (guardarm auto) by @mahaloz in #1914
  • [AUTOMATED] Let callers specify the taken targets of a computed jump by @phix33 in #1915
  • [AUTOMATED] Keep the argument a caller loads after the registers it forwards by @sjkim1127 in #1924
  • [AUTOMATED] Keep a pushed pad out of an int stack argument (Part of #1916) by @sjkim1127 in #1927
  • [AUTOMATED] Decide the function-tail form with saved logistic weights (tailform model) by @mahaloz in #1932
  • [AUTOMATED] Connect an unprototyped call's double result read from a whole xmm0 by @sjkim1127 in #1929
  • [AUTOMATED] Reject stated jump destinations whose labels depend on the load address or code segment by @phix33 in #1933
  • [AUTOMATED] Reject stated jump destinations that enter another declared function by @phix33 in #1934
  • [AUTOMATED] Keep the arguments a declared fixed caller's callee reads past its saved r3 by @sjkim1127 in #1935
  • [AUTOMATED] Declare the helpers and operations a project export calls, on request by @kanonl125 in #1930
  • [AUTOMATED] Leave out the ARM register-shift range guard when the count cannot reach 32 (option armshiftguard) by @mahaloz in #1939
  • [AUTOMATED] Keep the arguments a callee reads past a caller's r3 alignment pad by @sjkim1127 in #1937
  • [AUTOMATED] Return the value callers read even when the function also stores or loads through it by @mahaloz in #1940
  • [AUTOMATED] x86-64: ignore a REX prefix that a legacy prefix follows by @kanonl125 in #1938
  • [AUTOMATED] Print the returns an unoptimized function was written with (returndup auto) by @mahaloz in #1941
  • [AUTOMATED] Print the ?: or if/else an unoptimized function was written with (iteregion auto) by @mahaloz in #1943
  • [AUTOMATED] Decode Motorola S-records independently of target architecture by @thotypous in #1942
  • [AUTOMATED] Decode indexed IEEE-695 and TIOF modules by @thotypous in #1944
  • [AUTOMATED] Decode Intel HEX records independently of target architecture by @thotypous in #1945
  • [AUTOMATED] Make an export that calls through a jump stub compile by @kanonl125 in #1946
  • [AUTOMATED] Bind glibc's void declaration at a MIPS import its symbol version ties to glibc by @phix33 in #1950
  • [AUTOMATED] Set the ARM vcmp carry for unordered operands by @sjkim1127 in #1951
  • [AUTOMATED] Make an export that calls an import through its GOT slot compile by @kanonl125 in #1952
  • [AUTOMATED] Print the switch or if/else-if chain an unoptimized function was written with (loweredswitch auto) by @mahaloz in #1953
  • [AUTOMATED] Speed up the PPC32 abi import proof without changing its result by @phix33 in #1955
  • [AUTOMATED] Name every PowerPC64 ELFv2 PLT call stub form GNU ld and lld write by @phix33 in #1954
  • [AUTOMATED] Print ARM register shifts unguarded except in a lowered 64-bit shift (armshiftguard wide, new default) by @mahaloz in #1956
  • [AUTOMATED] Keep the tests an -O0 function wrote as separate continue/break statements apart by @mahaloz in #1958
  • [AUTOMATED] Make the saved tail-form weights the default (tailform model) by @mahaloz in #1957
  • [AUTOMATED] [PROPOSAL] shared-project-export: export the same C from the browser as from decompile-project by @kanonl125 in #1960
  • [AUTOMATED] Report the bytes each decompiled function decodes, and the binary's code coverage by @kanonl125 in #1959
  • [AUTOMATED] Drop more rotation guards and test more loops at the top when it is provably the same program (looptest) by @mahaloz in #1963
  • [AUTOMATED] Note when a PPC32 PIC image's imports stay unnamed without ppc32picimports abi by @phix33 in #1962
  • [AUTOMATED] Make the test that is a loop's condition the loop's exit (loopcondhoist off|auto|on, default on) by @mahaloz in #1964

New Contributors

Full Changelog: v1.1005...v1.1006

kuna v1.1005

Choose a tag to compare

@github-actions github-actions released this 23 Nov 17:39
3830f17

Each archive ships kuna, one self-contained binary: the decompiler console and the SLEIGH compiler are built in, and so are the compiled SLEIGH specs (unpacked once into the user cache directory on first use). kuna-v1.1005-specs.tar.gz is the same spec tree, for KUNA_SPECS. See docs/release.md.

kuna-v1.1005-KunaDecompiler-ghidra_12.1.2.zip is the ready-to-install KunaDecompiler extension for Ghidra 12.1.2 (in Ghidra: File -> Install Extensions... -> + -> pick the zip -> restart -> enable KunaDecompilerPlugin). It bundles prebuilt kuna_ghidra backends for Linux x86_64/arm64, macOS x86_64/arm64, and Windows x86_64, so it installs fully airgapped: the Ghidra release zip plus this zip are the only two files needed -- no network, no Rust toolchain. The zip is version-locked to Ghidra 12.1.2; other Ghidra 12.x versions can choose "Install Anyway" at the version-mismatch dialog (compatibility unverified).

What's Changed

  • [AUTOMATED] Return a lazy accessor's cache cell (option cachereturn, default on) by @coleleavitt in #1875
  • [AUTOMATED] Name a jump thunk after its target (option thunknames, default on) by @coleleavitt in #1879
  • [AUTOMATED] Name Swift vtable slots from their @objc thunks by @coleleavitt in #1861
  • [AUTOMATED] Name and type Swift value witness functions (option valuewitness, default on) by @coleleavitt in #1873
  • [AUTOMATED] swift: name metadata instantiation helpers and lazy witness table accessors; type accessor results by @coleleavitt in #1874
  • [AUTOMATED] passthrough: keep a forwarded register carried past calls that leave it alone by @coleleavitt in #1884
  • [AUTOMATED] voidret: a returned value its function also indexes with is returned by @coleleavitt in #1885
  • [AUTOMATED] Name and type the outlined Swift value-witness helpers (valuewitness) by @coleleavitt in #1882
  • [AUTOMATED] [PROPOSAL] Recover verified Go string inputs by @mahaloz in #1772
  • [AUTOMATED] [PROPOSAL] Recover declared Go mixed register results by @mahaloz in #1780
  • [AUTOMATED] [PROPOSAL] Preserve explicit Go by-value record inputs by @mahaloz in #1784
  • [AUTOMATED] [PROPOSAL] Recover named Go small-map results by @mahaloz in #1776
  • [AUTOMATED] [PROPOSAL] diffverify: differential semantic checking with z3, QEMU and kuna by @sjkim1127 in #1714
  • [AUTOMATED] [PROPOSAL] Recover verified Go closure context by @mahaloz in #1774
  • [AUTOMATED] [PROPOSAL] Preserve one native 16-byte frame store as shared backing by @mahaloz in #1782
  • [AUTOMATED] [PROPOSAL] Restore learned Go results from a project export by @mahaloz in #1788
  • [AUTOMATED] [PROPOSAL] Preserve i386 stack continuations before return normalization by @mahaloz in #1790
  • [AUTOMATED] docs: how to add or change a SLEIGH processor spec by @sjkim1127 in #1766
  • [AUTOMATED] Expose omitted direct-call destinations in xrefs JSON by @morluto in #1698
  • [AUTOMATED] fix(analysis): include callers through an export’s ARM or PowerPC PLT entry by @phix33 in #1826
  • [AUTOMATED] Honor section-relative instruction slots in function discovery by @phix33 in #1844
  • [AUTOMATED] Preserve word-addressed dispatch selectors and multistage targets by @phix33 in #1765
  • [AUTOMATED] feat(cli): explain unsupported PowerPC64 isel in raw p-code by @phix33 in #1825
  • [AUTOMATED] Honor embedded PowerPC32 ELF requirements and decode ISEL by default by @phix33 in #1827
  • [AUTOMATED] Add an explicit soft-float O64 target for big-endian Octeon ELF32 by @phix33 in #1828
  • [AUTOMATED] Preserve Octeon kernel scratch registers across CP0 transfers by @phix33 in #1831
  • [AUTOMATED] Model additional Octeon kernel scratch registers by generation by @phix33 in #1832
  • [AUTOMATED] Reuse decoded .sla and .ldefs scans across datatest bootstraps by @sjkim1127 in #1836
  • [AUTOMATED] Cap native test runs and skip a hanging ASan runtime by @sjkim1127 in #1867
  • [AUTOMATED] Report the macOS resident set so --max-fn-memory works there by @sjkim1127 in #1868
  • [AUTOMATED] fix(console): reject assertion storage names the target does not define by @phix33 in #1856
  • [AUTOMATED] Keep a tested call argument in a function with six parameters by @sjkim1127 in #1889
  • [AUTOMATED] Return a call's declared int, not the clobbered rest of its register by @sjkim1127 in #1896
  • [AUTOMATED] fix(p3): keep the argument a caller passes in a callee's stated return register by @phix33 in #1857
  • [AUTOMATED] fix(analysis): keep every argument of memset_s and the other Annex K bounds-checked calls by @phix33 in #1843
  • [AUTOMATED] Keep calls after a declared __stdcall import from losing their arguments by @mahaloz in #1663
  • [AUTOMATED] Keep the sign-flag polarity when folding SBORROW compares by @sjkim1127 in #1833
  • [AUTOMATED] Keep the unordered case of ARM and AArch64 float compare flags by @sjkim1127 in #1890
  • [AUTOMATED] feat(p3): keep a constant integer store into a byte array at its native width (bytestorewidth, opt-in) by @phix33 in #1858
  • [AUTOMATED] Pass forwarded registers to a callee that stated no prototype by @sjkim1127 in #1835
  • [AUTOMATED] Pass the float argument register an unstated callee reads by @sjkim1127 in #1891
  • [AUTOMATED] Keep registers a decoded leaf callee leaves alone live across the call by @sjkim1127 in #1892
  • [AUTOMATED] Keep frame stores live when a frame address is published to memory by @sjkim1127 in #1834
  • [AUTOMATED] fix(p2): follow computed PPC32 link-register transfers by @phix33 in #1692
  • [AUTOMATED] Print a rotated loop with its test at the top when that is provably the same program (option looptest) by @mahaloz in #1899
  • [AUTOMATED] Preserve indirect exits from re-entered jump tables by @phix33 in #1786
  • [AUTOMATED] Stop discovering function entries in the middle of real functions on stripped ARM images by @mahaloz in #1900
  • [AUTOMATED] Print a switch's default and no-return arms last, and no default: return; at the end of a void function by @mahaloz in #1903
  • [AUTOMATED] Write the Thumb stmia base back when the base is in the list by @sjkim1127 in #1901
  • [AUTOMATED] Fold the x86-64 System V variadic register-save prologue into a variadic prototype by @mahaloz in #1898
  • [AUTOMATED] Keep the if of a branch instruction that selects 1 or 0 (option boolbranch, default keep) by @mahaloz in #1905
  • [AUTOMATED] Print a rotated counted loop's != latch as the ordering test its guard checks (looptest) by @mahaloz in #1906
  • [AUTOMATED] Print a function-tail if wrapped or as a guard clause by the size of its tail (option tailform) by @mahaloz in #1902
  • [AUTOMATED] Sign-extend AArch64 W-register byte and halfword loads to 32 bits by @sjkim1127 in #1907
  • [AUTOMATED] Set C from the shifter in Thumb-2 ands, bics, movs and mvns by @sjkim1127 in #1909
  • [AUTOMATED] Pass a call's result on to the tail call that reads it by @sjkim1127 in #1908
  • [AUTOMATED] Restore the load-option environment before each datatest file by @sjkim1127 in #1910
  • [AUTOMATED] Re-roll small compare-lowered switches by default (loweredswitch) by @mahaloz in #1904
  • [AUTOMATED] Print a function tail that ends in a no-return call with that call as the if body (tailform) by @mahaloz in #1912
  • [AUTOMATED] Give an expanded-load AND test an output of its widened size by @sjkim1127 in #1911
  • [AUTOMATED] Never print a folded switch where a condition belongs by @mahaloz in #1913

Full Changelog: v1.1004...v1.1005

kuna v1.1004

Choose a tag to compare

@github-actions github-actions released this 22 Nov 14:17
c847970

Each archive ships kuna, one self-contained binary: the decompiler console and the SLEIGH compiler are built in, and so are the compiled SLEIGH specs (unpacked once into the user cache directory on first use). kuna-v1.1004-specs.tar.gz is the same spec tree, for KUNA_SPECS. See docs/release.md.

kuna-v1.1004-KunaDecompiler-ghidra_12.1.2.zip is the ready-to-install KunaDecompiler extension for Ghidra 12.1.2 (in Ghidra: File -> Install Extensions... -> + -> pick the zip -> restart -> enable KunaDecompilerPlugin). It bundles prebuilt kuna_ghidra backends for Linux x86_64/arm64, macOS x86_64/arm64, and Windows x86_64, so it installs fully airgapped: the Ghidra release zip plus this zip are the only two files needed -- no network, no Rust toolchain. The zip is version-locked to Ghidra 12.1.2; other Ghidra 12.x versions can choose "Install Anyway" at the version-mismatch dialog (compatibility unverified).

What's Changed

  • [AUTOMATED] Name a stripped Mach-O stub from the chained bind on its slot (option stubbinds, default on) by @coleleavitt in #1840
  • [AUTOMATED] Mach-O: a symbol-pointer slot of a data import is not a function (machodataslots) by @coleleavitt in #1846
  • [AUTOMATED] Keep the arguments staged after a register a trampoline callee fills itself (option calleefilledarg) by @coleleavitt in #1849
  • [AUTOMATED] A constant inside a string-literal section prints as the literal (option cstringconst) by @coleleavitt in #1848
  • [AUTOMATED] Bound an unchecked jump table at the function's next table (option switchextent, default on) by @coleleavitt in #1850
  • [AUTOMATED] switchextent: end a byte-masked last table at the next function's table by @coleleavitt in #1853
  • [AUTOMATED] Keep the Cover block lookup O(1) in debug builds by @coleleavitt in #1852
  • [AUTOMATED] Escape structural bytes in DWARF type, member and enumerator names by @phix33 in #1865
  • [AUTOMATED] Bound zero-fill in the relocatable object layout by @phix33 in #1866
  • [AUTOMATED] importdata: a Mach-O data import slot read as a value prints & by @coleleavitt in #1871
  • [AUTOMATED] Type a struct passed by address from its SDK declaration (objcsdk) by @coleleavitt in #1870
  • [AUTOMATED] switchextent: a csel-picked index does not hide the next function's table by @coleleavitt in #1860
  • [AUTOMATED] switchextent: bound a Swift enum's jump table by the enum's case count by @coleleavitt in #1877
  • [AUTOMATED] Print a search tree of jump tables as one switch (option switchmerge) by @coleleavitt in #1863
  • switchmerge: drop hole labels default reaches, merge range splits, read guarded tables past jumptablemax by @coleleavitt in #1872

Full Changelog: v1.1003...v1.1004

kuna v1.1003

Choose a tag to compare

@github-actions github-actions released this 21 Nov 14:24
cc0a334

Each archive ships kuna, one self-contained binary: the decompiler console and the SLEIGH compiler are built in, and so are the compiled SLEIGH specs (unpacked once into the user cache directory on first use). kuna-v1.1003-specs.tar.gz is the same spec tree, for KUNA_SPECS. See docs/release.md.

kuna-v1.1003-KunaDecompiler-ghidra_12.1.2.zip is the ready-to-install KunaDecompiler extension for Ghidra 12.1.2 (in Ghidra: File -> Install Extensions... -> + -> pick the zip -> restart -> enable KunaDecompilerPlugin). It bundles prebuilt kuna_ghidra backends for Linux x86_64/arm64, macOS x86_64/arm64, and Windows x86_64, so it installs fully airgapped: the Ghidra release zip plus this zip are the only two files needed -- no network, no Rust toolchain. The zip is version-locked to Ghidra 12.1.2; other Ghidra 12.x versions can choose "Install Anyway" at the version-mismatch dialog (compatibility unverified).

What's Changed

  • [AUTOMATED] aif: skip the fingerprint histogram when no pointer target is undefined by @coleleavitt in #1711
  • [AUTOMATED] decompile-all: skip an import slot among several selectors by @coleleavitt in #1712
  • [AUTOMATED] Clear a restarted function's analysis warnings before it is re-followed by @coleleavitt in #1731
  • [AUTOMATED] Do not reuse a narrowed call argument for a wider forced parameter by @coleleavitt in #1822
  • [AUTOMATED] option extrapop : set a named function's extrapop by @coleleavitt in #1709
  • [AUTOMATED] condexe: count heritage passes when testing unread iblock ops by @coleleavitt in #1732
  • [AUTOMATED] DWARF: resolve DW_OP_addrx global locations through .debug_addr by @coleleavitt in #1717
  • [AUTOMATED] Keep an arm64e signing modifier out of the next call's arguments by @coleleavitt in #1823
  • [AUTOMATED] Type the receiver of an Objective-C direct method by @coleleavitt in #1820
  • [AUTOMATED] itaniumrtti: recover Itanium RTTI on Mach-O through chained fixups and classic binds by @coleleavitt in #1710
  • [AUTOMATED] Order distinct types deterministically in the type tree by @coleleavitt in #1730
  • [AUTOMATED] loopcontinue: print a jump to a while or do-while loop's own test as continue by @coleleavitt in #1708
  • [AUTOMATED] RuleSwitchSingle: turn a jump table with one destination into a direct branch by @coleleavitt in #1733
  • [AUTOMATED] Go: use the stack ABI for images older than the register ABI by @coleleavitt in #1723
  • [AUTOMATED] protoorder: a single-function decompile states the prototypes of its tail callees first by @coleleavitt in #1716
  • [AUTOMATED] Performance: xrefs storage and indexed symbol lookup by @coleleavitt in #1752
  • [AUTOMATED] typevote: type a variable left undefined from the ops that use it by @coleleavitt in #1727
  • [AUTOMATED] gotonext: leave out a goto to the next statement; print loop and switch exits as break by @coleleavitt in #1728
  • [AUTOMATED] loweredswitch: linear and tree values re-roll linear equality chains and compare trees of up to 64 cases by @coleleavitt in #1718
  • [AUTOMATED] printc: honor option maxlinewidth by @coleleavitt in #1720
  • [AUTOMATED] Make the type-order unwind test independent of heap order by @mahaloz in #1837
  • [AUTOMATED] postinc: print a pointer step after its dereference as *p++ by @coleleavitt in #1721
  • [AUTOMATED] returndup: add the value calls to split a cross-jumped call tail per path by @coleleavitt in #1726
  • [AUTOMATED] panicloc: type and name Rust panic Location records by @coleleavitt in #1729
  • [AUTOMATED] gotypeglobals: full import paths, a type-graph walk, and go1.16/1.17 descriptors by @coleleavitt in #1758
  • [AUTOMATED] Fold comparisons that are constant for every input (opaquepredicate) by @coleleavitt in #1691
  • [AUTOMATED] Add kuna flirt make: write FLIRT .pat and .sig files from objects and static libraries by @coleleavitt in #1687
  • [AUTOMATED] Find functions reached only through a table of function pointers (option calltable, default on) by @coleleavitt in #1724
  • [AUTOMATED] Load C declarations from a header file for a run (--types) by @coleleavitt in #1688

Full Changelog: v1.1002...v1.1003

kuna v1.1002

Choose a tag to compare

@github-actions github-actions released this 20 Nov 15:05
00a2bc1

Each archive ships kuna, one self-contained binary: the decompiler console and the SLEIGH compiler are built in, and so are the compiled SLEIGH specs (unpacked once into the user cache directory on first use). kuna-v1.1002-specs.tar.gz is the same spec tree, for KUNA_SPECS. See docs/release.md.

kuna-v1.1002-KunaDecompiler-ghidra_12.1.2.zip is the ready-to-install KunaDecompiler extension for Ghidra 12.1.2 (in Ghidra: File -> Install Extensions... -> + -> pick the zip -> restart -> enable KunaDecompilerPlugin). It bundles prebuilt kuna_ghidra backends for Linux x86_64/arm64, macOS x86_64/arm64, and Windows x86_64, so it installs fully airgapped: the Ghidra release zip plus this zip are the only two files needed -- no network, no Rust toolchain. The zip is version-locked to Ghidra 12.1.2; other Ghidra 12.x versions can choose "Install Anyway" at the version-mismatch dialog (compatibility unverified).

What's Changed

  • [AUTOMATED] Render named Rust Option<&u64> conditions as patterns by @mahaloz in #1807
  • [AUTOMATED] Preserve adjacent AArch64 Go scalar argument spills by @mahaloz in #1809
  • [AUTOMATED] Recover AArch64 Go result widths from uncompressed DWARF by @mahaloz in #1812
  • [AUTOMATED] Preserve Go scheduler continuations after runtime.mcall by @mahaloz in #1814
  • [AUTOMATED] Preserve inferred inputs when declaring return storage by @mahaloz in #1816
  • [AUTOMATED] Emit zero Go pointer-pair returns as record literals by @mahaloz in #1817

Full Changelog: v1.1001...v1.1002

kuna v1.1001

Choose a tag to compare

@github-actions github-actions released this 19 Nov 15:33
17d9878

Each archive ships kuna, one self-contained binary: the decompiler console and the SLEIGH compiler are built in, and so are the compiled SLEIGH specs (unpacked once into the user cache directory on first use). kuna-v1.1001-specs.tar.gz is the same spec tree, for KUNA_SPECS. See docs/release.md.

kuna-v1.1001-KunaDecompiler-ghidra_12.1.2.zip is the ready-to-install KunaDecompiler extension for Ghidra 12.1.2 (in Ghidra: File -> Install Extensions... -> + -> pick the zip -> restart -> enable KunaDecompilerPlugin). It bundles prebuilt kuna_ghidra backends for Linux x86_64/arm64, macOS x86_64/arm64, and Windows x86_64, so it installs fully airgapped: the Ghidra release zip plus this zip are the only two files needed -- no network, no Rust toolchain. The zip is version-locked to Ghidra 12.1.2; other Ghidra 12.x versions can choose "Install Anyway" at the version-mismatch dialog (compatibility unverified).

What's Changed

  • [AUTOMATED] Preserve the declared SPARC multibyte state extent by @thotypous in #1616
  • [AUTOMATED] Keep the loop of a switch that is its own loop header by @phix33 in #1617
  • [AUTOMATED] Avoid quadratic storage source deduplication by @thotypous in #1653
  • [AUTOMATED] Initialize recovered Rust arrays before element use by @thotypous in #1615
  • [AUTOMATED] Print fixed 64-bit shifts as defined unsigned C under armconstshift all by @phix33 in #1619
  • [AUTOMATED] Keep the code a constant jump through the return register reaches by @phix33 in #1618
  • [AUTOMATED] Keep the register of a hidden AArch64 PAC instruction defined by @coleleavitt in #1654
  • [AUTOMATED] Load eBPF ELF objects and apply R_BPF_64_64 to the lddw immediates by @coleleavitt in #1656
  • [AUTOMATED] Decode RISC-V Zcmp/Zcmt under a Tag_RISCV_arch-selected language variant by @coleleavitt in #1655
  • [AUTOMATED] x86: decode SENDUIPI and the UINTR group, and give VGATHERPF its ZMM index by @coleleavitt in #1657
  • [AUTOMATED] x86: decode 64-bit VMREAD/VMWRITE without REX.W and set CF/ZF from VMX status by @coleleavitt in #1658
  • [AUTOMATED] Render Linux kernel __bug_table traps as __WARN(file,line) and BUG() by @coleleavitt in #1659
  • [AUTOMATED] Give a push above a branch to the undeclared call on the other arm too by @mahaloz in #1662
  • [AUTOMATED] slacomp: report an operand defined as a later operand instead of panicking by @coleleavitt in #1664
  • [AUTOMATED] Recover Go ABI0 leaf stack arguments by @mahaloz in #1701
  • [AUTOMATED] find_subpiece_shadow: read a truncation past bit 63 of a constant as 0 instead of overflowing by @coleleavitt in #1683
  • [AUTOMATED] Go: recover function names from moduledata when the pclntab magic is wiped by @coleleavitt in #1665
  • [AUTOMATED] Report compatible Rust signature profiles by @mahaloz in #1706
  • [AUTOMATED] Preserve console edits across function visits by @mahaloz in #1704
  • [AUTOMATED] Use declared aliases in C record definitions by @mahaloz in #1707
  • [AUTOMATED] Preserve the AArch64 Go caller stack across calls by @mahaloz in #1713
  • [AUTOMATED] Preserve physical Rust STORE width by @mahaloz in #1715
  • [AUTOMATED] Refuse a non-zero mask whose stride overflows the range step, and report engine panics from kuna decompile by @coleleavitt in #1666
  • [AUTOMATED] End a two-stage jump table where its byte map begins by @coleleavitt in #1680
  • [AUTOMATED] Hold the per-function budget inside the jump-table value walk and make basic-block appends linear by @coleleavitt in #1671
  • [AUTOMATED] Hold the per-function budget inside the deadcode sweep by @coleleavitt in #1681
  • [AUTOMATED] Preserve 32-bit wraparound before sign extension with wrapadd by @phix33 in #1677
  • [AUTOMATED] Load and decompile members of ar archives (.a) by @coleleavitt in #1675
  • [AUTOMATED] Rust: report the rustc version from the commit in /rustc/ paths, and list the crates an image was built with by @coleleavitt in #1667
  • [AUTOMATED] Do not share a pushed slot with a declared callee whose register reads leave it no stack argument there by @mahaloz in #1719
  • [AUTOMATED] AArch64: print MTE tag instructions and barriers as ACLE intrinsics (option acleintrinsics) by @coleleavitt in #1672
  • [AUTOMATED] Let --assert state where an indirect call goes by @coleleavitt in #1676
  • [AUTOMATED] Add the format and isolate assertion directives by @coleleavitt in #1679
  • [AUTOMATED] Add a callproto assertion for the prototype of one call instruction by @coleleavitt in #1673
  • [AUTOMATED] Decode a dyld cache image's Objective-C methods and selector stubs by @coleleavitt in #1684
  • [AUTOMATED] kernelcache: resolve an Auxiliary or System collection's pointers into the boot collection (option kernelcache-boot) by @coleleavitt in #1686
  • [AUTOMATED] dyld cache: load several images as one program and follow a callee into its image by @coleleavitt in #1685
  • [AUTOMATED] Preserve loader names when applying library signatures by @mahaloz in #1737
  • [AUTOMATED] List embedded images and archives, and name them in decompiled code by @coleleavitt in #1682
  • [AUTOMATED] Print x86 rep movs/stos/cmpsb as copy, fill and compare builtins (option repstring) by @coleleavitt in #1668
  • [AUTOMATED] Apply names from Rust signature profiles by @mahaloz in #1742
  • [AUTOMATED] Preserve Go loads from leading record padding by @mahaloz in #1743
  • [AUTOMATED] Preserve distinct Rust machine operation identifiers by @mahaloz in #1744
  • [AUTOMATED] Preserve fixed-width Rust wrapping arithmetic by @mahaloz in #1725
  • [AUTOMATED] Recover forwarded Go arguments after stack growth folding by @mahaloz in #1745
  • [AUTOMATED] Preserve Go integer and error result words by @mahaloz in #1746
  • [AUTOMATED] Suggest Rust signature profiles from stable compiler metadata by @mahaloz in #1748
  • [AUTOMATED] Simplify ordered Go floating-point comparisons by @mahaloz in #1749
  • [AUTOMATED] Emit math.IsNaN in Go floating-point guards by @mahaloz in #1750
  • [AUTOMATED] Recover later targets and the caller return in re-entered dispatches by @phix33 in #1678
  • [AUTOMATED] Preserve status-only Go channel receives by @mahaloz in #1753
  • [AUTOMATED] Check local Rust signature corpus availability by @mahaloz in #1754
  • [AUTOMATED] Preserve the updated result of Go locked atomic additions by @mahaloz in #1759
  • [AUTOMATED] Recover Go string input word names from DWARF by @mahaloz in #1760
  • [AUTOMATED] Preserve terminal Rust process-exit calls by @mahaloz in #1764
  • [AUTOMATED] Recover legacy Rust names with LLVM suffixes by @mahaloz in #1767
  • [AUTOMATED] Preserve uppercase hash-shaped Rust function names by @mahaloz in #1768
  • [AUTOMATED] Recover both Go string input pairs from DWARF by @mahaloz in #1770
  • [AUTOMATED] Preserve Go result pairs across signedness conversions by @mahaloz in #1771
  • [AUTOMATED] Render typed returned Rust Options as conditions by @mahaloz in #1775
  • [AUTOMATED] Preserve AArch64 Go divide-by-zero panic guards by @mahaloz in #1777
  • [AUTOMATED] Name Go 1.27 descriptors in 32-bit binaries by @mahaloz in #1778
  • [AUTOMATED] Import Go 1.26 typelinks on 32-bit binaries by @mahaloz in #1779
  • [AUTOMATED] Qualify ambiguous Rust function addresses by @mahaloz in #1781
  • [AUTOMATED] Recover verified Go pointer receivers by @mahaloz in #1769
  • [AUTOMATED] Preserve the address of typed Go arrays by @mahaloz in #1783
  • [AUTOMATED] Recover batch returns consumed by native callers by @mahaloz in #1785
  • [AUTOMATED] Add verified immutable GOT targets to call graphs by @ma...
Read more

kuna v1.1000

Choose a tag to compare

@github-actions github-actions released this 18 Nov 15:32
a42c036

Each archive ships kuna, one self-contained binary: the decompiler console and the SLEIGH compiler are built in, and so are the compiled SLEIGH specs (unpacked once into the user cache directory on first use). kuna-v1.1000-specs.tar.gz is the same spec tree, for KUNA_SPECS. See docs/release.md.

kuna-v1.1000-KunaDecompiler-ghidra_12.1.2.zip is the ready-to-install KunaDecompiler extension for Ghidra 12.1.2 (in Ghidra: File -> Install Extensions... -> + -> pick the zip -> restart -> enable KunaDecompilerPlugin). It bundles prebuilt kuna_ghidra backends for Linux x86_64/arm64, macOS x86_64/arm64, and Windows x86_64, so it installs fully airgapped: the Ghidra release zip plus this zip are the only two files needed -- no network, no Rust toolchain. The zip is version-locked to Ghidra 12.1.2; other Ghidra 12.x versions can choose "Install Anyway" at the version-mismatch dialog (compatibility unverified).

What's Changed

  • [AUTOMATED] Keep SPARC64 spills read through an OR-masked frame address by @thotypous in #1587
  • [AUTOMATED] Keep SPARC64 locals in an unused hidden-return slot by @thotypous in #1588
  • [AUTOMATED] Keep runtime stack reservations through stack-pointer merges by @thotypous in #1596
  • [AUTOMATED] Clear unlocked symbols and prototype parts on a restart by @thotypous in #1605
  • Make Kuna nicer to use as a library by @evanrichter in #1602
  • [AUTOMATED] Read PowerPC64 ELFv2 stack arguments after the 32-byte frame header by @thotypous in #1592
  • [AUTOMATED] fix(analysis): name PPC64 ELFv1 import stubs that end in bctr or load the environment word by @phix33 in #1600
  • [AUTOMATED] fix(analysis): find PPC64 ELFv1 entry and init/fini functions behind their descriptors by @phix33 in #1603
  • [AUTOMATED] Add pre-PR checks: a call-arity diff over real MSVC binaries and a diff lint by @borancar in #1569
  • [AUTOMATED] fix(analysis): pass nothing to __stack_chk_fail_local by @phix33 in #1604
  • [AUTOMATED] Seed r12 with the entry address at PowerPC64 ELFv2 global entries by @thotypous in #1595
  • [AUTOMATED] feat(cli): list a function's warnings in its JSON record by @phix33 in #1601
  • [AUTOMATED] Keep null checks on undefined weak functions in relocatable objects by @phix33 in #1599
  • [AUTOMATED] Keep the MSVC frame cookie out of a call's stack arguments by @borancar in #1594
  • [AUTOMATED] Give a virtual call its receiver when MSVC sets ECX after the vtable load by @borancar in #1591
  • [AUTOMATED] Expand a by-value block for a callee whose stack effect the walk cannot settle by @borancar in #1598
  • [AUTOMATED] Keep x86 stack arguments a later direct stack store sits below by @thotypous in #1589
  • [AUTOMATED] Give the weak-relocation warnings a kind in the JSON record by @mahaloz in #1609
  • [AUTOMATED] Isolate advisory return-transfer decode context by @thotypous in #1608
  • [AUTOMATED] Name an Itanium virtual method after the function, not its vtable by @stefan-siebert in #1607
  • [AUTOMATED] Name Itanium constructors and destructors from their vptr stores by @stefan-siebert in #1606
  • [AUTOMATED] Reject overflowing libc aggregate access bounds by @thotypous in #1610
  • [AUTOMATED] Reject overflowing callee pointee access endpoints by @thotypous in #1611
  • [AUTOMATED] Refuse wider pointee votes for mutable byte cursors by @thotypous in #1612
  • [AUTOMATED] Decode SPARC32 PLT imports at twelve-byte strides by @thotypous in #1613
  • [AUTOMATED] Preserve SPARC large-frame prologue entry prefixes by @thotypous in #1614

New Contributors

Full Changelog: v1.999...v1.1000

kuna v1.999

Choose a tag to compare

@github-actions github-actions released this 15 Nov 13:38
6380d45

Each archive ships kuna, one self-contained binary: the decompiler console and the SLEIGH compiler are built in, and so are the compiled SLEIGH specs (unpacked once into the user cache directory on first use). kuna-v1.999-specs.tar.gz is the same spec tree, for KUNA_SPECS. See docs/release.md.

kuna-v1.999-KunaDecompiler-ghidra_12.1.2.zip is the ready-to-install KunaDecompiler extension for Ghidra 12.1.2 (in Ghidra: File -> Install Extensions... -> + -> pick the zip -> restart -> enable KunaDecompilerPlugin). It bundles prebuilt kuna_ghidra backends for Linux x86_64/arm64, macOS x86_64/arm64, and Windows x86_64, so it installs fully airgapped: the Ghidra release zip plus this zip are the only two files needed -- no network, no Rust toolchain. The zip is version-locked to Ghidra 12.1.2; other Ghidra 12.x versions can choose "Install Anyway" at the version-mismatch dialog (compatibility unverified).

What's Changed

  • [AUTOMATED] Name a stack object after the library parameter its address meets (libcnames) by @mahaloz in #1585
  • [AUTOMATED] Recover callee-saved register custom arguments (calleereginputs custom) by @mahaloz in #1586
  • [AUTOMATED] Stop the calleeargs cleanup scan at the epilogue by @borancar in #1581
  • [AUTOMATED] Give an MSVC virtual call its receiver under calleereginputs by @borancar in #1582

Full Changelog: v1.998...v1.999

kuna v1.998

Choose a tag to compare

@github-actions github-actions released this 14 Nov 13:10
3e9d045

Each archive ships kuna, one self-contained binary: the decompiler console and the SLEIGH compiler are built in, and so are the compiled SLEIGH specs (unpacked once into the user cache directory on first use). kuna-v1.998-specs.tar.gz is the same spec tree, for KUNA_SPECS. See docs/release.md.

kuna-v1.998-KunaDecompiler-ghidra_12.1.2.zip is the ready-to-install KunaDecompiler extension for Ghidra 12.1.2 (in Ghidra: File -> Install Extensions... -> + -> pick the zip -> restart -> enable KunaDecompilerPlugin). It bundles prebuilt kuna_ghidra backends for Linux x86_64/arm64, macOS x86_64/arm64, and Windows x86_64, so it installs fully airgapped: the Ghidra release zip plus this zip are the only two files needed -- no network, no Rust toolchain. The zip is version-locked to Ghidra 12.1.2; other Ghidra 12.x versions can choose "Install Anyway" at the version-mismatch dialog (compatibility unverified).

What's Changed

  • [AUTOMATED] Expose FID candidates for review by @sjkim1127 in #1547
  • [AUTOMATED] fix(p6): lay out no frame range for a retype to a pointer to an incomplete struct by @phix33 in #1536
  • [AUTOMATED] fix(p3): keep a retyped stack pointer local through copy propagation by @phix33 in #1537
  • [AUTOMATED] fix(p2): end flow at calls to prefixed no-return stubs by @phix33 in #1546
  • [AUTOMATED] Name library functions from FLIRT signatures (flirt) by @coleleavitt in #1548
  • [AUTOMATED] Decode Octeon atomics and preserve memory effects by @phix33 in #1516
  • [AUTOMATED] Fix MIPS relocation expressions and $gp recovery by @phix33 in #1520
  • [AUTOMATED] Merge aifstrict and aifcorroborate into aif (aif=off|on|strict|precise) by @mahaloz in #1533
  • [AUTOMATED] Fix review findings on the Objective-C, Swift and Mach-O loader work (#1476-#1496) by @coleleavitt in #1527
  • [AUTOMATED] Render upper-half branch targets as unsigned addresses by @cixiangtao in #1513
  • [AUTOMATED] fix(p9): print a Swift string object as an address, not as the literal 32 bytes before it by @pedrocormann in #1517
  • [AUTOMATED] Reduce inventory, JSON, and Mach-O loading memory by @TsingShui in #1506
  • [AUTOMATED] Recognize stripped MSVC __ftol helpers by @borancar in #1553
  • [AUTOMATED] List an MSVC incremental-link table's stubs and bodies as entries by @borancar in #1557
  • [AUTOMATED] fix(p2): stop the flow walk at a call's literal pool on ARM by @phix33 in #1541
  • [AUTOMATED] Preserve declared table bases in relocated objects by @thotypous in #1514
  • [AUTOMATED] Recover CVF trace routine names and source locations by @thotypous in #1515
  • [AUTOMATED] Read bitfields that fill a whole load, and keep byte-aligned DWARF bitfields by @phix33 in #1495
  • [AUTOMATED] Give the MSVC x87 math intrinsics their operands by @borancar in #1561
  • [AUTOMATED] Give an x86-32 call the __thiscall model when its callee reads ECX by @borancar in #1559
  • [AUTOMATED] fix(p2): drop the arm64 ___chkstk_darwin probe call so the registers it preserves survive it (chkstkdarwin) by @pedrocormann in #1518
  • [AUTOMATED] fix(p2): end the flow at an AArch64 brk compiler trap (brktrap) by @pedrocormann in #1519
  • [AUTOMATED] flirt: move flirt-sig to 0.2.1, which bounds a crafted .sig by @coleleavitt in #1564
  • [AUTOMATED] Read an x86-32 callee's stack purge off its own returns by @borancar in #1555
  • [AUTOMATED] Bound an x86-32 call's stack arguments by what its callee reads by @borancar in #1563
  • [AUTOMATED] [PROPOSAL] Improve FID build extents and candidate evidence by @sjkim1127 in #1549
  • [AUTOMATED] Add strict evidence mode for FID renames by @sjkim1127 in #1550
  • [AUTOMATED] decompile --json: accept --omit aliases by @mahaloz in #1565
  • [AUTOMATED] Read the selected MH_FILESET entry in xrefs and every surface that reads the image by @mahaloz in #1566
  • [AUTOMATED] Match a .fid database only against images its language fits, and report what became of it by @mahaloz in #1567
  • [AUTOMATED] xrefs: report partial and unsupported pointer-relocation coverage; read RISC-V, PowerPC and RELR by @mahaloz in #1568
  • [AUTOMATED] Lift AArch64 FCVT and FRINT in their own rounding mode by @mahaloz in #1571
  • [AUTOMATED] Join more big-endian 64-bit pairs on evidence: -O0 reloads, a pair passed to a 64-bit runtime routine, a wrapper's sign test by @mahaloz in #1572
  • [AUTOMATED] Start an MS-DOS program's functions with DS holding its data segment (option mzdgroup) by @mahaloz in #1570
  • [AUTOMATED] End the flow at an MS-DOS program exit and make the functions that reach one no-return by @mahaloz in #1576
  • [AUTOMATED] Read the interrupt vectors, BIOS data area and video memory of a DOS program as volatile by @mahaloz in #1577
  • [AUTOMATED] Expand a by-value argument rep movs with a known count so its call keeps its arguments by @mahaloz in #1573
  • [AUTOMATED] Turn calleereginputs on by default on x86-32 Windows by @mahaloz in #1575
  • [AUTOMATED] Name and type locals from Win32 calls through the import table (libcnames) by @mahaloz in #1574
  • [AUTOMATED] End a DOS function's extent where its flow ends, not at the next function by @mahaloz in #1584

New Contributors

Full Changelog: v1.997...v1.998