Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bloomberg/pystack
/ functions
Functions
592 in github.com/bloomberg/pystack
⨍
Functions
592
◇
Types & classes
228
↳
Endpoints
1
↓ 33 callers
Function
main
()
src/pystack/__main__.py:263
↓ 30 callers
Function
spawn_child_process
( python: str, test_file: str, tmpdir: pathlib.Path )
tests/utils.py:88
↓ 27 callers
Function
generate_core_file
( python: pathlib.Path, test_file: pathlib.Path, tmpdir: pathlib.Path )
tests/utils.py:114
↓ 26 callers
Method
versionIsAtLeast
src/pystack/_pystack/process.cpp:1284
↓ 25 callers
Function
format_thread
(thread: PyThread, native_mode: NativeReportingMode)
src/pystack/traceback_formatter.py:66
↓ 20 callers
Function
frame_type
( frame: NativeFrame, python_version: Optional[Tuple[int, int]] )
src/pystack/types.py:53
↓ 20 callers
Method
size
(self)
src/pystack/maps.py:69
↓ 19 callers
Function
find_frame
(frames, name)
tests/integration/test_local_variables.py:35
↓ 17 callers
Function
colored
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 callers
Function
parse_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 callers
Method
Start
src/pystack/_pystack/mem.cpp:62
↓ 14 callers
Method
copyMemoryFromProcess
src/pystack/_pystack/mem.cpp:295
↓ 13 callers
Method
getFieldRemoteAddress
src/pystack/_pystack/structure.h:68
↓ 11 callers
Function
read_obj
src/pystack/_pystack/corefile.cpp:206
↓ 9 callers
Function
generate_maps_for_process
(pid: int)
src/pystack/maps.py:108
↓ 9 callers
Function
green
(key: str)
src/pystack/__main__.py:302
↓ 8 callers
Function
produce_error_message
(exception: BaseException)
src/pystack/__main__.py:73
↓ 8 callers
Function
xfail_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 callers
Method
exists
src/pystack/_pystack/mem.cpp:203
↓ 7 callers
Method
findSymbol
src/pystack/_pystack/process.cpp:602
↓ 6 callers
Method
copyObjectFromProcess
src/pystack/_pystack/process.h:138
↓ 6 callers
Function
get_python_version_for_core
( corefile: pathlib.Path, executable: pathlib.Path, mapinfo: MemoryMapInformation )
src/pystack/process.py:112
↓ 5 callers
Method
End
src/pystack/_pystack/mem.cpp:68
↓ 5 callers
Method
Size
src/pystack/_pystack/mem.cpp:110
↓ 5 callers
Method
Thread
src/pystack/_pystack/pythread.cpp:18
↓ 5 callers
Function
_get_base_map
(binary_maps: List[VirtualMap])
src/pystack/maps.py:183
↓ 5 callers
Function
format_colored
( text: str, color: Optional[str] = None, highlight: Optional[str] = None, attrs: Optional[Ite
src/pystack/colors.py:104
↓ 5 callers
Function
format_failureinfo_information
(failure_info: Dict[str, Any])
src/pystack/__main__.py:318
↓ 5 callers
Function
getNoteData
src/pystack/_pystack/elf_common.cpp:351
↓ 5 callers
Method
getStringFromAddress
src/pystack/_pystack/process.cpp:519
↓ 5 callers
Function
get_python_version_for_process
( pid: int, mapinfo: MemoryMapInformation )
src/pystack/process.py:98
↓ 5 callers
Function
python_has_inlined_eval_frames
(major: int, minor: int)
tests/utils.py:208
↓ 4 callers
Function
_get_bss
(elf_maps: List[VirtualMap], load_point: int)
src/pystack/maps.py:194
↓ 4 callers
Function
as_yellow_str
(obj: Any)
src/pystack/__main__.py:319
↓ 4 callers
Function
is_elf
Return True if the given file is an ELF file
src/pystack/process.py:125
↓ 4 callers
Function
scan_core_bss_for_python_version
( corefile: pathlib.Path, bss: VirtualMap )
src/pystack/process.py:50
↓ 4 callers
Function
scan_process_bss_for_python_version
( pid: int, bss: VirtualMap )
src/pystack/process.py:33
↓ 3 callers
Method
Pid
src/pystack/_pystack/process.cpp:638
↓ 3 callers
Function
as_green_str
(obj: Any)
src/pystack/__main__.py:299
↓ 3 callers
Method
contains
(self, addr: int)
src/pystack/maps.py:53
↓ 3 callers
Method
copyFromRemote
src/pystack/_pystack/structure.h:50
↓ 3 callers
Function
format_frame
(frame: PyFrame)
src/pystack/traceback_formatter.py:20
↓ 3 callers
Function
print_thread
(thread: PyThread, native_mode: NativeReportingMode)
src/pystack/traceback_formatter.py:15
↓ 3 callers
Function
warnAboutUnsuportedVersion
src/pystack/_pystack/version.cpp:12
↓ 2 callers
Method
FileSize
src/pystack/_pystack/mem.cpp:74
↓ 2 callers
Method
Offset
src/pystack/_pystack/mem.cpp:86
↓ 2 callers
Function
_get_python_version_from_map_information
( mapinfo: MemoryMapInformation, )
src/pystack/process.py:63
↓ 2 callers
Function
buildIdPtrToString
src/pystack/_pystack/elf_common.cpp:536
↓ 2 callers
Method
containsAddr
src/pystack/_pystack/mem.cpp:56
↓ 2 callers
Function
formatSequence
src/pystack/_pystack/pytypes.cpp:46
↓ 2 callers
Function
format_psinfo_information
(psinfo: Dict[str, Any])
src/pystack/__main__.py:298
↓ 2 callers
Function
generate_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 callers
Method
getBytesFromAddress
----------------------------------------------------------------------------
src/pystack/_pystack/process.cpp:565
↓ 2 callers
Function
getProcessTids
src/pystack/_pystack/process.cpp:121
↓ 2 callers
Method
isFreeThreaded
src/pystack/_pystack/process.cpp:1290
↓ 2 callers
Method
is_readable
(self)
src/pystack/maps.py:59
↓ 2 callers
Function
join
src/pystack/_pystack/pytypes.cpp:17
↓ 2 callers
Function
limitOutput
src/pystack/_pystack/pytypes.cpp:37
↓ 2 callers
Function
normalizeBytesObjectRepresentation
src/pystack/_pystack/pytypes.cpp:77
↓ 2 callers
Function
parseCoreExecfn
src/pystack/_pystack/corefile.cpp:398
↓ 2 callers
Function
parsePyVersionHex
src/pystack/_pystack/process.cpp:91
↓ 2 callers
Function
parse_linetable
src/pystack/_pystack/pycode.cpp:29
↓ 2 callers
Function
parse_permissions
src/pystack/_pystack/elf_common.cpp:42
↓ 2 callers
Function
python_has_position_information
(major: int, minor: int)
tests/utils.py:212
↓ 2 callers
Function
second_func
(x)
tests/integration/position_information_program.py:17
↓ 2 callers
Method
toString
src/pystack/_pystack/pytypes.cpp:105
↓ 2 callers
Function
types_found_in_tuples
()
docs/tutorials/core_tutorial.py:4
↓ 1 callers
Function
DIENameFromScope
src/pystack/_pystack/unwinder.cpp:64
↓ 1 callers
Method
ModuleInformation
src/pystack/_pystack/corefile.cpp:161
↓ 1 callers
Method
NArguments
src/pystack/_pystack/pycode.cpp:261
↓ 1 callers
Function
_are_the_stacks_mergeable
(thread: PyThread)
src/pystack/traceback_formatter.py:55
↓ 1 callers
Function
_exit_with_code
(exception: BaseException)
src/pystack/__main__.py:67
↓ 1 callers
Function
_format_merged_stacks
( thread: PyThread, current_frame: Optional[PyFrame], native_last: bool = False, )
src/pystack/traceback_formatter.py:93
↓ 1 callers
Function
_is_eval_frame
(symbol: str, python_version: Tuple[int, int])
src/pystack/types.py:47
↓ 1 callers
Function
_is_stdout_a_tty
()
src/pystack/colors.py:72
↓ 1 callers
Function
_process_vm_readv
src/pystack/_pystack/mem.cpp:21
↓ 1 callers
Function
_read_maps
(pid: int)
src/pystack/maps.py:100
↓ 1 callers
Function
_verbose_to_log_level
(verbose_level: int)
src/pystack/__main__.py:58
↓ 1 callers
Function
bar
()
tests/integration/inline_calls_program.py:18
↓ 1 callers
Function
baz
()
tests/integration/inline_calls_program.py:22
↓ 1 callers
Function
callable
()
tests/unit/test_extension.py:14
↓ 1 callers
Method
can_fit
src/pystack/_pystack/mem.cpp:209
↓ 1 callers
Function
cancel_os_thread
tests/integration/empty_thread_extension_with_os_threads/testext.cpp:27
↓ 1 callers
Method
contains
src/pystack/_pystack/unwinder.h:65
↓ 1 callers
Function
containsOnlyASCII
src/pystack/_pystack/pytypes.cpp:69
↓ 1 callers
Method
copyMemoryFromProcess
src/pystack/_pystack/process.cpp:505
↓ 1 callers
Function
decompress_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 callers
Method
files
src/pystack/_pystack/process.cpp:46
↓ 1 callers
Method
findDie
src/pystack/_pystack/unwinder.cpp:38
↓ 1 callers
Function
findPthreadTidOffset
src/pystack/_pystack/pythread.cpp:44
↓ 1 callers
Function
find_all_available_pythons
()
tests/utils.py:43
↓ 1 callers
Function
first_func
()
tests/integration/multiple_thread_program.py:22
↓ 1 callers
Function
first_func
()
tests/integration/multiple_thread_program_gil.py:22
↓ 1 callers
Function
first_func
()
tests/integration/single_thread_program.py:5
↓ 1 callers
Function
first_func
()
tests/integration/single_thread_program_gil.py:4
↓ 1 callers
Function
first_func
()
tests/integration/ctypes_program.py:6
↓ 1 callers
Function
first_func
(x)
tests/integration/position_information_program.py:12
↓ 1 callers
Function
foo
()
tests/integration/empty_thread_extension/main.py:6
↓ 1 callers
Function
foo
()
tests/integration/empty_thread_extension_with_os_threads/main.py:6
↓ 1 callers
Function
gatherInformationFromDIE
src/pystack/_pystack/unwinder.cpp:142
next →
1–100 of 592, ranked by callers