Romain Malmain d663793952
Early return from libafl edge generation if no exec hooks (#85)
* bug with edges in systemmode, not fixed yet

* timeout request only for systemmode
2024-09-20 13:42:52 +02:00

26 lines
980 B
Meson

project('libvduse', 'c',
license: 'GPL-2.0-or-later',
default_options: ['warning_level=1', 'c_std=gnu99'])
cc = meson.get_compiler('c')
add_project_arguments(cc.get_supported_arguments('-Wsign-compare',
'-Wdeclaration-after-statement',
'-Wstrict-aliasing'),
native: false, language: 'c')
#### --- Begin LibAFL code ---
keyval = import('keyval')
config_host = keyval.load(meson.global_build_root() / 'config-host.mak')
#### --- End LibAFL code ---
libvduse = static_library('vduse',
files('libvduse.c'),
c_args: '-D_GNU_SOURCE',
#### --- Begin LibAFL code ---
pic: 'AS_SHARED_LIB' in config_host
#### --- End LibAFL code ---
)
libvduse_dep = declare_dependency(link_with: libvduse,
include_directories: include_directories('.'))