(type)
| 433 | |
| 434 | # ctypes 32 -> 64 methods |
| 435 | def MakePtr64(type): |
| 436 | class PointerToStruct64(Remote_c_void_p64): |
| 437 | _sub_ctypes_ = (type) |
| 438 | |
| 439 | @property |
| 440 | def contents(self): |
| 441 | return RemoteStructurePointer64.from_buffer_with_target_and_ptr_type(bytearray(self), target=self.target, ptr_type=self).contents |
| 442 | |
| 443 | def __repr__(self): |
| 444 | return "<RemotePtr64 to struct {0}>".format(type.__name__) |
| 445 | return PointerToStruct64 |
| 446 | |
| 447 | def transform_structure_to_remote64bits(structcls): |
| 448 | """Create a remote structure for a 64bits target process""" |
no outgoing calls
no test coverage detected