Compile-Time Malloc: Why bother at run time when the compiler can do it.
- Typ der Arbeit: Bachelorarbeit
- Status der Arbeit: reserviert
- Projekte: AHA
- Betreuer: Björn Fiedler, Gerion Entrup, Daniel Lohmann
The LibrePilot quadrocopter firmware is based on the FreeRTOS real-time operating system. It consists of multiple tasks that perform a lot of allocations at boot time. These are the same allocations on every boot, ever and ever again.
With ARA, a whole-system analyzer and compiler, we already have the tool to perform a static analysis and optimization of the LibrePilot application.
Your task is it to extend ARA to analyze the
malloc call and replace it with static memory where possible.
Therefore, the analysis has to prove that no freeing of the memory occurs.
Your approach should be implemented in an application independent way but evaluated on the LibrePilot firmware.
Next to the analysis and implementation your task is to evaluate the approach towards memory consumption and start-up time consumption.
Topics covered by this thesis:
whole system compiler, static analysis, LLVM, C++, Python
LibrePilot website: https://www.librepilot.org
ARA: Automatic Instance-Level Analysis in Real-Time Systems
Proceedings of the 15th Annual Workshop on Operating Systems Platforms for Embedded Real-Time Applications (OSPERT '19)2019.