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

1444 failing tests for testmxprandomadvanced #1448

Open
wants to merge 8 commits into
base: arith-dev
Choose a base branch
from

Conversation

lorenzogentile404
Copy link
Collaborator

No description provided.

@lorenzogentile404 lorenzogentile404 linked an issue Oct 22, 2024 that may be closed by this pull request
@OlivierBBB
Copy link
Collaborator

OlivierBBB commented Oct 22, 2024

This, or something related, should be blowing up in the first of the tests, the one about zeroSizeHugeReturnAtOffset

public static MemorySpan returnDataRequestedSegment(final MessageFrame frame) {
switch (OpCode.of(frame.getCurrentOperation().getOpcode())) {
case CALL, CALLCODE -> {
long offset = Words.clampedToLong(frame.getStackItem(5));
long length = Words.clampedToLong(frame.getStackItem(6));
return MemorySpan.fromStartLength(offset, length);
}
case DELEGATECALL, STATICCALL -> {
long offset = Words.clampedToLong(frame.getStackItem(4));
long length = Words.clampedToLong(frame.getStackItem(5));
return MemorySpan.fromStartLength(offset, length);
}
default -> throw new IllegalArgumentException(
"returnDataRequestedSegment called outside of a *CALL");
}
}

@letypequividelespoubelles @lorenzogentile404

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

Successfully merging this pull request may close these issues.

Failing Tests for testMxpRandomAdvanced()
2 participants