• A
  • A
  • A
  • ABC
  • ABC
  • ABC
  • А
  • А
  • А
  • А
  • А
Regular version of the site

A Plugin for Static Analysis of Run-Time Symbol Lookups for the GCC Compiler

Student: Kudryashov Evgeny

Supervisor: Sergey S. Gaysaryan

Faculty: Faculty of Computer Science

Educational Programme: System and Software Engineering (Master)

Year of Graduation: 2018

The problem of program call graph construction could be complicated by indirect calls. Modern compilers are able to handle indirect calls of declared functions in a single translation unit. Nevertheless, there are functions such as dlsym that make indirect calls possible without function declaration in the same translation unit. An address of indirect call function is found by function name at run-time. Such invocations are hidden for compiler as well as for linker. The paper suggests two step static analysis for revealing symbols loaded at run-time with func tions similar to dlsym. The rst step collects auxiliary information about a program between translation units, the second applies collected information to analyze individual translation units and emits found symbols. The paper contains 34 pages, 6 chapters, 5 illustrations, 5 tables, 29 bibliography items. Keywords: static analysis, call graph, jump functions, dlsym, gcc, compiler, plugin.

Student Theses at HSE must be completed in accordance with the University Rules and regulations specified by each educational programme.

Summaries of all theses must be published and made freely available on the HSE website.

The full text of a thesis can be published in open access on the HSE website only if the authoring student (copyright holder) agrees, or, if the thesis was written by a team of students, if all the co-authors (copyright holders) agree. After a thesis is published on the HSE website, it obtains the status of an online publication.

Student theses are objects of copyright and their use is subject to limitations in accordance with the Russian Federation’s law on intellectual property.

In the event that a thesis is quoted or otherwise used, reference to the author’s name and the source of quotation is required.

Search all student theses