def dump_liblog_memory(): file_path = os.path.join( config.workspace, config.liblog_memory_directory, ("%s_%s_%s.bin" % ("liblog", "LoadNativeLibrary", str(time.time())))) file_format = "binary" file_vtl_start_address = config.liblog_executable_start file_vtl_end_address = config.liblog_executable_end - 0x1 memory.dump_library(file_path, file_format, file_vtl_start_address, file_vtl_end_address)
def dump_libart_memory(): file_path = os.path.join(config.workspace, config.libart_memory_directory, ("%s_%s_%s.bin" % ("libart", "ArtQuickGenericJniEndTrampoline", str(time.time())))) file_format = "binary" file_vtl_start_address = config.libart_executable_start file_vtl_end_address = config.libart_executable_end - 0x1 memory.dump_library(file_path, file_format, file_vtl_start_address, file_vtl_end_address)