Lines Matching refs:LoadCommand

27 MachOYAML::LoadCommand::~LoadCommand() = default;
203 void mapLoadCommandData(IO &IO, MachOYAML::LoadCommand &LoadCommand) {} in mapLoadCommandData() argument
207 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
208 IO.mapOptional("Sections", LoadCommand.Sections); in mapLoadCommandData()
213 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
214 IO.mapOptional("Sections", LoadCommand.Sections); in mapLoadCommandData()
219 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
220 IO.mapOptional("PayloadString", LoadCommand.PayloadString); in mapLoadCommandData()
225 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
226 IO.mapOptional("PayloadString", LoadCommand.PayloadString); in mapLoadCommandData()
231 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
232 IO.mapOptional("PayloadString", LoadCommand.PayloadString); in mapLoadCommandData()
237 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
238 IO.mapOptional("Tools", LoadCommand.Tools); in mapLoadCommandData()
241 void MappingTraits<MachOYAML::LoadCommand>::mapping( in mapping()
242 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapping() argument
244 LoadCommand.Data.load_command_data.cmd); in mapping()
246 LoadCommand.Data.load_command_data.cmd = TempCmd; in mapping()
247 IO.mapRequired("cmdsize", LoadCommand.Data.load_command_data.cmdsize); in mapping()
252 LoadCommand.Data.LCStruct##_data); \ in mapping()
253 mapLoadCommandData<MachO::LCStruct>(IO, LoadCommand); \ in mapping()
256 switch (LoadCommand.Data.load_command_data.cmd) { in mapping()
259 IO.mapOptional("PayloadBytes", LoadCommand.PayloadBytes); in mapping()
260 IO.mapOptional("ZeroPadBytes", LoadCommand.ZeroPadBytes, (uint64_t)0ull); in mapping()
264 IO &IO, MachO::dyld_info_command &LoadCommand) { in mapping() argument
265 IO.mapRequired("rebase_off", LoadCommand.rebase_off); in mapping()
266 IO.mapRequired("rebase_size", LoadCommand.rebase_size); in mapping()
267 IO.mapRequired("bind_off", LoadCommand.bind_off); in mapping()
268 IO.mapRequired("bind_size", LoadCommand.bind_size); in mapping()
269 IO.mapRequired("weak_bind_off", LoadCommand.weak_bind_off); in mapping()
270 IO.mapRequired("weak_bind_size", LoadCommand.weak_bind_size); in mapping()
271 IO.mapRequired("lazy_bind_off", LoadCommand.lazy_bind_off); in mapping()
272 IO.mapRequired("lazy_bind_size", LoadCommand.lazy_bind_size); in mapping()
273 IO.mapRequired("export_off", LoadCommand.export_off); in mapping()
274 IO.mapRequired("export_size", LoadCommand.export_size); in mapping()
307 IO &IO, MachO::dylib_command &LoadCommand) { in mapping() argument
308 IO.mapRequired("dylib", LoadCommand.dylib); in mapping()
312 IO &IO, MachO::dylinker_command &LoadCommand) { in mapping() argument
313 IO.mapRequired("name", LoadCommand.name); in mapping()
317 IO &IO, MachO::dysymtab_command &LoadCommand) { in mapping() argument
318 IO.mapRequired("ilocalsym", LoadCommand.ilocalsym); in mapping()
319 IO.mapRequired("nlocalsym", LoadCommand.nlocalsym); in mapping()
320 IO.mapRequired("iextdefsym", LoadCommand.iextdefsym); in mapping()
321 IO.mapRequired("nextdefsym", LoadCommand.nextdefsym); in mapping()
322 IO.mapRequired("iundefsym", LoadCommand.iundefsym); in mapping()
323 IO.mapRequired("nundefsym", LoadCommand.nundefsym); in mapping()
324 IO.mapRequired("tocoff", LoadCommand.tocoff); in mapping()
325 IO.mapRequired("ntoc", LoadCommand.ntoc); in mapping()
326 IO.mapRequired("modtaboff", LoadCommand.modtaboff); in mapping()
327 IO.mapRequired("nmodtab", LoadCommand.nmodtab); in mapping()
328 IO.mapRequired("extrefsymoff", LoadCommand.extrefsymoff); in mapping()
329 IO.mapRequired("nextrefsyms", LoadCommand.nextrefsyms); in mapping()
330 IO.mapRequired("indirectsymoff", LoadCommand.indirectsymoff); in mapping()
331 IO.mapRequired("nindirectsyms", LoadCommand.nindirectsyms); in mapping()
332 IO.mapRequired("extreloff", LoadCommand.extreloff); in mapping()
333 IO.mapRequired("nextrel", LoadCommand.nextrel); in mapping()
334 IO.mapRequired("locreloff", LoadCommand.locreloff); in mapping()
335 IO.mapRequired("nlocrel", LoadCommand.nlocrel); in mapping()
339 IO &IO, MachO::encryption_info_command &LoadCommand) { in mapping() argument
340 IO.mapRequired("cryptoff", LoadCommand.cryptoff); in mapping()
341 IO.mapRequired("cryptsize", LoadCommand.cryptsize); in mapping()
342 IO.mapRequired("cryptid", LoadCommand.cryptid); in mapping()
346 IO &IO, MachO::encryption_info_command_64 &LoadCommand) { in mapping() argument
347 IO.mapRequired("cryptoff", LoadCommand.cryptoff); in mapping()
348 IO.mapRequired("cryptsize", LoadCommand.cryptsize); in mapping()
349 IO.mapRequired("cryptid", LoadCommand.cryptid); in mapping()
350 IO.mapRequired("pad", LoadCommand.pad); in mapping()
354 IO &IO, MachO::entry_point_command &LoadCommand) { in mapping() argument
355 IO.mapRequired("entryoff", LoadCommand.entryoff); in mapping()
356 IO.mapRequired("stacksize", LoadCommand.stacksize); in mapping()
360 IO &IO, MachO::fvmfile_command &LoadCommand) { in mapping() argument
361 IO.mapRequired("name", LoadCommand.name); in mapping()
362 IO.mapRequired("header_addr", LoadCommand.header_addr); in mapping()
372 IO &IO, MachO::fvmlib_command &LoadCommand) { in mapping() argument
373 IO.mapRequired("fvmlib", LoadCommand.fvmlib); in mapping()
377 IO &IO, MachO::ident_command &LoadCommand) {} in mapping() argument
380 IO &IO, MachO::linkedit_data_command &LoadCommand) { in mapping() argument
381 IO.mapRequired("dataoff", LoadCommand.dataoff); in mapping()
382 IO.mapRequired("datasize", LoadCommand.datasize); in mapping()
386 IO &IO, MachO::linker_option_command &LoadCommand) { in mapping() argument
387 IO.mapRequired("count", LoadCommand.count); in mapping()
391 IO &IO, MachO::prebind_cksum_command &LoadCommand) { in mapping() argument
392 IO.mapRequired("cksum", LoadCommand.cksum); in mapping()
396 IO &IO, MachO::load_command &LoadCommand) {} in mapping() argument
399 IO &IO, MachO::prebound_dylib_command &LoadCommand) { in mapping() argument
400 IO.mapRequired("name", LoadCommand.name); in mapping()
401 IO.mapRequired("nmodules", LoadCommand.nmodules); in mapping()
402 IO.mapRequired("linked_modules", LoadCommand.linked_modules); in mapping()
406 IO &IO, MachO::routines_command &LoadCommand) { in mapping() argument
407 IO.mapRequired("init_address", LoadCommand.init_address); in mapping()
408 IO.mapRequired("init_module", LoadCommand.init_module); in mapping()
409 IO.mapRequired("reserved1", LoadCommand.reserved1); in mapping()
410 IO.mapRequired("reserved2", LoadCommand.reserved2); in mapping()
411 IO.mapRequired("reserved3", LoadCommand.reserved3); in mapping()
412 IO.mapRequired("reserved4", LoadCommand.reserved4); in mapping()
413 IO.mapRequired("reserved5", LoadCommand.reserved5); in mapping()
414 IO.mapRequired("reserved6", LoadCommand.reserved6); in mapping()
418 IO &IO, MachO::routines_command_64 &LoadCommand) { in mapping() argument
419 IO.mapRequired("init_address", LoadCommand.init_address); in mapping()
420 IO.mapRequired("init_module", LoadCommand.init_module); in mapping()
421 IO.mapRequired("reserved1", LoadCommand.reserved1); in mapping()
422 IO.mapRequired("reserved2", LoadCommand.reserved2); in mapping()
423 IO.mapRequired("reserved3", LoadCommand.reserved3); in mapping()
424 IO.mapRequired("reserved4", LoadCommand.reserved4); in mapping()
425 IO.mapRequired("reserved5", LoadCommand.reserved5); in mapping()
426 IO.mapRequired("reserved6", LoadCommand.reserved6); in mapping()
430 IO &IO, MachO::rpath_command &LoadCommand) { in mapping() argument
431 IO.mapRequired("path", LoadCommand.path); in mapping()
465 IO &IO, MachO::segment_command &LoadCommand) { in mapping() argument
466 IO.mapRequired("segname", LoadCommand.segname); in mapping()
467 IO.mapRequired("vmaddr", LoadCommand.vmaddr); in mapping()
468 IO.mapRequired("vmsize", LoadCommand.vmsize); in mapping()
469 IO.mapRequired("fileoff", LoadCommand.fileoff); in mapping()
470 IO.mapRequired("filesize", LoadCommand.filesize); in mapping()
471 IO.mapRequired("maxprot", LoadCommand.maxprot); in mapping()
472 IO.mapRequired("initprot", LoadCommand.initprot); in mapping()
473 IO.mapRequired("nsects", LoadCommand.nsects); in mapping()
474 IO.mapRequired("flags", LoadCommand.flags); in mapping()
478 IO &IO, MachO::segment_command_64 &LoadCommand) { in mapping() argument
479 IO.mapRequired("segname", LoadCommand.segname); in mapping()
480 IO.mapRequired("vmaddr", LoadCommand.vmaddr); in mapping()
481 IO.mapRequired("vmsize", LoadCommand.vmsize); in mapping()
482 IO.mapRequired("fileoff", LoadCommand.fileoff); in mapping()
483 IO.mapRequired("filesize", LoadCommand.filesize); in mapping()
484 IO.mapRequired("maxprot", LoadCommand.maxprot); in mapping()
485 IO.mapRequired("initprot", LoadCommand.initprot); in mapping()
486 IO.mapRequired("nsects", LoadCommand.nsects); in mapping()
487 IO.mapRequired("flags", LoadCommand.flags); in mapping()
491 IO &IO, MachO::source_version_command &LoadCommand) { in mapping() argument
492 IO.mapRequired("version", LoadCommand.version); in mapping()
496 IO &IO, MachO::sub_client_command &LoadCommand) { in mapping() argument
497 IO.mapRequired("client", LoadCommand.client); in mapping()
501 IO &IO, MachO::sub_framework_command &LoadCommand) { in mapping() argument
502 IO.mapRequired("umbrella", LoadCommand.umbrella); in mapping()
506 IO &IO, MachO::sub_library_command &LoadCommand) { in mapping() argument
507 IO.mapRequired("sub_library", LoadCommand.sub_library); in mapping()
511 IO &IO, MachO::sub_umbrella_command &LoadCommand) { in mapping() argument
512 IO.mapRequired("sub_umbrella", LoadCommand.sub_umbrella); in mapping()
516 IO &IO, MachO::symseg_command &LoadCommand) { in mapping() argument
517 IO.mapRequired("offset", LoadCommand.offset); in mapping()
518 IO.mapRequired("size", LoadCommand.size); in mapping()
522 IO &IO, MachO::symtab_command &LoadCommand) { in mapping() argument
523 IO.mapRequired("symoff", LoadCommand.symoff); in mapping()
524 IO.mapRequired("nsyms", LoadCommand.nsyms); in mapping()
525 IO.mapRequired("stroff", LoadCommand.stroff); in mapping()
526 IO.mapRequired("strsize", LoadCommand.strsize); in mapping()
530 IO &IO, MachO::thread_command &LoadCommand) {} in mapping() argument
533 IO &IO, MachO::twolevel_hints_command &LoadCommand) { in mapping() argument
534 IO.mapRequired("offset", LoadCommand.offset); in mapping()
535 IO.mapRequired("nhints", LoadCommand.nhints); in mapping()
539 IO &IO, MachO::uuid_command &LoadCommand) { in mapping() argument
540 IO.mapRequired("uuid", LoadCommand.uuid); in mapping()
544 IO &IO, MachO::version_min_command &LoadCommand) { in mapping() argument
545 IO.mapRequired("version", LoadCommand.version); in mapping()
546 IO.mapRequired("sdk", LoadCommand.sdk); in mapping()
550 IO &IO, MachO::note_command &LoadCommand) { in mapping() argument
551 IO.mapRequired("data_owner", LoadCommand.data_owner); in mapping()
552 IO.mapRequired("offset", LoadCommand.offset); in mapping()
553 IO.mapRequired("size", LoadCommand.size); in mapping()
557 IO &IO, MachO::build_version_command &LoadCommand) { in mapping() argument
558 IO.mapRequired("platform", LoadCommand.platform); in mapping()
559 IO.mapRequired("minos", LoadCommand.minos); in mapping()
560 IO.mapRequired("sdk", LoadCommand.sdk); in mapping()
561 IO.mapRequired("ntools", LoadCommand.ntools); in mapping()