#4630 new enhancement

Use Address Sanitizer (ASAN) with RTEMS

Reported by: Joel Sherrill Owned by:
Priority: normal Milestone: Indefinite
Component: tool/gcc Version:
Severity: normal Keywords: SoC, GCC, tools, small, large, ecosystem
Cc: Blocked By:
Blocking:

Description

GCC supports the Google Address Sanitizer (ASAN) with the -fsanitizer argument. This requires a run-time library for support. This project is to make this work on RTEMS. This article indicates it can work on embedded targets.

https://mcuoneclipse.com/2021/05/31/finding-memory-bugs-with-google-address-sanitizer-asan-on-microcontrollers/

Start with examples that work on a host such as GNU/Linux and exhibit behavior that ASAN catches. Then adapt those along with whatever run-time support is required to RTEMS.

Possible Mentors: Joel Sherrill, Sebastian Huber, Gedare Bloom, Chris Johns
Skills: C
Difficulty: Medium

Change History (0)

Note: See TracTickets for help on using tickets.