16 lines
247 B
C
16 lines
247 B
C
|
// SPDX-License-Identifier: GPL-2.0
|
||
|
#include <bfd.h>
|
||
|
#include <dis-asm.h>
|
||
|
|
||
|
int main(void)
|
||
|
{
|
||
|
bfd *abfd = bfd_openr(NULL, NULL);
|
||
|
|
||
|
disassembler(bfd_get_arch(abfd),
|
||
|
bfd_big_endian(abfd),
|
||
|
bfd_get_mach(abfd),
|
||
|
abfd);
|
||
|
|
||
|
return 0;
|
||
|
}
|