Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/pyvex/__init__.py: 100%

13 statements  

« prev     ^ index     » next       coverage.py v7.3.1, created at 2023-09-25 06:15 +0000

1""" 

2PyVEX provides an interface that translates binary code into the VEX intermediate representation (IR). 

3For an introduction to VEX, take a look here: https://docs.angr.io/advanced-topics/ir 

4""" 

5__version__ = "9.2.70.dev0" 

6 

7from . import const, expr, stmt 

8from .block import IRSB, IRTypeEnv 

9from .const import get_type_size, get_type_spec_size, tag_to_const_class 

10from .enums import ( 

11 IRCallee, 

12 IRRegArray, 

13 VEXObject, 

14 default_vex_archinfo, 

15 get_enum_from_int, 

16 get_int_from_enum, 

17 irop_enums_to_ints, 

18 vex_endness_from_string, 

19) 

20from .errors import PyVEXError 

21from .expr import get_op_retty 

22from .lifting import lift, lifters 

23from .native import ffi, pvc 

24 

25# aliases.... 

26IRStmt = stmt 

27IRExpr = expr 

28IRConst = const 

29 

30 

31__all__ = [ 

32 "const", 

33 "expr", 

34 "stmt", 

35 "IRSB", 

36 "IRTypeEnv", 

37 "get_type_size", 

38 "get_type_spec_size", 

39 "irop_enums_to_ints", 

40 "tag_to_const_class", 

41 "IRCallee", 

42 "IRRegArray", 

43 "VEXObject", 

44 "default_vex_archinfo", 

45 "get_enum_from_int", 

46 "get_int_from_enum", 

47 "vex_endness_from_string", 

48 "PyVEXError", 

49 "get_op_retty", 

50 "lift", 

51 "lifters", 

52 "ffi", 

53 "pvc", 

54 "IRStmt", 

55 "IRExpr", 

56 "IRConst", 

57]