Saved in:
Bibliographic Details
Main Authors: Seidel, Lukas, Thomas, Sam, Rieck, Konrad
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2603.08225
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913163603083264
author Seidel, Lukas
Thomas, Sam
Rieck, Konrad
author_facet Seidel, Lukas
Thomas, Sam
Rieck, Konrad
contents The recovery of types from stripped binaries is a key to exact decompilation, yet its practical realization suffers. For composite structures in particular, both layout and semantic fidelity are required to enable end-to-end reconstruction. Many existing approaches either synthesize layouts or infer names post-hoc, which weakens downstream usability. This is further aggravated by an excessive runtime overhead that is especially prohibitive in automated environments. We present XTRIDE, an improved n-gram-based approach that focuses on practicality: highly optimized throughput and actionable confidence scores allow for deployment in automated pipelines. When compared to the state of the art in struct recovery, our method achieves comparable performance while being between 70 and 2300 times faster. As our inference is grounded in real-world types, we achieve the highest ratio of fully-correct struct layouts. With an optimized training regimen, our model outperforms the current state of the art on the DIRT dataset by 5.09 percentage points, achieving 90.15% type inference accuracy overall. Furthermore, we show that n-gram-based type prediction generalizes to function signature recovery: conducting a case study on embedded firmware, we show that this efficient approach to function similarity can assist in typical reverse engineering tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2603_08225
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Practical Type Inference: High-Throughput Recovery of Real-World Structures and Function Signatures
Seidel, Lukas
Thomas, Sam
Rieck, Konrad
Cryptography and Security
The recovery of types from stripped binaries is a key to exact decompilation, yet its practical realization suffers. For composite structures in particular, both layout and semantic fidelity are required to enable end-to-end reconstruction. Many existing approaches either synthesize layouts or infer names post-hoc, which weakens downstream usability. This is further aggravated by an excessive runtime overhead that is especially prohibitive in automated environments. We present XTRIDE, an improved n-gram-based approach that focuses on practicality: highly optimized throughput and actionable confidence scores allow for deployment in automated pipelines. When compared to the state of the art in struct recovery, our method achieves comparable performance while being between 70 and 2300 times faster. As our inference is grounded in real-world types, we achieve the highest ratio of fully-correct struct layouts. With an optimized training regimen, our model outperforms the current state of the art on the DIRT dataset by 5.09 percentage points, achieving 90.15% type inference accuracy overall. Furthermore, we show that n-gram-based type prediction generalizes to function signature recovery: conducting a case study on embedded firmware, we show that this efficient approach to function similarity can assist in typical reverse engineering tasks.
title Practical Type Inference: High-Throughput Recovery of Real-World Structures and Function Signatures
topic Cryptography and Security
url https://arxiv.org/abs/2603.08225