Closed ekilmer closed 1 year ago
@ekilmer I can look at this if you'd like.
Ok, so the issue was that in lift-x86-tests
, we lift test functions from the lift-x86-tests
binary itself. Because we're running the x86 tests with a 64-bit binary, we feed in 64-bit addresses which causes the TraceLifter
to complain. I believe it was just luck up to now that the mask wasn't trimming any of the address when we were testing in the past.
The TraceLifter
isn't used in Anvill or really anywhere else. It's just for testing and the remill-lift
binary. Given that we do this check already in remill-lift
here, I decided it probably makes sense to remove this check as it doesn't apply for testing.
Some tests are failing on Ubuntu 22.04, and I'm not sure how to fix them.
closes #647