检查区域是否有效(非空指针且大小非零)
| 44 | |
| 45 | /// 检查区域是否有效(非空指针且大小非零) |
| 46 | [[nodiscard]] auto IsValid() const -> bool { |
| 47 | return virt != nullptr && size > 0; |
| 48 | } |
| 49 | |
| 50 | /// @brief 获取虚拟基地址的类型化指针 |
| 51 | /// @return uint8_t* 缓冲区数据指针 |
nothing calls this directly
no outgoing calls
no test coverage detected