Skip to content
This repository was archived by the owner on Aug 23, 2022. It is now read-only.
This repository was archived by the owner on Aug 23, 2022. It is now read-only.

Find misuses of global variables/functions, casted to integers #418

@pgoodman

Description

@pgoodman

We should be able to identify things like this:

  store i64 and (i64 add (i64 ptrtoint (%seg_400ae0__rodata_type* @seg_400ae0__rodata to i64),
                          i64 32),
                 i64 4294967295),
        i64* %7

And remove the and (..., i64 4294967295), which masks the integer address of seg_400ae0__rodata to be a 32-bit value.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions