mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:07:35 +00:00
Greatly improve /proc/PID/stack by tracing the ebp frame chain.
I also added a generator cache to FileHandle. This way, multiple reads to a generated file (i.e in a synthfs) can transparently handle multiple calls to read() without the contents changing between calls. The cache is discarded at EOF (or when the FileHandle is destroyed.)
This commit is contained in:
parent
c928b06218
commit
2716a9e2d7
22 changed files with 210 additions and 116 deletions
|
@ -2,7 +2,17 @@
|
|||
|
||||
#include "types.h"
|
||||
|
||||
#if 0
|
||||
inline void memcpy(void *dest, const void *src, DWORD n)
|
||||
{
|
||||
BYTE* bdest = (BYTE*)dest;
|
||||
const BYTE* bsrc = (const BYTE*)src;
|
||||
for (; n; --n)
|
||||
*(bdest++) = *(bsrc++);
|
||||
}
|
||||
#else
|
||||
void memcpy(void*, const void*, DWORD);
|
||||
#endif
|
||||
void strcpy(char*, const char*);
|
||||
int strcmp(char const*, const char*);
|
||||
DWORD strlen(const char*);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue