Merged
Conversation
Contributor
|
Really nice work! |
Contributor
|
yep nice one :) ! |
Contributor
Author
Contributor
Author
Contributor
Author
|
An infinite loop was reached in a corner case of Variable Identifier (reported by @serpilliere). One of the commit also add the prefix feature, which result in: of_v0 = @32[@32[ESP_init] + 0x24]
of_v1 = EDX_init
of = ((of_v1 ^ of_v0 ^ 0xFFFFFFFF) & (of_v0 ^ (of_v1 + of_v0)))[31:32]
cf_v0 = EDX_init
cf_v1 = @32[@32[ESP_init] + 0x24]
cf_v2 = cf_v0 + cf_v1
cf = (cf_v0 ^ cf_v1 ^ ((cf_v0 ^ cf_v1 ^ 0xFFFFFFFF) & (cf_v1 ^ cf_v2)) ^ cf_v2)[31:32]That way, the IDA highlighting of variables can be used in a clever way. |
Contributor
|
The module needs to be imported twice due to a strange bug between IDA and Miasm. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


This PR add a plug-in example for IDA, based on Miasm symbolic execution engine. It also features the
VarExpanderpossibility.For instance, on

samples/sc_connect_back.bin, one selects the targeted area.Then, by calling

symbolic_exec()or pressingF3, the new viewSymbolic Execution ...is created.If a line is too complicated, one can expand it by pressing

EorRight click > Expand.The common code between IDA examples has been moved to
samples/ida/utils.py.