Perf UBsan Patches
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 14 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | Fix backward-ring-buffer.c format-truncation errortools/ | +1 | 7 replies | |
| 2/3 | Fix ordered-events.c array-bounds errortools/ | +2 | 2 replies | |
| 3/3 | Fix insn.c misaligned address errortools/ | +2 | 10 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Jiri Olsa | Ian Rogers |
|---|---|---|
| 1/3 | R-b A-b | A-b |
| 2/3 | ||
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] Perf UBsan Patches
These patches are all errors found by running perf test with the ubsan (undefined behavior sanitizer version of perf).
To repro the bug fixed in the "Fix insn.c misaligned address error" patch you must first apply the changes in the Fix backward-ring-buffer.c format-truncation error and Fix ordered-events.c array-bounds error patches since these are necessary to get the ubsan version of perf to build.
To build the ubsan version, run:
make -C tools/perf USE_CLANG=1 EXTRA_CFLAGS="-fsanitize=undefined"
Numfor Mbiziwo-Tiapo (3):
Fix backward-ring-buffer.c format-truncation error Fix ordered-events.c array-bounds error Fix insn.c misaligned address error
tools/perf/tests/backward-ring-buffer.c | 2 +- tools/perf/util/intel-pt-decoder/insn.c | 3 ++- tools/perf/util/ordered-events.c | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-)
Signature · 1 line
2.22.0.657.g960e92d24f-goog