Pith. sign in

REVIEW 1 cited by

BinSub: The Simple Essence of Polymorphic Type Inference for Machine Code

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2409.01841 v1 pith:7WBC447L submitted 2024-09-03 cs.PL

classification cs.PL
keywords typeinferencebinarybinsubsubtypingbinariescodepolymorphism
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Recovering high-level type information in binaries is a key task in reverse engineering and binary analysis. Binaries contain very little explicit type information. The structure of binary code is incredibly flexible allowing for ad-hoc subtyping and polymorphism. Prior work has shown that precise type inference on binary code requires expressive subtyping and polymorphism. Implementations of these type system features in a binary type inference algorithm have thus-far been too inefficient to achieve widespread adoption. Recent advances in traditional type inference have achieved simple and efficient principal type inference in an ML like language with subtyping and polymorphism through the framework of algebraic subtyping. BinSub, a new binary type inference algorithm, recognizes the connection between algebraic subtyping and the type system features required to analyze binaries effectively. Using this connection, BinSub achieves simple, precise, and efficient binary type inference. We show that BinSub maintains a similar precision to prior work, while achieving a 63x improvement in average runtime for 1568 functions. We also present a formalization of BinSub and show that BinSub's type system maintains the expressiveness of prior work.

Discussion (0). Sign in to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. NotDec: WebAssembly Decompilation With Inter-Procedural Type Recovery

    cs.SE 2026-08 conditional novelty 6.0 of 10

    NotDec decompiles WebAssembly to readable C with 100% recompilability and 85.33% struct access recovery, far exceeding Ghidra, by combining Retypd type recovery with a new pointer/numeric differentiation graph.

Pith tools