Class DynamicLibrary.TextSymbolMemoryIO

java.lang.Object
org.jruby.ext.ffi.MemoryIO
org.jruby.ext.ffi.InvalidMemoryIO
org.jruby.ext.ffi.jffi.DynamicLibrary.TextSymbolMemoryIO
Enclosing class:
DynamicLibrary

private static final class DynamicLibrary.TextSymbolMemoryIO extends InvalidMemoryIO
Since the text area of a dynamic library is usually not readable nor writable, wrap the address in a MemoryIO instance that throws an exception on all accesses
  • Field Details

  • Constructor Details

    • TextSymbolMemoryIO

      public TextSymbolMemoryIO(Ruby runtime, DynamicLibrary library, long address)