(
git: Git,
base: Path,
name: str,
libs: List[str],
ut_link_name: str,
ut_src: Path,
changeables: Set[Path],
build_dir: Path,
)
| 278 | |
| 279 | |
| 280 | def build_fuzzer( |
| 281 | git: Git, |
| 282 | base: Path, |
| 283 | name: str, |
| 284 | libs: List[str], |
| 285 | ut_link_name: str, |
| 286 | ut_src: Path, |
| 287 | changeables: Set[Path], |
| 288 | build_dir: Path, |
| 289 | ): |
| 290 | builder = FuzzerBuilder( |
| 291 | name, git.root_dir, git.root_dir / base, git.root_dir / build_dir |
| 292 | ) |
| 293 | |
| 294 | git.checkout(name) |
| 295 | builder.build( |
| 296 | ut_link_name, |
| 297 | git.root_dir / base / ut_src, |
| 298 | changeables, |
| 299 | libs, |
| 300 | False, |
| 301 | ) |
| 302 | builder.build( |
| 303 | ut_link_name, |
| 304 | git.root_dir / base / ut_src, |
| 305 | changeables, |
| 306 | libs, |
| 307 | True, |
| 308 | ) |
| 309 | git.checkout(git.branch) |
| 310 | |
| 311 | |
| 312 | def build_driver( |
no test coverage detected