Skip to content

func_type_data_t.cc doesn't exist anymore #19

Description

@Harding-Stardust

convention = idaapi.CM_CC_MASK & function_details.cc

The new code should look something like this:

calling_convention: int = ida_typeinf.CM_CC_MASK & function_details.get_explicit_cc() # https://python.docs.hex-rays.com/ida_typeinf/index.html#ida_typeinf.func_type_data_t.get_explicit_cc

and instead of

if calling_convention == ida_typeinf.CM_CC_CDECL:
  # function_details.cc = idaapi.CM_CC_SPECIAL
    function_details.set_cc(idaapi.CM_CC_SPECIAL)
# ... more code here

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