def linkFuzzer(target_fn): file_list_fn = os.path.join(fuzzingDomDir, "fuzzer", "files-to-link.txt") source_base = os.path.join(fuzzingDomDir, "fuzzer") module_dirs = [] for name in sorted(os.listdir(REPO_PARENT_PATH)): if name.startswith("fuzzing") or name.startswith("funfuzz"): module_dir = os.path.join(REPO_PARENT_PATH, name, "dom", "fuzzer", "modules") if os.path.isdir(module_dir): module_dirs.append(module_dir) linkJS.linkJS(target_fn, file_list_fn, source_base, module_dirs=module_dirs)
def linkFuzzer(target_fn): file_list_fn = os.path.join(fuzzingDomDir, "fuzzer", "files-to-link.txt") source_base = os.path.join(fuzzingDomDir, "fuzzer") module_dirs = [] for name in sorted(os.listdir(REPO_PARENT_PATH)): if name.startswith("fuzzing") or name.startswith("funfuzz"): module_dir = os.path.join(REPO_PARENT_PATH, name, "dom", "fuzzer", "modules") if os.path.isdir(module_dir): module_dirs.append(module_dir) linkJS.linkJS(target_fn, file_list_fn, source_base, module_dirs=module_dirs)
def linkFuzzer(target_fn, repo, prologue): source_base = p0 file_list_fn = sps.normExpUserPath(os.path.join(p0, "files-to-link.txt")) linkJS.linkJS(target_fn, file_list_fn, source_base, prologue)