Initial Commit
- initial default booting image
This commit is contained in:
@@ -0,0 +1 @@
|
||||
source "$BR2_EXTERNAL_CLANG_COMPILER_RT_PATH/package/libfuzzer/Config.in"
|
||||
@@ -0,0 +1 @@
|
||||
name: CLANG_COMPILER_RT
|
||||
@@ -0,0 +1 @@
|
||||
include $(sort $(wildcard $(BR2_EXTERNAL_CLANG_COMPILER_RT_PATH)/package/*/*.mk))
|
||||
@@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_LIBFUZZER
|
||||
bool "libfuzzer"
|
||||
help
|
||||
This project aims at hosting tutorials,
|
||||
examples, discussions, research proposals,
|
||||
and other resources related to fuzzing.
|
||||
|
||||
https://github.com/google/fuzzing
|
||||
@@ -0,0 +1,2 @@
|
||||
sha256 c71360c3b1ba1d88b28b0b3cb3a1744d251b87a12f2881224cc53ec26eb7a2db libfuzzer-cec02db916d21baa4db5b8d262d78848b3a35f4b.tar.gz
|
||||
sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE
|
||||
@@ -0,0 +1,24 @@
|
||||
################################################################################
|
||||
#
|
||||
# libfuzzer
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBFUZZER_VERSION = cec02db916d21baa4db5b8d262d78848b3a35f4b
|
||||
LIBFUZZER_SITE = $(call github,google,fuzzing,$(LIBFUZZER_VERSION))
|
||||
LIBFUZZER_LICENSE = Apache-2.0
|
||||
LIBFUZZER_LICENSE_FILES = LICENSE
|
||||
LIBFUZZER_DEPENDENCIES = compiler-rt
|
||||
|
||||
define LIBFUZZER_BUILD_CMDS
|
||||
$(HOST_DIR)/bin/clang++ --sysroot=$(STAGING_DIR) \
|
||||
-fsanitize=address,fuzzer \
|
||||
$(@D)/tutorial/libFuzzer/fuzz_me.cc \
|
||||
-o $(@D)/fuzz_me
|
||||
endef
|
||||
|
||||
define LIBFUZZER_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 755 $(@D)/fuzz_me $(TARGET_DIR)/usr/bin/fuzz_me
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user