libchm icon

small ELF64

libchm | PRO | 02/12/24 06:37:53 PM UTC | 0 ⭐ | 387 👁️ | Never ⏰ | []
C |

880 B

|

Source Code

|

0 👍

/

0 👎

void *syscall5(void *num, void *a1, void *a2, void *a3, void *a4, void *a5);
 
typedef unsigned long int uintptr;
typedef long int intptr;
 
static intptr write(int fd, void const *string, uintptr len) {
  return (intptr)syscall5((void *)1, // SYS_write
                          (void *)(intptr)fd, (void *)string, (void *)len, 0,
                          0);
}
 
int main(int argc, char **argv) {
  write(1, "nigger\n", 7);
  return 0;
}
void *syscall5(void *num, void *a1, void *a2, void *a3, void *a4, void *a5);
 
typedef unsigned long int uintptr;
typedef long int intptr;
 
static intptr write(int fd, void const *string, uintptr len) {
  return (intptr)syscall5((void *)1, // SYS_write
                          (void *)(intptr)fd, (void *)string, (void *)len, 0,
                          0);
}
 
int main(int argc, char **argv) {
  write(1, "nigger\n", 7);
  return 0;
}
 

Comments