Module: stdgo.debug.plan9obj
Overview
Index
-
function newFile(_r:stdgo._internal.io.ReaderAt):stdgo.Tuple<stdgo.debug.plan9obj.File, stdgo.Error>
-
function open(_name:String):stdgo.Tuple<stdgo.debug.plan9obj.File, stdgo.Error>
Constants
import stdgo.debug.plan9obj.Plan9obj
final magic386:haxe.UInt64 = stdgo._internal.debug.plan9obj.Plan9obj_magic386.magic386
final magic64:haxe.UInt64 = stdgo._internal.debug.plan9obj.Plan9obj_magic64.magic64
final magicAMD64:haxe.UInt64 = stdgo._internal.debug.plan9obj.Plan9obj_magicAMD64.magicAMD64
final magicARM:haxe.UInt64 = stdgo._internal.debug.plan9obj.Plan9obj_magicARM.magicARM
Variables
import stdgo.debug.plan9obj.Plan9obj
var errNoSymbols:stdgo.Error
Classes
import stdgo.debug.plan9obj.*
class Plan9obj
Package plan9obj implements access to Plan 9 a.out object files.
Security
This package is not designed to be hardened against adversarial inputs, and is outside the scope of https://go.dev/security/policy. In particular, only basic validation is done when parsing object files. As such, care should be taken when parsing untrusted inputs, as parsing malformed files may consume significant resources, or cause panics.
Plan9obj function newFile
function newFile(_r:stdgo._internal.io.ReaderAt):stdgo.Tuple<stdgo.debug.plan9obj.File, stdgo.Error>
NewFile creates a new File for accessing a Plan 9 binary in an underlying reader.
The Plan 9 binary is expected to start at position 0 in the ReaderAt.
Plan9obj function open
function open(_name:String):stdgo.Tuple<stdgo.debug.plan9obj.File, stdgo.Error>
Open opens the named file using os.Open and prepares it for use as a Plan 9 a.out binary.
Typedefs
import stdgo.debug.plan9obj.*
typedef T__struct_0
typedef T__struct_0 = stdgo._internal.debug.plan9obj.T__struct_0;