Commit Graph
3 Commits
Author SHA1 Message Date
Dean Galvin ec49a4f03f fix(libSceNKWebKitRequirements): match SQLite mode=memory only as a URI parameter
Apply review request from 2026-11-05: a path that contains mode=memory no longer counts as an in-memory database, so such a URI cannot create a file on the host.
2026-11-05 19:04:23 +13:00
Noxy-HNR 6cf35fccdc fix(libSceNKWebKitRequirements): record SQLite files for sceKernelSync and reject file URIs
A read-write sqlite3_open_v2 records the database and its -wal, -shm and
-journal paths so sceKernelSync flushes them. File URIs other than
in-memory ones now throw instead of reaching the host path unmapped.
The release archive carries SQLite's licence, and the debt file no
longer lists SQLite among the sources of the remaining names. The test
also checks that a rejected collation registration runs no destructor.
2026-11-03 05:07:10 +00:00
Noxy-HNR 7e51a92a94 feat(libSceNKWebKitRequirements): implement the SQLite exports
Build SQLite 3.54.1 from the 3rdparty/sqlite submodule, generating its headers and parser with the bundled jimsh, lemon and helper tools, and route the 50 sqlite3_* exports to it through thin guest adapters. Guest callbacks for busy handlers, authorizers, WAL hooks, collations and SQL functions are called through SysV trampolines, and file names are mapped through the guest path resolver.
2026-11-02 17:22:23 +00:00