Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 #include <bfd.h>
0003 #include <dis-asm.h>
0004 
0005 int main(void)
0006 {
0007     bfd *abfd = bfd_openr(NULL, NULL);
0008 
0009     disassembler(bfd_get_arch(abfd),
0010              bfd_big_endian(abfd),
0011              bfd_get_mach(abfd),
0012              abfd);
0013 
0014     return 0;
0015 }