| 41 | } |
| 42 | |
| 43 | int main(int argc, char** argv) { |
| 44 | if (argc < 2) { |
| 45 | return 2; |
| 46 | } |
| 47 | |
| 48 | for (int i = 0; i < 16; ++i) { |
| 49 | allocate(); |
| 50 | } |
| 51 | |
| 52 | FILE* out = std::fopen(argv[1], "w"); |
| 53 | if (!out) { |
| 54 | return 1; |
| 55 | } |
| 56 | std::fprintf(out, "%lx\n", uprobes_mapping_start()); |
| 57 | std::fclose(out); |
| 58 | return 0; |
| 59 | } |
nothing calls this directly
no test coverage detected