()
| 26 | |
| 27 | let next = 9; |
| 28 | function getLEB() { |
| 29 | let returnValue = 0; |
| 30 | let mul = 1; |
| 31 | while (1) { |
| 32 | const byte = wasmBytes[next++]; |
| 33 | returnValue += (byte & 0x7f) * mul; |
| 34 | mul *= 0x80; |
| 35 | if (!(byte & 0x80)) break; |
| 36 | } |
| 37 | return returnValue; |
| 38 | } |
| 39 | const sectionSize = getLEB(); |
| 40 | // 6, size of "dylink" string = 7 |
| 41 | next += 7; |
no outgoing calls
no test coverage detected