Home // ICSEA 2019, The Fourteenth International Conference on Software Engineering Advances // View article


A Framework for Robust, Low-Overhead Binary Instrumentation

Authors:
Amir Majlesi-Kupaei
Danny Kim
Kapil Anand
Aparna Kotha
Khaled Elwazeer
Rajeev Barua

Keywords: Program Analysis; Binary Instrumentation; Static and Dynamic Analysis; Testing and Verification; Program Transformation

Abstract:
We have designed and implemented a binary rewriter called RL-Bin, which can rewrite binaries correctly with low overhead. Existing binary rewriters have their challenges: static rewriters do not reliably work for stripped binaries (i.e., those without relocation information), and dynamic rewriters suffer from high base overhead. Because of this high overhead, existing dynamic rewriters are limited to off-line testing, and cannot be used in deployment. RL-Bin differentiates itself from other binary rewriters by having the capability to robustly rewrite stripped binaries with very low overhead (averaging 1.05x for SPECrate 2017, not including the instrumentation cost, compared to 1.16x overhead for DynamoRIO). The overhead added by RL-Bin itself is negligible and it is proportional to the added instrumentation. Hence, lightweight instrumentation can be added to applications that are deployed in live systems for monitoring and analysis purposes.

Pages: 7 to 16

Copyright: Copyright (c) IARIA, 2019

Publication date: November 24, 2019

Published in: conference

ISSN: 2308-4235

ISBN: 978-1-61208-752-8

Location: Valencia, Spain

Dates: from November 24, 2019 to November 28, 2019