Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.11/site-packages/dissect/cstruct/__init__.py: 100%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

7 statements  

1from dissect.cstruct.bitbuffer import BitBuffer 

2from dissect.cstruct.cstruct import cstruct, ctypes, ctypes_type 

3from dissect.cstruct.exceptions import ( 

4 Error, 

5 NullPointerDereference, 

6 ParserError, 

7 ResolveError, 

8) 

9from dissect.cstruct.expression import Expression 

10from dissect.cstruct.types import ( 

11 LEB128, 

12 Array, 

13 BaseType, 

14 Char, 

15 CharArray, 

16 Enum, 

17 Field, 

18 Flag, 

19 Int, 

20 MetaType, 

21 Packed, 

22 Pointer, 

23 Structure, 

24 Union, 

25 Void, 

26 Wchar, 

27 WcharArray, 

28) 

29from dissect.cstruct.utils import ( 

30 dumpstruct, 

31 hexdump, 

32 p8, 

33 p16, 

34 p32, 

35 p64, 

36 pack, 

37 swap, 

38 swap16, 

39 swap32, 

40 swap64, 

41 u8, 

42 u16, 

43 u32, 

44 u64, 

45 unpack, 

46) 

47 

48__all__ = [ 

49 "LEB128", 

50 "Array", 

51 "BaseType", 

52 "BitBuffer", 

53 "Char", 

54 "CharArray", 

55 "Enum", 

56 "Error", 

57 "Expression", 

58 "Field", 

59 "Flag", 

60 "Int", 

61 "MetaType", 

62 "NullPointerDereference", 

63 "Packed", 

64 "ParserError", 

65 "Pointer", 

66 "ResolveError", 

67 "Structure", 

68 "Union", 

69 "Void", 

70 "Wchar", 

71 "WcharArray", 

72 "cstruct", 

73 "ctypes", 

74 "ctypes_type", 

75 "dumpstruct", 

76 "hexdump", 

77 "p8", 

78 "p16", 

79 "p32", 

80 "p64", 

81 "pack", 

82 "swap", 

83 "swap16", 

84 "swap32", 

85 "swap64", 

86 "u8", 

87 "u16", 

88 "u32", 

89 "u64", 

90 "unpack", 

91]