Y
Hacker News
new
|
ask
|
show
|
jobs
by
chrisseaton
2369 days ago
> I have read that self-modifying code on the x86 architecture is pretty dangerous at the assembly level.
Why's that? I'm not aware of any issues specific to x86.
1 comments
saagarjha
2369 days ago
x86 is actually one of the easier platforms to have self-modifying code on, because you don’t have to flush the instruction cache.
link
xscott
2369 days ago
Which is kind of interesting considering how removed the assembly which was written is from what is actually executed. You'd think x86 would be even less likely to notice you changed the plan out from underneath it.
link