static status_t init_core(vmi_instance_t vmi) { windows_instance_t windows = vmi->os_data; if (windows->sysmap) { return init_from_sysmap(vmi); } else { return init_from_kdbg(vmi); } }
static status_t init_core(vmi_instance_t vmi) { windows_instance_t windows = vmi->os_data; if (windows->rekall_profile) { return init_from_rekall_profile(vmi); } else { return init_from_kdbg(vmi); } }
static status_t init_core(vmi_instance_t vmi) { windows_instance_t windows = vmi->os_data; status_t ret = VMI_FAILURE; if (windows->rekall_profile) ret = init_from_rekall_profile(vmi); /* Fall be here too if the Rekall profile based init fails */ if ( VMI_FAILURE == ret ) ret = init_from_kdbg(vmi); return ret; }