Lines Matching refs:getBuffer
66 memcpy(&Header, Buffer->getBuffer().data(), sizeof(Header)); in MachOObject()
78 memcpy(&Header64Ext, Buffer->getBuffer().data() + sizeof(Header), in MachOObject()
98 StringRef Magic = Buffer->getBuffer().slice(0, 4); in LoadFromBuffer()
133 return Buffer->getBuffer().substr(Offset,Size); in getData()
138 StringTable = Buffer->getBuffer().substr(SLC.StringTableOffset, in RegisterStringTable()
157 memcpy(&Info.Command, Buffer->getBuffer().data() + Offset, in getLoadCommandInfo()
185 ReadInMemoryStruct(*this, Buffer->getBuffer(), LCI.Offset, Res); in ReadSegmentLoadCommand()
203 ReadInMemoryStruct(*this, Buffer->getBuffer(), LCI.Offset, Res); in ReadSegment64LoadCommand()
217 ReadInMemoryStruct(*this, Buffer->getBuffer(), LCI.Offset, Res); in ReadSymtabLoadCommand()
245 ReadInMemoryStruct(*this, Buffer->getBuffer(), LCI.Offset, Res); in ReadDysymtabLoadCommand()
257 ReadInMemoryStruct(*this, Buffer->getBuffer(), LCI.Offset, Res); in ReadLinkeditDataLoadCommand()
270 ReadInMemoryStruct(*this, Buffer->getBuffer(), Offset, Res); in ReadIndirectSymbolTableEntry()
293 ReadInMemoryStruct(*this, Buffer->getBuffer(), Offset, Res); in ReadSection()
316 ReadInMemoryStruct(*this, Buffer->getBuffer(), Offset, Res); in ReadSection64()
329 ReadInMemoryStruct(*this, Buffer->getBuffer(), Offset, Res); in ReadRelocationEntry()
343 ReadInMemoryStruct(*this, Buffer->getBuffer(), Offset, Res); in ReadSymbolTableEntry()
357 ReadInMemoryStruct(*this, Buffer->getBuffer(), Offset, Res); in ReadSymbol64TableEntry()
371 ReadInMemoryStruct(*this, Buffer->getBuffer(), Offset, Res); in ReadDataInCodeTableEntry()
376 DataExtractor extractor(Buffer->getBuffer(), true, 0); in ReadULEB128s()