blob: 1c5c4f2eb1828327832af398b50bc2106b09d623 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
Some problems of R_RIP assignment
x64run.c ==>
...
case FF:
...
case 4:
R_RIP = (uintptr_t)getAlternate((void*)ED->q[0]);
STEP
break;
case 5:
if(nextop>0xc0){
...
}else {
R_RIP = ED->q[0];
R_CS = (ED+1)->word[0];
...
Why the first ‘R_ RIP = (uintptr_t)getAlternate((void*)ED->q[0]);’ and second ‘R_RIP = ED->q[0];’?
I think the second place should be ‘R_RIP = (uintptr_t)getAlternate((void*)ED->q[0]);’, right?
|