Advertisement
Guest User

Untitled

a guest
Nov 20th, 2017
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.20 KB | None | 0 0
  1. make: Warning: File 'source/main.c' has modification time 3433 s in the future
  2. 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
  3. source/main.c:12:23: warning: ‘struct knote’ declared inside parameter list
  4. void jailbreak(struct knote *kn) {
  5. ^
  6. source/main.c:12:23: warning: its scope is only this definition or declaration, which is probably not what you want
  7. source/main.c: In function ‘jailbreak’:
  8. source/main.c:17:2: error: ‘asm’ undeclared (first use in this function)
  9. asm volatile("mov %0, %%gs:0" : "=r"(td));
  10. ^
  11. source/main.c:17:2: note: each undeclared identifier is reported only once for each function it appears in
  12. source/main.c:17:6: error: expected ‘;’ before ‘volatile’
  13. asm volatile("mov %0, %%gs:0" : "=r"(td));
  14. ^
  15. source/main.c:20:17: warning: implicit declaration of function ‘readCr0’ [-Wimplicit-function-declaration]
  16. uint64_t cr0 = readCr0();
  17. ^
  18. source/main.c:21:2: warning: implicit declaration of function ‘writeCr0’ [-Wimplicit-function-declaration]
  19. writeCr0(cr0 & ~X86_CR0_WP);
  20. ^
  21. source/main.c:21:18: error: ‘X86_CR0_WP’ undeclared (first use in this function)
  22. writeCr0(cr0 & ~X86_CR0_WP);
  23. ^
  24. source/main.c:40:11: error: dereferencing pointer to incomplete type ‘struct thread’
  25. cred = td->td_proc->p_ucred;
  26. ^
  27. source/main.c:43:6: error: dereferencing pointer to incomplete type ‘struct ucred’
  28. cred->cr_uid = 0;
  29. ^
  30. source/main.c: In function ‘exploitThread’:
  31. source/main.c:109:15: error: storage size of ‘kn’ isn’t known
  32. struct knote kn;
  33. ^
  34. source/main.c:110:19: error: storage size of ‘fo’ isn’t known
  35. struct filterops fo;
  36. ^
  37. source/main.c:110:19: warning: unused variable ‘fo’ [-Wunused-variable]
  38. source/main.c:109:15: warning: unused variable ‘kn’ [-Wunused-variable]
  39. struct knote kn;
  40. ^
  41. Makefile:30: recipe for target 'build/main.o' failed
  42. make: *** [build/main.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement