-
Notifications
You must be signed in to change notification settings - Fork 627
emit number(0) for insn like "xor eax, eax" #2639
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
v1bh475u
wants to merge
25
commits into
mandiant:master
Choose a base branch
from
v1bh475u:emit-number-0
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
a793d60
feat(insn): emit number(0) on xor of same registers
v1bh475u 828509c
add test case for emit number(0) for insn like " xor eax, eax"
v1bh475u d940b7b
format conditional check for xor insn
v1bh475u d753fdd
udpate CHANGELOG
v1bh475u 221e885
Merge branch 'master' into emit-number-0
v1bh475u 172b365
feat(insn): emit number(0) on xor of same registers
v1bh475u b3b51a3
ghidra: emit number(0) on xor of same registers
v1bh475u 7c20e31
Merge branch 'master' into emit-number-0
v1bh475u ce727a0
Merge branch 'master' into emit-number-0
v1bh475u 998e850
binexport2: emit number(0) on xor of same registers
v1bh475u 976a1ec
add fixture for mimikatz with number(0)
v1bh475u f278a35
refactor: rename instruction variable
v1bh475u a0053c9
Merge branch 'master' into emit-number-0
v1bh475u 310eb0c
add helper functions to identify XOR insns & zeored XORs
v1bh475u 469d76c
Merge branch 'master' into emit-number-0
v1bh475u e239784
fix is_zxor & add is_operands_equal helper function
v1bh475u f27c9ba
inline is_operand_equal logic into is_zxor and insn extraction
v1bh475u cf0831d
add is_xor and is_zxor helper functions
v1bh475u 237c9ef
refactor extract_insn_number_feature to use is_zxor helper
v1bh475u fa55058
add is_operands_equal helper function for instruction operand comparison
v1bh475u 51c16ab
simplify is_zxor logic
v1bh475u e91ba10
fix is_zxor to compare both operands directly
v1bh475u 46b3d4e
viv-backend: refactor is_zxor
v1bh475u 6e3944c
rename is_operands_equal to are_operands_equal for consistency
v1bh475u 88f15bd
Merge branch 'master' into emit-number-0
v1bh475u File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think we're fine without this helper here? The other ones are fine I think.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair enough