testing/tests: CLANG compiler-rt runtime test
authorMatt Weber <matthew.weber@rockwellcollins.com>
Tue, 22 Mar 2022 23:22:21 +0000 (17:22 -0600)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Mon, 20 Jun 2022 19:32:43 +0000 (21:32 +0200)
commit570aa425596cc1266cd9fba9af66b3e97f48fb62
tree6cc2a04e80571bc1adff82f1fb8d90bcaf2bd17f
parent5e9417e3b4a72d7c3cd00b0d7e93db47125917d6
testing/tests: CLANG compiler-rt runtime test

This patch adds a test case that
 1) Builds the complete LLVM and CLANG set of host tools
 2) Cross-compiles the compiler-rt runtime using CLANG
 3) Builds a cross-compiled application using CLANG and the libfuzzer
    compiler-rt library.
 4) Executes the fuzz application (part of the libfuzzer package) on
    target and checks expected output for a heap-buffer-overflow.

Note: The libfuzzer package is just a tutorial example of how to use
      the toolkit provided by llvm (Thus not adding it as a full
      Buildroot package).

Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Romain Naour <romain.naour@smile.fr>
[Arnout: add Matt to DEVELOPERS]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
DEVELOPERS
support/testing/tests/package/br2-external/clang-compiler-rt/Config.in [new file with mode: 0644]
support/testing/tests/package/br2-external/clang-compiler-rt/external.desc [new file with mode: 0644]
support/testing/tests/package/br2-external/clang-compiler-rt/external.mk [new file with mode: 0644]
support/testing/tests/package/br2-external/clang-compiler-rt/package/libfuzzer/Config.in [new file with mode: 0644]
support/testing/tests/package/br2-external/clang-compiler-rt/package/libfuzzer/libfuzzer.hash [new file with mode: 0644]
support/testing/tests/package/br2-external/clang-compiler-rt/package/libfuzzer/libfuzzer.mk [new file with mode: 0644]
support/testing/tests/package/test_clang.py [new file with mode: 0644]
This page took 0.044052 seconds and 4 git commands to generate.