| 230 | } |
| 231 | |
| 232 | expr Pointer::isWritableGlobal() const { |
| 233 | auto bid = getShortBid(); |
| 234 | return !isLocal() && |
| 235 | bid.uge(has_null_block + num_consts_src) && |
| 236 | expr(num_globals_src > 0) && |
| 237 | bid.ule(has_null_block + num_globals_src - 1); |
| 238 | } |
| 239 | |
| 240 | expr Pointer::getBid() const { |
| 241 | auto start = bits_for_offset + bits_for_ptrattrs; |
no test coverage detected