| 90 | } |
| 91 | |
| 92 | const char * |
| 93 | cursor::cstr(size_t *size_out) |
| 94 | { |
| 95 | // Scan string size |
| 96 | const char *p = pos; |
| 97 | while (pos < sec->end && *pos) |
| 98 | pos++; |
| 99 | if (pos == sec->end) |
| 100 | throw format_error("unterminated string"); |
| 101 | if (size_out) |
| 102 | *size_out = pos - p; |
| 103 | pos++; |
| 104 | return p; |
| 105 | } |
| 106 | |
| 107 | void |
| 108 | cursor::skip_form(DW_FORM form) |
no test coverage detected