| 1071 | |
| 1072 | CAPSTONE_EXPORT |
| 1073 | void CAPSTONE_API cs_free(cs_insn *insn, size_t count) |
| 1074 | { |
| 1075 | size_t i; |
| 1076 | |
| 1077 | // free all detail pointers |
| 1078 | for (i = 0; i < count; i++) |
| 1079 | cs_mem_free(insn[i].detail); |
| 1080 | |
| 1081 | // then free pointer to cs_insn array |
| 1082 | cs_mem_free(insn); |
| 1083 | } |
| 1084 | |
| 1085 | CAPSTONE_EXPORT |
| 1086 | cs_insn * CAPSTONE_API cs_malloc(csh ud) |
no outgoing calls
searching dependent graphs…