Skip to content

Calls to objc_superclass detect the two struct items in the first argument as seperate variables, resulting in incorrect lifting #5594

@0cyn

Description

@0cyn

This decompilation is incorrect:
image

The correct output can be seen here:
image

The first argument of objc_msgSendSuper2 is an objc_super struct containing a pointer to the self Class object and a pointer to the superclass.

The full type definitions can be seen starting here: https://github.com/apple-oss-distributions/objc4/blob/main/runtime/message.h#L34

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions