Skip to content

Record the sanitizer probes as expected and key objtool objects by relative path - #42

Merged
tamnd merged 1 commit into
mainfrom
sanitizer-divergences
Oct 3, 2026
Merged

tamnd merged 1 commit into
mainfrom
sanitizer-divergences

Conversation

@tamnd

@tamnd tamnd commented Oct 3, 2026

Copy link
Copy Markdown
Owner

Two things config-diff and flags-diff reported on the defconfig pair that are not rucc work.

CC_HAS_KASAN_GENERIC, CC_HAS_KASAN_SW_TAGS and HAVE_KCSAN_COMPILER are yes with gcc and no with rucc, and KASAN and KCSAN only show up in the gcc .config because of them. rucc has no -fsanitize=kernel-address or -fsanitize=thread, and section 8.10 of the plan keeps the sanitizers out of the grade, with both off in both builds. They are now in config-divergences.toml with that reason.

flags-diff listed all 26 objtool objects as built by one side only. objtool's own makefile names its objects by their full path, so the key had the output directory in it and never matched across builds. load now keys every object relative to the output directory, with a unit test.

Part of #3.

@tamnd tamnd added kind/feature New capability in the harness area/rk The rk command line labels Oct 3, 2026
@tamnd
tamnd merged commit 369b18d into main Oct 3, 2026
3 of 5 checks passed
@tamnd
tamnd deleted the sanitizer-divergences branch October 3, 2026 12:52
@tamnd tamnd mentioned this pull request Oct 3, 2026
26 of 27 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/rk The rk command line kind/feature New capability in the harness

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant