Trim a file path to the file name
| 47 | |
| 48 | // Trim a file path to the file name |
| 49 | std::string debugFileTrim(std::string filename) { |
| 50 | int index = filename.find_last_of("/"); |
| 51 | if (index == filename.npos) |
| 52 | return filename; |
| 53 | else |
| 54 | return filename.substr(index + 1); |
| 55 | } |
| 56 | |
| 57 | // Checks if a block of memory has been written |
| 58 | bool debugFileIsSet(uint8_t* storeMask, int64_t offset, int64_t length) { |
no test coverage detected