fork download
  1. #include <stdio.h>
  2. #include <stdint.h>
  3. char *__attribute__((section(".text"))) rot = "fhUUfhUUfhUUfhUUTZWXPPH+\"H+\"H+\"XH+\"H+\"H+\"H+\"H+\"H+\"H+\"H+\"H+\"H+\"H+\"H+\"H+\"H+\"H+\"H+\"H+\"H+\"H+\"H+\"H+\"Z\xc3";
  4. int main() {
  5. uint64_t __attribute__((sysv_abi)) (* rotator)(uint64_t) = (void *)rot;
  6. uint64_t x = 0x123456789abcdef;
  7. printf("rot(%lx) = %lx\n", x, rotator(x));
  8. return 0;
  9. }
  10.  
Success #stdin #stdout 0s 9424KB
stdin
Standard input is empty
stdout
rot(123456789abcdef) = ef0123456789abcd