vox ~master (2022-05-02T18:23:10Z)
Dub
Repo
PecoffLib
vox
be
pecoff
Undocumented in source.
struct
PecoffLib {
import
std
.
mmfile
;
;
version(use_mmap)
MmFile
file
;
string
filename
;
ubyte
[]
fileData
;
uint
[]
memberOffsets
;
ushort
[]
indices
;
string
stringTable
;
PecoffObj
[]
objs
;
string
longNames
;
static
PecoffLib
fromFile
(string filename);
static
PecoffLib
fromBytes
(ubyte[] fileData, string filename);
PecoffObj
[]
getObjs
();
PecoffObj
getObj
(size_t index);
void
print
(Sink sink);
}
Members
Functions
getObj
PecoffObj
getObj
(size_t index)
Ensures that obj is loaded
getObjs
PecoffObj
[]
getObjs
()
Loads all objs
print
void
print
(Sink sink)
Undocumented in source. Be warned that the author may not have intended to support it.
Static functions
fromBytes
PecoffLib
fromBytes
(ubyte[] fileData, string filename)
Undocumented in source. Be warned that the author may not have intended to support it.
fromFile
PecoffLib
fromFile
(string filename)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
file
MmFile
file
;
Undocumented in source.
fileData
ubyte
[]
fileData
;
Undocumented in source.
filename
string
filename
;
Undocumented in source.
indices
ushort
[]
indices
;
Undocumented in source.
longNames
string
longNames
;
Undocumented in source.
memberOffsets
uint
[]
memberOffsets
;
Undocumented in source.
objs
PecoffObj
[]
objs
;
Undocumented in source.
stringTable
string
stringTable
;
Undocumented in source.
Meta
Source
See Implementation
vox
be
pecoff
aliases
PC
SymbolIndex
enums
CoffFlags
CoffSymClass
IMAGE_REL_AMD64
MachineType
STD_INPUT_HANDLE
SectionFlags
SectionType
SymbolRefType
SymbolSectionNumber
SymbolType
WindowsSubsystem
functions
createImports
fromFixedString
main
nameFromSlashName
printSectionCharacteristicsAlign
printSectionCharacteristicsFlags
printSectionStats
printStringTable
printSymbolStats
testExeCompilation
testObjLibDump
testObjLinking
writeStringAligned2
manifest constants
DEFAULT_FILE_ALIGNMENT
DEFAULT_SECTION_ALIGNMENT
IAT_ILT_ENTRY_BYTES
structs
ArraySink
CoffFileHeader
CoffRelocation
CoffSymbolRange
CoffSymbolRangeItem
DataSection
DllImports
DosHeader
DosStub
Executable
ExportDirectoryEntry
FileParameters
HintNameEntry
HintNameTable
ImageDataDirectory
ImportDirectoryTableEntry
ImportLookupEntry
ImportLookupTable
ImportSection
ImportSectionMapping
ImportedDlls
LibMemberHeader
LinkingContext
OptionalHeader
ParsedLibMemberHeader
PeSignature
PeSymbolName
PecoffLib
PecoffObj
ReferenceTable
RelativeReference
Section
SectionHeader
SectionStats
Symbol
SymbolImport
SymbolName
SymbolNameTable
SymbolRef
SymbolReference
SymbolSectionInfo
SymbolStats
SymbolTable
SymbolTableEntry
variables
ARCHIVE_FILE_SIGNATURE
IMAGE_REL_AMD64_names
relTargetSizeTable