Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
gal2xy committed Jul 7, 2024
1 parent 4aa82d2 commit 15f3272
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion AssembleCodeTracer.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ def analyzeInstruction(instruction: str):
defSet, useSet = getDefAndUseSet(CorresInsnsDic, operands)
else:
defSet, useSet = getDefAndUseSet(insnsDic, operands)
# 需要存储的是全称寄存器或者是寄存器编号!!!!!!

return defSet, useSet

print(f'Warning!!! Unknow instruction: {instruction}. You need define it in instructions_db')
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# AssembleCodeTracer
A tool for reverse tracking assembly instruction. Given an instruction, it traces upward to identify the instructions related to that instruction and subsequent instructions.

For detailed explanation, please refer to https://gal2xy.github.io/2024/07/07/LLVM%20and%20OLLVM/%E5%8E%BB%E9%99%A4%E5%8F%8D%E6%B7%B7%E6%B7%86%E5%90%8E%E7%A8%8B%E5%BA%8F%E4%B8%AD%E7%9A%84%E5%86%97%E4%BD%99%E6%B1%87%E7%BC%96%E4%BB%A3%E7%A0%81/

0 comments on commit 15f3272

Please sign in to comment.