Skip to content

[Question] The full_register32 of EIP is RIP? #430

Open
@progmboy

Description

@progmboy

I noticed the definition of the EIP register in "src\register.rs" as follows:

RegisterInfo { register: Register::EIP, base: Register::EIP, full_register32: Register::RIP, full_register: Register::RIP, size: 4 },
RegisterInfo { register: Register::RIP, base: Register::EIP, full_register32: Register::RIP, full_register: Register::RIP, size: 8 },

According to the usual understanding, shouldn't full_register32 for EIP be EIP instead of RIP? Or is it intentionally set this due to the special nature of the EIP/RIP registers? I'm not sure

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