Unit test framework for klp-build toolchain
Status from this message: The following commit has been merged into the objtool/core branch of tip:
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest58 patches 3 repliesApplied
- v458 patches 5 repliesSuperseded
- v358 patches 11 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 58 patches | 15 replies | Superseded | |
| v1 | 58 patches | 1 reply | Superseded |
Changes in v5 from the cover letter
1. Yet more fixes based on Sashiko reviews.
Patches in v5 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/58 | objtool: Add test harness for the klp subcommandstools/ tools/ tools/ +2 more | +240 | 0 replies | |
| 2/58 | objtool/klp: Check the klp test environment once, before any testtools/ tools/ tools/ | +112 | 0 replies | |
| 3/58 | objtool/klp: Group the klp tests by architecturetools/ tools/ tools/ +1 more | +56 | 0 replies | |
| 4/58 | objtool/klp: Classify klp test outcomestools/ tools/ | +186 | 0 replies | |
| 5/58 | objtool/klp: Build klp test fixtures through the harnesstools/ | +186 | 0 replies | |
| 6/58 | objtool/klp: Grow the klp test harness vocabularytools/ | +360 | 0 replies | |
| 7/58 | objtool/klp: Give each run one working directory, one per test inside ittools/ tools/ | +42 | 0 replies | |
| 8/58 | objtool/klp: Run the klp tests under set -utools/ | +2 | 0 replies | |
| 9/58 | objtool/klp: Document the klp test harnesstools/ tools/ | +538 | 0 replies | |
| 10/58 | objtool: Keep failing test workdirs by defaulttools/ tools/ tools/ +1 more | +136 | 0 replies | |
| 11/58 | objtool: Forward toolchain variables to the klp test runnertools/ tools/ | +20 | 0 replies | |
| 12/58 | objtool/klp: Add test for rejecting changed datatools/ tools/ | +34 | 0 replies | |
| 13/58 | objtool/klp: Add test for newly introduced datatools/ tools/ | +50 | 0 replies | |
| 14/58 | objtool/klp: Add test for newly introduced functionstools/ tools/ | +37 | 0 replies | |
| 15/58 | objtool/klp: Add test for static local correlationtools/ tools/ | +41 | 0 replies | |
| 16/58 | objtool/klp: Add test for cold function halvestools/ tools/ | +60 | 0 replies | |
| 17/58 | objtool/klp: Add test for special section extractiontools/ tools/ | +44 | 0 replies | |
| 18/58 | objtool/klp: Add test for selective special section extractiontools/ tools/ | +57 | 0 replies | |
| 19/58 | objtool/klp: Add test for jump table key relocationstools/ tools/ | +120 | 0 replies | |
| 20/58 | objtool/klp: Add test for rejecting module-owned static branch keystools/ | +22 | 0 replies | |
| 21/58 | objtool/klp: Add test for rejecting module-owned static call keystools/ tools/ | +95 | 0 replies | |
| 22/58 | objtool/klp: Add test for symids in discarded sectionstools/ tools/ | +69 | 0 replies | |
| 23/58 | objtool/klp: Add test for rejecting references to init code/datatools/ tools/ | +46 | 0 replies | |
| 24/58 | objtool/klp: Add test for correlation across ThinLTO name manglingtools/ tools/ | +87 | 0 replies | |
| 25/58 | objtool/klp: Add test for objects without .modinfotools/ tools/ | +27 | 0 replies | |
| 26/58 | objtool/klp: Add test for unchecksummed inputtools/ | +18 | 0 replies | |
| 27/58 | objtool/klp: Add klp diff and post-link regression teststools/ tools/ tools/ +3 more | +205 | 0 replies | |
| 28/58 | objtool/klp: Add test for klp reloc section naming in module objectstools/ tools/ | +56 | 0 replies | |
| 29/58 | objtool/klp: Add test for vmlinux relocs in a patched moduletools/ | +40 | 0 replies | |
| 30/58 | objtool/klp: Add test for Module.symvers path normalizationtools/ | +26 | 0 replies | |
| 31/58 | objtool/klp: Add test for the contents of the klp_funcs listtools/ tools/ | +76 | 0 replies | |
| 32/58 | objtool/klp: Add test for EXPORT_SYMBOL_FOR_MODULES referencestools/ | +39 | 0 replies | |
| 33/58 | objtool/klp: Add test for new references to exported symbolstools/ tools/ | +81 | 0 replies | |
| 34/58 | objtool/klp: Add test for empty x86 alternative replacementstools/ tools/ | +108 | 0 replies | |
| 35/58 | objtool/klp: Add test for recorded checksum valuestools/ | +37 | 0 replies | |
| 36/58 | objtool/klp: Add test for position-independent checksumstools/ tools/ | +92 | 2 replies | |
| 37/58 | objtool/klp: Add test for sympos in module objectstools/ tools/ | +83 | 0 replies | |
| 38/58 | objtool/klp: Add test for sympos resolved against a linked vmlinuxtools/ tools/ | +97 | 0 replies | |
| 39/58 | objtool/klp: Add test for static locals which must not be correlatedtools/ tools/ | +82 | 0 replies | |
| 40/58 | objtool/klp: Add test for __bug_table, __ex_table and __mcount_loc extractiontools/ tools/ | +119 | 0 replies | |
| 41/58 | objtool/klp: Add test for kCFI prefix symbols and trapstools/ tools/ | +78 | 0 replies | |
| 42/58 | objtool/klp: Add test for symbols whose linkage the patch changestools/ tools/ | +97 | 0 replies | |
| 43/58 | objtool/klp: Test rejection of a file-local static branch keytools/ | +45 | 1 reply | |
| 44/58 | objtool/klp: Test a hand-built livepatch module's static call keystools/ tools/ | +72 | 0 replies | |
| 45/58 | objtool/klp: Test text annotations on alternative replacementstools/ tools/ | +95 | 0 replies | |
| 46/58 | objtool/klp: Add test for data object checksumstools/ tools/ | +177 | 0 replies | |
| 47/58 | objtool/klp: Add test for symbols with no checksum entry of their owntools/ tools/ | +128 | 0 replies | |
| 48/58 | objtool/klp: Add test for a static branch introduced by the patchtools/ | +51 | 0 replies | |
| 49/58 | objtool/klp: Add test for tracepoint and pr_debug static branch keystools/ | +51 | 0 replies | |
| 50/58 | objtool/klp: Add test for a static call introduced by the patchtools/ | +45 | 0 replies | |
| 51/58 | objtool/klp: Add test for instruction operand checksumstools/ tools/ | +127 | 0 replies | |
| 52/58 | objtool/klp: Add test for alternative replacement code in checksumstools/ tools/ | +111 | 0 replies | |
| 53/58 | objtool/klp: Add test for the alignment of cloned data sectionstools/ tools/ | +69 | 0 replies | |
| 54/58 | objtool/klp: Add test for a patch which strips a data annotationtools/ | +42 | 0 replies | |
| 55/58 | objtool/klp: Add test for absolute and __ADDRESSABLE symbolstools/ tools/ | +94 | 0 replies | |
| 56/58 | objtool/klp: Add test for UBSAN metadata in an unchanged functiontools/ tools/ | +97 | 0 replies | |
| 57/58 | objtool/klp: Add test for Clang switch jump tablestools/ tools/ | +84 | 0 replies | |
| 58/58 | objtool/klp: Add test for ThinLTO symbols sharing a demangled nametools/ tools/ | +134 | 0 replies |
Reviews trailers per patch
None of the 58 patches has a Reviewed-by or Acked-by.
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 00/58] Unit test framework for klp-build toolchain
This is the unit test part of a test framework for the klp-build toolchain. The other part of the test framework will be some integration tests, similar to an earlier propose [1].
This is joint work by Puranjay Mohan, Joe Lawrence, and myself (Song Liu). Note that, while only two patches here are under Joe's authorship, his contribution to this set is much bigger than the number represents. A lot of these tests are based on Joe's earlier work in this area [2].
As the Assisted-by tags show, a lot of the work here is done with assists of AI. We actually designed the framework to so that we expect AI to write these tests in the future. AI also contributed in the design of the test framework. However, we (human) carefully reviewed the test framework. Also, this cover letter is 100% written by a human being (Song Liu).
Here are some key design choices we made for this unit tests framework:
1. We do not need different unit test here for different kernel CONFIG_* options. Instead, the tests cover different CONFIG_* options by passing different arguments to the compiler and objtool.
2. The test is NOT designed to be backward compatible. Similar to objtool itself, the unit tests are delivered with the kernel tree. The user of these tests should test the objtool with the unit tests in the same branch. Once this test framework lands, future changes and fixes to the objtool klp command should land with unit tests that cover the changes.
3. It is possible to run these tests on a different architecture with proper cross compilers. However, for automated CI, we are planning to focus on native tests. Please refer to "Future work" section below for more information about the CI.
4. AI will help write tests. We found AI is very cable to write good tests. tools/objtool/Documentation/klp-write-tests.txt is added for AI to read, so that AI can write tests for this test framework.
Future work
1. The integration test simiar to [1]. Unlike the unit tests, the integration tests will need separate runs to cover different kernel CONFIG_* combinations.
2. CI. The plan is to build a lore => patchwork => GitHub CI framework. This is the model used by subsystems such as netdev, bpf, and risc-v. We also have some ideas on "who will pay for the CI" issue, but I would rather not promise anything yet.
3. More tests.
Thanks,
Song
[1] https://lore.kernel.org/live-patching/[email protected]/
[2] https://github.com/joe-lawrence/klp-build-unit-tests
Changes v4 => v5:
1. Yet more fixes based on Sashiko reviews.
v4: https://lore.kernel.org/live-patching/[email protected]/
Changes v3 => v4:
1. Fix yet more issues reported by Sashiko.
v3: https://lore.kernel.org/live-patching/[email protected]/
Changes v2 => v3:
1. Fix more issues reported by Sashiko.
v2: https://lore.kernel.org/live-patching/[email protected]/
Changes v1 => v2:
1. Fix issues reported by Sashiko.
v1: https://lore.kernel.org/live-patching/[email protected]/
Joe Lawrence (2):
objtool: Keep failing test workdirs by default
objtool: Forward toolchain variables to the klp test runner
Puranjay Mohan (16):
objtool: Add test harness for the klp subcommands objtool/klp: Add test for rejecting changed data objtool/klp: Add test for newly introduced data objtool/klp: Add test for newly introduced functions objtool/klp: Add test for static local correlation objtool/klp: Add test for cold function halves objtool/klp: Add test for special section extraction objtool/klp: Add test for selective special section extraction objtool/klp: Add test for jump table key relocations objtool/klp: Add test for rejecting module-owned static branch keys objtool/klp: Add test for rejecting module-owned static call keys objtool/klp: Add test for symids in discarded sections objtool/klp: Add test for rejecting references to init code/data objtool/klp: Add test for correlation across ThinLTO name mangling objtool/klp: Add test for objects without .modinfo objtool/klp: Add test for unchecksummed input
Song Liu (40):
objtool/klp: Check the klp test environment once, before any test objtool/klp: Group the klp tests by architecture objtool/klp: Classify klp test outcomes
objtool/klp: Build klp test fixtures through the harness objtool/klp: Grow the klp test harness vocabulary objtool/klp: Give each run one working directory, one per test inside
it
objtool/klp: Run the klp tests under set -u
objtool/klp: Document the klp test harness
objtool/klp: Add klp diff and post-link regression tests objtool/klp: Add test for klp reloc section naming in module objects objtool/klp: Add test for vmlinux relocs in a patched module objtool/klp: Add test for Module.symvers path normalization objtool/klp: Add test for the contents of the klp_funcs list objtool/klp: Add test for EXPORT_SYMBOL_FOR_MODULES references objtool/klp: Add test for new references to exported symbols objtool/klp: Add test for empty x86 alternative replacements objtool/klp: Add test for recorded checksum values objtool/klp: Add test for position-independent checksums objtool/klp: Add test for sympos in module objects objtool/klp: Add test for sympos resolved against a linked vmlinux objtool/klp: Add test for static locals which must not be correlated objtool/klp: Add test for __bug_table, __ex_table and __mcount_loc
extraction
objtool/klp: Add test for kCFI prefix symbols and traps objtool/klp: Add test for symbols whose linkage the patch changes objtool/klp: Test rejection of a file-local static branch key objtool/klp: Test a hand-built livepatch module's static call keys objtool/klp: Test text annotations on alternative replacements objtool/klp: Add test for data object checksums objtool/klp: Add test for symbols with no checksum entry of their own objtool/klp: Add test for a static branch introduced by the patch objtool/klp: Add test for tracepoint and pr_debug static branch keys objtool/klp: Add test for a static call introduced by the patch objtool/klp: Add test for instruction operand checksums objtool/klp: Add test for alternative replacement code in checksums objtool/klp: Add test for the alignment of cloned data sections objtool/klp: Add test for a patch which strips a data annotation objtool/klp: Add test for absolute and __ADDRESSABLE symbols objtool/klp: Add test for UBSAN metadata in an unchanged function objtool/klp: Add test for Clang switch jump tables objtool/klp: Add test for ThinLTO symbols sharing a demangled name
.../objtool/Documentation/klp-test-design.txt | 286 ++++++ .../objtool/Documentation/klp-write-tests.txt | 266 +++++ tools/objtool/Makefile | 15 +- .../generic/fixtures/abs_and_addressable.c | 44 + tools/objtool/tests/generic/fixtures/basic.c | 20 + .../tests/generic/fixtures/changed_data.c | 16 + .../tests/generic/fixtures/checksum_data.c | 116 +++ .../tests/generic/fixtures/checksum_insn.c | 78 ++ .../generic/fixtures/checksum_position.c | 42 + .../tests/generic/fixtures/checksum_skip.c | 47 + .../tests/generic/fixtures/cold_function.c | 21 + .../tests/generic/fixtures/cross_module.c | 25 + .../tests/generic/fixtures/data_alignment.c | 29 + .../tests/generic/fixtures/function_removal.c | 25 + .../tests/generic/fixtures/init_reference.c | 17 + .../tests/generic/fixtures/jump_label.c | 76 ++ .../tests/generic/fixtures/klp_funcs.c | 31 + .../tests/generic/fixtures/local_to_global.c | 34 + .../objtool/tests/generic/fixtures/new_data.c | 23 + .../tests/generic/fixtures/new_export_ref.c | 35 + .../tests/generic/fixtures/new_function.c | 21 + .../tests/generic/fixtures/no_modinfo.c | 11 + .../tests/generic/fixtures/special_section.c | 24 + .../generic/fixtures/special_section_shared.c | 31 + .../tests/generic/fixtures/static_call.c | 59 ++ .../tests/generic/fixtures/static_local.c | 17 + .../fixtures/static_local_uncorrelated.c | 41 + .../tests/generic/fixtures/switch_rodata.c | 31 + .../tests/generic/fixtures/symid_discarded.c | 25 + .../tests/generic/fixtures/sympos_dup.c | 32 + .../tests/generic/fixtures/sympos_vmlinux.c | 40 + .../generic/fixtures/thinlto_ambiguity.c | 57 ++ .../tests/generic/fixtures/thinlto_local.c | 39 + .../tests/generic/fixtures/ubsan_noise.c | 49 + .../tests/generic/test-abs-and-addressable.sh | 50 + tools/objtool/tests/generic/test-basic.sh | 17 + .../tests/generic/test-changed-data.sh | 18 + .../tests/generic/test-checksum-data.sh | 61 ++ .../tests/generic/test-checksum-debug.sh | 49 + .../tests/generic/test-checksum-insn.sh | 49 + .../tests/generic/test-checksum-position.sh | 50 + .../tests/generic/test-checksum-skip.sh | 81 ++ .../tests/generic/test-checksum-value.sh | 37 + .../tests/generic/test-cold-function.sh | 39 + .../tests/generic/test-data-alignment.sh | 40 + .../generic/test-export-symbol-for-modules.sh | 39 + .../tests/generic/test-function-removal.sh | 34 + .../tests/generic/test-init-reference.sh | 29 + .../generic/test-jump-label-exempt-keys.sh | 51 + .../tests/generic/test-jump-label-key.sh | 44 + .../generic/test-jump-label-module-key.sh | 22 + .../test-jump-label-module-static-key.sh | 45 + .../tests/generic/test-jump-label-new-key.sh | 51 + .../tests/generic/test-klp-funcs-content.sh | 45 + .../generic/test-local-to-global-flip.sh | 63 ++ .../tests/generic/test-local-vs-export.sh | 32 + .../tests/generic/test-missing-checksum.sh | 18 + .../tests/generic/test-missing-modinfo.sh | 16 + .../tests/generic/test-modname-normalize.sh | 26 + .../tests/generic/test-module-object.sh | 31 + .../generic/test-module-vmlinux-reloc.sh | 40 + tools/objtool/tests/generic/test-new-data.sh | 27 + .../tests/generic/test-new-export-ref.sh | 46 + .../tests/generic/test-new-function.sh | 16 + tools/objtool/tests/generic/test-post-link.sh | 42 + .../generic/test-special-section-shared.sh | 26 + .../tests/generic/test-special-section.sh | 20 + .../test-static-call-annotate-stripped.sh | 42 + .../generic/test-static-call-module-key.sh | 36 + .../tests/generic/test-static-call-new.sh | 45 + .../generic/test-static-local-uncorrelated.sh | 41 + .../tests/generic/test-static-local.sh | 24 + .../tests/generic/test-switch-rodata.sh | 53 + .../tests/generic/test-symid-discarded.sh | 44 + .../tests/generic/test-sympos-vmlinux.sh | 57 ++ tools/objtool/tests/generic/test-sympos.sh | 51 + .../tests/generic/test-symvers-parse-error.sh | 23 + .../tests/generic/test-thinlto-ambiguity.sh | 77 ++ .../tests/generic/test-thinlto-local.sh | 48 + .../objtool/tests/generic/test-ubsan-noise.sh | 48 + tools/objtool/tests/lib.sh | 911 ++++++++++++++++++ tools/objtool/tests/run-tests.sh | 239 +++++ .../objtool/tests/x86/fixtures/alt_annotate.c | 57 ++ .../objtool/tests/x86/fixtures/checksum_alt.c | 66 ++ .../tests/x86/fixtures/empty_alternative.c | 77 ++ tools/objtool/tests/x86/fixtures/kcfi.c | 39 + .../tests/x86/fixtures/special_sections.c | 77 ++ .../tests/x86/fixtures/static_call_no_key.c | 32 + .../objtool/tests/x86/test-alt-annotation.sh | 38 + tools/objtool/tests/x86/test-checksum-alt.sh | 45 + .../tests/x86/test-empty-alternative.sh | 31 + tools/objtool/tests/x86/test-kcfi.sh | 39 + .../tests/x86/test-manual-klp-static-call.sh | 40 + .../tests/x86/test-special-sections.sh | 42 + 94 files changed, 5298 insertions(+), 1 deletion(-) create mode 100644 tools/objtool/Documentation/klp-test-design.txt create mode 100644 tools/objtool/Documentation/klp-write-tests.txt create mode 100644 tools/objtool/tests/generic/fixtures/abs_and_addressable.c create mode 100644 tools/objtool/tests/generic/fixtures/basic.c create mode 100644 tools/objtool/tests/generic/fixtures/changed_data.c create mode 100644 tools/objtool/tests/generic/fixtures/checksum_data.c create mode 100644 tools/objtool/tests/generic/fixtures/checksum_insn.c create mode 100644 tools/objtool/tests/generic/fixtures/checksum_position.c create mode 100644 tools/objtool/tests/generic/fixtures/checksum_skip.c create mode 100644 tools/objtool/tests/generic/fixtures/cold_function.c create mode 100644 tools/objtool/tests/generic/fixtures/cross_module.c create mode 100644 tools/objtool/tests/generic/fixtures/data_alignment.c create mode 100644 tools/objtool/tests/generic/fixtures/function_removal.c create mode 100644 tools/objtool/tests/generic/fixtures/init_reference.c create mode 100644 tools/objtool/tests/generic/fixtures/jump_label.c create mode 100644 tools/objtool/tests/generic/fixtures/klp_funcs.c create mode 100644 tools/objtool/tests/generic/fixtures/local_to_global.c create mode 100644 tools/objtool/tests/generic/fixtures/new_data.c create mode 100644 tools/objtool/tests/generic/fixtures/new_export_ref.c create mode 100644 tools/objtool/tests/generic/fixtures/new_function.c create mode 100644 tools/objtool/tests/generic/fixtures/no_modinfo.c create mode 100644 tools/objtool/tests/generic/fixtures/special_section.c create mode 100644 tools/objtool/tests/generic/fixtures/special_section_shared.c create mode 100644 tools/objtool/tests/generic/fixtures/static_call.c create mode 100644 tools/objtool/tests/generic/fixtures/static_local.c create mode 100644 tools/objtool/tests/generic/fixtures/static_local_uncorrelated.c create mode 100644 tools/objtool/tests/generic/fixtures/switch_rodata.c create mode 100644 tools/objtool/tests/generic/fixtures/symid_discarded.c create mode 100644 tools/objtool/tests/generic/fixtures/sympos_dup.c create mode 100644 tools/objtool/tests/generic/fixtures/sympos_vmlinux.c create mode 100644 tools/objtool/tests/generic/fixtures/thinlto_ambiguity.c create mode 100644 tools/objtool/tests/generic/fixtures/thinlto_local.c create mode 100644 tools/objtool/tests/generic/fixtures/ubsan_noise.c create mode 100755 tools/objtool/tests/generic/test-abs-and-addressable.sh create mode 100755 tools/objtool/tests/generic/test-basic.sh create mode 100755 tools/objtool/tests/generic/test-changed-data.sh create mode 100755 tools/objtool/tests/generic/test-checksum-data.sh create mode 100755 tools/objtool/tests/generic/test-checksum-debug.sh create mode 100755 tools/objtool/tests/generic/test-checksum-insn.sh create mode 100755 tools/objtool/tests/generic/test-checksum-position.sh create mode 100755 tools/objtool/tests/generic/test-checksum-skip.sh create mode 100755 tools/objtool/tests/generic/test-checksum-value.sh create mode 100755 tools/objtool/tests/generic/test-cold-function.sh create mode 100755 tools/objtool/tests/generic/test-data-alignment.sh create mode 100755 tools/objtool/tests/generic/test-export-symbol-for-modules.sh create mode 100755 tools/objtool/tests/generic/test-function-removal.sh create mode 100755 tools/objtool/tests/generic/test-init-reference.sh create mode 100755 tools/objtool/tests/generic/test-jump-label-exempt-keys.sh create mode 100755 tools/objtool/tests/generic/test-jump-label-key.sh create mode 100755 tools/objtool/tests/generic/test-jump-label-module-key.sh create mode 100755 tools/objtool/tests/generic/test-jump-label-module-static-key.sh create mode 100755 tools/objtool/tests/generic/test-jump-label-new-key.sh create mode 100755 tools/objtool/tests/generic/test-klp-funcs-content.sh create mode 100755 tools/objtool/tests/generic/test-local-to-global-flip.sh create mode 100755 tools/objtool/tests/generic/test-local-vs-export.sh create mode 100755 tools/objtool/tests/generic/test-missing-checksum.sh create mode 100755 tools/objtool/tests/generic/test-missing-modinfo.sh create mode 100755 tools/objtool/tests/generic/test-modname-normalize.sh create mode 100755 tools/objtool/tests/generic/test-module-object.sh create mode 100755 tools/objtool/tests/generic/test-module-vmlinux-reloc.sh create mode 100755 tools/objtool/tests/generic/test-new-data.sh create mode 100755 tools/objtool/tests/generic/test-new-export-ref.sh create mode 100755 tools/objtool/tests/generic/test-new-function.sh create mode 100755 tools/objtool/tests/generic/test-post-link.sh create mode 100755 tools/objtool/tests/generic/test-special-section-shared.sh create mode 100755 tools/objtool/tests/generic/test-special-section.sh create mode 100755 tools/objtool/tests/generic/test-static-call-annotate-stripped.sh create mode 100755 tools/objtool/tests/generic/test-static-call-module-key.sh create mode 100755 tools/objtool/tests/generic/test-static-call-new.sh create mode 100755 tools/objtool/tests/generic/test-static-local-uncorrelated.sh create mode 100755 tools/objtool/tests/generic/test-static-local.sh create mode 100755 tools/objtool/tests/generic/test-switch-rodata.sh create mode 100755 tools/objtool/tests/generic/test-symid-discarded.sh create mode 100755 tools/objtool/tests/generic/test-sympos-vmlinux.sh create mode 100755 tools/objtool/tests/generic/test-sympos.sh create mode 100755 tools/objtool/tests/generic/test-symvers-parse-error.sh create mode 100755 tools/objtool/tests/generic/test-thinlto-ambiguity.sh create mode 100755 tools/objtool/tests/generic/test-thinlto-local.sh create mode 100755 tools/objtool/tests/generic/test-ubsan-noise.sh create mode 100644 tools/objtool/tests/lib.sh create mode 100755 tools/objtool/tests/run-tests.sh create mode 100644 tools/objtool/tests/x86/fixtures/alt_annotate.c create mode 100644 tools/objtool/tests/x86/fixtures/checksum_alt.c create mode 100644 tools/objtool/tests/x86/fixtures/empty_alternative.c create mode 100644 tools/objtool/tests/x86/fixtures/kcfi.c create mode 100644 tools/objtool/tests/x86/fixtures/special_sections.c create mode 100644 tools/objtool/tests/x86/fixtures/static_call_no_key.c create mode 100755 tools/objtool/tests/x86/test-alt-annotation.sh create mode 100755 tools/objtool/tests/x86/test-checksum-alt.sh create mode 100755 tools/objtool/tests/x86/test-empty-alternative.sh create mode 100755 tools/objtool/tests/x86/test-kcfi.sh create mode 100755 tools/objtool/tests/x86/test-manual-klp-static-call.sh create mode 100755 tools/objtool/tests/x86/test-special-sections.sh
--
2.53.0-Meta