@@ -0,0 +1,19 @@
#include <stdint.h>
#include <string.h>
int main();
asm (
".section .init \n"
".global _start \n"
"_start: \n"
" jmp main \n"
);
void* memset(void* ptr, int val, size_t len) {
uint8_t* p = ptr;
while(len--) {
*p++ = val;
}
return ptr;
The note is not visible to the blocked user.