DocumentCode
3161855
Title
OS-less dynamic binary instrumentation for embedded firmware
Author
JinSeok Oh ; Sungyu Kim ; Eunji Jeong ; Soo-Mook Moon
Author_Institution
Sch. of EECS, Seoul Nat. Univ., Seoul, South Korea
fYear
2015
fDate
13-15 April 2015
Firstpage
1
Lastpage
3
Abstract
Program analysis to check performance bottleneck or execution coverage is often implemented by instrumentation. Static binary instrumentation (SBI) adds the probing code before runtime, and dynamic binary instrumentation (DBI) changes the code at runtime with an OS support. Unfortunately, both are not appropriate for instrumenting embedded firmware such as the program on the flash memory controller, since it should be analyzed “as-is” on the real target for more realistic testing with target-specific conditions; additional code added by SBI might not fit in the limited memory of the target, while the OS support required by DBI is often not available on the target platform. This paper proposes a novel OS-less DBI framework using a hardware debugger for analyzing this embedded firmware. Our DBI does not increase the code size nor relies on any OS support. We experimented with our DBI tool for performance profiling and code coverage to check its usefulness. We also experimented on the real flash memory controller.
Keywords
computer debugging; computerised instrumentation; firmware; flash memories; program diagnostics; OS support; OS-less DBI framework; OS-less dynamic binary instrumentation; SBI; embedded firmware; flash memory controller; hardware debugger; probing code; program analysis; static binary instrumentation; Accuracy; Flash memories; Hardware; Instruments; Microprogramming; Performance analysis; Runtime; Dynamic Binary Instrumentation; Firmware; Hardware Debugger; Program Analysis;
fLanguage
English
Publisher
ieee
Conference_Titel
Low-Power and High-Speed Chips (COOL CHIPS XVIII), 2015 IEEE Symposium in
Conference_Location
Yokohama
Type
conf
DOI
10.1109/CoolChips.2015.7158659
Filename
7158659
Link To Document