Skip to content
This repository was archived by the owner on Aug 23, 2022. It is now read-only.
This repository was archived by the owner on Aug 23, 2022. It is now read-only.

Failing test prebuilt_cfg/x86/linux/cfg/hello_world with aarch64 build/host #753

@ekilmer

Description

@ekilmer

In testing on cxx-common repo and LLVM 11, I get the following failure on the aarch64 host:

F0527 14:21:29.388495  3685 InstructionLifter.cpp:558] Check failed: word_size == arg_size Expected integer argument to be machine word size (32 bits) but is is 64 instead in instruction at 8048288
*** Check failure stack trace: ***
    @          0x1201888  google::LogMessageFatal::~LogMessageFatal()
    @           0x76ad98  remill::InstructionLifter::LiftRegisterOperand()
    @           0x768cd4  remill::InstructionLifter::LiftIntoBlock()
    @           0x634dcc  mcsema::InstructionLifter::LiftIntoBlock()
    @           0x631958  mcsema::(anonymous namespace)::LiftInstIntoBlock()
    @           0x62e188  mcsema::(anonymous namespace)::LiftInstIntoFunction()
    @           0x62c490  mcsema::(anonymous namespace)::LiftFunction()
    @           0x62a6cc  mcsema::DefineLiftedFunctions()
    @           0x63639c  mcsema::LiftCodeIntoModule()
    @           0x649f3c  main
    @       0x7f8862e720  __libc_start_main
    @           0x5fed28  (unknown)
/__w/_temp/a078273f-363d-440d-ab05-14f82302c858.sh: line 16:  3685 Aborted                 (core dumped) ./install/bin/mcsema-lift-* --arch x86 --os linux --cfg ../tests/test_suite_generator/generated/prebuilt_cfg/x86/linux/cfg/hello_world --output hello_world.bc

The related amd64 passes without failure (not sure if output is correct, though)

Will update with link to logs and remill,anvill dependencies

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions