-
Notifications
You must be signed in to change notification settings - Fork 5
Handling of getCalledFunction #39
Copy link
Copy link
Open
Description
Dear developer, please check this issue related to the handling of CallInst. Thank you so much!
Commit
The lattest commit.
- Master Branch
- 839a0bf
Location
- lib/InstModel/GenericInstModel/GenericInstModel.cpp
- Lines 114 - 115
Description
The CallInst obtained from the first operand of BitCastInst could still be Inline Assembly or Indirect Function Call. Therefore the getCalledFunction() could be null, which could lead to a crash.

Proposed Solution
add a null check on getCalledFunction().
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels