Skip to content

Commit

Permalink
Additional SymCC Build Fixes (#954)
Browse files Browse the repository at this point in the history
  • Loading branch information
domenukk authored Dec 19, 2022
1 parent e56d531 commit 7ed1ac9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fuzzers/libfuzzer_stb_image_concolic/fuzzer/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ fn main() {
// Take advantage of LTO (needs lld-link set in your cargo config)
//.flag("-flto=thin")
.flag("-Wno-sign-compare")
.flag("-Wunused-but-set-variable")
.file("./harness.c")
.compile("harness");

Expand Down Expand Up @@ -74,6 +75,7 @@ fn main() {

let output = cc::Build::new()
.flag("-Wno-sign-compare")
.flag("-Wunused-but-set-variable")
.cargo_metadata(false)
.get_compiler()
.to_command()
Expand Down
3 changes: 3 additions & 0 deletions fuzzers/libfuzzer_stb_image_concolic/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
//! Additionally, it concretizes all floating point operations for simplicity.
//! Refer to the `symcc_runtime` crate documentation for building your own runtime.
// The lib needs to be named SymRuntime for SymCC to find it
#![allow(non_snake_case)]

use symcc_runtime::{
export_runtime,
filter::{CallStackCoverage, NoFloat},
Expand Down

0 comments on commit 7ed1ac9

Please sign in to comment.