Skip to content

Commit

Permalink
Added the ability to disable checks at runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
drowaudio committed May 28, 2024
1 parent e0d0635 commit f005f00
Show file tree
Hide file tree
Showing 8 changed files with 275 additions and 58 deletions.
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ Dynamic library to catch run-time safety violations heavily inspired by [RADSan]
- [x] Enable in scope
- [x] Disable in scope
- [x] Symbolicated stack-trace
- [ ] Build-time flags for checks
- [ ] Run-time options for checks
- [x] Run-time options for checks
- [x] Opt-in for own code
- [x] linux
- [x] macOS (malloc unsupported)
- [ ] Delay time

## Functions (test = ✔)
- Time
Expand Down Expand Up @@ -40,10 +40,10 @@ Dynamic library to catch run-time safety violations heavily inspired by [RADSan]
- [x] pthread_rwlock_wrlock ✔
- [x] pthread_spin_lock (linux)
- Files
- [ ] open
- [ ] openat
- [x] open
- [x] openat
- [ ] close
- [ ] fopen
- [x] fopen
- [ ] fread
- [ ] fwrite
- [ ] fclose
Expand All @@ -53,7 +53,7 @@ Dynamic library to catch run-time safety violations heavily inspired by [RADSan]
- [ ] fputs
- [x] stat ✔
- [ ] stat64
- [ ] fstat
- [x] fstat
- [ ] fstat64
- IO
- [ ] socket
Expand All @@ -66,6 +66,8 @@ Dynamic library to catch run-time safety violations heavily inspired by [RADSan]
- [ ] shutdown
- System calls
- [x] syscall ✔
- [x] schedule
- [x] context_switch

## CI/Tests
- Failures
Expand All @@ -76,6 +78,7 @@ Dynamic library to catch run-time safety violations heavily inspired by [RADSan]
- Passes
- [x] Atomic double
- [x] Small std::function
- [ ] thread_local? (pass on linux, fail on macOS)
- [x] Running on CI Linux
- [x] Running on CI macOS
- [x] Tests via CTest (can catch failues)
Expand Down
Loading

0 comments on commit f005f00

Please sign in to comment.