Home
last modified time | relevance | path

Searched refs:binary_path (Results 1 – 25 of 25) sorted by relevance

/external/oss-fuzz/infra/base-images/base-sanitizer-libs-builder/
Dpatch_build.py36 def Ldd(binary_path): argument
39 output = subprocess.check_output(['ldd', binary_path], stderr=subprocess.STDOUT)
41 print('Failed to call ldd on', binary_path, file=sys.stderr)
71 def PatchBinary(binary_path, instrumented_dir): argument
75 for name, path in Ldd(binary_path):
101 ['patchelf', '--print-rpath', binary_path]).strip()
105 print('Patching rpath for', binary_path, 'from', existing_rpaths, 'to',
110 processed_rpaths, binary_path])
/external/OpenCL-CTS/scripts/
Dtest_opencl_cts.py43 def get_all_subtests(binary_path: str) -> List[str]:
62 def get_subtests(binary_path: str, subtests: List[str]) -> List[str]:
63 all_subtests = set(get_all_subtests(binary_path))
80 def __init__(self, test_name: str, binary_path: str, args: List[str]):
83 self._binary_path = binary_path
122 subtests = get_subtests(args.binary_path, args.subtests)
124 suite.addTest(OpenCLTest(subtest, args.binary_path, args.test_args))
/external/grpc-grpc/test/cpp/interop/
Dinterop_test.cc50 char* binary_path; in test_client() local
52 gpr_asprintf(&binary_path, "%s/interop_client", root); in test_client()
55 execl(binary_path, binary_path, port_arg, NULL); in test_client()
57 gpr_free(binary_path); in test_client()
/external/tensorflow/tensorflow/stream_executor/gpu/
Dasm_compiler.cc163 std::string binary_path; in findCudaExecutable() local
166 binary_path = tensorflow::io::JoinPath(cuda_root, "bin", binary_filename); in findCudaExecutable()
167 VLOG(2) << "Looking for " << binary_filename << " at " << binary_path; in findCudaExecutable()
168 if (env->FileExists(binary_path).ok()) { in findCudaExecutable()
172 if (!env->FileExists(binary_path).ok()) { in findCudaExecutable()
174 binary_path = binary_filename; in findCudaExecutable()
176 VLOG(2) << "Using " << binary_filename << " at " << binary_path; in findCudaExecutable()
177 return binary_path; in findCudaExecutable()
362 std::string binary_path = in findRocmExecutable() local
365 if (!env->FileExists(binary_path).ok()) { in findRocmExecutable()
[all …]
/external/autotest/client/cros/
Dchrome_binary_test.py134 binary_path = self.get_chrome_binary_path(binary_to_run)
141 cmd = ' '.join([env_vars, prefix, binary_path, extra_params])
153 file_utils.recursive_path_permission(binary_path))
155 (binary_path, path_permission))
157 fail_reason = ('Command not found: %s' % binary_path)
/external/angle/scripts/
Dupdate_canary_angle.py30 binary_path = os.path.join(path, binary_name) variable
31 if os.path.exists(binary_path):
32 binary_mtime = os.path.getmtime(binary_path)
Dperf_test_runner.py116 binary_path = os.path.join(base_path, path, args.suite)
117 if os.path.exists(binary_path):
118 binary_mtime = os.path.getmtime(binary_path)
120 newest_binary = binary_path
/external/bcc/src/cc/api/
DBPF.cc193 StatusTuple BPF::attach_uprobe(const std::string& binary_path, in attach_uprobe() argument
200 TRY2(check_binary_symbol(binary_path, symbol, symbol_addr, module, offset)); in attach_uprobe()
210 binary_path.c_str(), offset, pid); in attach_uprobe()
217 attach_type_debug(attach_type).c_str(), binary_path.c_str(), in attach_uprobe()
395 StatusTuple BPF::detach_uprobe(const std::string& binary_path, in detach_uprobe() argument
400 TRY2(check_binary_symbol(binary_path, symbol, symbol_addr, module, offset)); in detach_uprobe()
407 binary_path.c_str(), symbol.c_str(), symbol_addr); in detach_uprobe()
594 StatusTuple BPF::check_binary_symbol(const std::string& binary_path, in check_binary_symbol() argument
600 int res = bcc_resolve_symname(binary_path.c_str(), symbol.c_str(), in check_binary_symbol()
605 binary_path.c_str(), symbol.c_str(), symbol_addr); in check_binary_symbol()
[all …]
DBPF.h68 StatusTuple attach_uprobe(const std::string& binary_path,
74 StatusTuple detach_uprobe(const std::string& binary_path,
184 std::string get_uprobe_event(const std::string& binary_path, uint64_t offset,
221 StatusTuple check_binary_symbol(const std::string& binary_path,
246 USDT(const std::string& binary_path, const std::string& provider,
250 USDT(const std::string& binary_path, pid_t pid, const std::string& provider,
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_testlib.cc34 Status TestCluster::MakeTestCluster(const string& binary_path, in MakeTestCluster() argument
63 if (!options.env->FileExists(binary_path).ok()) { in MakeTestCluster()
67 {binary_path, /* see grpc_testlib_server.cc for flags */ in MakeTestCluster()
Dgrpc_testlib.h54 static Status MakeTestCluster(const string& binary_path,
/external/strace/
Dmmap_cache.c131 char binary_path[sizeof(buffer)]; in mmap_cache_rebuild_if_invalid() local
138 binary_path) != 10) in mmap_cache_rebuild_if_invalid()
173 filename, binary_path, start_addr, in mmap_cache_rebuild_if_invalid()
197 entry->binary_filename = xstrdup(binary_path); in mmap_cache_rebuild_if_invalid()
/external/perfetto/tools/
Dheap_profile500 binary_path = os.getenv('PERFETTO_BINARY_PATH')
508 if binary_path is None:
509 binary_path = product_out_symbols
511 binary_path += ":" + product_out_symbols
516 if binary_path is not None:
521 env=dict(os.environ, PERFETTO_BINARY_PATH=binary_path),
/external/autotest/client/site_tests/camera_HAL3Perf/
Dcamera_HAL3Perf.py85 binary_path = os.path.join(self.dep_dir, 'bin', self.test_binary)
92 binary_path,
/external/autotest/client/site_tests/camera_HAL3/
Dcamera_HAL3.py103 binary_path = os.path.join(self.dep_dir, 'bin', self.test_binary)
108 cmd = ['sudo', '--user=arc-camera', binary_path]
/external/pdfium/testing/tools/coverage/
Dcoverage_report.py156 binary_path = os.path.join(testing_tools_directory, test_spec.binary)
160 binary_path = os.path.join(self.build_directory, test_spec.binary)
162 coverage_tests[name] = TestSpec(binary_path, test_spec.use_test_runner,
/external/llvm-project/compiler-rt/lib/asan/scripts/
Dasan_symbolize.py625 def filter_binary_path(self, binary_path): argument
633 return self._filter_single_value('filter_binary_path', binary_path)
691 def filter_binary_path(self, binary_path): argument
698 return binary_path
959 def filter_binary_path(self, binary_path): argument
960 if os.path.isabs(binary_path):
963 module_name = os.path.basename(binary_path)
965 module_name = binary_path
/external/perfetto/src/profiling/symbolizer/
Dlocal_symbolizer.cc42 std::vector<std::string> binary_path, in LocalSymbolizerOrDie() argument
46 if (!binary_path.empty()) { in LocalSymbolizerOrDie()
50 finder.reset(new LocalBinaryFinder(std::move(binary_path))); in LocalSymbolizerOrDie()
52 finder.reset(new LocalBinaryIndexer(std::move(binary_path))); in LocalSymbolizerOrDie()
Dlocal_symbolizer.h118 std::vector<std::string> binary_path,
/external/llvm-project/clang/utils/perf-training/
Dperf-helper.py342 if opts.binary_path is not None:
343 output = subprocess.check_output(['nm', '-P', opts.binary_path], universal_newlines=True)
/external/clang/utils/perf-training/
Dperf-helper.py341 if opts.binary_path is not None:
342 output = subprocess.check_output(['nm', '-P', opts.binary_path])
/external/bcc/src/cc/includes/
Dlibbpf.h78 const char *ev_name, const char *binary_path,
/external/bcc/src/cc/
Dlibbpf.h78 const char *ev_name, const char *binary_path,
Dlibbpf.c969 const char *ev_name, const char *binary_path, in bpf_attach_uprobe() argument
978 pfd = bpf_try_perf_event_open_with_probe(binary_path, offset, pid, event_type, in bpf_attach_uprobe()
1001 event_type, event_alias, binary_path, (unsigned long)offset); in bpf_attach_uprobe()
/external/llvm-project/lldb/packages/Python/lldbsuite/test/
Dlldbtest.py1670 def signBinary(self, binary_path): argument
1673 lldbtest_config.codesign_identity, binary_path)