Skip to content

Setting call types leads to IDA internal error #53

Closed

Description

@rcaragea

Issuing a request to update a call type as in the example results in an INTERR.

Steps to reproduce on attached binary.zip:

  • open file in IDA 9.3
  • run UPDATE disasm_calls SET callee_type='int mprotect(unsigned __int64 address, size_t length, int prot)' WHERE func_addr=0x1139 AND ea=0x1151;
  • try to decompile function 0x1139

Result:

INSN: 1151: call   ! <unk:"unsigned __int64 address" rdi.8,"size_t length" rsi.8,"int prot" edx.4> => int .4
1139: INTERR 50782

Same thing through a model which doesn't seem to mind the INTERR
Image

Activity

  1. 0xeb commented on Jul 17, 2026

    @0xeb
    Member

    Fixed for v0.0.18 (coming shortly). On a direct call, applying callee_type now preserves the real callee symbol, so the user-defined call no longer degrades into an unnamed helper — which was the microcode invariant behind INTERR 50782. Verified against your attached binary (direct call to mprotect at 0x1151); re-decompiling the caller succeeds. Thanks @rcaragea!

  2. added 2 commits that reference this issue on Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions