FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-zeroconf/.github/workflows/asan.yml at master · python-zeroconf/python-zeroconf · GitHub
python-zeroconf
python-zeroconf
Repository navigation
Code
Issues
49
(49)
Pull requests
14
(14)
Discussions
Actions
Projects
Wiki
Security and quality
5
(5)
Insights
Expand file tree
Breadcrumbs
python-zeroconf
/
.github
/
workflows
/
asan.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
43 lines (41 loc) · 1.33 KB
Breadcrumbs
python-zeroconf
/
.github
/
workflows
/
asan.yml
Copy path
File metadata and controls
43 lines (41 loc) · 1.33 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
name
:
ASan fuzz
on
:
workflow_dispatch
:
inputs
:
profile
:
description
:
"
Hypothesis profile
"
default
:
"
long
"
type
:
choice
options
:
-
ci
-
long
jobs
:
asan-fuzz
:
runs-on
:
ubuntu-latest
timeout-minutes
:
120
steps
:
-
uses
:
actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
#
v4
-
name
:
Set up uv
uses
:
astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7
#
v10.2.0
with
:
enable-cache
:
true
-
name
:
Install poetry
run
:
uv tool install poetry
-
name
:
Set up Python
uses
:
actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
#
v5
with
:
python-version
:
"
3.13
"
cache
:
"
poetry
"
-
name
:
Install dependencies with AddressSanitizer instrumentation
env
:
REQUIRE_CYTHON
:
1
CFLAGS
:
"
-fsanitize=address -g -O1
"
LDFLAGS
:
"
-fsanitize=address
"
run
:
poetry install --only=main,dev
-
name
:
Fuzz the parser under ASan
env
:
HYPOTHESIS_PROFILE
:
${{ inputs.profile }}
run
:
|
export LD_PRELOAD=$(gcc -print-file-name=libasan.so)
export ASAN_OPTIONS=detect_leaks=0:halt_on_error=1
poetry run pytest --timeout=1800 -v --no-cov tests/test_fuzz_incoming.py tests/test_protocol.py
Back
|
FazBrowse Home
|
New Git URL