My Answer to “Microsoft Advanced Windows Debugging and Troubleshooting” Puzzler 3 La mia risposta a "avanzata di Microsoft Windows e di debug Risoluzione dei problemi" puzzler 3
Note: this content originally from Nota: questo il contenuto originario di http://mygreenpaste.blogspot.com http://mygreenpaste.blogspot.com . . If you are reading it from some other site, please take the time to visit Se si sta leggendo è da qualche altro sito, si prega di prendere il tempo di visitare My Green Paste, Inc Incolla il mio verde, inc . . Thank you. Grazie.
Previously Precedentemente , I had written about the , Avevo scritto circa il puzzlers on the sulla NTDebugging / Microsoft Advanced Windows Debugging and Troubleshooting blog NTDebugging / avanzata di Microsoft Windows e risoluzione dei problemi di Debugging blog - specifically, the most -- In particolare, la maggior parte recent puzzler ultimi puzzler which involved reverse engineering some assembler. che ha coinvolto il reverse engineering alcuni Assembler. The answer was posted today - there were a lot of responses, and a lot of correct responses. La risposta è stata pubblicata oggi - ci sono stati un sacco di risposte, e un sacco di risposte corrette.
I had Ho avuto posted the hashes postato il hash for my answer (which was correct), that I am now able to disclose... per la mia risposta (che è stato corretto), che sono ora in grado di rivelare ...
void myfun( char* param1 ) void myfun (char * param1)
{ (
size_t local1 = strlen( param1 ); size_t local1 = strlen (param1);
for( int local2 = local1; local2 > 0; local2-- ) for (int local2 = local1; local2> 0; local2 -)
{ (
for( int local3 = 0; local3 < local2 - 1; local3++ ) for (int local3 = 0; local3 <local2 - 1; local3 + +)
{ (
if( *(param1+local3) > *(param1+local3+1) ) if (* (param1 + local3)> * (param1 + local3 1))
{ (
char local4 = *(param1+local3); local4 = char * (param1 + local3);
*(param1+local3) = *(param1+local3+1); * (param1 + local3) = * (param1 + local3 1);
*(param1+local3+1) = local4; * (param1 + local3 1) = local4;
} )
} )
} )
} )
Written by «/\/\Ø|ö±ò\/»®©. Scritto da  «/ \ / \ à ~ |  ¶ à ± à ² \ / »   ® ©. Read more great feeds at is source Per saperne di più grande al feed è fonte WEBSITE SITO WEB
no comments nessun commento . .
Read more articles on Per saperne di più articoli su reverse engineering reverse engineering and e puzzler puzzler and e assembly Assemblea and e puzzle puzzle and e sigcheck sigcheck and e otherSoftware otherSoftware and e debugging debug and e assembler Assembler and e Troubleshooting Risoluzione dei problemi . .
- [+] Digg [+] Digg : Feature this article : Feature questo articolo
- [+] Del.icio.us [+] Del.icio.us : Bookmark this article : Bookmark questo articolo
- [+] Furl [+] Furl : Bookmark this article : Bookmark questo articolo















