Skip to main content
gamedev.net
🔒 Locked

Object Files

Started by popcorn 2 replies 200+ views
Original Post
popcorn
popcorn
Ok this maybe quite a stupid question but is it possible to turn object files back into c code. If so how can this be done? How about them apples?
How about them apples?
DrPizza
DrPizza
Not in any usable manner.
char a[99999],*p=a;int main(int c,char**V){char*v=c>0?1[V]:(char*)V;if(c>=0)for(;*v&&93!=*v;){62==*v&&++p||60==*v&&--p||43==*v&&++*p||45==*v&&--*p||44==*v&&(*p=getchar())||46==*v&&putchar(*p)||91==*v&&(*p&&main(0,(char**)(--v+2))||(v=(char*)main(-1,(char**)++v)-1));++v;}else for(c=1;c;c+=(91==*v)-(93==*v),++v);return(int)v;} /*** drpizza@battleaxe.net ***/
popcorn
popcorn
Well now I know.
Thanks

How about them apples?
How about them apples?
Shannon Barber
Shannon Barber
Do any disassemblers do that?
It could be done, but rewriting the source might be easier & more useful.
The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.