Detailed Information

Cited 0 time in webofscience Cited 0 time in scopus
Metadata Downloads

Exploring effective uses of the tagged memory for reducing bounds checking overheads

Authors
Seo, JiwonBang, InyoungCho, YungiShin, JangseopHwang, DongilKwon, DonghyunCho, YeongpilPaek, Yunheung
Issue Date
Jan-2023
Publisher
Kluwer Academic Publishers
Keywords
Spatial memory safety; Bounds checks; Tagged memory architecture; Compiler analysis; Software vulnerability
Citation
Journal of Supercomputing, v.79, no.1, pp 1032 - 1064
Pages
33
Indexed
SCIE
SCOPUS
Journal Title
Journal of Supercomputing
Volume
79
Number
1
Start Page
1032
End Page
1064
URI
https://scholarworks.bwise.kr/hanyang/handle/2021.sw.hanyang/194649
DOI
10.1007/s11227-022-04694-y
ISSN
0920-8542
1573-0484
Abstract
For spatial memory safety in C/C++ programs, bounds checking (BC) methods have been studied for decades. The practical use of BC has been deferred due to its inherently large performance overhead. Many efforts have been undertaken to reduce overhead by optimizing metadata management. However, BC's performance is affected by another subtask, bounds comparison whose overhead is highly significant. To remedy this issue, we utilize the tagged memory (TM), a security architecture enabling efficient sanity checks by matching the tag IDs of pointers and the referent objects. We may replace expensive bounds comparisons with the lightweight tag matchings. However, due to physical limitation of TM for tag operations, this naive replacement scheme endangers security and even worsens the overhead of BC. Being aware of such downsides, we test a hybrid approach where we classify memory objects into two groups whose sanity is guaranteed by TM and bound comparison, respectively. For this, we perform compiler analysis and runtime profiling to comprehensively consider performance factors that influence the benefits and adverse effects of using TM. Our results exhibit that as long as TM is carefully orchestrated to work with conventional bound comparisons, it is effective to reduce the overall overhead.
Files in This Item
Go to Link
Appears in
Collections
서울 공과대학 > 서울 컴퓨터소프트웨어학부 > 1. Journal Articles

qrcode

Items in ScholarWorks are protected by copyright, with all rights reserved, unless otherwise indicated.

Related Researcher

Researcher Cho, Yeong pil photo

Cho, Yeong pil
COLLEGE OF ENGINEERING (SCHOOL OF COMPUTER SCIENCE)
Read more

Altmetrics

Total Views & Downloads

BROWSE