diff options
| author | Rusty Wagner <rusty@vector35.com> | 2017-07-10 21:40:51 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2017-07-10 21:41:09 -0400 |
| commit | 3d403cfae9d5a366f112c8a5936a371a01cfd230 (patch) | |
| tree | b2194806593db288e0eff8161348ea3287092769 /python/mediumlevelil.py | |
| parent | e5be1fc1b4f36a62226e00fa03a2726779026a3b (diff) | |
Add confidence levels to type objects
Diffstat (limited to 'python/mediumlevelil.py')
| -rw-r--r-- | python/mediumlevelil.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/mediumlevelil.py b/python/mediumlevelil.py index 1274bd9b..275746cc 100644 --- a/python/mediumlevelil.py +++ b/python/mediumlevelil.py @@ -265,8 +265,9 @@ class MediumLevelILInstruction(object): size = tokens[i].size operand = tokens[i].operand context = tokens[i].context + confidence = tokens[i].confidence address = tokens[i].address - result.append(function.InstructionTextToken(token_type, text, value, size, operand, context, address)) + result.append(function.InstructionTextToken(token_type, text, value, size, operand, context, address, confidence)) core.BNFreeInstructionText(tokens, count.value) return result |
