State Consistency Checking for Non-reentrant Function Based on Taint Assisted Symbol Execution

Yu, Bo and Yang, Qiang and Song, CongXi (2019) State Consistency Checking for Non-reentrant Function Based on Taint Assisted Symbol Execution. In: Security and Privacy in New Computing Environments. Second EAI International Conference, SPNCE 2019, Tianjin, China, April 13–14, 2019, Proceedings.

[thumbnail of 32283.pdf] PDF
32283.pdf

Download (341kB)

Abstract

Non-reentrant functions are commonly used in multi-thread programs, such as network services and other event-driven programs, to reserve some global states in a concurrent context. However, calling non-reentrant functions may bring several kinds of dangerous pointer dereference faults, and will lead to serious consequences such as program vulnerabilities. To beat this, this paper presents an approach to check state consistency against non-reentrant functions based on taint analysis and symbol execution technology. The proposed method records the program taint states and traces the data flow during the symbol execution process where some rules are specified to check the state consistency and exceptions such as null pointer reference, pointer double free and pointer use-after-free. We implement a proof-of-concept system SC2NRF based on the symbol execution framework . Further experiments show that our approach is able to effectively check state consistency of non-reentrant functions in binary programs.

Item Type: Conference or Workshop Item (UNSPECIFIED)
Date Deposited: 04 Mar 2026 12:09
Last Modified: 20 Nov 2026 12:46
URI: https://eprints.eai.eu/id/eprint/23070

Actions (login required)

View Item
View Item