Get the source location of a given instruction :param instr: Instruction, Low, Medium, or High level :return: Its location
( cls, instr: Union['lowlevelil.LowLevelILInstruction', 'mediumlevelil.MediumLevelILInstruction', 'highlevelil.HighLevelILInstruction'] )
| 222 | |
| 223 | @classmethod |
| 224 | def from_instruction( |
| 225 | cls, |
| 226 | instr: Union['lowlevelil.LowLevelILInstruction', 'mediumlevelil.MediumLevelILInstruction', 'highlevelil.HighLevelILInstruction'] |
| 227 | ) -> 'ILSourceLocation': |
| 228 | """ |
| 229 | Get the source location of a given instruction |
| 230 | :param instr: Instruction, Low, Medium, or High level |
| 231 | :return: Its location |
| 232 | """ |
| 233 | return cls(instr.address, instr.source_operand) |
| 234 |
no outgoing calls
no test coverage detected