Skip to content

Instantly share code, notes, and snippets.

@splitline
Created October 19, 2016 06:11
Show Gist options
  • Save splitline/b3bfb2de272c808b4adf8d3424e56ca3 to your computer and use it in GitHub Desktop.
Save splitline/b3bfb2de272c808b4adf8d3424e56ca3 to your computer and use it in GitHub Desktop.
while(~scanf("%s",start)){
if(!strcmp(start,"EndMemDump")){
scanf("%d",&n);
for(int i=0;i<n;i++){
scanf("%s",addr);
gets(type);
}
}
else{
for(int i=x;i<x+50;i++){
scanf("%x",&data[i]);
}
x+=50;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment