diff options
| author | spv <aquaticvegetable@gmail.com> | 2022-04-24 21:30:15 -0400 |
|---|---|---|
| committer | spv <aquaticvegetable@gmail.com> | 2022-04-24 21:30:15 -0400 |
| commit | 7de438565f03123d37f737d2cd905579e90bc21e (patch) | |
| tree | 2459045c6f8035aac6340361170142a144c0274f /src/gen | |
| parent | 5f9294a0e7aac5b9e105ccee737e42fc5c4cff63 (diff) | |
yeet
Diffstat (limited to 'src/gen')
| -rwxr-xr-x[-rw-r--r--] | src/gen/common.h | 0 | ||||
| -rwxr-xr-x[-rw-r--r--] | src/gen/ip_tools.c | 0 | ||||
| -rwxr-xr-x[-rw-r--r--] | src/gen/ip_tools.h | 0 | ||||
| -rwxr-xr-x[-rw-r--r--] | src/gen/patchfinder.h | 0 | ||||
| -rw-r--r-- | src/gen/shit.c | 62 | ||||
| -rw-r--r-- | src/gen/shit.h | 10 | ||||
| -rwxr-xr-x[-rw-r--r--] | src/gen/stage0_primitives.c | 0 | ||||
| -rwxr-xr-x[-rw-r--r--] | src/gen/stage0_primitives.h | 0 | ||||
| -rwxr-xr-x[-rw-r--r--] | src/gen/stage1_primitives.c | 0 | ||||
| -rwxr-xr-x[-rw-r--r--] | src/gen/stage1_primitives.h | 0 |
10 files changed, 36 insertions, 36 deletions
diff --git a/src/gen/common.h b/src/gen/common.h index 9550400..9550400 100644..100755 --- a/src/gen/common.h +++ b/src/gen/common.h diff --git a/src/gen/ip_tools.c b/src/gen/ip_tools.c index 6e36b64..6e36b64 100644..100755 --- a/src/gen/ip_tools.c +++ b/src/gen/ip_tools.c diff --git a/src/gen/ip_tools.h b/src/gen/ip_tools.h index a011094..a011094 100644..100755 --- a/src/gen/ip_tools.h +++ b/src/gen/ip_tools.h diff --git a/src/gen/patchfinder.h b/src/gen/patchfinder.h index 21af7e3..21af7e3 100644..100755 --- a/src/gen/patchfinder.h +++ b/src/gen/patchfinder.h diff --git a/src/gen/shit.c b/src/gen/shit.c index 6e6c5c5..ef354d4 100644 --- a/src/gen/shit.c +++ b/src/gen/shit.c @@ -1,32 +1,32 @@ -#include <stdarg.h> -#include "common.h" -#include <stdio.h> -#include "shit.h" - -extern FILE* fp; - -int _asprintf(char **strp, const char *fmt, ...) { - va_list ap; - char* tmp = NULL; - - *strp = ""; - - /* - * shit - */ - - va_start(ap, fmt); - vfprintf(fp, fmt, ap); - va_end(ap); - -#if 0 - strcpy(fuck_memory_leaks, tmp); - - if (strp) - *strp = fuck_memory_leaks; - - free(tmp); -#endif - - return 0; +#include <stdarg.h>
+#include "common.h"
+#include <stdio.h>
+#include "shit.h"
+
+extern FILE* fp;
+
+int _asprintf(char **strp, const char *fmt, ...) {
+ va_list ap;
+ char* tmp = NULL;
+
+ *strp = "";
+
+ /*
+ * shit
+ */
+
+ va_start(ap, fmt);
+ vfprintf(fp, fmt, ap);
+ va_end(ap);
+
+#if 0
+ strcpy(fuck_memory_leaks, tmp);
+
+ if (strp)
+ *strp = fuck_memory_leaks;
+
+ free(tmp);
+#endif
+
+ return 0;
}
\ No newline at end of file diff --git a/src/gen/shit.h b/src/gen/shit.h index aaa4b7f..d97a995 100644 --- a/src/gen/shit.h +++ b/src/gen/shit.h @@ -1,6 +1,6 @@ -#ifndef SHIT_H -#define SHIT_H - -int _asprintf(char **strp, const char *fmt, ...); - +#ifndef SHIT_H
+#define SHIT_H
+
+int _asprintf(char **strp, const char *fmt, ...);
+
#endif
\ No newline at end of file diff --git a/src/gen/stage0_primitives.c b/src/gen/stage0_primitives.c index b54cb1a..b54cb1a 100644..100755 --- a/src/gen/stage0_primitives.c +++ b/src/gen/stage0_primitives.c diff --git a/src/gen/stage0_primitives.h b/src/gen/stage0_primitives.h index a9a71eb..a9a71eb 100644..100755 --- a/src/gen/stage0_primitives.h +++ b/src/gen/stage0_primitives.h diff --git a/src/gen/stage1_primitives.c b/src/gen/stage1_primitives.c index ffe7b53..ffe7b53 100644..100755 --- a/src/gen/stage1_primitives.c +++ b/src/gen/stage1_primitives.c diff --git a/src/gen/stage1_primitives.h b/src/gen/stage1_primitives.h index d6b9c33..d6b9c33 100644..100755 --- a/src/gen/stage1_primitives.h +++ b/src/gen/stage1_primitives.h |
