Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Binject/debug
/ functions
Functions
738 in github.com/Binject/debug
⨍
Functions
738
◇
Types & classes
261
↓ 2 callers
Method
relayoutRelocationSections
(shstrModified bool)
elf/reloc_edit.go:422
↓ 2 callers
Method
resetState
resetState resets r.state to its default values
dwarf/line.go:516
↓ 2 callers
Method
sectionIndex
(target *Section)
elf/reloc_edit.go:343
↓ 2 callers
Method
skip
skip skips n bytes in the input.
goobj2/file.go:402
↓ 2 callers
Function
skipIfNotELF
skipIfNotELF skips the test if we are not running on an ELF system. These tests open and examine the test binary, and use elf.Open to do so.
gosym/pclntab_test.go:55
↓ 2 callers
Method
sliceOS
(length uint64)
goobj2/internal/bio/buf_mmap.go:35
↓ 2 callers
Function
splitDriveTest
(path string)
dwarf/line_test.go:338
↓ 2 callers
Method
start
()
elf/reader.go:44
↓ 2 callers
Function
testDWARF
(t *testing.T, linktype int)
pe/file_test.go:313
↓ 2 callers
Function
testRanges
(t *testing.T, name string, want []wantRange)
dwarf/entry_test.go:71
↓ 2 callers
Method
varint
Read a varint, which is 7 bits per byte, little endian. the 0x80 bit means read another byte.
dwarf/buf.go:120
↓ 2 callers
Function
walksymtab
(data []byte, ptrsz int, fn func(sym) error)
plan9obj/file.go:201
↓ 2 callers
Function
walksymtab
(data []byte, fn func(sym) error)
gosym/symtab.go:135
↓ 2 callers
Function
zeroArray
(t *Type)
dwarf/type.go:715
↓ 1 callers
Method
ABI
()
goobj2/internal/goobj2/goobj2.go:721
↓ 1 callers
Method
Add
()
goobj2/internal/goobj2/goobj2.go:793
↓ 1 callers
Method
AddRelocationForAddr
AddRelocationForAddr builds and adds a relocation that references no symbol. If addend is nil, a REL entry is created. Otherwise a RELA entry is used.
elf/reloc_edit.go:124
↓ 1 callers
Method
AddRelocations
AddRelocations appends relocation entries to the target section.
elf/reloc_edit.go:17
↓ 1 callers
Method
AddScatteredRelocation
AddScatteredRelocation appends a scattered relocation to the named section.
macho/reloc_edit.go:28
↓ 1 callers
Method
AddSectionRelocationForSymbol
AddSectionRelocationForSymbol appends a COFF relocation using a symbol name lookup.
pe/reloc_edit.go:67
↓ 1 callers
Method
AddressSize
AddressSize returns the size in bytes of addresses in the current compilation unit.
dwarf/type.go:273
↓ 1 callers
Method
Align
()
goobj2/internal/goobj2/goobj2.go:729
↓ 1 callers
Method
Autolib
()
goobj2/internal/goobj2/goobj2.go:1055
↓ 1 callers
Method
Aux
(s *Sym)
goobj2/write.go:312
↓ 1 callers
Method
Auxs
Auxs returns the aux symbols of the i-th symbol.
goobj2/internal/goobj2/goobj2.go:1165
↓ 1 callers
Method
Basic
()
dwarf/type.go:42
↓ 1 callers
Function
BuiltinName
BuiltinName returns the name and ABI of the i-th builtin symbol.
goobj2/internal/goobj2/goobj2.go:30
↓ 1 callers
Method
Close
Close closes the File. If the File was created using NewFile directly instead of Open, Close has no effect.
plan9obj/file.go:115
↓ 1 callers
Method
Close
()
macho/fat.go:139
↓ 1 callers
Function
Create
Create creates the file named name and returns a Writer for that file.
goobj2/internal/bio/buf.go:29
↓ 1 callers
Method
Data
Data reads and returns the contents of the Plan 9 a.out section.
plan9obj/file.go:57
↓ 1 callers
Method
Data
Data reads and returns the contents of the segment.
macho/file.go:120
↓ 1 callers
Function
DefaultExpstring
()
goobj2/internal/objabi/objabi.go:1209
↓ 1 callers
Method
DwarfFile
(i int)
goobj2/internal/goobj2/goobj2.go:1091
↓ 1 callers
Method
DynString
DynString returns the strings listed for the given tag in the file's dynamic section. The tag must be one that takes string values: DT_NEEDED, DT_SON
elf/file.go:948
↓ 1 callers
Method
Error
()
plan9obj/file.go:88
↓ 1 callers
Method
Error
()
macho/file.go:244
↓ 1 callers
Method
Header
()
goobj2/internal/goobj2/extras.go:3
↓ 1 callers
Method
ImportDelayDirectoryTable
ImportDelayDirectoryTable - returns the Import Directory Table, a pointer to the section, and the section raw data
pe/imports.go:181
↓ 1 callers
Method
ImportedLibraries
ImportedLibraries returns the names of all libraries referred to by the binary f that are expected to be linked with the binary at dynamic link time.
elf/file.go:902
↓ 1 callers
Method
ImportedSymbols
ImportedSymbols returns the names of all symbols referred to by the binary f that are expected to be satisfied by other libraries at dynamic load time
pe/imports.go:80
↓ 1 callers
Method
IsDirectCall
IsDirectCall reports whether r is a relocation for a direct call. A direct call is a CALL instruction that takes the target address as an immediate. T
goobj2/internal/objabi/objabi.go:862
↓ 1 callers
Method
IsDirectJump
IsDirectJump reports whether r is a relocation for a direct jump. A direct jump is a JMP instruction that takes the target address as an immediate. Th
goobj2/internal/objabi/objabi.go:875
↓ 1 callers
Method
IsManaged
IsManaged returns true if the loaded PE file references the CLR header (aka is a .net exe)
pe/file.go:456
↓ 1 callers
Method
LineToPC
LineToPC looks up the first program counter on the given line in the named file. It returns UnknownPathError or UnknownLineError if there is an error
gosym/symtab.go:513
↓ 1 callers
Method
NAux
NAux returns the number of aux symbols of the i-th symbol.
goobj2/internal/goobj2/goobj2.go:1146
↓ 1 callers
Method
NDwarfFile
()
goobj2/internal/goobj2/goobj2.go:1087
↓ 1 callers
Method
NNonpkgref
()
goobj2/internal/goobj2/goobj2.go:1104
↓ 1 callers
Method
NRefName
NRefName returns the number of referenced symbol names.
goobj2/internal/goobj2/goobj2.go:1198
↓ 1 callers
Method
NReloc
NReloc returns the number of relocations of the i-th symbol.
goobj2/internal/goobj2/goobj2.go:1120
↓ 1 callers
Function
New
New returns a new Data object initialized from the given parameters. Rather than calling this function directly, clients should typically use the DWAR
dwarf/open.go:41
↓ 1 callers
Function
NewFatFile
NewFatFile creates a new FatFile for accessing all the Mach-O images in a universal binary. The Mach-O binary is expected to start at position 0 in th
macho/fat.go:45
↓ 1 callers
Function
NewFile
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/file.go:135
↓ 1 callers
Function
NewLineTable
NewLineTable returns a new PC/line table corresponding to the encoded data. Text must be the start address of the corresponding text segment.
gosym/pclntab.go:124
↓ 1 callers
Function
NewReaderFromBytes
(b []byte, readonly bool)
goobj2/internal/goobj2/goobj2.go:980
↓ 1 callers
Function
NewTable
NewTable decodes the Go symbol table (the ".gosymtab" section in ELF), returning an in-memory representation. Starting with Go 1.3, the Go symbol tabl
gosym/symtab.go:278
↓ 1 callers
Function
NewWriter
(wr *bio.Writer)
goobj2/internal/goobj2/goobj2.go:906
↓ 1 callers
Method
Off
()
goobj2/internal/goobj2/goobj2.go:787
↓ 1 callers
Method
Open
Open returns a new ReadSeeker reading the Plan 9 a.out section.
plan9obj/file.go:67
↓ 1 callers
Method
Open
Open returns a new ReadSeeker reading the ELF section. Even if the section is stored compressed in the ELF file, the ReadSeeker reads uncompressed dat
elf/file.go:131
↓ 1 callers
Method
Open
Open returns a new ReadSeeker reading the PE section s.
pe/section.go:88
↓ 1 callers
Function
PathToPrefix
PathToPrefix converts raw string to the prefix that will be used in the symbol table. All control characters, space, '%' and '"', as well as non-7-bit
goobj2/internal/objabi/objabi.go:622
↓ 1 callers
Method
PcdataBase
AuxDataBase returns the base offset of the aux data block.
goobj2/internal/goobj2/goobj2.go:1193
↓ 1 callers
Method
Pkglist
()
goobj2/internal/goobj2/goobj2.go:1067
↓ 1 callers
Method
Read
(b []byte)
goobj2/internal/goobj2/goobj2.go:316
↓ 1 callers
Method
Read
Read an InlTreeNode from b, return the remaining bytes.
goobj2/internal/goobj2/goobj2.go:466
↓ 1 callers
Method
Read
(p []byte)
elf/reader.go:54
↓ 1 callers
Method
ReadAt
(p []byte, off int64)
elf/reader.go:21
↓ 1 callers
Method
RefName
RefName returns a pointer to the i-th referenced symbol name. Note: here i is not a local symbol index, just a counter.
goobj2/internal/goobj2/goobj2.go:1204
↓ 1 callers
Method
Reloc
(r *Reloc)
goobj2/write.go:295
↓ 1 callers
Method
Relocs
Relocs returns a pointer to the relocations of the i-th symbol.
goobj2/internal/goobj2/goobj2.go:1139
↓ 1 callers
Method
RemoveBaseRelocations
RemoveBaseRelocations clears all base relocation entries.
pe/reloc_edit.go:26
↓ 1 callers
Method
RemoveRelocations
RemoveRelocations clears relocations for the named section.
macho/reloc_edit.go:67
↓ 1 callers
Method
RemoveRelocations
RemoveRelocations clears relocation entries for the target section.
elf/reloc_edit.go:27
↓ 1 callers
Method
RemoveSectionRelocations
RemoveSectionRelocations clears COFF relocations for a section.
pe/reloc_edit.go:104
↓ 1 callers
Method
Replace
Replace Section's Data
pe/section.go:93
↓ 1 callers
Function
ST_BIND
(info uint8)
elf/elf.go:2846
↓ 1 callers
Method
Section
Section returns a section with the given name, or nil if no such section exists.
plan9obj/file.go:321
↓ 1 callers
Method
Seek
Seek restores the line table reader to a position returned by Tell. The argument pos must have been returned by a call to Tell on this line table.
dwarf/line.go:493
↓ 1 callers
Method
SetABI
(x uint16)
goobj2/internal/goobj2/goobj2.go:752
↓ 1 callers
Method
SetAlign
(x uint32)
goobj2/internal/goobj2/goobj2.go:760
↓ 1 callers
Method
SetBindKindForSymbolIndex
SetBindKindForSymbolIndex records a bind kind for the symbol index.
macho/reloc_edit.go:164
↓ 1 callers
Method
SetFlag
(x uint8)
goobj2/internal/goobj2/goobj2.go:756
↓ 1 callers
Method
SetName
(x string, w *Writer)
goobj2/internal/goobj2/goobj2.go:747
↓ 1 callers
Method
SetName
(x string, w *Writer)
goobj2/internal/goobj2/goobj2.go:893
↓ 1 callers
Method
SetSiz
(x uint32)
goobj2/internal/goobj2/goobj2.go:758
↓ 1 callers
Method
SetSym
(x SymRef)
goobj2/internal/goobj2/goobj2.go:857
↓ 1 callers
Method
SetSym
(x SymRef)
goobj2/internal/goobj2/goobj2.go:888
↓ 1 callers
Method
SetType
(x uint8)
goobj2/internal/goobj2/goobj2.go:754
↓ 1 callers
Method
SetType
(x uint8)
goobj2/internal/goobj2/goobj2.go:855
↓ 1 callers
Method
Slice
Slice reads the next length bytes of r into a slice. This slice may be backed by mmap'ed memory. Currently, this memory will never be unmapped. The s
goobj2/internal/bio/buf.go:115
↓ 1 callers
Method
String
()
dwarf/class_string.go:11
↓ 1 callers
Method
String
()
dwarf/attr_string.go:84
↓ 1 callers
Method
String
()
macho/reloctype_string.go:11
↓ 1 callers
Method
String
()
macho/reloctype_string.go:22
↓ 1 callers
Method
String
()
macho/reloctype_string.go:33
↓ 1 callers
Method
String
()
macho/reloctype_string.go:44
↓ 1 callers
Method
StringTable
()
goobj2/write.go:215
↓ 1 callers
Method
SymOff
SymOff returns the offset of the i-th symbol.
goobj2/internal/goobj2/goobj2.go:1109
↓ 1 callers
Method
Write
(w *bytes.Buffer)
goobj2/internal/goobj2/goobj2.go:282
← previous
next →
201–300 of 738, ranked by callers