MCPcopy Index your code
hub / github.com/qilingframework/qiling / DummyInternalStruct

Class DummyInternalStruct

tests/test_struct.py:19–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17
18
19class DummyInternalStruct(BaseStruct):
20 _fields_ = [
21 ('X', ctypes.c_uint32)
22 ]
23
24 # this is defined to let 'assertEqual' work as expected
25 def __eq__(self, other) -> bool:
26 return isinstance(other, DummyInternalStruct) and self.X == other.X
27
28
29class DummyStruct(BaseStruct):

Callers 2

setUpMethod · 0.85
test_save_toMethod · 0.85

Calls

no outgoing calls

Tested by 2

setUpMethod · 0.68
test_save_toMethod · 0.68