Add relocatable driver block and its disassembly
Add utility functions and improve portability a little