summaryrefslogtreecommitdiff
path: root/libc/fuzzing/string/CMakeLists.txt
blob: 0918e92552ea79ea4e8c609ef82fe3f309391431 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
add_libc_fuzzer(
  strcmp_fuzz
  SRCS
    strcmp_fuzz.cpp
  DEPENDS
    libc.src.string.strcmp
)

add_libc_fuzzer(
  strcpy_fuzz
  SRCS
    strcpy_fuzz.cpp
  DEPENDS
    libc.src.string.memcpy
    libc.src.string.strcpy
    libc.src.string.strlen
)

add_libc_fuzzer(
  strstr_fuzz
  SRCS
    strstr_fuzz.cpp
  DEPENDS
    libc.src.string.strstr
    libc.src.string.strlen
)

add_libc_fuzzer(
  memcmp_fuzz
  SRCS
    memcmp_fuzz.cpp
  DEPENDS
    libc.src.string.memcmp
)

add_libc_fuzzer(
  bcmp_fuzz
  SRCS
    bcmp_fuzz.cpp
  DEPENDS
    libc.src.strings.bcmp
)

add_libc_fuzzer(
  strlen_fuzz
  SRCS
    strlen_fuzz.cpp
  DEPENDS
    libc.src.string.strlen
)