CoolFace
Modelpublic

AryaWu/sqlite

sourceHugging Faceupdated 9mo agoView on Hugging Face
0likes
malloc_injectable_functions.json57 linesDownload Raw Back to injectable_functions
1[2  {3    "function_name": "sqlite3_release_memory",4    "function_signature": "int sqlite3_release_memory(int n)",5    "test_filename": "tests_malloc_sqlite3_release_memory.c"6  },7  {8    "function_name": "sqlite3_memory_alarm",9    "function_signature": "int sqlite3_memory_alarm(\n  void(*xCallback)(void *pArg, sqlite3_int64 used,int N),\n  void *pArg,\n  sqlite3_int64 iThreshold\n)",10    "test_filename": "tests_malloc_sqlite3_memory_alarm.c"11  },12  {13    "function_name": "sqlite3_soft_heap_limit64",14    "function_signature": "sqlite3_int64 sqlite3_soft_heap_limit64(sqlite3_int64 n)",15    "test_filename": "tests_malloc_sqlite3_soft_heap_limit64.c"16  },17  {18    "function_name": "sqlite3_hard_heap_limit64",19    "function_signature": "sqlite3_int64 sqlite3_hard_heap_limit64(sqlite3_int64 n)",20    "test_filename": "tests_malloc_sqlite3_hard_heap_limit64.c"21  },22  {23    "function_name": "sqlite3MallocInit",24    "function_signature": "int sqlite3MallocInit(void)",25    "test_filename": "tests_malloc_sqlite3MallocInit.c"26  },27  {28    "function_name": "mallocWithAlarm",29    "function_signature": "static void mallocWithAlarm(int n, void **pp)",30    "test_filename": "tests_malloc_mallocWithAlarm.c"31  },32  {33    "function_name": "sqlite3DbMallocSize",34    "function_signature": "int sqlite3DbMallocSize(sqlite3 *db, const void *p)",35    "test_filename": "tests_malloc_sqlite3DbMallocSize.c"36  },37  {38    "function_name": "sqlite3_free",39    "function_signature": "void sqlite3_free(void *p)",40    "test_filename": "tests_malloc_sqlite3_free.c"41  },42  {43    "function_name": "sqlite3DbFreeNN",44    "function_signature": "void sqlite3DbFreeNN(sqlite3 *db, void *p)",45    "test_filename": "tests_malloc_sqlite3DbFreeNN.c"46  },47  {48    "function_name": "sqlite3DbNNFreeNN",49    "function_signature": "void sqlite3DbNNFreeNN(sqlite3 *db, void *p)",50    "test_filename": "tests_malloc_sqlite3DbNNFreeNN.c"51  },52  {53    "function_name": "sqlite3ApiExit",54    "function_signature": "int sqlite3ApiExit(sqlite3* db, int rc)",55    "test_filename": "tests_malloc_sqlite3ApiExit.c"56  }57]