<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/source/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in klp-write-tests.txt</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>5b6dca02b3e2254d2fd5706d76d7ab4610a67296 - Merge tag &apos;objtool-core-2026-10-18&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/objtool/Documentation/klp-write-tests.txt#5b6dca02b3e2254d2fd5706d76d7ab4610a67296</link>
        <description>Merge tag &apos;objtool-core-2026-10-18&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tipPull objtool updates from Ingo Molnar: - Add unit test suite for objtool klp functionality and   known failure modes (by Song Liu and Puranjay Mohan,   with fixes by Joe Lawrence)* tag &apos;objtool-core-2026-10-18&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (58 commits)  objtool/klp: Add test for ThinLTO symbols sharing a demangled name  objtool/klp: Add test for Clang switch jump tables  objtool/klp: Add test for UBSAN metadata in an unchanged function  objtool/klp: Add test for absolute and __ADDRESSABLE symbols  objtool/klp: Add test for a patch which strips a data annotation  objtool/klp: Add test for the alignment of cloned data sections  objtool/klp: Add test for alternative replacement code in checksums  objtool/klp: Add test for instruction operand checksums  objtool/klp: Add test for a static call introduced by the patch  objtool/klp: Add test for tracepoint and pr_debug static branch keys  objtool/klp: Add test for a static branch introduced by the patch  objtool/klp: Add test for symbols with no checksum entry of their own  objtool/klp: Add test for data object checksums  objtool/klp: Test text annotations on alternative replacements  objtool/klp: Test a hand-built livepatch module&apos;s static call keys  objtool/klp: Test rejection of a file-local static branch key  objtool/klp: Add test for symbols whose linkage the patch changes  objtool/klp: Add test for kCFI prefix symbols and traps  objtool/klp: Add test for __bug_table, __ex_table and __mcount_loc extraction  objtool/klp: Add test for static locals which must not be correlated  ...

            List of files:
            /linux/tools/objtool/Documentation/klp-write-tests.txt</description>
        <pubDate>Wed, 21 Oct 2026 00:55:04 +0200</pubDate>
        <dc:creator>Linus Torvalds &lt;torvalds@linux-foundation.org&gt;</dc:creator>
    </item>
<item>
        <title>2ab23a580d00fcf2a3dbb93b54b45d295aba835d - objtool/klp: Document the klp test harness</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/objtool/Documentation/klp-write-tests.txt#2ab23a580d00fcf2a3dbb93b54b45d295aba835d</link>
        <description>objtool/klp: Document the klp test harnessTwo documents, for two different readers.klp-test-design.txt is for someone deciding whether to trust the suite orchange it: what makes unit tests possible for a pipeline that normallyneeds two kernel builds (objtool has no configuration-dependent logic, so atest reproduces a configuration by reproducing its input), how tests areselected per architecture, and what the outcome classification is for.klp-write-tests.txt is the procedure for adding one, and is written to behanded to someone -- or something -- with the instruction &quot;follow this andwrite a test for commit &lt;sha&gt;&quot;, or &quot;port the case at &lt;location&gt; fromanother harness&quot;.  It leads with the rule that matters: a test is notfinished until you have watched it fail with the code broken.  Then thetraps, each of which this suite has already fallen into -- a fixture thecompiler optimised away, a named char[] which never reaches the string pathbecause that keys on SHF_STRINGS, per-function sections hiding the movementa test was about.Some of this was previously written as comments in lib.sh.  That was thewrong place: guidance on how to write a test is read once by an author,while every comment in the harness is read by everyone who opens it.Explanations of why the code is as it is stay where they were.Signed-off-by: Song Liu &lt;song@kernel.org&gt;Signed-off-by: Josh Poimboeuf &lt;jpoimboe@kernel.org&gt;Signed-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;Assisted-by: Claude:claude-opus-5Link: https://patch.msgid.link/20260916184351.2720310-10-song@kernel.org

            List of files:
            /linux/tools/objtool/Documentation/klp-write-tests.txt</description>
        <pubDate>Wed, 16 Sep 2026 20:43:02 +0200</pubDate>
        <dc:creator>Song Liu &lt;song@kernel.org&gt;</dc:creator>
    </item>
</channel>
</rss>
