]> git.cworth.org Git - apitrace/blobdiff - common/trace_local_writer.cpp
Bring some of the virtual-memory-regions
[apitrace] / common / trace_local_writer.cpp
index e625f2ee27640860bdb96d85e998556398ecede1..e560e498cb7a80dd92378db097fa6b7f8a7d6748 100644 (file)
 namespace Trace {
 
 
+static const char *memcpy_args[3] = {"dest", "src", "n"};
+const FunctionSig memcpy_sig = {0, "memcpy", 3, memcpy_args};
+
+static const char *malloc_args[1] = {"size"};
+const FunctionSig malloc_sig = {1, "malloc", 1, malloc_args};
+
+static const char *free_args[1] = {"ptr"};
+const FunctionSig free_sig = {2, "free", 1, free_args};
+
+static const char *realloc_args[2] = {"ptr", "size"};
+const FunctionSig realloc_sig = {3, "realloc", 2, realloc_args};
+
+
 static void exceptionCallback(void)
 {
     localWriter.flush();