| 70 | } |
| 71 | |
| 72 | size_t getAddressVal(folly::StringPiece addr) { |
| 73 | // addresses are in base 16 |
| 74 | const size_t ret = strtoull(addr.data(), nullptr, 16); |
| 75 | XDCHECK_NE(ret, 0u); |
| 76 | return ret; |
| 77 | } |
| 78 | |
| 79 | bool lineAddressMatches(folly::StringPiece line, uintptr_t addr) { |
| 80 | // line should be of form |
no test coverage detected