---
title: "StateFormer: fine-grained type recovery from binaries using generative state modeling"
url: https://awesomerea.org/papers/paper-stateformer/
updated: 2026-11-10
type: paper
---

# StateFormer: fine-grained type recovery from binaries using generative state modeling

> StateFormer learns assembly instruction effects through generative state modeling, then uses that knowledge to recover types of function arguments and variables from binaries.

- Authors: Kexin Pei; Jonas Guan; Matthew Broughton; Zhongtian Chen; Songchen Yao; David Williams-King; Vikas Ummadisetty; Junfeng Yang; Baishakhi Ray; Suman Jana
- Venue: ESEC/FSE '21
- Status: Conference paper
- Publication / posting date: August 18, 2021
- Date source: Publication date in the Crossref record for the DOI.
- DOI: 10.1145/3468264.3468607
- Sources reviewed: 2026-11-09
- Added to the catalog: 2026-11-10
- Original paper: <https://doi.org/10.1145/3468264.3468607>
- PDF: <https://dl.acm.org/doi/pdf/10.1145/3468264.3468607>
- BibTeX: <https://awesomerea.org/papers/citations/paper-stateformer.bib>
- Catalog page: <https://awesomerea.org/papers/paper-stateformer/>
- Record JSON: <https://awesomerea.org/papers/paper-stateformer/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/papers/paper-stateformer/index.md)

## Scope and limitations

Evaluated on 33 open-source projects compiled with GCC and LLVM at O0–O3, plus three LLVM-based obfuscation passes.

## Why it fits this collection

Its main contribution reconstructs type information stripped during compilation.

## Publication and review notes

The venue and date come from the Crossref record for the DOI.

## BibTeX

```bibtex
@inproceedings{paper-stateformer,
  title = {{StateFormer: fine-grained type recovery from binaries using generative state modeling}},
  author = {{Kexin Pei} and {Jonas Guan} and {Matthew Broughton} and {Zhongtian Chen} and {Songchen Yao} and {David Williams-King} and {Vikas Ummadisetty} and {Junfeng Yang} and {Baishakhi Ray} and {Suman Jana}},
  year = {2021},
  url = {https://doi.org/10.1145/3468264.3468607},
  booktitle = {ESEC/FSE '21},
  doi = {10.1145/3468264.3468607},
  month = aug
}
```

## Primary sources

1. <https://doi.org/10.1145/3468264.3468607>
2. <https://api.crossref.org/works/10.1145/3468264.3468607>

## About this entry

Reviewed against the paper and its primary sources. Cite the original authors using the linked paper or BibTeX.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
