| 50 | } |
| 51 | |
| 52 | static bool gic_status(cbm_ignore_checked_status_t actual, cbm_ignore_checked_status_t expected, |
| 53 | const cbm_ignore_checked_error_t *error) { |
| 54 | if (actual == expected && error->status == expected && |
| 55 | (expected == CBM_IGNORE_CHECKED_LIMIT || error->cap == CBM_IGNORE_CAP_NONE)) |
| 56 | return true; |
| 57 | fprintf(stderr, "checked-ignore status actual=%d expected=%d error=%d cap=%d offset=%zu\n", |
| 58 | (int)actual, (int)expected, (int)error->status, (int)error->cap, error->byte_offset); |
| 59 | return false; |
| 60 | } |
| 61 | |
| 62 | static bool gic_open(cbm_ignore_checked_t **owner, const cbm_ignore_checked_limits_t *limits) { |
| 63 | cbm_ignore_checked_error_t error; |
no outgoing calls
no test coverage detected