diff options
author | Allen Webb <allenwebb@google.com> | 2018-08-21 07:50:27 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-09-07 18:36:34 -0700 |
commit | 269ff3569799531fa2b7f7a5def012ea254ceb57 (patch) | |
tree | 5175c35320981d22707ed108bfe975ab29e37064 /Makefile.rules | |
parent | 8961872603f6d7b66ef97d444711e83d6a55e2f4 (diff) | |
download | chrome-ec-269ff3569799531fa2b7f7a5def012ea254ceb57.tar.gz |
cr50_fuzz: Add minimal fuzzer for pinweaver.
This adds a minimal pinweaver fuzzer as a foundation for further work.
It will not be able to achieve good coverage because it doesn't have a
proper description of the protocol, however it demonstrates that the
prerequisites to build against dcrypto, nvmem_vars, and nvcounter are
satisfied for the host board.
CQ-DEPEND=CL:1183532
BRANCH=none
BUG=chromium:876582
TEST=make -j buildfuzztests &&
./build/host/cr50_fuzz/cr50_fuzz.exe
Change-Id: I520d71c224d583c51dc3292dc051ee8de4a4116a
Signed-off-by: Allen Webb <allenwebb@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1183534
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'Makefile.rules')
-rw-r--r-- | Makefile.rules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules index 8857b24f47..d44db81ba5 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -74,7 +74,7 @@ cmd_bin_to_hex = $(OBJCOPY) -I binary -O ihex \ cmd_smap = $(NM) $< | sort > $@ cmd_elf = $(CC) $(objs) $(libsharedobjs_elf-y) $(LDFLAGS) \ -o $@ -Wl,-T,$< -Wl,-Map,$(patsubst %.elf,%.map,$@) -cmd_fuzz_exe = $(CXX) $^ $(HOST_TEST_LDFLAGS) -o $@ +cmd_fuzz_exe = $(CXX) $^ $(HOST_TEST_LDFLAGS) $(LDFLAGS_EXTRA) -o $@ cmd_exe = $(CC) $(ro-objs) $(HOST_TEST_LDFLAGS) -o $@ cmd_c_to_o = $(CC) $(CFLAGS) -MMD -MP -MF $@.d -c $< -o $(@D)/$(@F) cmd_c_to_build = $(BUILDCC) $(BUILD_CFLAGS) \ |