a quick build using LLVM for static analysis looks fine as far as this
branch is concerned


On Fri, Mar 14, 2014 at 1:48 PM, Tamas K Lengyel
<notifications@github.com>wrote:

> In libvmi/memory.c:
>
> > @@ -766,17 +86,10 @@ status_t vmi_pagetable_lookup_extended(
> >      info->vaddr = vaddr;
> >      info->dtb = dtb;
> >
> > -    if (vmi->page_mode == VMI_PM_LEGACY) {
> > -        v2p_nopae(vmi, dtb, vaddr, info);
> > -    }
> > -    else if (vmi->page_mode == VMI_PM_PAE) {
> > -        v2p_pae(vmi, dtb, vaddr, info);
> > -    }
> > -    else if (vmi->page_mode == VMI_PM_IA32E) {
> > -        v2p_ia32e(vmi, dtb, vaddr, info);
> > -    }
> > -    else {
> > -        errprint("Invalid paging mode during vmi_pagetable_lookup_extended\n");
> > +    if(vmi->arch_interface->v2p) {
>
> fixed
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/bdpayne/libvmi/pull/135/files#r10618723>
> .
>