(
self, name: str, prj_path: Path, src_path: Path, build_path: Path
)
| 13 | |
| 14 | class FuzzerBuilder: |
| 15 | def __init__( |
| 16 | self, name: str, prj_path: Path, src_path: Path, build_path: Path |
| 17 | ): |
| 18 | |
| 19 | self.name = name |
| 20 | self.prj_path = prj_path |
| 21 | self.src_path = src_path |
| 22 | self.build_path = build_path |
| 23 | |
| 24 | assert self.prj_path.is_absolute() |
| 25 | assert self.src_path.is_absolute() |
| 26 | assert self.build_path.is_absolute() |
| 27 | |
| 28 | self.bp = BuildParser(prj_path, build_path) |
| 29 | ( |
| 30 | self.src_cmds, |
| 31 | self.compile_cmds, |
| 32 | self.link_cmds, |
| 33 | self.assem_cmds, |
| 34 | ) = self.bp.parse() |
| 35 | self.link_cmds = { |
| 36 | link_cmd.output(False): link_cmd |
| 37 | for link_cmd in self.link_cmds.values() |
| 38 | } |
| 39 | |
| 40 | def build( |
| 41 | self, |
nothing calls this directly
no test coverage detected