示例#1
0
文件: core.c 项目: Zentific/libvmi
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);
    }
}
示例#2
0
文件: core.c 项目: chonghw/libvmi
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);
    }
}
示例#3
0
文件: core.c 项目: dalevy/libvmi
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;
}