• Home
  • Raw
  • Download

Lines Matching refs:macho

112   unsigned HeaderSize = Is64Bit ? macho::Header64Size : macho::Header32Size;  in LoadFromBuffer()
135 void MachOObject::RegisterStringTable(macho::SymtabLoadCommand &SLC) { in RegisterStringTable()
157 sizeof(macho::LoadCommand)); in getLoadCommandInfo()
170 void SwapStruct(macho::SegmentLoadCommand &Value) { in SwapStruct()
183 InMemoryStruct<macho::SegmentLoadCommand> &Res) const { in ReadSegmentLoadCommand()
188 void SwapStruct(macho::Segment64LoadCommand &Value) { in SwapStruct()
201 InMemoryStruct<macho::Segment64LoadCommand> &Res) const { in ReadSegment64LoadCommand()
206 void SwapStruct(macho::SymtabLoadCommand &Value) { in SwapStruct()
215 InMemoryStruct<macho::SymtabLoadCommand> &Res) const { in ReadSymtabLoadCommand()
220 void SwapStruct(macho::DysymtabLoadCommand &Value) { in SwapStruct()
243 InMemoryStruct<macho::DysymtabLoadCommand> &Res) const { in ReadDysymtabLoadCommand()
248 void SwapStruct(macho::LinkeditDataLoadCommand &Value) { in SwapStruct()
255 InMemoryStruct<macho::LinkeditDataLoadCommand> &Res) const { in ReadLinkeditDataLoadCommand()
260 void SwapStruct(macho::IndirectSymbolTableEntry &Value) { in SwapStruct()
264 MachOObject::ReadIndirectSymbolTableEntry(const macho::DysymtabLoadCommand &DLC, in ReadIndirectSymbolTableEntry()
266 InMemoryStruct<macho::IndirectSymbolTableEntry> &Res) const { in ReadIndirectSymbolTableEntry()
268 Index * sizeof(macho::IndirectSymbolTableEntry)); in ReadIndirectSymbolTableEntry()
274 void SwapStruct(macho::Section &Value) { in SwapStruct()
287 InMemoryStruct<macho::Section> &Res) const { in ReadSection()
288 assert(LCI.Command.Type == macho::LCT_Segment && in ReadSection()
290 uint64_t Offset = (LCI.Offset + sizeof(macho::SegmentLoadCommand) + in ReadSection()
291 Index * sizeof(macho::Section)); in ReadSection()
296 void SwapStruct(macho::Section64 &Value) { in SwapStruct()
310 InMemoryStruct<macho::Section64> &Res) const { in ReadSection64()
311 assert(LCI.Command.Type == macho::LCT_Segment64 && in ReadSection64()
313 uint64_t Offset = (LCI.Offset + sizeof(macho::Segment64LoadCommand) + in ReadSection64()
314 Index * sizeof(macho::Section64)); in ReadSection64()
319 void SwapStruct(macho::RelocationEntry &Value) { in SwapStruct()
325 InMemoryStruct<macho::RelocationEntry> &Res) const { in ReadRelocationEntry()
327 Index * sizeof(macho::RelocationEntry)); in ReadRelocationEntry()
332 void SwapStruct(macho::SymbolTableEntry &Value) { in SwapStruct()
339 InMemoryStruct<macho::SymbolTableEntry> &Res) const { in ReadSymbolTableEntry()
341 Index * sizeof(macho::SymbolTableEntry)); in ReadSymbolTableEntry()
346 void SwapStruct(macho::Symbol64TableEntry &Value) { in SwapStruct()
353 InMemoryStruct<macho::Symbol64TableEntry> &Res) const { in ReadSymbol64TableEntry()
355 Index * sizeof(macho::Symbol64TableEntry)); in ReadSymbol64TableEntry()