Skip to content

Use the call conventions to extract all the arguments #14

@0ca

Description

@0ca

Now to support thiscall conventions (ECX register) you should modify the configuration:

self.CMT_CALL_CTX = [re.compile('^arg'), re.compile('^ECX')]
self.CMT_RET_CTX = [re.compile('^EAX')]
self.CMT_RET_SAVED_CTX = [re.compile('^arg'), re.compile('^ECX')]

But then it's shown in all the calls the ECX register as an argument.

It would be nice to detect the call convention of the call and only when the call convention is thiscall shows the ECX argument.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions