MCPcopy Index your code
hub / github.com/sql-js/sql.js / _unixShmPurge

Function _unixShmPurge

js/sql-debug.js:18256–18424  ·  view source on GitHub ↗
($0)

Source from the content-addressed store, hash-verified

18254 return 0;
18255}
18256function _unixShmPurge($0) {
18257 $0 = $0|0;
18258 var $$$i$i = 0, $$0$i = 0, $$025 = 0, $$lcssa = 0, $1 = 0, $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $20 = 0, $21 = 0, $22 = 0, $23 = 0;
18259 var $24 = 0, $25 = 0, $26 = 0, $27 = 0, $28 = 0, $29 = 0, $3 = 0, $30 = 0, $31 = 0, $32 = 0, $33 = 0, $34 = 0, $35 = 0, $36 = 0, $37 = 0, $38 = 0, $39 = 0, $4 = 0, $40 = 0, $41 = 0;
18260 var $42 = 0, $43 = 0, $44 = 0, $45 = 0, $46 = 0, $47 = 0, $48 = 0, $49 = 0, $5 = 0, $50 = 0, $51 = 0, $52 = 0, $53 = 0, $54 = 0, $55 = 0, $56 = 0, $57 = 0, $58 = 0, $59 = 0, $6 = 0;
18261 var $60 = 0, $61 = 0, $62 = 0, $63 = 0, $64 = 0, $65 = 0, $66 = 0, $67 = 0, $68 = 0, $69 = 0, $7 = 0, $70 = 0, $71 = 0, $72 = 0, $73 = 0, $74 = 0, $75 = 0, $76 = 0, $77 = 0, $78 = 0;
18262 var $79 = 0, $8 = 0, $9 = 0, $vararg_buffer = 0, $vararg_ptr1 = 0, $vararg_ptr2 = 0, $vararg_ptr3 = 0, $vararg_ptr4 = 0, label = 0, sp = 0;
18263 sp = STACKTOP;
18264 STACKTOP = STACKTOP + 32|0;
18265 $vararg_buffer = sp;
18266 $1 = ((($0)) + 8|0);
18267 $2 = HEAP32[$1>>2]|0;
18268 $3 = ((($2)) + 28|0);
18269 $4 = HEAP32[$3>>2]|0;
18270 $5 = ($4|0)==(0|0);
18271 if ($5) {
18272 STACKTOP = sp;return;
18273 }
18274 $6 = ((($4)) + 28|0);
18275 $7 = HEAP32[$6>>2]|0;
18276 $8 = ($7|0)==(0);
18277 if (!($8)) {
18278 STACKTOP = sp;return;
18279 }
18280 $9 = HEAP32[(3724)>>2]|0;
18281 $10 = (FUNCTION_TABLE_i[$9 & 255]()|0);
18282 $11 = ($10|0)<(32768);
18283 $12 = (($10|0) / 32768)&-1;
18284 $$0$i = $11 ? 1 : $12;
18285 $13 = ((($4)) + 20|0);
18286 $14 = HEAP16[$13>>1]|0;
18287 $15 = ($14<<16>>16)==(0);
18288 $16 = ((($4)) + 24|0);
18289 $17 = HEAP32[$16>>2]|0;
18290 if ($15) {
18291 $$lcssa = $17;
18292 } else {
18293 $18 = ((($4)) + 12|0);
18294 $19 = ((($4)) + 16|0);
18295 $$025 = 0;$23 = $17;
18296 while(1) {
18297 $20 = HEAP32[$18>>2]|0;
18298 $21 = ($20|0)>(-1);
18299 $22 = (($23) + ($$025<<2)|0);
18300 $24 = HEAP32[$22>>2]|0;
18301 do {
18302 if ($21) {
18303 $25 = HEAP32[(3700)>>2]|0;
18304 $26 = HEAP32[$19>>2]|0;
18305 (FUNCTION_TABLE_iii[$25 & 255]($24,$26)|0);
18306 } else {
18307 $27 = ($24|0)==(0|0);
18308 if (!($27)) {
18309 $28 = HEAP32[2]|0;
18310 $29 = ($28|0)==(0);
18311 if ($29) {
18312 $37 = HEAP32[(56)>>2]|0;
18313 FUNCTION_TABLE_vi[$37 & 255]($24);

Callers 2

_unixShmUnmapFunction · 0.85
_unixShmMapFunction · 0.85

Calls 3

___errno_locationFunction · 0.85
_strerrorFunction · 0.85
_sqlite3_logFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…