MCPcopy Create free account

hub / github.com/Binject/debug / functions

Functions738 in github.com/Binject/debug

↓ 134 callersMethodWrite
Write writes the contents of the parsed archive to disk.
goobj2/write.go:22
↓ 107 callersMethodUint32
(x uint32)
goobj2/internal/goobj2/goobj2.go:948
↓ 77 callersMethodRead
(p []byte)
elf/reader.go:17
↓ 52 callersFunctionstringName
(i uint32, names []intName, goSyntax bool)
elf/elf.go:2953
↓ 37 callersMethodSize
()
dwarf/type.go:18
↓ 34 callersMethodVal
Val returns the value associated with attribute Attr in Entry, or nil if there is no such attribute. A common idiom is to merge the check for nil ret
dwarf/entry.go:342
↓ 26 callersMethodReadAt
ReadAt writes len(p) 0s into p.
pe/file.go:315
↓ 26 callersMethoduint
Unsigned int is just a varint.
dwarf/buf.go:135
↓ 25 callersMethodSeek
(Offset)
dwarf/type.go:267
↓ 22 callersMethodOffset
()
goobj2/internal/bio/buf.go:69
↓ 19 callersMethoduint8
()
dwarf/buf.go:57
↓ 18 callersMethoderror
(s string)
dwarf/buf.go:177
↓ 17 callersMethodNext
()
dwarf/type.go:268
↓ 16 callersMethodBytes
Bytes - Returns the bytes of an assembled *macho.File
macho/write.go:14
↓ 16 callersMethodSym
(s *Sym)
goobj2/write.go:279
↓ 16 callersFunctionmakeBuf
(d *Data, format dataFormat, name string, off Offset, data []byte)
dwarf/buf.go:53
↓ 16 callersMethoduint32At
(off uint32)
goobj2/internal/goobj2/goobj2.go:1006
↓ 15 callersMethodBytes
Bytes - returns the bytes of an Elf file
elf/write.go:14
↓ 14 callersMethodBytes
(s []byte)
goobj2/internal/goobj2/goobj2.go:936
↓ 14 callersMethodSection
Section returns a section with the given name, or nil if no such section exists.
elf/file.go:650
↓ 14 callersFunctioncstring
(b []byte)
macho/file.go:815
↓ 14 callersMethodgetSymbols
getSymbols returns a slice of Symbols from parsing the symbol table with the given type, along with the associated string table.
elf/file.go:530
↓ 14 callersMethoduintptr
uintptr returns the pointer-sized value encoded at b. The pointer size is dictated by the table being read.
gosym/pclntab.go:149
↓ 13 callersMethodAddString
(s string)
goobj2/internal/goobj2/goobj2.go:910
↓ 13 callersMethodBytesAt
(off uint32, len int)
goobj2/internal/goobj2/goobj2.go:989
↓ 13 callersMethodSection
Section returns the first section with the given name, or nil if no such section exists.
macho/file.go:835
↓ 13 callersMethodString
()
dwarf/type.go:17
↓ 13 callersMethodUint16
(x uint16)
goobj2/internal/goobj2/goobj2.go:955
↓ 13 callersMethoduint64
()
dwarf/buf.go:110
↓ 12 callersMethodClose
()
goobj2/internal/bio/buf.go:89
↓ 12 callersMethodData
Data reads and returns the contents of the ELF section. Even if the section is stored compressed in the ELF file, Data returns uncompressed data.
elf/file.go:113
↓ 12 callersMethodReader
Reader returns a new Reader for Data. The reader is positioned at byte offset 0 in the DWARF ``info'' section.
dwarf/entry.go:535
↓ 12 callersMethodUint64
(x uint64)
goobj2/internal/goobj2/goobj2.go:941
↓ 12 callersFunctionassertString
(t *testing.T, dsc, out, tgt string)
gosym/symtab_test.go:12
↓ 12 callersMethodsetDynTag
(tag DynTag, value uint64)
elf/reloc_edit.go:634
↓ 12 callersMethoduint32
()
dwarf/buf.go:102
↓ 11 callersMethodClose
Close closes the File. If the File was created using NewFile directly instead of Open, Close has no effect.
pe/file.go:67
↓ 11 callersFunctionOpen
Open opens the named file using os.Open and prepares it for use as an ELF binary.
elf/file.go:242
↓ 11 callersMethodReplace
Replace swaps the section's data with the provided reader and length.
elf/file.go:149
↓ 11 callersMethodSection
Section returns the first section with the given name, or nil if no such section exists.
pe/file.go:338
↓ 11 callersMethodbytes
(n int)
dwarf/buf.go:68
↓ 11 callersFunctionmaxUint64
(a, b uint64)
macho/reloc_write.go:557
↓ 10 callersMethodClose
Close closes the File. If the File was created using NewFile directly instead of Open, Close has no effect.
elf/file.go:259
↓ 10 callersMethodOpen
Open returns a new ReadSeeker reading the ELF program body.
elf/file.go:186
↓ 10 callersFunctionalign32
(value, align uint32)
pe/reloc_write.go:172
↓ 10 callersFunctionelfData
(t *testing.T, name string)
dwarf/type_test.go:45
↓ 10 callersFunctionenvOr
(key, value string)
goobj2/internal/objabi/objabi.go:1039
↓ 9 callersMethodFlag
()
goobj2/internal/goobj2/goobj2.go:725
↓ 9 callersFunctionOpen
Open opens the named file using os.Open and prepares it for use as a PE binary.
pe/file.go:50
↓ 9 callersMethoderror
error records that an error occurred. It returns only the first error, so that an error caused by an earlier error does not discard information about
goobj2/file.go:308
↓ 8 callersMethodClose
Close closes the File. If the File was created using NewFile directly instead of Open, Close has no effect.
macho/file.go:271
↓ 8 callersFunctionNewFile
NewFile creates a new File for accessing an ELF binary in an underlying reader. The ELF binary is expected to start at position 0 in the ReaderAt.
elf/file.go:292
↓ 8 callersMethodWrite
(w *Writer)
goobj2/internal/goobj2/goobj2.go:762
↓ 8 callersMethodreadFull
read reads exactly len(b) bytes from the input file. If an error occurs, read returns the error but also records it, so it is safe for callers to igno
goobj2/file.go:367
↓ 8 callersMethoduint16
()
dwarf/buf.go:94
↓ 7 callersMethodData
Data reads and returns the contents of the PE section s.
pe/section.go:73
↓ 7 callersFunctionNewFile
NewFile creates a new macho.File for accessing a Mach-o binary file in an underlying reader.
macho/file.go:281
↓ 7 callersFunctionOpen
Open opens the named file using os.Open and prepares it for use as a Mach-O binary.
macho/file.go:254
↓ 7 callersMethodReset
Reset repositions the line table reader at the beginning of the line table.
dwarf/line.go:503
↓ 7 callersMethodaux1
(typ uint8, rs goobj2.SymRef)
goobj2/write.go:305
↓ 7 callersFunctiongetString
getString extracts a string from symbol string table.
pe/file.go:323
↓ 6 callersMethodBytes
()
pe/write.go:10
↓ 6 callersMethodData
Data returns the i-th symbol's data.
goobj2/internal/goobj2/goobj2.go:1184
↓ 6 callersMethodError
()
elf/file.go:232
↓ 6 callersMethodPackageName
PackageName returns the package part of the symbol name, or the empty string if there is none.
gosym/symtab.go:37
↓ 6 callersMethodReceiverName
ReceiverName returns the receiver type name of this symbol, or the empty string if there is none.
gosym/symtab.go:51
↓ 6 callersMethodSectionByType
SectionByType returns the first section in f with the given type, or nil if there is no such section.
elf/file.go:270
↓ 6 callersMethodaddRelocations
(target *Section, rels interface{}, replace bool, linkOverride *int)
elf/reloc_edit.go:171
↓ 6 callersFunctionalignUp
(value, align uint64)
elf/reloc_edit.go:644
↓ 6 callersFunctionflagName
(i uint32, names []intName, goSyntax bool)
elf/elf.go:2979
↓ 6 callersFunctiongetString
getString extracts a string from an ELF string table.
elf/file.go:635
↓ 6 callersFunctionstringName
(i uint32, names []intName, goSyntax bool)
macho/macho.go:404
↓ 6 callersFunctiontrimSpace
trimSpace removes trailing spaces from b and returns the corresponding string. This effectively parses the form used in archive headers.
goobj2/file.go:493
↓ 5 callersMethodDWARF
()
pe/file.go:347
↓ 5 callersMethodError
()
pe/file.go:440
↓ 5 callersMethodName
(r *Reader)
goobj2/internal/goobj2/goobj2.go:715
↓ 5 callersMethodaddr
Address-sized uint.
dwarf/buf.go:151
↓ 5 callersFunctionrelocationAlign
(class Class)
elf/reloc_edit.go:324
↓ 4 callersMethodError
()
gosym/symtab.go:708
↓ 4 callersMethodGoString
()
macho/macho.go:80
↓ 4 callersMethodMustSeek
(offset int64, whence int)
goobj2/internal/bio/buf.go:46
↓ 4 callersFunctionNewFile
TODO(brainman): add Load function, as a replacement for NewFile, that does not call removeAuxSymbols (for performance) NewFile creates a new pe.File f
pe/file.go:84
↓ 4 callersMethodRVAToFileOffset
RVAToFileOffset Converts a Relative offset to the actual offset in the file.
pe/file.go:445
↓ 4 callersFunctionR_INFO
(sym, typ uint32)
elf/elf.go:2934
↓ 4 callersMethodReadFile
(b []byte, filesoff uint32, k uint32)
goobj2/internal/goobj2/goobj2.go:428
↓ 4 callersMethodSeekPC
SeekPC returns the Entry for the compilation unit that includes pc, and positions the reader to read the children of that unit. If pc is not covered
dwarf/entry.go:663
↓ 4 callersMethodStringRef
(s string)
goobj2/internal/goobj2/goobj2.go:926
↓ 4 callersMethodStringRef
(off uint32)
goobj2/internal/goobj2/goobj2.go:1046
↓ 4 callersFunctioncstring
cstring converts ASCII byte sequence b to string. It stops once it finds 0 or reaches end of b.
pe/string.go:16
↓ 4 callersMethodoffsetToUnit
offsetToUnit returns the index of the unit containing offset off. It returns -1 if no unit contains this offset.
dwarf/unit.go:97
↓ 4 callersFunctionpickLink
(index int)
elf/reloc_edit.go:164
↓ 4 callersMethodsectionIndexByName
(name string)
elf/reloc_edit.go:362
↓ 4 callersMethodstring
()
dwarf/buf.go:81
↓ 4 callersMethodunitLength
()
dwarf/buf.go:166
↓ 4 callersMethodupdateDynamicRelocTags
()
elf/reloc_edit.go:598
↓ 3 callersMethodAddRelocation
AddRelocation appends a relocation to the named section.
macho/reloc_edit.go:18
↓ 3 callersMethodAddSectionRelocation
AddSectionRelocation appends a COFF relocation to a section.
pe/reloc_edit.go:57
↓ 3 callersMethodAddTypes
AddTypes will add one .debug_types section to the DWARF data. A typical object with DWARF version 4 debug info will have multiple .debug_types section
dwarf/open.go:94
↓ 3 callersMethodAttrField
AttrField returns the Field associated with attribute Attr in Entry, or nil if there is no such attribute.
dwarf/entry.go:351
↓ 3 callersMethodFullName
FullName finds real name of symbol sym. Normally name is stored in sym.Name, but if it is longer then 8 characters, it is stored in COFF string table
pe/symbol.go:55
next →1–100 of 738, ranked by callers