MCPcopy
hub / github.com/sql-js/sql.js / _sqlite3InvalidFunction

Function _sqlite3InvalidFunction

js/sql-debug.js:325816–325860  ·  view source on GitHub ↗
($0,$1,$2)

Source from the content-addressed store, hash-verified

325814 return (0)|0;
325815}
325816function _sqlite3InvalidFunction($0,$1,$2) {
325817 $0 = $0|0;
325818 $1 = $1|0;
325819 $2 = $2|0;
325820 var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $20 = 0, $21 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, $vararg_buffer = 0;
325821 var label = 0, sp = 0;
325822 sp = STACKTOP;
325823 STACKTOP = STACKTOP + 16|0;
325824 $vararg_buffer = sp;
325825 $3 = ((($0)) + 4|0);
325826 $4 = HEAP32[$3>>2]|0;
325827 $5 = ((($4)) + 20|0);
325828 $6 = HEAP32[$5>>2]|0;
325829 HEAP32[$vararg_buffer>>2] = $6;
325830 $7 = (_sqlite3_mprintf(39443,$vararg_buffer)|0);
325831 $8 = ((($0)) + 20|0);
325832 HEAP32[$8>>2] = 1;
325833 $9 = ((($0)) + 25|0);
325834 HEAP8[$9>>0] = 1;
325835 $10 = HEAP32[$0>>2]|0;
325836 (_sqlite3VdbeMemSetStr($10,$7,-1,1,(-1))|0);
325837 $11 = ($7|0)==(0|0);
325838 if ($11) {
325839 STACKTOP = sp;return;
325840 }
325841 $12 = HEAP32[2]|0;
325842 $13 = ($12|0)==(0);
325843 if ($13) {
325844 $21 = HEAP32[(56)>>2]|0;
325845 FUNCTION_TABLE_vi[$21 & 255]($7);
325846 STACKTOP = sp;return;
325847 } else {
325848 $14 = HEAP32[(64)>>2]|0;
325849 $15 = (FUNCTION_TABLE_ii[$14 & 255]($7)|0);
325850 $16 = HEAP32[11822]|0;
325851 $17 = (($16) - ($15))|0;
325852 HEAP32[11822] = $17;
325853 $18 = HEAP32[11825]|0;
325854 $19 = (($18) + -1)|0;
325855 HEAP32[11825] = $19;
325856 $20 = HEAP32[(56)>>2]|0;
325857 FUNCTION_TABLE_vi[$20 & 255]($7);
325858 STACKTOP = sp;return;
325859 }
325860}
325861function _sqlite3_open($0,$1) {
325862 $0 = $0|0;
325863 $1 = $1|0;

Callers

nothing calls this directly

Calls 2

_sqlite3_mprintfFunction · 0.85
_sqlite3VdbeMemSetStrFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…