Merge branch 'feature/kostyantyn/traces' into 'master'
Stack traces for assertion failures Related to issue #14 Replaces !63 This merge request suggests a change that produces stack traces on assertion failures. Without this functionality it is difficult to investigate issues causing E-ACSL assertion failures: the previous design reported only line and file numbers where the assertions have failed and terminated executions using `exit(1)`. Changes made by this merge request: - Added an interface for executing shell commands from within the C RTL (`e_acsl_shexec.h`). This interface is required for running `addr2line`, a `binutils` tool that translates addresses into line and file numbers. - Added an interface to the GLIBC backtrace function so stack traces could be generated. - Updated C RTL string header to add several support functions. - Updated C RTL assert header to enable trace generation and also to raise abort signals rather than end the executions via `exit(1)`. See merge request !66
No related branches found
No related tags found
Showing
- src/plugins/e-acsl/doc/Changelog 12 additions, 2 deletionssrc/plugins/e-acsl/doc/Changelog
- src/plugins/e-acsl/share/e-acsl/e_acsl_assert.h 16 additions, 14 deletionssrc/plugins/e-acsl/share/e-acsl/e_acsl_assert.h
- src/plugins/e-acsl/share/e-acsl/e_acsl_bits.h 1 addition, 0 deletionssrc/plugins/e-acsl/share/e-acsl/e_acsl_bits.h
- src/plugins/e-acsl/share/e-acsl/e_acsl_printf.h 0 additions, 2 deletionssrc/plugins/e-acsl/share/e-acsl/e_acsl_printf.h
- src/plugins/e-acsl/share/e-acsl/e_acsl_shexec.h 227 additions, 0 deletionssrc/plugins/e-acsl/share/e-acsl/e_acsl_shexec.h
- src/plugins/e-acsl/share/e-acsl/e_acsl_string.h 58 additions, 0 deletionssrc/plugins/e-acsl/share/e-acsl/e_acsl_string.h
- src/plugins/e-acsl/share/e-acsl/e_acsl_syscall.h 2 additions, 0 deletionssrc/plugins/e-acsl/share/e-acsl/e_acsl_syscall.h
- src/plugins/e-acsl/share/e-acsl/e_acsl_trace.h 70 additions, 0 deletionssrc/plugins/e-acsl/share/e-acsl/e_acsl_trace.h
Loading
Please register or sign in to comment