1 // SPDX-License-Identifier: GPL-2.0 1 // SPDX-License-Identifier: GPL-2.0 2 #include <bfd.h> 2 #include <bfd.h> 3 #include <dis-asm.h> 3 #include <dis-asm.h> 4 4 5 int main(void) 5 int main(void) 6 { 6 { 7 bfd *abfd = bfd_openr(NULL, NULL); 7 bfd *abfd = bfd_openr(NULL, NULL); 8 8 9 disassembler(bfd_get_arch(abfd), 9 disassembler(bfd_get_arch(abfd), 10 bfd_big_endian(abfd), 10 bfd_big_endian(abfd), 11 bfd_get_mach(abfd), 11 bfd_get_mach(abfd), 12 abfd); 12 abfd); 13 13 14 return 0; 14 return 0; 15 } 15 } 16 16
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.