Saved in:
Bibliographic Details
Main Authors: Kharlamova, Arina, Sun, Youcheng, Yu, Ting
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2601.01673
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914233197789184
author Kharlamova, Arina
Sun, Youcheng
Yu, Ting
author_facet Kharlamova, Arina
Sun, Youcheng
Yu, Ting
contents Private macOS frameworks underpin critical services and daemons but remain undocumented and distributed only as stripped binaries, complicating security analysis. We present MOTIF, an agentic framework that integrates tool-augmented analysis with a finetuned large language model specialized for Objective-C type inference. The agent manages runtime metadata extraction, binary inspection, and constraint checking, while the model generates candidate method signatures that are validated and refined into compilable headers. On MOTIF-Bench, a benchmark built from public frameworks with groundtruth headers, MOTIF improves signature recovery from 15% to 86% compared to baseline static analysis tooling, with consistent gains in tool-use correctness and inference stability. Case studies on private frameworks show that reconstructed headers compile, link, and facilitate downstream security research and vulnerability studies. By transforming opaque binaries into analyzable interfaces, MOTIF establishes a scalable foundation for systematic auditing of macOS internals.
format Preprint
id arxiv_https___arxiv_org_abs_2601_01673
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Exposing Hidden Interfaces: LLM-Guided Type Inference for Reverse Engineering macOS Private Frameworks
Kharlamova, Arina
Sun, Youcheng
Yu, Ting
Cryptography and Security
Artificial Intelligence
Private macOS frameworks underpin critical services and daemons but remain undocumented and distributed only as stripped binaries, complicating security analysis. We present MOTIF, an agentic framework that integrates tool-augmented analysis with a finetuned large language model specialized for Objective-C type inference. The agent manages runtime metadata extraction, binary inspection, and constraint checking, while the model generates candidate method signatures that are validated and refined into compilable headers. On MOTIF-Bench, a benchmark built from public frameworks with groundtruth headers, MOTIF improves signature recovery from 15% to 86% compared to baseline static analysis tooling, with consistent gains in tool-use correctness and inference stability. Case studies on private frameworks show that reconstructed headers compile, link, and facilitate downstream security research and vulnerability studies. By transforming opaque binaries into analyzable interfaces, MOTIF establishes a scalable foundation for systematic auditing of macOS internals.
title Exposing Hidden Interfaces: LLM-Guided Type Inference for Reverse Engineering macOS Private Frameworks
topic Cryptography and Security
Artificial Intelligence
url https://arxiv.org/abs/2601.01673