Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The copy-and-patch also assumes the compiler will generate patchable code. For example, on some architecture, have a zero operand might have a smaller or different opcode compared to a more general operand. Same issue for relative jumps or offset ranges. It seems the main difference is that the patch approach also patches jumps to absolute addresses instead of requiring instruction-counter relative code.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: