Skip to content

Instantly share code, notes, and snippets.

@xxc3nsoredxx
Created June 27, 2020 01:04
Show Gist options
  • Save xxc3nsoredxx/95188b63675628be17002c2afeb6411c to your computer and use it in GitHub Desktop.
Save xxc3nsoredxx/95188b63675628be17002c2afeb6411c to your computer and use it in GitHub Desktop.
iter.c
%:include <stdint.h>
main (argc, argv) <%
if (argv) <%
main(-32, 0);
static array [] = <%1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30%>;
%> else if (argc < -2) <%
static intptr_t a;
printf("%d\n", *(((int*)&a) + argc));
main(argc+1, 0);
%>
%>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment