-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.yaml
48 lines (43 loc) · 1.94 KB
/
project.yaml
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
---
# The cp_name property is a label to identify the Challenge Project (CP).
cp_name: Mock CP
# The language property denotes the *primary* language of the CP.
# CP Vulnerabilities (CPVs) that are eligible for points are found in the given
# language. Valid values for the AIxCC ASC are: 'c' and 'java'.
language: c
# The cp_sources property denotes the source repository addresses, as well
# as the local path that the repository resides starting from `./src`.
# The "ref" element is optional. It indicates the git repository
# tag or commit that should be checked out. If not specified, it will default
# to checking out the "main" branch of the specified repo from "address".
cp_sources:
samples:
address: [email protected]:aixcc-sc/mock-cp-src.git
ref: v2.0.1
artifacts:
- src/samples/mock_vp
# The docker_image property denotes the address to pull the pre-built Docker
# image for the CP.
docker_image: ghcr.io/aixcc-sc/mock-cp:v3.0.2
# The sanitizers property denotes which sanitizers are available for scoring for
# the CP. When specifying a sanitizer ID to the scoring server, use the *key*
# value, e.g. use "id_1", not "sanitizer string 1".
#
# Note, these key-value mappings are unique for each CP.
sanitizers:
id_1: "AddressSanitizer: global-buffer-overflow"
id_2: "AddressSanitizer: SEGV"
# The harnesses property denotes which AIxCC harnesses are available to use for
# triggering sanitizers for the CP. When specifying a harness ID to the
# scoring server, use the *key* value, e.g. "id_1", not the values under
# 'name', 'source', or 'binary'.
#
# The 'source' and 'binary' properties point the to the appropriate file for
# the harness source code and executable binary (if they exists). The 'name'
# string must be provided in the argument list when invoking
# `run.sh run_pov <args>`.
harnesses:
id_1:
name: filein_harness
source: src/test/filein_harness.c
binary: out/filein_harness