MCPcopy Create free account

hub / github.com/bloomberg/pystack / functions

Functions592 in github.com/bloomberg/pystack

↓ 33 callersFunctionmain
()
src/pystack/__main__.py:263
↓ 30 callersFunctionspawn_child_process
( python: str, test_file: str, tmpdir: pathlib.Path )
tests/utils.py:88
↓ 27 callersFunctiongenerate_core_file
( python: pathlib.Path, test_file: pathlib.Path, tmpdir: pathlib.Path )
tests/utils.py:114
↓ 26 callersMethodversionIsAtLeast
src/pystack/_pystack/process.cpp:1284
↓ 25 callersFunctionformat_thread
(thread: PyThread, native_mode: NativeReportingMode)
src/pystack/traceback_formatter.py:66
↓ 20 callersFunctionframe_type
( frame: NativeFrame, python_version: Optional[Tuple[int, int]] )
src/pystack/types.py:53
↓ 20 callersMethodsize
(self)
src/pystack/maps.py:69
↓ 19 callersFunctionfind_frame
(frames, name)
tests/integration/test_local_variables.py:35
↓ 17 callersFunctioncolored
Colorize text, while stripping nested ANSI color sequences. Available text colors: red, green, yellow, blue, magenta, cyan, white. Ava
src/pystack/colors.py:76
↓ 17 callersFunctionparse_maps_file_for_binary
( binary_name: Path, all_maps_iter: Iterable[VirtualMap], load_point_by_module: Optional[Dict[str,
src/pystack/maps.py:237
↓ 16 callersMethodStart
src/pystack/_pystack/mem.cpp:62
↓ 14 callersMethodcopyMemoryFromProcess
src/pystack/_pystack/mem.cpp:295
↓ 13 callersMethodgetFieldRemoteAddress
src/pystack/_pystack/structure.h:68
↓ 11 callersFunctionread_obj
src/pystack/_pystack/corefile.cpp:206
↓ 9 callersFunctiongenerate_maps_for_process
(pid: int)
src/pystack/maps.py:108
↓ 9 callersFunctiongreen
(key: str)
src/pystack/__main__.py:302
↓ 8 callersFunctionproduce_error_message
(exception: BaseException)
src/pystack/__main__.py:73
↓ 8 callersFunctionxfail_on_expected_exceptions
Turn a NotEnoughInformation exception for the HEAP method into an XFAIL. The HEAP method is known to be flaky in some cases: - In Python
tests/utils.py:179
↓ 7 callersMethodexists
src/pystack/_pystack/mem.cpp:203
↓ 7 callersMethodfindSymbol
src/pystack/_pystack/process.cpp:602
↓ 6 callersMethodcopyObjectFromProcess
src/pystack/_pystack/process.h:138
↓ 6 callersFunctionget_python_version_for_core
( corefile: pathlib.Path, executable: pathlib.Path, mapinfo: MemoryMapInformation )
src/pystack/process.py:112
↓ 5 callersMethodEnd
src/pystack/_pystack/mem.cpp:68
↓ 5 callersMethodSize
src/pystack/_pystack/mem.cpp:110
↓ 5 callersMethodThread
src/pystack/_pystack/pythread.cpp:18
↓ 5 callersFunction_get_base_map
(binary_maps: List[VirtualMap])
src/pystack/maps.py:183
↓ 5 callersFunctionformat_colored
( text: str, color: Optional[str] = None, highlight: Optional[str] = None, attrs: Optional[Ite
src/pystack/colors.py:104
↓ 5 callersFunctionformat_failureinfo_information
(failure_info: Dict[str, Any])
src/pystack/__main__.py:318
↓ 5 callersFunctiongetNoteData
src/pystack/_pystack/elf_common.cpp:351
↓ 5 callersMethodgetStringFromAddress
src/pystack/_pystack/process.cpp:519
↓ 5 callersFunctionget_python_version_for_process
( pid: int, mapinfo: MemoryMapInformation )
src/pystack/process.py:98
↓ 5 callersFunctionpython_has_inlined_eval_frames
(major: int, minor: int)
tests/utils.py:208
↓ 4 callersFunction_get_bss
(elf_maps: List[VirtualMap], load_point: int)
src/pystack/maps.py:194
↓ 4 callersFunctionas_yellow_str
(obj: Any)
src/pystack/__main__.py:319
↓ 4 callersFunctionis_elf
Return True if the given file is an ELF file
src/pystack/process.py:125
↓ 4 callersFunctionscan_core_bss_for_python_version
( corefile: pathlib.Path, bss: VirtualMap )
src/pystack/process.py:50
↓ 4 callersFunctionscan_process_bss_for_python_version
( pid: int, bss: VirtualMap )
src/pystack/process.py:33
↓ 3 callersMethodPid
src/pystack/_pystack/process.cpp:638
↓ 3 callersFunctionas_green_str
(obj: Any)
src/pystack/__main__.py:299
↓ 3 callersMethodcontains
(self, addr: int)
src/pystack/maps.py:53
↓ 3 callersMethodcopyFromRemote
src/pystack/_pystack/structure.h:50
↓ 3 callersFunctionformat_frame
(frame: PyFrame)
src/pystack/traceback_formatter.py:20
↓ 3 callersFunctionprint_thread
(thread: PyThread, native_mode: NativeReportingMode)
src/pystack/traceback_formatter.py:15
↓ 3 callersFunctionwarnAboutUnsuportedVersion
src/pystack/_pystack/version.cpp:12
↓ 2 callersMethodFileSize
src/pystack/_pystack/mem.cpp:74
↓ 2 callersMethodOffset
src/pystack/_pystack/mem.cpp:86
↓ 2 callersFunction_get_python_version_from_map_information
( mapinfo: MemoryMapInformation, )
src/pystack/process.py:63
↓ 2 callersFunctionbuildIdPtrToString
src/pystack/_pystack/elf_common.cpp:536
↓ 2 callersMethodcontainsAddr
src/pystack/_pystack/mem.cpp:56
↓ 2 callersFunctionformatSequence
src/pystack/_pystack/pytypes.cpp:46
↓ 2 callersFunctionformat_psinfo_information
(psinfo: Dict[str, Any])
src/pystack/__main__.py:298
↓ 2 callersFunctiongenerate_num
Generates a random integer Returns: A 2-tuple containing the randomly generated number and whether or not it's prime.
docs/tutorials/random_prime_number.py:32
↓ 2 callersMethodgetBytesFromAddress
----------------------------------------------------------------------------
src/pystack/_pystack/process.cpp:565
↓ 2 callersFunctiongetProcessTids
src/pystack/_pystack/process.cpp:121
↓ 2 callersMethodisFreeThreaded
src/pystack/_pystack/process.cpp:1290
↓ 2 callersMethodis_readable
(self)
src/pystack/maps.py:59
↓ 2 callersFunctionjoin
src/pystack/_pystack/pytypes.cpp:17
↓ 2 callersFunctionlimitOutput
src/pystack/_pystack/pytypes.cpp:37
↓ 2 callersFunctionnormalizeBytesObjectRepresentation
src/pystack/_pystack/pytypes.cpp:77
↓ 2 callersFunctionparseCoreExecfn
src/pystack/_pystack/corefile.cpp:398
↓ 2 callersFunctionparsePyVersionHex
src/pystack/_pystack/process.cpp:91
↓ 2 callersFunctionparse_linetable
src/pystack/_pystack/pycode.cpp:29
↓ 2 callersFunctionparse_permissions
src/pystack/_pystack/elf_common.cpp:42
↓ 2 callersFunctionpython_has_position_information
(major: int, minor: int)
tests/utils.py:212
↓ 2 callersFunctionsecond_func
(x)
tests/integration/position_information_program.py:17
↓ 2 callersMethodtoString
src/pystack/_pystack/pytypes.cpp:105
↓ 2 callersFunctiontypes_found_in_tuples
()
docs/tutorials/core_tutorial.py:4
↓ 1 callersFunctionDIENameFromScope
src/pystack/_pystack/unwinder.cpp:64
↓ 1 callersMethodModuleInformation
src/pystack/_pystack/corefile.cpp:161
↓ 1 callersMethodNArguments
src/pystack/_pystack/pycode.cpp:261
↓ 1 callersFunction_are_the_stacks_mergeable
(thread: PyThread)
src/pystack/traceback_formatter.py:55
↓ 1 callersFunction_exit_with_code
(exception: BaseException)
src/pystack/__main__.py:67
↓ 1 callersFunction_format_merged_stacks
( thread: PyThread, current_frame: Optional[PyFrame], native_last: bool = False, )
src/pystack/traceback_formatter.py:93
↓ 1 callersFunction_is_eval_frame
(symbol: str, python_version: Tuple[int, int])
src/pystack/types.py:47
↓ 1 callersFunction_is_stdout_a_tty
()
src/pystack/colors.py:72
↓ 1 callersFunction_process_vm_readv
src/pystack/_pystack/mem.cpp:21
↓ 1 callersFunction_read_maps
(pid: int)
src/pystack/maps.py:100
↓ 1 callersFunction_verbose_to_log_level
(verbose_level: int)
src/pystack/__main__.py:58
↓ 1 callersFunctionbar
()
tests/integration/inline_calls_program.py:18
↓ 1 callersFunctionbaz
()
tests/integration/inline_calls_program.py:22
↓ 1 callersFunctioncallable
()
tests/unit/test_extension.py:14
↓ 1 callersMethodcan_fit
src/pystack/_pystack/mem.cpp:209
↓ 1 callersFunctioncancel_os_thread
tests/integration/empty_thread_extension_with_os_threads/testext.cpp:27
↓ 1 callersMethodcontains
src/pystack/_pystack/unwinder.h:65
↓ 1 callersFunctioncontainsOnlyASCII
src/pystack/_pystack/pytypes.cpp:69
↓ 1 callersMethodcopyMemoryFromProcess
src/pystack/_pystack/process.cpp:505
↓ 1 callersFunctiondecompress_gzip
Decompresses a Gzip file and writes the contents to a temporary file. Args: filename: The path to the gzip file to decompress. ch
src/pystack/process.py:158
↓ 1 callersMethodfiles
src/pystack/_pystack/process.cpp:46
↓ 1 callersMethodfindDie
src/pystack/_pystack/unwinder.cpp:38
↓ 1 callersFunctionfindPthreadTidOffset
src/pystack/_pystack/pythread.cpp:44
↓ 1 callersFunctionfind_all_available_pythons
()
tests/utils.py:43
↓ 1 callersFunctionfirst_func
()
tests/integration/multiple_thread_program.py:22
↓ 1 callersFunctionfirst_func
()
tests/integration/multiple_thread_program_gil.py:22
↓ 1 callersFunctionfirst_func
()
tests/integration/single_thread_program.py:5
↓ 1 callersFunctionfirst_func
()
tests/integration/single_thread_program_gil.py:4
↓ 1 callersFunctionfirst_func
()
tests/integration/ctypes_program.py:6
↓ 1 callersFunctionfirst_func
(x)
tests/integration/position_information_program.py:12
↓ 1 callersFunctionfoo
()
tests/integration/empty_thread_extension/main.py:6
↓ 1 callersFunctionfoo
()
tests/integration/empty_thread_extension_with_os_threads/main.py:6
↓ 1 callersFunctiongatherInformationFromDIE
src/pystack/_pystack/unwinder.cpp:142
next →1–100 of 592, ranked by callers