• Home
  • Raw
  • Download

Lines Matching defs:str

61 def str_to_bytes(str_value: str) -> bytes:
73 def get_target_binary_path(arch: str, binary_name: str) -> str:
85 def get_host_binary_path(binary_name: str) -> str:
106 def is_executable_available(executable: str, option='--help') -> bool:
154 def find_ndk_and_sdk_paths(cls, ndk_path: Optional[str] = None
187 def find_sdk_path(cls, ndk_path: str) -> Optional[str]:
196 def _get_binutils_path_in_ndk(cls, toolname: str, arch: Optional[str], platform: str
214 def find_tool_path(cls, toolname: str, ndk_path: Optional[str] = None,
215 arch: Optional[str] = None) -> Optional[str]:
283 def run(self, adb_args: List[str], log_output: bool = False, log_stderr: bool = False) -> bool:
286 def run_and_return_output(self, adb_args: List[str], log_output: bool = False,
308 def check_run(self, adb_args: List[str], log_output: bool = False):
311 def check_run_and_return_output(self, adb_args: List[str], log_output: bool = False,
347 def get_property(self, name: str) -> Optional[str]:
351 def set_property(self, name: str, value: str) -> bool:
371 def parse_version(s: str) -> int:
399 def flatten_arg_list(arg_list: List[List[str]]) -> List[str]:
407 def remove(dir_or_file: Union[Path, str]): argument
414 def open_report_in_browser(report_path: str):
433 def __init__(self, binary_cache_dir: Optional[Union[Path, str]], readelf: ReadElf): argument
453 def find_binary(self, dso_path_in_record_file: str,
454 expected_build_id: Optional[str]) -> Optional[Path]:
473 def _check_path(self, path: Path, expected_build_id: Optional[str]) -> bool:
513 def __init__(self, build_id: Optional[str]):
523 def get_file_id(self, file_path: str) -> int:
530 def get_func_id(self, func_name: str) -> int:
549 self, ndk_path: Optional[str],
559 def add_addr(self, dso_path: str, build_id: Optional[str], func_addr: int, addr: int):
575 def _convert_addrs_in_one_dso(self, dso_path: str, dso: Addr2Nearestline.Dso):
654 def parse_line_output(self, output: str, dso: Addr2Nearestline.Dso) -> Dict[int,
708 def _parse_line_output_address(self, output: str) -> Optional[int]:
713 def _parse_line_output_source_location(self, line: str) -> Tuple[Optional[str], Optional[int]]:
728 def get_dso(self, dso_path: str) -> Addr2Nearestline.Dso:
763 def is_source_filename(cls, filename: str) -> bool:
767 def __init__(self, source_dirs: List[str]):
772 def _collect_paths(self, source_dirs: List[str]):
785 def get_real_path(self, abstract_path: str) -> Optional[str]:
825 def __init__(self, ndk_path: Optional[str], binary_finder: BinaryFinder):
841 def get_dso_info(self, dso_path: str, expected_build_id: Optional[str]
960 def _get_addr_from_disassembly_line(self, line: str) -> int:
1016 def __init__(self, ndk_path: Optional[str]):
1022 def is_elf_file(path: Union[Path, str]) -> bool: argument
1028 def get_arch(self, elf_file_path: Union[Path, str]) -> str: argument
1048 def get_build_id(self, elf_file_path: Union[Path, str], with_padding=True) -> str: argument
1065 def pad_build_id(build_id: str) -> str:
1074 def unpad_build_id(build_id: str) -> str:
1083 def get_sections(self, elf_file_path: Union[Path, str]) -> List[str]: argument
1102 def extant_dir(arg: str) -> str:
1117 def extant_file(arg: str) -> str:
1132 def log_fatal(msg: str):
1136 def log_exit(msg: str):
1154 def init(cls, log_level: str = 'info'):