(archbits: int)
| 905 | # }; |
| 906 | |
| 907 | def make_eprocess(archbits: int): |
| 908 | Struct = struct.get_aligned_struct(archbits) |
| 909 | |
| 910 | obj_size = { |
| 911 | 32: 0x2c0, |
| 912 | 64: 0x4d0 |
| 913 | }[archbits] |
| 914 | |
| 915 | class EPROCESS(Struct): |
| 916 | # FIXME: define meaningful fields |
| 917 | _fields_ = ( |
| 918 | ('dummy', ctypes.c_char * obj_size), |
| 919 | ) |
| 920 | |
| 921 | return EPROCESS |
| 922 | |
| 923 | |
| 924 | def make_ldr_data(archbits: int): |
no outgoing calls
no test coverage detected