Skip to content

question about TLB-lookups with UC_TLB_VIRTUAL / weird lookup #2376

Description

@kittennbfive

Hi,

thanks for your great work.

I have noticed something i don't understand for ARM (32 bits) when using UC_TLB_VIRTUAL and code that is not located at 0x00000000.

Please consider the attached testcase.

Real output:

sim start
TLB lookup: vaddr 0x10000000 <----- that is expected
TLB lookup: vaddr 0x00000000 <----- but why this?
sim done

Why is there a TLB lookup (callback) for 0x00000000? Is this a bug or expected? I don't get it.

I am using current master compiled myself (for ARM only).

testcase.c

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions