Add The LISP Challenge
This change introduces a 2.5kb program that's comes pretty close so far to bootstrapping John McCarthy's metacircular evaluator on bare metal.
This commit is contained in:
1 parent
fd22e55b42
commit
b6793d42d5
34 files changed
+1056
-358
No files matched your search
+1
-1
@@ -238,7 +238,7 @@ static void __asan_deallocate(char *p, int kind) {
|
||||
if ((*s < 0 && *s != kAsanHeapOverrun) || *s >= 8) {
|
||||
__asan_report_deallocate_fault(p, *s);
|
||||
}
|
||||
for (; *s >= 0; ++s) *s = kind;
|
||||
memset(s, kind, dlmalloc_usable_size(p) >> 3);
|
||||
dlfree(__asan_morgue_add(p));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user