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

Its old now but here's a description from Chromium about something they use called Courgette which is similar/related to bsdiff

https://blog.chromium.org/2009/07/smaller-is-faster-and-safe...

The explanation here is pretty fascinating

https://www.chromium.org/developers/design-documents/softwar...



The really cool TL;DR here is that courgette "disassembles" the binary before diffing. Basically turning internal references into symbolic references. This way adding an extra instruction to a function won't affect all of the relative addresses in surrounding code.




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

Search: