xref: /linux/tools/build/feature/test-disassembler-four-args.c (revision ae22a94997b8a03dcb3c922857c203246711f9d4)
1 // SPDX-License-Identifier: GPL-2.0
2 #include <bfd.h>
3 #include <dis-asm.h>
4 
5 int main(void)
6 {
7 	bfd *abfd = bfd_openr(NULL, NULL);
8 
9 	disassembler(bfd_get_arch(abfd),
10 		     bfd_big_endian(abfd),
11 		     bfd_get_mach(abfd),
12 		     abfd);
13 
14 	return 0;
15 }
16