Tries to read the contents of the top of the stack. @type size: int @param size: Number of bytes to read. @type offset: int @param offset: Offset from the stack pointer to begin reading. @rtype: str @return: Stack data. Retur
(self, size=128, offset=0)
| 1341 | return aProcess.read(self.get_sp() + offset, size) |
| 1342 | |
| 1343 | def peek_stack_data(self, size=128, offset=0): |
| 1344 | """ |
| 1345 | Tries to read the contents of the top of the stack. |
| 1346 | |
| 1347 | @type size: int |
| 1348 | @param size: Number of bytes to read. |
| 1349 | |
| 1350 | @type offset: int |
| 1351 | @param offset: Offset from the stack pointer to begin reading. |
| 1352 | |
| 1353 | @rtype: str |
| 1354 | @return: Stack data. |
| 1355 | Returned data may be less than the requested size. |
| 1356 | """ |
| 1357 | aProcess = self.get_process() |
| 1358 | return aProcess.peek(self.get_sp() + offset, size) |
| 1359 | |
| 1360 | def read_stack_dwords(self, count, offset=0): |
| 1361 | """ |
no test coverage detected