Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LDMXCSR failures on AWS #583

Open
artemdinaburg opened this issue Mar 23, 2022 · 1 comment
Open

LDMXCSR failures on AWS #583

artemdinaburg opened this issue Mar 23, 2022 · 1 comment

Comments

@artemdinaburg
Copy link
Contributor

On AWS (on intel CPUs, AMD may have other issues) we get the following failures related to LDMXCSR.

2022-03-21T23:03:33.8446730Z /__w/cxx-common/cxx-common/remill/tests/X86/Run.cpp:826: Failure
2022-03-21T23:03:33.8446850Z Expected equality of these values:
2022-03-21T23:03:33.8446997Z   lifted_state->gpr
2022-03-21T23:03:33.8447716Z     Which is: 272-byte object <00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 A0-6B C8-02 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 ... 00-00 00-00 00-00 00-00 60-E0 B6-02 00-00 00-00 00-00 00-00 00-00 00-00 1F-E3 70-02 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 75-01 4C-00 00-00 00-00>
2022-03-21T23:03:33.8447852Z   native_state->gpr
2022-03-21T23:03:33.8448562Z     Which is: 272-byte object <00-00 00-00 00-00 00-00 80-F0 5C-81 C2-DA 05-00 00-00 00-00 00-00 00-00 58-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 18-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 68-27 03-00 00-00 00-00 ... 00-00 00-00 00-00 00-00 48-3D 2C-51 FF-7F 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 75-01 4C-00 00-00 00-00>
2022-03-21T23:03:33.8448727Z Lifted GPR differs from native GPR
2022-03-21T23:03:33.8448957Z /__w/cxx-common/cxx-common/remill/tests/X86/Run.cpp:835: Failure
2022-03-21T23:03:33.8449049Z Value of: false
2022-03-21T23:03:33.8449136Z   Actual: false
2022-03-21T23:03:33.8449218Z Expected: true
2022-03-21T23:03:33.8449415Z States did not match for LDMXCSR_MEMd_1 with ARG1=0x0 and CF=0 PF=0 AF=0 ZF=0 SF=0 DF=0 OF=0
2022-03-21T23:03:33.8449639Z /__w/cxx-common/cxx-common/remill/tests/X86/Run.cpp:839: Failure
2022-03-21T23:03:33.8449744Z Expected equality of these values:
2022-03-21T23:03:33.8449975Z   lifted_state->gpr.rax.qword
2022-03-21T23:03:33.8450066Z     Which is: 0
2022-03-21T23:03:33.8450218Z   native_state->gpr.rax.qword
2022-03-21T23:03:33.8450308Z     Which is: 1647903812415616
2022-03-21T23:03:33.8450522Z /__w/cxx-common/cxx-common/remill/tests/X86/Run.cpp:840: Failure
2022-03-21T23:03:33.8450632Z Expected equality of these values:
2022-03-21T23:03:33.8450784Z   lifted_state->gpr.rbx.qword
2022-03-21T23:03:33.8450884Z     Which is: 46689184
2022-03-21T23:03:33.8451037Z   native_state->gpr.rbx.qword
2022-03-21T23:03:33.8451118Z     Which is: 88
2022-03-21T23:03:33.8451343Z /__w/cxx-common/cxx-common/remill/tests/X86/Run.cpp:841: Failure
2022-03-21T23:03:33.8451446Z Expected equality of these values:
2022-03-21T23:03:33.8451600Z   lifted_state->gpr.rcx.qword
2022-03-21T23:03:33.8451687Z     Which is: 0
2022-03-21T23:03:33.8451840Z   native_state->gpr.rcx.qword
2022-03-21T23:03:33.8451920Z     Which is: 24
2022-03-21T23:03:33.8452180Z /__w/cxx-common/cxx-common/remill/tests/X86/Run.cpp:842: Failure
2022-03-21T23:03:33.8452282Z Expected equality of these values:
2022-03-21T23:03:33.8452433Z   lifted_state->gpr.rdx.qword
2022-03-21T23:03:33.8452513Z     Which is: 0
2022-03-21T23:03:33.8452663Z   native_state->gpr.rdx.qword
2022-03-21T23:03:33.8452749Z     Which is: 206696
2022-03-21T23:03:33.8452995Z /__w/cxx-common/cxx-common/remill/tests/X86/Run.cpp:843: Failure
2022-03-21T23:03:33.8453105Z Expected equality of these values:
2022-03-21T23:03:33.8453257Z   lifted_state->gpr.rdi.qword
2022-03-21T23:03:33.8453338Z     Which is: 0
2022-03-21T23:03:33.8453496Z   native_state->gpr.rdi.qword
2022-03-21T23:03:33.8453578Z     Which is: 140734555241432
2022-03-21T23:03:33.8453791Z /__w/cxx-common/cxx-common/remill/tests/X86/Run.cpp:845: Failure
2022-03-21T23:03:33.8453899Z Expected equality of these values:
2022-03-21T23:03:33.8454057Z   lifted_state->gpr.rbp.qword
2022-03-21T23:03:33.8454146Z     Which is: 140734555247312
2022-03-21T23:03:33.8454293Z   native_state->gpr.rbp.qword
2022-03-21T23:03:33.8454385Z     Which is: 139987882501976
2022-03-21T23:03:33.8454606Z /__w/cxx-common/cxx-common/remill/tests/X86/Run.cpp:846: Failure
2022-03-21T23:03:33.8454711Z Expected equality of these values:
2022-03-21T23:03:33.8454848Z   lifted_state->gpr.rsp.qword
2022-03-21T23:03:33.8454935Z     Which is: 41848440
2022-03-21T23:03:33.8455086Z   native_state->gpr.rsp.qword
2022-03-21T23:03:33.8455166Z     Which is: 140734555241424
2022-03-21T23:03:33.8455387Z /__w/cxx-common/cxx-common/remill/tests/X86/Run.cpp:847: Failure
2022-03-21T23:03:33.8455490Z Expected equality of these values:
2022-03-21T23:03:33.8455658Z   lifted_state->gpr.r8.qword
2022-03-21T23:03:33.8455739Z     Which is: 0
2022-03-21T23:03:33.8455876Z   native_state->gpr.r8.qword
2022-03-21T23:03:33.8455972Z     Which is: 1647903812
2022-03-21T23:03:33.8456181Z /__w/cxx-common/cxx-common/remill/tests/X86/Run.cpp:848: Failure
2022-03-21T23:03:33.8456291Z Expected equality of these values:
2022-03-21T23:03:33.8456433Z   lifted_state->gpr.r9.qword
2022-03-21T23:03:33.8456526Z     Which is: 41840128
2022-03-21T23:03:33.8456676Z   native_state->gpr.r9.qword
2022-03-21T23:03:33.8456763Z     Which is: 140734555263104
2022-03-21T23:03:33.8456977Z /__w/cxx-common/cxx-common/remill/tests/X86/Run.cpp:849: Failure
2022-03-21T23:03:33.8457094Z Expected equality of these values:
2022-03-21T23:03:33.8457235Z   lifted_state->gpr.r10.qword
2022-03-21T23:03:33.8457358Z     Which is: 8
2022-03-21T23:03:33.8457515Z   native_state->gpr.r10.qword
2022-03-21T23:03:33.8457608Z     Which is: 206696
2022-03-21T23:03:33.8457827Z /__w/cxx-common/cxx-common/remill/tests/X86/Run.cpp:851: Failure
2022-03-21T23:03:33.8457932Z Expected equality of these values:
2022-03-21T23:03:33.8458085Z   lifted_state->gpr.r12.qword
2022-03-21T23:03:33.8458169Z     Which is: 4725408
2022-03-21T23:03:33.8458313Z   native_state->gpr.r12.qword
2022-03-21T23:03:33.8458386Z     Which is: 563
2022-03-21T23:03:33.8458609Z /__w/cxx-common/cxx-common/remill/tests/X86/Run.cpp:852: Failure
2022-03-21T23:03:33.8458752Z Expected equality of these values:
2022-03-21T23:03:33.8458902Z   lifted_state->gpr.r13.qword
2022-03-21T23:03:33.8458994Z     Which is: 45539424
2022-03-21T23:03:33.8459140Z   native_state->gpr.r13.qword
2022-03-21T23:03:33.8459226Z     Which is: 140734555241800
2022-03-21T23:03:33.8459445Z /__w/cxx-common/cxx-common/remill/tests/X86/Run.cpp:853: Failure
2022-03-21T23:03:33.8459557Z Expected equality of these values:
2022-03-21T23:03:33.8459727Z   lifted_state->gpr.r14.qword
2022-03-21T23:03:33.8459810Z     Which is: 40952607
2022-03-21T23:03:33.8459959Z   native_state->gpr.r14.qword
2022-03-21T23:03:33.8460043Z     Which is: 0```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@artemdinaburg and others