xref: /linux/tools/build/feature/test-disassembler-four-args.c (revision 9e56ff53b4115875667760445b028357848b4748)
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