On 6/11/21, Andrej Mihajlov <[email protected]> wrote:
> let fd = packetFlow.perform(Selector("interface")).toOpaque().advanced(by:
> 0x128).assumingMemoryBound(to: Int32.self).pointee

Ahh, so that's some sort of 296 byte struct offset, rather than a
symbolic name that fails gracefully. Ooof. Okay I'll poke around for
other methods, I suppose, as that indeed seems potentially dangerous.
Thanks nonetheless for the trick - helpful for getting started.

Jason

Reply via email to