sqlite / injectable_functions /memjournal_injectable_functions.json
AryaWu's picture
Upload folder using huggingface_hub
7510827 verified
[
{
"function_name": "memjrnlRead",
"function_signature": "static int memjrnlRead(\n sqlite3_file *pJfd, /* The journal file from which to read */\n void *zBuf, /* Put the results here */\n int iAmt, /* Number of bytes to read */\n sqlite_int64 iOfst /* Begin reading at this offset */\n)",
"test_filename": "tests_memjournal_memjrnlRead.c"
},
{
"function_name": "memjrnlCreateFile",
"function_signature": "static int memjrnlCreateFile(MemJournal *p)",
"test_filename": "tests_memjournal_memjrnlCreateFile.c"
},
{
"function_name": "memjrnlWrite",
"function_signature": "static int memjrnlWrite(\n sqlite3_file *pJfd, /* The journal file into which to write */\n const void *zBuf, /* Take data to be written from here */\n int iAmt, /* Number of bytes to write */\n sqlite_int64 iOfst /* Begin writing at this offset into the file */\n)",
"test_filename": "tests_memjournal_memjrnlWrite.c"
},
{
"function_name": "memjrnlTruncate",
"function_signature": "static int memjrnlTruncate(sqlite3_file *pJfd, sqlite_int64 size)",
"test_filename": "tests_memjournal_memjrnlTruncate.c"
},
{
"function_name": "sqlite3JournalOpen",
"function_signature": "int sqlite3JournalOpen(\n sqlite3_vfs *pVfs, /* The VFS to use for actual file I/O */\n const char *zName, /* Name of the journal file */\n sqlite3_file *pJfd, /* Preallocated, blank file handle */\n int flags, /* Opening flags */\n int nSpill /* Bytes buffered before opening the file */\n)",
"test_filename": "tests_memjournal_sqlite3JournalOpen.c"
},
{
"function_name": "sqlite3JournalCreate",
"function_signature": "int sqlite3JournalCreate(sqlite3_file *pJfd)",
"test_filename": "tests_memjournal_sqlite3JournalCreate.c"
}
]