-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
fix missing header and incorrect asm #84
Conversation
This looks much easier to review, thanks for re-submitting. Any reason you couldn't reopen the old PR and force-push there? That would help keep track of comments in one place. A couple more things:
|
b610831
to
b8b78d9
Compare
Sorry, the previous branch with the old pr is deleted and one new branch with the same name is then being created by another user. Thus, I think it's easier to reissue another pr in a clean state.
Best |
Please rebase on master instead of merging master into the branch. I see a "Merge branch master" commit. These should not be in the PR. |
7fd7d4c
to
9127ca5
Compare
Done |
@@ -53,31 +53,31 @@ test_memory_rw_new_page: | |||
|
|||
; 1 byte rw | |||
mov al, 0xdf | |||
lea rcx, 0x20000 | |||
mov rcx, 0x20000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nasm on my system doesn't throw any error on this. I am curious what's on yours.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It throws error: invalid combination of opcode and operands
You also need to run clang format (see failing test) |
9127ca5
to
aa7c142
Compare
aa7c142
to
59a1cc2
Compare
Module:
fix missing header and incorrect asm instruction
Description:
Latest update on master branch introduce few of the issues that will prevent users from successfully building the code when running "s2e update && s2e build". The issues are detailed below:
libtcg/src/utils/memalign.c
.guest/s2ebios/tests/tests64.asm
, the use oflea
instruction is in an incorrect way that will cause compilation issue.lea
(Load Effective Address) instruction in assembly language allows you to perform arithmetic operations while moving data. It's typically used to calculate the addresses of variables. However, in the test file, it's used aslea rcx, 0x20000
in few of the places. Thus, I tentatively replacedlea
withmov
(waiting for authors approval).Signed-off-by: Ding Zhang [email protected]