Thesis Details

Rozvoj instrumentace programu při překladu

Master's Thesis Student: Ševčík Václav Academic Year: 2019/2020 Supervisor: Smrčka Aleš, Ing., Ph.D.
English title
Development of Instrumentation during Compilation
Language
Czech
Abstract

The focus of this master's thesis is on the topic of instrumentation during the compilation process in the LLVM compiler. The tool enables to instrument memory accesses and functions. The instrumentation is realized through adding a novel pass to the LLVM's optimalization phase. Information about variables are managed by the created framework. The framework is linked with the program. The overhead of the instrumentation increases duration of the program by about 14 % in the case of switched off indirect addressing and 23 % in the case of switched on indirect addressing. The main benefit of the work is the possibility of easy instrumentation of the program which can even monitor operation of local variables through indirect addressing) and support multithread programs. The framework is part of Testos's tools where it provides automatic instrumentation in the Spectra tool.

Keywords

LLVM, LLVM IR, source code instrumentation, Testos, LLVM pass, instrumentation library, instrumentation framework, instrumentation function, instrumentation memory access, LLVM modul, multithreading, indirect addressing

Department
Degree Programme
Information Technology, Field of Study Information Technology Security
Files
Status
defended, grade B
Date
14 July 2020
Reviewer
Committee
Drahanský Martin, prof. Ing., Dipl.-Ing., Ph.D. (DITS FIT BUT), předseda
Grégr Matěj, Ing., Ph.D. (DIFS FIT BUT), člen
Holík Lukáš, doc. Mgr., Ph.D. (DITS FIT BUT), člen
Kořenek Jan, doc. Ing., Ph.D. (DCSY FIT BUT), člen
Malinka Kamil, Mgr., Ph.D. (DITS FIT BUT), člen
Polčák Libor, Ing., Ph.D. (DIFS FIT BUT), člen
Citation
ŠEVČÍK, Václav. Rozvoj instrumentace programu při překladu. Brno, 2020. Master's Thesis. Brno University of Technology, Faculty of Information Technology. 2020-07-14. Supervised by Smrčka Aleš. Available from: https://www.fit.vut.cz/study/thesis/21397/
BibTeX
@mastersthesis{FITMT21397,
    author = "V\'{a}clav \v{S}ev\v{c}\'{i}k",
    type = "Master's thesis",
    title = "Rozvoj instrumentace programu p\v{r}i p\v{r}ekladu",
    school = "Brno University of Technology, Faculty of Information Technology",
    year = 2020,
    location = "Brno, CZ",
    language = "czech",
    url = "https://www.fit.vut.cz/study/thesis/21397/"
}
Back to top