(filePath)
| 1427 | LOG(""); |
| 1428 | }; |
| 1429 | const getFileLenth = (filePath) => { |
| 1430 | let file = callFunctionWithOutError(Module.findExportByName("libc.so", "fopen"), allocCStr(filePath), allocCStr("rwx")); |
| 1431 | if (file.isNull()) |
| 1432 | return 0; |
| 1433 | callFunctionWithOutError(Module.findExportByName("libc.so", "fseek"), file, 0, 2); |
| 1434 | let len = callFunctionRI(Module.findExportByName("libc.so", "ftell"), file); |
| 1435 | callFunctionWithOutError(Module.findExportByName("libc.so", "fclose"), file); |
| 1436 | return len; |
| 1437 | }; |
| 1438 | globalThis.StalkerTraceEvent = (mPtr, range) => { |
| 1439 | let src_mPtr = mPtr; |
| 1440 | mPtr = checkPointer(mPtr); |
no test coverage detected