We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1a5524 commit 9c12454Copy full SHA for 9c12454
Sources/WasmKitGDBHandler/WasmKitGDBHandler.swift
@@ -150,7 +150,7 @@ package actor WasmKitGDBHandler {
150
var length = Int(hexEncoded: argumentsArray[1])
151
else { throw Error.unknownReadMemoryArguments }
152
153
- let binaryOffset = Int(address - 0x4000000000000000)
+ let binaryOffset = Int(address - 0x4000_0000_0000_0000)
154
155
if binaryOffset + length > wasmBinary.readableBytes {
156
length = wasmBinary.readableBytes - binaryOffset
0 commit comments