Lines Matching refs:LoadCommand
27 MachOYAML::LoadCommand::~LoadCommand() = default;
220 void mapLoadCommandData(IO &IO, MachOYAML::LoadCommand &LoadCommand) {} in mapLoadCommandData() argument
224 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
225 IO.mapOptional("Sections", LoadCommand.Sections); in mapLoadCommandData()
230 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
231 IO.mapOptional("Sections", LoadCommand.Sections); in mapLoadCommandData()
236 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
237 IO.mapOptional("Content", LoadCommand.Content); in mapLoadCommandData()
242 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
243 IO.mapOptional("Content", LoadCommand.Content); in mapLoadCommandData()
248 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
249 IO.mapOptional("Content", LoadCommand.Content); in mapLoadCommandData()
254 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
255 IO.mapOptional("Content", LoadCommand.Content); in mapLoadCommandData()
260 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
261 IO.mapOptional("Content", LoadCommand.Content); in mapLoadCommandData()
266 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
267 IO.mapOptional("Content", LoadCommand.Content); in mapLoadCommandData()
272 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
273 IO.mapOptional("Content", LoadCommand.Content); in mapLoadCommandData()
278 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapLoadCommandData() argument
279 IO.mapOptional("Tools", LoadCommand.Tools); in mapLoadCommandData()
282 void MappingTraits<MachOYAML::LoadCommand>::mapping( in mapping()
283 IO &IO, MachOYAML::LoadCommand &LoadCommand) { in mapping() argument
285 LoadCommand.Data.load_command_data.cmd); in mapping()
287 LoadCommand.Data.load_command_data.cmd = TempCmd; in mapping()
288 IO.mapRequired("cmdsize", LoadCommand.Data.load_command_data.cmdsize); in mapping()
293 LoadCommand.Data.LCStruct##_data); \ in mapping()
294 mapLoadCommandData<MachO::LCStruct>(IO, LoadCommand); \ in mapping()
297 switch (LoadCommand.Data.load_command_data.cmd) { in mapping()
300 IO.mapOptional("PayloadBytes", LoadCommand.PayloadBytes); in mapping()
301 IO.mapOptional("ZeroPadBytes", LoadCommand.ZeroPadBytes, (uint64_t)0ull); in mapping()
305 IO &IO, MachO::dyld_info_command &LoadCommand) { in mapping() argument
306 IO.mapRequired("rebase_off", LoadCommand.rebase_off); in mapping()
307 IO.mapRequired("rebase_size", LoadCommand.rebase_size); in mapping()
308 IO.mapRequired("bind_off", LoadCommand.bind_off); in mapping()
309 IO.mapRequired("bind_size", LoadCommand.bind_size); in mapping()
310 IO.mapRequired("weak_bind_off", LoadCommand.weak_bind_off); in mapping()
311 IO.mapRequired("weak_bind_size", LoadCommand.weak_bind_size); in mapping()
312 IO.mapRequired("lazy_bind_off", LoadCommand.lazy_bind_off); in mapping()
313 IO.mapRequired("lazy_bind_size", LoadCommand.lazy_bind_size); in mapping()
314 IO.mapRequired("export_off", LoadCommand.export_off); in mapping()
315 IO.mapRequired("export_size", LoadCommand.export_size); in mapping()
370 IO &IO, MachO::dylib_command &LoadCommand) { in mapping() argument
371 IO.mapRequired("dylib", LoadCommand.dylib); in mapping()
375 IO &IO, MachO::dylinker_command &LoadCommand) { in mapping() argument
376 IO.mapRequired("name", LoadCommand.name); in mapping()
380 IO &IO, MachO::dysymtab_command &LoadCommand) { in mapping() argument
381 IO.mapRequired("ilocalsym", LoadCommand.ilocalsym); in mapping()
382 IO.mapRequired("nlocalsym", LoadCommand.nlocalsym); in mapping()
383 IO.mapRequired("iextdefsym", LoadCommand.iextdefsym); in mapping()
384 IO.mapRequired("nextdefsym", LoadCommand.nextdefsym); in mapping()
385 IO.mapRequired("iundefsym", LoadCommand.iundefsym); in mapping()
386 IO.mapRequired("nundefsym", LoadCommand.nundefsym); in mapping()
387 IO.mapRequired("tocoff", LoadCommand.tocoff); in mapping()
388 IO.mapRequired("ntoc", LoadCommand.ntoc); in mapping()
389 IO.mapRequired("modtaboff", LoadCommand.modtaboff); in mapping()
390 IO.mapRequired("nmodtab", LoadCommand.nmodtab); in mapping()
391 IO.mapRequired("extrefsymoff", LoadCommand.extrefsymoff); in mapping()
392 IO.mapRequired("nextrefsyms", LoadCommand.nextrefsyms); in mapping()
393 IO.mapRequired("indirectsymoff", LoadCommand.indirectsymoff); in mapping()
394 IO.mapRequired("nindirectsyms", LoadCommand.nindirectsyms); in mapping()
395 IO.mapRequired("extreloff", LoadCommand.extreloff); in mapping()
396 IO.mapRequired("nextrel", LoadCommand.nextrel); in mapping()
397 IO.mapRequired("locreloff", LoadCommand.locreloff); in mapping()
398 IO.mapRequired("nlocrel", LoadCommand.nlocrel); in mapping()
402 IO &IO, MachO::encryption_info_command &LoadCommand) { in mapping() argument
403 IO.mapRequired("cryptoff", LoadCommand.cryptoff); in mapping()
404 IO.mapRequired("cryptsize", LoadCommand.cryptsize); in mapping()
405 IO.mapRequired("cryptid", LoadCommand.cryptid); in mapping()
409 IO &IO, MachO::encryption_info_command_64 &LoadCommand) { in mapping() argument
410 IO.mapRequired("cryptoff", LoadCommand.cryptoff); in mapping()
411 IO.mapRequired("cryptsize", LoadCommand.cryptsize); in mapping()
412 IO.mapRequired("cryptid", LoadCommand.cryptid); in mapping()
413 IO.mapRequired("pad", LoadCommand.pad); in mapping()
417 IO &IO, MachO::entry_point_command &LoadCommand) { in mapping() argument
418 IO.mapRequired("entryoff", LoadCommand.entryoff); in mapping()
419 IO.mapRequired("stacksize", LoadCommand.stacksize); in mapping()
423 IO &IO, MachO::fvmfile_command &LoadCommand) { in mapping() argument
424 IO.mapRequired("name", LoadCommand.name); in mapping()
425 IO.mapRequired("header_addr", LoadCommand.header_addr); in mapping()
435 IO &IO, MachO::fvmlib_command &LoadCommand) { in mapping() argument
436 IO.mapRequired("fvmlib", LoadCommand.fvmlib); in mapping()
440 IO &IO, MachO::ident_command &LoadCommand) {} in mapping() argument
443 IO &IO, MachO::linkedit_data_command &LoadCommand) { in mapping() argument
444 IO.mapRequired("dataoff", LoadCommand.dataoff); in mapping()
445 IO.mapRequired("datasize", LoadCommand.datasize); in mapping()
449 IO &IO, MachO::linker_option_command &LoadCommand) { in mapping() argument
450 IO.mapRequired("count", LoadCommand.count); in mapping()
454 IO &IO, MachO::prebind_cksum_command &LoadCommand) { in mapping() argument
455 IO.mapRequired("cksum", LoadCommand.cksum); in mapping()
459 IO &IO, MachO::load_command &LoadCommand) {} in mapping() argument
462 IO &IO, MachO::prebound_dylib_command &LoadCommand) { in mapping() argument
463 IO.mapRequired("name", LoadCommand.name); in mapping()
464 IO.mapRequired("nmodules", LoadCommand.nmodules); in mapping()
465 IO.mapRequired("linked_modules", LoadCommand.linked_modules); in mapping()
469 IO &IO, MachO::routines_command &LoadCommand) { in mapping() argument
470 IO.mapRequired("init_address", LoadCommand.init_address); in mapping()
471 IO.mapRequired("init_module", LoadCommand.init_module); in mapping()
472 IO.mapRequired("reserved1", LoadCommand.reserved1); in mapping()
473 IO.mapRequired("reserved2", LoadCommand.reserved2); in mapping()
474 IO.mapRequired("reserved3", LoadCommand.reserved3); in mapping()
475 IO.mapRequired("reserved4", LoadCommand.reserved4); in mapping()
476 IO.mapRequired("reserved5", LoadCommand.reserved5); in mapping()
477 IO.mapRequired("reserved6", LoadCommand.reserved6); in mapping()
481 IO &IO, MachO::routines_command_64 &LoadCommand) { in mapping() argument
482 IO.mapRequired("init_address", LoadCommand.init_address); in mapping()
483 IO.mapRequired("init_module", LoadCommand.init_module); in mapping()
484 IO.mapRequired("reserved1", LoadCommand.reserved1); in mapping()
485 IO.mapRequired("reserved2", LoadCommand.reserved2); in mapping()
486 IO.mapRequired("reserved3", LoadCommand.reserved3); in mapping()
487 IO.mapRequired("reserved4", LoadCommand.reserved4); in mapping()
488 IO.mapRequired("reserved5", LoadCommand.reserved5); in mapping()
489 IO.mapRequired("reserved6", LoadCommand.reserved6); in mapping()
493 IO &IO, MachO::rpath_command &LoadCommand) { in mapping() argument
494 IO.mapRequired("path", LoadCommand.path); in mapping()
528 IO &IO, MachO::segment_command &LoadCommand) { in mapping() argument
529 IO.mapRequired("segname", LoadCommand.segname); in mapping()
530 IO.mapRequired("vmaddr", LoadCommand.vmaddr); in mapping()
531 IO.mapRequired("vmsize", LoadCommand.vmsize); in mapping()
532 IO.mapRequired("fileoff", LoadCommand.fileoff); in mapping()
533 IO.mapRequired("filesize", LoadCommand.filesize); in mapping()
534 IO.mapRequired("maxprot", LoadCommand.maxprot); in mapping()
535 IO.mapRequired("initprot", LoadCommand.initprot); in mapping()
536 IO.mapRequired("nsects", LoadCommand.nsects); in mapping()
537 IO.mapRequired("flags", LoadCommand.flags); in mapping()
541 IO &IO, MachO::segment_command_64 &LoadCommand) { in mapping() argument
542 IO.mapRequired("segname", LoadCommand.segname); in mapping()
543 IO.mapRequired("vmaddr", LoadCommand.vmaddr); in mapping()
544 IO.mapRequired("vmsize", LoadCommand.vmsize); in mapping()
545 IO.mapRequired("fileoff", LoadCommand.fileoff); in mapping()
546 IO.mapRequired("filesize", LoadCommand.filesize); in mapping()
547 IO.mapRequired("maxprot", LoadCommand.maxprot); in mapping()
548 IO.mapRequired("initprot", LoadCommand.initprot); in mapping()
549 IO.mapRequired("nsects", LoadCommand.nsects); in mapping()
550 IO.mapRequired("flags", LoadCommand.flags); in mapping()
554 IO &IO, MachO::source_version_command &LoadCommand) { in mapping() argument
555 IO.mapRequired("version", LoadCommand.version); in mapping()
559 IO &IO, MachO::sub_client_command &LoadCommand) { in mapping() argument
560 IO.mapRequired("client", LoadCommand.client); in mapping()
564 IO &IO, MachO::sub_framework_command &LoadCommand) { in mapping() argument
565 IO.mapRequired("umbrella", LoadCommand.umbrella); in mapping()
569 IO &IO, MachO::sub_library_command &LoadCommand) { in mapping() argument
570 IO.mapRequired("sub_library", LoadCommand.sub_library); in mapping()
574 IO &IO, MachO::sub_umbrella_command &LoadCommand) { in mapping() argument
575 IO.mapRequired("sub_umbrella", LoadCommand.sub_umbrella); in mapping()
579 IO &IO, MachO::symseg_command &LoadCommand) { in mapping() argument
580 IO.mapRequired("offset", LoadCommand.offset); in mapping()
581 IO.mapRequired("size", LoadCommand.size); in mapping()
585 IO &IO, MachO::symtab_command &LoadCommand) { in mapping() argument
586 IO.mapRequired("symoff", LoadCommand.symoff); in mapping()
587 IO.mapRequired("nsyms", LoadCommand.nsyms); in mapping()
588 IO.mapRequired("stroff", LoadCommand.stroff); in mapping()
589 IO.mapRequired("strsize", LoadCommand.strsize); in mapping()
593 IO &IO, MachO::thread_command &LoadCommand) {} in mapping() argument
596 IO &IO, MachO::twolevel_hints_command &LoadCommand) { in mapping() argument
597 IO.mapRequired("offset", LoadCommand.offset); in mapping()
598 IO.mapRequired("nhints", LoadCommand.nhints); in mapping()
602 IO &IO, MachO::uuid_command &LoadCommand) { in mapping() argument
603 IO.mapRequired("uuid", LoadCommand.uuid); in mapping()
607 IO &IO, MachO::version_min_command &LoadCommand) { in mapping() argument
608 IO.mapRequired("version", LoadCommand.version); in mapping()
609 IO.mapRequired("sdk", LoadCommand.sdk); in mapping()
613 IO &IO, MachO::note_command &LoadCommand) { in mapping() argument
614 IO.mapRequired("data_owner", LoadCommand.data_owner); in mapping()
615 IO.mapRequired("offset", LoadCommand.offset); in mapping()
616 IO.mapRequired("size", LoadCommand.size); in mapping()
620 IO &IO, MachO::build_version_command &LoadCommand) { in mapping() argument
621 IO.mapRequired("platform", LoadCommand.platform); in mapping()
622 IO.mapRequired("minos", LoadCommand.minos); in mapping()
623 IO.mapRequired("sdk", LoadCommand.sdk); in mapping()
624 IO.mapRequired("ntools", LoadCommand.ntools); in mapping()
628 IO &IO, MachO::fileset_entry_command &LoadCommand) { in mapping() argument
629 IO.mapRequired("vmaddr", LoadCommand.vmaddr); in mapping()
630 IO.mapRequired("fileoff", LoadCommand.fileoff); in mapping()
631 IO.mapRequired("id", LoadCommand.entry_id.offset); in mapping()
632 IO.mapOptional("reserved", LoadCommand.reserved); in mapping()