DL.dlunwrap(addr)
Class Public methods
Returns the hexadecimal representation of a memory pointer address
addr
Example:
lib = DL.dlopen('/lib64/libc-2.15.so')
=> #<DL::Handle:0x00000001342460>
lib['strcpy'].to_s(16)
=> "7f59de6dd240"
DL.dlunwrap(DL.dlwrap(lib['strcpy'].to_s(16)))
=> "7f59de6dd240"
Please login to continue.