Lines Matching refs:LoadCommand
26 MachOYAML::LoadCommand::~LoadCommand() = default;
209 void mapLoadCommandData(IO &IO, MachOYAML::LoadCommand &LoadCommand) {} in mapLoadCommandData() argument
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("Sections", LoadCommand.Sections); in mapLoadCommandData()
225 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
226 IO.mapOptional("Content", LoadCommand.Content); in mapLoadCommandData()
231 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
232 IO.mapOptional("Content", LoadCommand.Content); in mapLoadCommandData()
237 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
238 IO.mapOptional("Content", LoadCommand.Content); in mapLoadCommandData()
243 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
244 IO.mapOptional("Content", LoadCommand.Content); in mapLoadCommandData()
249 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
250 IO.mapOptional("Content", LoadCommand.Content); in mapLoadCommandData()
255 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
256 IO.mapOptional("Content", LoadCommand.Content); in mapLoadCommandData()
261 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
262 IO.mapOptional("Content", LoadCommand.Content); in mapLoadCommandData()
267 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
268 IO.mapOptional("Tools", LoadCommand.Tools); in mapLoadCommandData()
271 void MappingTraits<MachOYAML::LoadCommand>::mapping( in mapping()
272 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapping() argument
274 LoadCommand.Data.load_command_data.cmd); in mapping()
276 LoadCommand.Data.load_command_data.cmd = TempCmd; in mapping()
277 IO.mapRequired("cmdsize", LoadCommand.Data.load_command_data.cmdsize); in mapping()
282 LoadCommand.Data.LCStruct##_data); \ in mapping()
283 mapLoadCommandData<MachO::LCStruct>(IO, LoadCommand); \ in mapping()
286 switch (LoadCommand.Data.load_command_data.cmd) { in mapping()
289 IO.mapOptional("PayloadBytes", LoadCommand.PayloadBytes); in mapping()
290 IO.mapOptional("ZeroPadBytes", LoadCommand.ZeroPadBytes, (uint64_t)0ull); in mapping()
294 IO &IO, MachO::dyld_info_command &LoadCommand) { in mapping() argument
295 IO.mapRequired("rebase_off", LoadCommand.rebase_off); in mapping()
296 IO.mapRequired("rebase_size", LoadCommand.rebase_size); in mapping()
297 IO.mapRequired("bind_off", LoadCommand.bind_off); in mapping()
298 IO.mapRequired("bind_size", LoadCommand.bind_size); in mapping()
299 IO.mapRequired("weak_bind_off", LoadCommand.weak_bind_off); in mapping()
300 IO.mapRequired("weak_bind_size", LoadCommand.weak_bind_size); in mapping()
301 IO.mapRequired("lazy_bind_off", LoadCommand.lazy_bind_off); in mapping()
302 IO.mapRequired("lazy_bind_size", LoadCommand.lazy_bind_size); in mapping()
303 IO.mapRequired("export_off", LoadCommand.export_off); in mapping()
304 IO.mapRequired("export_size", LoadCommand.export_size); in mapping()
359 IO &IO, MachO::dylib_command &LoadCommand) { in mapping() argument
360 IO.mapRequired("dylib", LoadCommand.dylib); in mapping()
364 IO &IO, MachO::dylinker_command &LoadCommand) { in mapping() argument
365 IO.mapRequired("name", LoadCommand.name); in mapping()
369 IO &IO, MachO::dysymtab_command &LoadCommand) { in mapping() argument
370 IO.mapRequired("ilocalsym", LoadCommand.ilocalsym); in mapping()
371 IO.mapRequired("nlocalsym", LoadCommand.nlocalsym); in mapping()
372 IO.mapRequired("iextdefsym", LoadCommand.iextdefsym); in mapping()
373 IO.mapRequired("nextdefsym", LoadCommand.nextdefsym); in mapping()
374 IO.mapRequired("iundefsym", LoadCommand.iundefsym); in mapping()
375 IO.mapRequired("nundefsym", LoadCommand.nundefsym); in mapping()
376 IO.mapRequired("tocoff", LoadCommand.tocoff); in mapping()
377 IO.mapRequired("ntoc", LoadCommand.ntoc); in mapping()
378 IO.mapRequired("modtaboff", LoadCommand.modtaboff); in mapping()
379 IO.mapRequired("nmodtab", LoadCommand.nmodtab); in mapping()
380 IO.mapRequired("extrefsymoff", LoadCommand.extrefsymoff); in mapping()
381 IO.mapRequired("nextrefsyms", LoadCommand.nextrefsyms); in mapping()
382 IO.mapRequired("indirectsymoff", LoadCommand.indirectsymoff); in mapping()
383 IO.mapRequired("nindirectsyms", LoadCommand.nindirectsyms); in mapping()
384 IO.mapRequired("extreloff", LoadCommand.extreloff); in mapping()
385 IO.mapRequired("nextrel", LoadCommand.nextrel); in mapping()
386 IO.mapRequired("locreloff", LoadCommand.locreloff); in mapping()
387 IO.mapRequired("nlocrel", LoadCommand.nlocrel); in mapping()
391 IO &IO, MachO::encryption_info_command &LoadCommand) { in mapping() argument
392 IO.mapRequired("cryptoff", LoadCommand.cryptoff); in mapping()
393 IO.mapRequired("cryptsize", LoadCommand.cryptsize); in mapping()
394 IO.mapRequired("cryptid", LoadCommand.cryptid); in mapping()
398 IO &IO, MachO::encryption_info_command_64 &LoadCommand) { in mapping() argument
399 IO.mapRequired("cryptoff", LoadCommand.cryptoff); in mapping()
400 IO.mapRequired("cryptsize", LoadCommand.cryptsize); in mapping()
401 IO.mapRequired("cryptid", LoadCommand.cryptid); in mapping()
402 IO.mapRequired("pad", LoadCommand.pad); in mapping()
406 IO &IO, MachO::entry_point_command &LoadCommand) { in mapping() argument
407 IO.mapRequired("entryoff", LoadCommand.entryoff); in mapping()
408 IO.mapRequired("stacksize", LoadCommand.stacksize); in mapping()
412 IO &IO, MachO::fvmfile_command &LoadCommand) { in mapping() argument
413 IO.mapRequired("name", LoadCommand.name); in mapping()
414 IO.mapRequired("header_addr", LoadCommand.header_addr); in mapping()
424 IO &IO, MachO::fvmlib_command &LoadCommand) { in mapping() argument
425 IO.mapRequired("fvmlib", LoadCommand.fvmlib); in mapping()
429 IO &IO, MachO::ident_command &LoadCommand) {} in mapping() argument
432 IO &IO, MachO::linkedit_data_command &LoadCommand) { in mapping() argument
433 IO.mapRequired("dataoff", LoadCommand.dataoff); in mapping()
434 IO.mapRequired("datasize", LoadCommand.datasize); in mapping()
438 IO &IO, MachO::linker_option_command &LoadCommand) { in mapping() argument
439 IO.mapRequired("count", LoadCommand.count); in mapping()
443 IO &IO, MachO::prebind_cksum_command &LoadCommand) { in mapping() argument
444 IO.mapRequired("cksum", LoadCommand.cksum); in mapping()
448 IO &IO, MachO::load_command &LoadCommand) {} in mapping() argument
451 IO &IO, MachO::prebound_dylib_command &LoadCommand) { in mapping() argument
452 IO.mapRequired("name", LoadCommand.name); in mapping()
453 IO.mapRequired("nmodules", LoadCommand.nmodules); in mapping()
454 IO.mapRequired("linked_modules", LoadCommand.linked_modules); in mapping()
458 IO &IO, MachO::routines_command &LoadCommand) { in mapping() argument
459 IO.mapRequired("init_address", LoadCommand.init_address); in mapping()
460 IO.mapRequired("init_module", LoadCommand.init_module); in mapping()
461 IO.mapRequired("reserved1", LoadCommand.reserved1); in mapping()
462 IO.mapRequired("reserved2", LoadCommand.reserved2); in mapping()
463 IO.mapRequired("reserved3", LoadCommand.reserved3); in mapping()
464 IO.mapRequired("reserved4", LoadCommand.reserved4); in mapping()
465 IO.mapRequired("reserved5", LoadCommand.reserved5); in mapping()
466 IO.mapRequired("reserved6", LoadCommand.reserved6); in mapping()
470 IO &IO, MachO::routines_command_64 &LoadCommand) { in mapping() argument
471 IO.mapRequired("init_address", LoadCommand.init_address); in mapping()
472 IO.mapRequired("init_module", LoadCommand.init_module); in mapping()
473 IO.mapRequired("reserved1", LoadCommand.reserved1); in mapping()
474 IO.mapRequired("reserved2", LoadCommand.reserved2); in mapping()
475 IO.mapRequired("reserved3", LoadCommand.reserved3); in mapping()
476 IO.mapRequired("reserved4", LoadCommand.reserved4); in mapping()
477 IO.mapRequired("reserved5", LoadCommand.reserved5); in mapping()
478 IO.mapRequired("reserved6", LoadCommand.reserved6); in mapping()
482 IO &IO, MachO::rpath_command &LoadCommand) { in mapping() argument
483 IO.mapRequired("path", LoadCommand.path); in mapping()
517 IO &IO, MachO::segment_command &LoadCommand) { in mapping() argument
518 IO.mapRequired("segname", LoadCommand.segname); in mapping()
519 IO.mapRequired("vmaddr", LoadCommand.vmaddr); in mapping()
520 IO.mapRequired("vmsize", LoadCommand.vmsize); in mapping()
521 IO.mapRequired("fileoff", LoadCommand.fileoff); in mapping()
522 IO.mapRequired("filesize", LoadCommand.filesize); in mapping()
523 IO.mapRequired("maxprot", LoadCommand.maxprot); in mapping()
524 IO.mapRequired("initprot", LoadCommand.initprot); in mapping()
525 IO.mapRequired("nsects", LoadCommand.nsects); in mapping()
526 IO.mapRequired("flags", LoadCommand.flags); in mapping()
530 IO &IO, MachO::segment_command_64 &LoadCommand) { in mapping() argument
531 IO.mapRequired("segname", LoadCommand.segname); in mapping()
532 IO.mapRequired("vmaddr", LoadCommand.vmaddr); in mapping()
533 IO.mapRequired("vmsize", LoadCommand.vmsize); in mapping()
534 IO.mapRequired("fileoff", LoadCommand.fileoff); in mapping()
535 IO.mapRequired("filesize", LoadCommand.filesize); in mapping()
536 IO.mapRequired("maxprot", LoadCommand.maxprot); in mapping()
537 IO.mapRequired("initprot", LoadCommand.initprot); in mapping()
538 IO.mapRequired("nsects", LoadCommand.nsects); in mapping()
539 IO.mapRequired("flags", LoadCommand.flags); in mapping()
543 IO &IO, MachO::source_version_command &LoadCommand) { in mapping() argument
544 IO.mapRequired("version", LoadCommand.version); in mapping()
548 IO &IO, MachO::sub_client_command &LoadCommand) { in mapping() argument
549 IO.mapRequired("client", LoadCommand.client); in mapping()
553 IO &IO, MachO::sub_framework_command &LoadCommand) { in mapping() argument
554 IO.mapRequired("umbrella", LoadCommand.umbrella); in mapping()
558 IO &IO, MachO::sub_library_command &LoadCommand) { in mapping() argument
559 IO.mapRequired("sub_library", LoadCommand.sub_library); in mapping()
563 IO &IO, MachO::sub_umbrella_command &LoadCommand) { in mapping() argument
564 IO.mapRequired("sub_umbrella", LoadCommand.sub_umbrella); in mapping()
568 IO &IO, MachO::symseg_command &LoadCommand) { in mapping() argument
569 IO.mapRequired("offset", LoadCommand.offset); in mapping()
570 IO.mapRequired("size", LoadCommand.size); in mapping()
574 IO &IO, MachO::symtab_command &LoadCommand) { in mapping() argument
575 IO.mapRequired("symoff", LoadCommand.symoff); in mapping()
576 IO.mapRequired("nsyms", LoadCommand.nsyms); in mapping()
577 IO.mapRequired("stroff", LoadCommand.stroff); in mapping()
578 IO.mapRequired("strsize", LoadCommand.strsize); in mapping()
582 IO &IO, MachO::thread_command &LoadCommand) {} in mapping() argument
585 IO &IO, MachO::twolevel_hints_command &LoadCommand) { in mapping() argument
586 IO.mapRequired("offset", LoadCommand.offset); in mapping()
587 IO.mapRequired("nhints", LoadCommand.nhints); in mapping()
591 IO &IO, MachO::uuid_command &LoadCommand) { in mapping() argument
592 IO.mapRequired("uuid", LoadCommand.uuid); in mapping()
596 IO &IO, MachO::version_min_command &LoadCommand) { in mapping() argument
597 IO.mapRequired("version", LoadCommand.version); in mapping()
598 IO.mapRequired("sdk", LoadCommand.sdk); in mapping()
602 IO &IO, MachO::note_command &LoadCommand) { in mapping() argument
603 IO.mapRequired("data_owner", LoadCommand.data_owner); in mapping()
604 IO.mapRequired("offset", LoadCommand.offset); in mapping()
605 IO.mapRequired("size", LoadCommand.size); in mapping()
609 IO &IO, MachO::build_version_command &LoadCommand) { in mapping() argument
610 IO.mapRequired("platform", LoadCommand.platform); in mapping()
611 IO.mapRequired("minos", LoadCommand.minos); in mapping()
612 IO.mapRequired("sdk", LoadCommand.sdk); in mapping()
613 IO.mapRequired("ntools", LoadCommand.ntools); in mapping()