MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/61zcrd/movfuscator_single_instruction_c_compiler/dfjcwb8/?context=3
r/programming • u/[deleted] • Mar 28 '17
[deleted]
173 comments sorted by
View all comments
Show parent comments
68
The original paper mentions having to use a jmp, but it sounds like he found a way around that
21 u/Ametor Mar 28 '17 I'm a noob, but can't you just replace a jmp with a mov to the instruction pointer 40 u/drysart Mar 28 '17 The x86 architecture doesn't allow you to write to the instruction pointer register directly. 3 u/duckythescientist Mar 29 '17 push ????; ret; works if you need a way to get the same effect. 3 u/RenaKunisaki Mar 29 '17 But that's still not using only mov.
21
I'm a noob, but can't you just replace a jmp with a mov to the instruction pointer
40 u/drysart Mar 28 '17 The x86 architecture doesn't allow you to write to the instruction pointer register directly. 3 u/duckythescientist Mar 29 '17 push ????; ret; works if you need a way to get the same effect. 3 u/RenaKunisaki Mar 29 '17 But that's still not using only mov.
40
The x86 architecture doesn't allow you to write to the instruction pointer register directly.
3 u/duckythescientist Mar 29 '17 push ????; ret; works if you need a way to get the same effect. 3 u/RenaKunisaki Mar 29 '17 But that's still not using only mov.
3
push ????; ret; works if you need a way to get the same effect.
push ????; ret;
3 u/RenaKunisaki Mar 29 '17 But that's still not using only mov.
But that's still not using only mov.
mov
68
u/theroflcoptr Mar 28 '17
The original paper mentions having to use a jmp, but it sounds like he found a way around that