Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- make: Warning: File 'source/main.c' has modification time 3433 s in the future
- gcc -c -o build/main.o source/main.c -I/libPS4/include -I. -Iinclude -O2 -std=c11 -fno-builtin -nostartfiles -nostdlib -Wall -masm=intel -march=btver2 -mtune=btver2 -m64 -mabi=sysv -mcmodel=large -DTEXT_ADDRESS=0x926200000 -DDATA_ADDRESS=0x926300000
- source/main.c:12:23: warning: ‘struct knote’ declared inside parameter list
- void jailbreak(struct knote *kn) {
- ^
- source/main.c:12:23: warning: its scope is only this definition or declaration, which is probably not what you want
- source/main.c: In function ‘jailbreak’:
- source/main.c:17:2: error: ‘asm’ undeclared (first use in this function)
- asm volatile("mov %0, %%gs:0" : "=r"(td));
- ^
- source/main.c:17:2: note: each undeclared identifier is reported only once for each function it appears in
- source/main.c:17:6: error: expected ‘;’ before ‘volatile’
- asm volatile("mov %0, %%gs:0" : "=r"(td));
- ^
- source/main.c:20:17: warning: implicit declaration of function ‘readCr0’ [-Wimplicit-function-declaration]
- uint64_t cr0 = readCr0();
- ^
- source/main.c:21:2: warning: implicit declaration of function ‘writeCr0’ [-Wimplicit-function-declaration]
- writeCr0(cr0 & ~X86_CR0_WP);
- ^
- source/main.c:21:18: error: ‘X86_CR0_WP’ undeclared (first use in this function)
- writeCr0(cr0 & ~X86_CR0_WP);
- ^
- source/main.c:40:11: error: dereferencing pointer to incomplete type ‘struct thread’
- cred = td->td_proc->p_ucred;
- ^
- source/main.c:43:6: error: dereferencing pointer to incomplete type ‘struct ucred’
- cred->cr_uid = 0;
- ^
- source/main.c: In function ‘exploitThread’:
- source/main.c:109:15: error: storage size of ‘kn’ isn’t known
- struct knote kn;
- ^
- source/main.c:110:19: error: storage size of ‘fo’ isn’t known
- struct filterops fo;
- ^
- source/main.c:110:19: warning: unused variable ‘fo’ [-Wunused-variable]
- source/main.c:109:15: warning: unused variable ‘kn’ [-Wunused-variable]
- struct knote kn;
- ^
- Makefile:30: recipe for target 'build/main.o' failed
- make: *** [build/main.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement