어셈블리가 없어서 여기 올려요.ㅠ 연산은 어떻게 하나요?
차분나래
2023.04.01
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
originalcode:
cmp byte ptr [eax],-17
jne 00C5C041
exit:
jmp returnhere
00C5C029:
jmp newmem
returnhere:
여기서 연산이라는걸 해보고 싶은데 어떻게 해야하는지 감이 안잡히네요.
-
당나귀
originalcode:
cmp byte ptr [eax],-17
jne 00C5C041
exit:
jmp returnhere
00C5C029:
jmp newmem
returnhere:
연산이 아니라 그냥 분기점 넣은거같은데요
eax 가 -17이 아니면 00C5C041
-17이면 returnhere 로 이동 -
가온
아 답변 감사합니다.;;
-
두빛나래
댓글이라도 감사합니다 ㅎㅎ
-
꽃가을
어렵다 ...;;저는잘모르겠네용;;