Flowdock
method

dlwrap

Importance_1
v2_6_3 - Show latest stable - 0 notes - Class: Fiddle
dlwrap(p1) public

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

Example:

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

Fiddle.dlwrap(lib['strcpy'].to_s(16))
=> 25522520
Show source
Register or log in to add new notes.