-
Notifications
You must be signed in to change notification settings - Fork 5
Handling getCalledOperand() method #40
Copy link
Copy link
Open
Description
Dear developer, please check this issue related to the handling CallInst when it's Inline assembly. Thank you so much!
Commit
The lattest commit.
- Master Branch
- 839a0bf
Location
- lib/InstModel/LFCPAInstModel/LFCPAInstModel.cpp
- Line 382
- lib/Token/Token.cpp
- Function Token::Token(llvm::Value *Val, std::string Index)
- Line 51
Description
In LFCPAInstModel.cpp, when the argument FP is null, the function call could also be an inline assembly call.

Then this value will be passed to Token(), and cannot be handled by the dyn_cast.

Proposed Solution
We try to dynamically cast the value to InlineAssembly and do the corresponding handling logic.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels