Hacker News new | past | comments | ask | show | jobs | submit login




While objcopy can do many things, it can't undo the work of the linker. If relocations aren't unapplied and a new relocation table generated, these spots inside the new object file will reference the original program's address space, leading to some exotic undefined behavior.

Delinking is a subject with very few resources online, but there are a couple of other tools for it out there:

  - https://github.com/endrazine/wcc

  - https://github.com/jonwil/unlinkerida

  - https://github.com/jnider/delinker




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: