Custom calling convention

Hello.

I would like to ask if there’s any API or way to define custom calling convention ? I’m familiar with usercall but I would like to define custom “preset” like fastcall, thiscall etc…

If no, is it in roadmap ?
Thanks.

Check ida-ios-helper/src/ioshelper/plugins/swift/swift_types/swift_types.py at master · yoavst/ida-ios-helper · GitHub for an example. doronz88 wrote this code so I’m not familiar with it though.

1 Like

Please check python/examples/types/custom_calling_convention.py in IDA 9.2.

1 Like

Thanks! I missed that one.

Would it be possible to put newly registered convention in Edit function prototype->Change calling convention list ?