Files
mtgodot-poc/audit/port-map/EterBase/MappedFile.cpp.json
T

179 lines
5.2 KiB
JSON

{
"reference": "EterBase/MappedFile.cpp",
"reference_sha256": "82d65b1bb2bdc91038be929e079212af33cf963e5d4722d10256bd1df4341ee9",
"priority": "P4",
"contracts": [],
"functions": {
"CMappedFile::CMappedFile": {
"status": "PORTED",
"impl": [
"src/platform/EterBase/MappedFile.cpp:CMappedFile::CMappedFile"
],
"test": [
"tests/port/port_utils_test.cpp"
],
"note": "Verbatim 40250."
},
"CMappedFile::~CMappedFile": {
"status": "PORTED",
"impl": [
"src/platform/EterBase/MappedFile.cpp:CMappedFile::~CMappedFile"
],
"test": [
"tests/port/port_utils_test.cpp"
],
"note": "Verbatim 40250."
},
"CMappedFile::Create": {
"status": "PORTED",
"impl": [
"src/platform/EterBase/MappedFile.cpp:CMappedFile::Create"
],
"test": [
"tests/port/port_utils_test.cpp"
],
"note": "Verbatim 40250."
},
"CMappedFile::Get": {
"status": "PORTED",
"impl": [
"src/platform/EterBase/MappedFile.cpp:CMappedFile::Get"
],
"test": [
"tests/port/port_utils_test.cpp"
],
"note": "Verbatim 40250."
},
"CMappedFile::Link": {
"status": "PORTED",
"impl": [
"src/platform/EterBase/MappedFile.cpp:CMappedFile::Link"
],
"test": [
"tests/port/port_utils_test.cpp"
],
"note": "Verbatim 40250."
},
"CMappedFile::BindLZObject": {
"status": "PORTED",
"impl": [
"src/platform/EterBase/MappedFile.cpp:CMappedFile::BindLZObject"
],
"test": [
"tests/port/port_utils_test.cpp"
],
"note": "Verbatim 40250."
},
"CMappedFile::BindLZObjectWithBufferedSize": {
"status": "PORTED",
"impl": [
"src/platform/EterBase/MappedFile.cpp:CMappedFile::BindLZObjectWithBufferedSize"
],
"test": [
"tests/port/port_utils_test.cpp"
],
"note": "Verbatim 40250."
},
"CMappedFile::AppendDataBlock": {
"status": "PORTED",
"impl": [
"src/platform/EterBase/MappedFile.cpp:CMappedFile::AppendDataBlock"
],
"test": [
"tests/port/port_utils_test.cpp"
],
"note": "Verbatim 40250."
},
"CMappedFile::Destroy": {
"status": "PORTED",
"impl": [
"src/platform/EterBase/MappedFile.cpp:CMappedFile::Destroy"
],
"test": [
"tests/port/port_utils_test.cpp"
],
"note": "Verbatim 40250."
},
"CMappedFile::Seek": {
"status": "PORTED",
"impl": [
"src/platform/EterBase/MappedFile.cpp:CMappedFile::Seek"
],
"test": [
"tests/port/port_utils_test.cpp"
],
"note": "Verbatim 40250."
},
"CMappedFile::Map": {
"status": "ADAPTED",
"impl": [
"src/platform/EterBase/MappedFile.cpp:CMappedFile::Map"
],
"test": [
"tests/port/port_utils_test.cpp"
],
"note": "CreateFileMapping/MapViewOfFile -> POSIX mmap of the CFileBase stream (Windows build keeps the Win32 calls), view start aligned down to the page size as 40250 aligns to the allocation granularity; a zero-length view maps 1 byte (mmap rejects 0). Invariant: *dest points at file offset `offset`, Size() == the mapped length, a view past the end returns 0."
},
"CMappedFile::GetCurrentSeekPoint": {
"status": "PORTED",
"impl": [
"src/platform/EterBase/MappedFile.cpp:CMappedFile::GetCurrentSeekPoint"
],
"test": [
"tests/port/port_utils_test.cpp"
],
"note": "Verbatim 40250."
},
"CMappedFile::Size": {
"status": "PORTED",
"impl": [
"src/platform/EterBase/MappedFile.cpp:CMappedFile::Size"
],
"test": [
"tests/port/port_utils_test.cpp"
],
"note": "Verbatim 40250."
},
"CMappedFile::GetPosition": {
"status": "PORTED",
"impl": [
"src/platform/EterBase/MappedFile.cpp:CMappedFile::GetPosition"
],
"test": [
"tests/port/port_utils_test.cpp"
],
"note": "Verbatim 40250."
},
"CMappedFile::Read": {
"status": "PORTED",
"impl": [
"src/platform/EterBase/MappedFile.cpp:CMappedFile::Read"
],
"test": [
"tests/port/port_utils_test.cpp"
],
"note": "Verbatim 40250."
},
"CMappedFile::GetSeekPosition": {
"status": "PORTED",
"impl": [
"src/platform/EterBase/MappedFile.cpp:CMappedFile::GetSeekPosition"
],
"test": [
"tests/port/port_utils_test.cpp"
],
"note": "Verbatim 40250."
},
"CMappedFile::Unmap": {
"status": "ADAPTED",
"impl": [
"src/platform/EterBase/MappedFile.cpp:CMappedFile::Unmap"
],
"test": [
"tests/port/port_utils_test.cpp"
],
"note": "CreateFileMapping/MapViewOfFile -> POSIX mmap of the CFileBase stream (Windows build keeps the Win32 calls), view start aligned down to the page size as 40250 aligns to the allocation granularity; a zero-length view maps 1 byte (mmap rejects 0). Invariant: *dest points at file offset `offset`, Size() == the mapped length, a view past the end returns 0."
}
}
}