Skip to content

Add handling for build flags that result in a no-opt build #48

@pyoor

Description

@pyoor

bugmon/src/bugmon/bug.py

Lines 144 to 169 in bcac618

asan = (
"AddressSanitizer" in self.comment_zero
or "--enable-address-sanitizer" in self.comment_zero
)
tsan = (
"ThreadSanitizer" in self.comment_zero
or "--enable-thread-sanitizer" in self.comment_zero
)
debug = "--enable-debug" in self.comment_zero
fuzzing = "--enable-fuzzing" in self.comment_zero
coverage = "--enable-coverage" in self.comment_zero
valgrind = "--enable-valgrind" in self.comment_zero
no_opt = "--disable-optimize" in self.comment_zero
fuzzilli = "--enable-js-fuzzilli" in self.comment_zero
nyx = False # We don't support nyx builds
self._build_flags = BuildFlags(
asan,
tsan,
debug,
fuzzing,
coverage,
valgrind,
no_opt,
fuzzilli,
nyx,
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions