angr.go.analyses.go_globals_recovery

class angr.go.analyses.go_globals_recovery.GoGlobalsRecovery

Bases: Analysis

Recover Go package-level variables without data symbols and record them in kb.go_globals: the runtime’s own globals located by shape (angr.go.analyses.runtime_globals), then the variables typed from their initializers (angr.go.analyses.package_variables). Requires a CFG; a no-op on non-Go binaries.

Supports progress_callback and low_priority, so a GUI can run it in the background.

__init__(low_priority=False)
Parameters:

low_priority (bool) – Run in the background: periodically release the GIL.