secmem: Prepare for easier debugging.