Found the proper interface to read/write virmem, changed logprint_vstr to use it