Miasm2
 All Classes Namespaces Files Functions Variables Typedefs Properties Macros
csts.py
Go to the documentation of this file.
1 #!/usr/bin/env python
2 #-*- coding:utf-8 -*-
3 
4 
5 # VM Mngr Exceptions
6 EXCEPT_DO_NOT_UPDATE_PC = 1 << 25
7 
8 EXCEPT_CODE_AUTOMOD = (1 << 0)
9 EXCEPT_SOFT_BP = (1 << 1)
10 EXCEPT_INT_XX = (1 << 2)
11 EXCEPT_BREAKPOINT_INTERN = (1 << 10)
12 
13 EXCEPT_ACCESS_VIOL = ((1 << 14) | EXCEPT_DO_NOT_UPDATE_PC)
14 # VM Mngr constants
15 
16 PAGE_READ = 1
17 PAGE_WRITE = 2
18 PAGE_EXEC = 4
19 
20 BREAKPOINT_READ = 1
21 BREAKPOINT_WRITE = 2
22