It should instead serialize the Auxv obtained from Proc.getAuxv(). The new jni bindings don't give raw access to the auxv so I'll need to fix this.
Something like: new ArrayByteBuffer (auxv.length * isa.wordsize * 2); foreach auxv buffer.putword(auxv.type) buffer.putword(auxv.value)