Lines Matching refs:getBuffer
65 memcpy(&Header, Buffer->getBuffer().data(), sizeof(Header)); in MachOObject()
77 memcpy(&Header64Ext, Buffer->getBuffer().data() + sizeof(Header), in MachOObject()
97 StringRef Magic = Buffer->getBuffer().slice(0, 4); in LoadFromBuffer()
132 return Buffer->getBuffer().substr(Offset,Size); in getData()
137 StringTable = Buffer->getBuffer().substr(SLC.StringTableOffset, in RegisterStringTable()
156 memcpy(&Info.Command, Buffer->getBuffer().data() + Offset, in getLoadCommandInfo()
184 ReadInMemoryStruct(*this, Buffer->getBuffer(), LCI.Offset, Res); in ReadSegmentLoadCommand()
202 ReadInMemoryStruct(*this, Buffer->getBuffer(), LCI.Offset, Res); in ReadSegment64LoadCommand()
216 ReadInMemoryStruct(*this, Buffer->getBuffer(), LCI.Offset, Res); in ReadSymtabLoadCommand()
244 ReadInMemoryStruct(*this, Buffer->getBuffer(), LCI.Offset, Res); in ReadDysymtabLoadCommand()
256 ReadInMemoryStruct(*this, Buffer->getBuffer(), LCI.Offset, Res); in ReadLinkeditDataLoadCommand()
269 ReadInMemoryStruct(*this, Buffer->getBuffer(), Offset, Res); in ReadIndirectSymbolTableEntry()
292 ReadInMemoryStruct(*this, Buffer->getBuffer(), Offset, Res); in ReadSection()
315 ReadInMemoryStruct(*this, Buffer->getBuffer(), Offset, Res); in ReadSection64()
328 ReadInMemoryStruct(*this, Buffer->getBuffer(), Offset, Res); in ReadRelocationEntry()
342 ReadInMemoryStruct(*this, Buffer->getBuffer(), Offset, Res); in ReadSymbolTableEntry()
356 ReadInMemoryStruct(*this, Buffer->getBuffer(), Offset, Res); in ReadSymbol64TableEntry()