This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [package] | |
| name = "handletest" | |
| version = "0.1.0" | |
| authors = ["Peter Atashian <[email protected]>"] | |
| [dependencies.winapi] | |
| git = "https://github.com/retep998/winapi-rs" | |
| branch = "dev" | |
| features = ["minwinbase", "minwindef", "processthreadsapi", "winbase", "winnt"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| int pants() { | |
| char *foo = crud(); | |
| printf("Crud: %s\n", foo); | |
| rust_free(foo); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 0x00000001004010e0 <+0>: cmp rcx,0xfe0 | |
| 0x00000001004010e7 <+7>: ja 0x10040113f <gc_malloc+95> | |
| 0x00000001004010e9 <+9>: mov rdx,QWORD PTR [rip+0x4f28] # 0x406018 | |
| 0x00000001004010f0 <+16>: xor r11d,r11d | |
| 0x00000001004010f3 <+19>: mov r10d,0x1 | |
| 0x00000001004010f9 <+25>: mov r8,QWORD PTR [rdx+0x18] | |
| 0x00000001004010fd <+29>: lea r9,[rcx+r8*1] | |
| 0x0000000100401101 <+33>: cmp r9,0xfe0 | |
| 0x0000000100401108 <+40>: ja 0x100401134 <gc_malloc+84> | |
| 0x000000010040110a <+42>: mov rax,r8 |