MCPcopy Create free account
hub / github.com/sql-js/sql.js / _unixAccess

Function _unixAccess

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

Source from the content-addressed store, hash-verified

16186 STACKTOP = sp;return ($$010|0);
16187}
16188function _unixAccess($0,$1,$2,$3) {
16189 $0 = $0|0;
16190 $1 = $1|0;
16191 $2 = $2|0;
16192 $3 = $3|0;
16193 var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
16194 sp = STACKTOP;
16195 STACKTOP = STACKTOP + 80|0;
16196 $4 = sp;
16197 $5 = ($2|0)==(0);
16198 if ($5) {
16199 $6 = HEAP32[(3472)>>2]|0;
16200 $7 = (FUNCTION_TABLE_iii[$6 & 255]($1,$4)|0);
16201 $8 = ($7|0)==(0);
16202 $9 = ((($4)) + 36|0);
16203 $10 = HEAP32[$9>>2]|0;
16204 $11 = ($10|0)>(0);
16205 $12 = $8 & $11;
16206 $13 = $12&1;
16207 HEAP32[$3>>2] = $13;
16208 STACKTOP = sp;return 0;
16209 } else {
16210 $14 = HEAP32[(3448)>>2]|0;
16211 $15 = (FUNCTION_TABLE_iii[$14 & 255]($1,6)|0);
16212 $16 = ($15|0)==(0);
16213 $17 = $16&1;
16214 HEAP32[$3>>2] = $17;
16215 STACKTOP = sp;return 0;
16216 }
16217 return (0)|0;
16218}
16219function _unixFullPathname($0,$1,$2,$3) {
16220 $0 = $0|0;
16221 $1 = $1|0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…