You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
READ.ME example it says shows umem_search returning a list of tuples.
>> l=[x for x in mw.umem_search("hello")]
>> l
[('', <Addr: 0x003287B0>)]
However it should just return a lists of addresses:
>>> from memorpy import *
>>> mw = MemWorker(pid=pid1)
>>>
>>> l=[x for x in mw.umem_search("hello")]
>>> l
[<Addr: 0x7F68C83B0770>, <Addr: 0x7F68C83B3D5C>, <Addr: 0x7F68C83B6024>, <Addr: 0x7F68C8A7A0A2>]
>>> l.dump
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'list' object has no attribute 'dump'
>>> l.dump()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'list' object has no attribute 'dump'
>>> a=l[0][0]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: 'Address' object does not support indexing
>>> a=l[0]
>>> a
<Addr: 0x7F68C83B0770>
>>> l
[<Addr: 0x7F68C83B0770>, <Addr: 0x7F68C83B3D5C>, <Addr: 0x7F68C83B6024>, <Addr: 0x7F68C8A7A0A2>]
>>> a.dump()
The text was updated successfully, but these errors were encountered:
In the
READ.ME example it says shows umem_search returning a list of tuples.
[('', <Addr: 0x003287B0>)]
The text was updated successfully, but these errors were encountered: