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