about summary refs log tree commit diff stats
path: root/arch/x86.py
diff options
context:
space:
mode:
authorTheofilos Augoustis <theofilos.augoustis@gmail.com>2023-11-27 13:22:01 +0100
committerTheofilos Augoustis <theofilos.augoustis@gmail.com>2023-11-27 13:22:01 +0100
commit5d51b4fe0bb41bc9e86c5775de35a9aef023fec5 (patch)
tree09d1f87c8a3964f72b71b7a04945a7f5e7e12abe /arch/x86.py
parent47894bb5d2e425f28d992aee6331b89b85b2058d (diff)
downloadfocaccia-5d51b4fe0bb41bc9e86c5775de35a9aef023fec5.tar.gz
focaccia-5d51b4fe0bb41bc9e86c5775de35a9aef023fec5.zip
Implement symbolic state comparison algorithm
This is the first draft of a `compare` algorithm that uses recorded
symbolic transformations. Is currently based on angr, so it's probably
going to be reworked to work with states generated by Miasm.

Co-authored-by: Theofilos Augoustis <theofilos.augoustis@gmail.com>
Co-authored-by: Nicola Crivellin <nicola.crivellin98@gmail.com>
Diffstat (limited to 'arch/x86.py')
-rw-r--r--arch/x86.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86.py b/arch/x86.py
index 01c1631..25213a0 100644
--- a/arch/x86.py
+++ b/arch/x86.py
@@ -22,6 +22,8 @@ regnames = [
     'R14',
     'R15',
     'RFLAGS',
+    # Segment registers
+    'CS', 'DS', 'SS', 'ES', 'FS', 'GS',
     # FLAGS
     'CF', 'PF', 'AF', 'ZF', 'SF', 'TF', 'IF', 'DF', 'OF', 'IOPL', 'NT',
     # EFLAGS