(str, offset)
| 135 | } |
| 136 | |
| 137 | function sread64(str, offset) { |
| 138 | const low = ( |
| 139 | str.charCodeAt(offset) |
| 140 | | str.charCodeAt(offset + 1) << 8 |
| 141 | | str.charCodeAt(offset + 2) << 16 |
| 142 | | str.charCodeAt(offset + 3) << 24 |
| 143 | ); |
| 144 | const high = ( |
| 145 | str.charCodeAt(offset + 4) |
| 146 | | str.charCodeAt(offset + 5) << 8 |
| 147 | | str.charCodeAt(offset + 6) << 16 |
| 148 | | str.charCodeAt(offset + 7) << 24 |
| 149 | ); |
| 150 | return new Int(low, high); |
| 151 | } |
| 152 | |
| 153 | function prepare_uaf() { |
| 154 | const fsets = []; |