Trees | Indices | Help |
---|
|
13 """ 4 A memory object wrapper you can use to do copy-on-write memory 5 use and be able to simply reset it. 6 """ 7 11 172819 # FIXME for now, allow any writes, but soon, do more 20 self.writes.append((va,va+len(bytes),bytes))2123 for memva,nextva,bytes in self.writes: 24 if memva <= va and va+size <= nextva: 25 offset = va-memva 26 return bytes[offset:offset+size] 27 return self.memobj.readMemory(va, size)
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Nov 16 18:22:33 2012 | http://epydoc.sourceforge.net |