dlwrap

DL.dlwrap(val)
Class Public methods

Returns a memory pointer of a function's hexadecimal address location val

Example:

lib = DL.dlopen('/lib64/libc-2.15.so')
=> #<DL::Handle:0x00000001342460>

DL.dlwrap(lib['strcpy'].to_s(16))
=> 25522520
doc_ruby_on_rails
2015-04-03 22:46:46
Comments
Leave a Comment

Please login to continue.