News for hackers. Stuff that matters.
Re:An Unbelievable Demo by codeulike on Friday June 04, 2021 @04:36AM (#27391768)
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...

Re:An Unbelievable Demo by kevincox on Friday June 04, 2021 @07:46AM (#27392621)
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.