test-disassembler-four-args.c 247 B

12345678910111213141516
  1. // SPDX-License-Identifier: GPL-2.0
  2. #include <bfd.h>
  3. #include <dis-asm.h>
  4. int main(void)
  5. {
  6. bfd *abfd = bfd_openr(NULL, NULL);
  7. disassembler(bfd_get_arch(abfd),
  8. bfd_big_endian(abfd),
  9. bfd_get_mach(abfd),
  10. abfd);
  11. return 0;
  12. }