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

Function _unixGetSystemCall

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

Source from the content-addressed store, hash-verified

16781 return ($$0|0);
16782}
16783function _unixGetSystemCall($0,$1) {
16784 $0 = $0|0;
16785 $1 = $1|0;
16786 var $$06 = 0, $$08 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
16787 sp = STACKTOP;
16788 $$08 = 0;
16789 while(1) {
16790 $2 = (3420 + (($$08*12)|0)|0);
16791 $3 = HEAP32[$2>>2]|0;
16792 $4 = (_strcmp($1,$3)|0);
16793 $5 = ($4|0)==(0);
16794 if ($5) {
16795 break;
16796 }
16797 $8 = (($$08) + 1)|0;
16798 $9 = ($8>>>0)<(29);
16799 if ($9) {
16800 $$08 = $8;
16801 } else {
16802 $$06 = 0;
16803 label = 5;
16804 break;
16805 }
16806 }
16807 if ((label|0) == 5) {
16808 return ($$06|0);
16809 }
16810 $6 = (((3420 + (($$08*12)|0)|0)) + 4|0);
16811 $7 = HEAP32[$6>>2]|0;
16812 $$06 = $7;
16813 return ($$06|0);
16814}
16815function _unixNextSystemCall($0,$1) {
16816 $0 = $0|0;
16817 $1 = $1|0;

Callers

nothing calls this directly

Calls 1

_strcmpFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…