VOOZH about

URL: https://arxiv.org/abs/2104.03168

⇱ [2104.03168] Towards Optimal Use of Exception Handling Information for Function Detection


Computer Science > Cryptography and Security

arXiv:2104.03168 (cs)
[Submitted on 7 Apr 2021]

Title:Towards Optimal Use of Exception Handling Information for Function Detection

View PDF
Abstract:Function entry detection is critical for security of binary code. Conventional methods heavily rely on patterns, inevitably missing true functions and introducing errors. Recently, call frames have been used in exception-handling for function start detection. However, existing methods have two problems. First, they combine call frames with heuristic-based approaches, which often brings error and uncertain benefits. Second, they trust the fidelity of call frames, without handling the errors that are introduced by call frames. In this paper, we first study the coverage and accuracy of existing approaches in detecting function starts using call frames. We found that recursive disassembly with call frames can maximize coverage, and using extra heuristic-based approaches does not improve coverage and actually hurts accuracy. Second, we unveil call-frame errors and develop the first approach to fix them, making their use more reliable.
Subjects: Cryptography and Security (cs.CR)
Cite as: arXiv:2104.03168 [cs.CR]
(or arXiv:2104.03168v1 [cs.CR] for this version)
https://doi.org/10.48550/arXiv.2104.03168
arXiv-issued DOI via DataCite

Submission history

From: Chengbin Pang [view email]
[v1] Wed, 7 Apr 2021 14:57:01 UTC (1,009 KB)
Full-text links:

Access Paper:

  • View PDF
  • TeX Source

Current browse context:

cs.CR
< prev   |   next >
Change to browse by:
cs

References & Citations

BibTeX formatted citation

Data provided by:

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.