/* * libbinrec: a recompiling translator for machine code * Copyright (c) 2016 Andrew Church * * This software may be copied and redistributed under certain conditions; * see the file "COPYING" in the source code distribution for details. * NO WARRANTY is provided with this software. */ #include "include/binrec.h" #include "tests/common.h" int main(void) { EXPECT_FALSE(binrec_guest_supported(BINREC_ARCH_INVALID)); EXPECT(binrec_guest_supported(BINREC_ARCH_PPC_7XX)); EXPECT_FALSE(binrec_guest_supported(BINREC_ARCH_X86_64_SYSV)); EXPECT_FALSE(binrec_guest_supported(BINREC_ARCH_X86_64_WINDOWS)); EXPECT_FALSE(binrec_guest_supported(BINREC_ARCH_X86_64_WINDOWS_SEH)); return EXIT_SUCCESS; }