My Answer to “Microsoft Advanced Windows Debugging and Troubleshooting” Puzzler 3 A minha resposta a "Microsoft Windows avançada Depuração e Solução de Problemas" puzzler 3
Note: this content originally from Nota: este conteúdo originalmente de http://mygreenpaste.blogspot.com http://mygreenpaste.blogspot.com . . If you are reading it from some other site, please take the time to visit Se você está lendo-o de qualquer outro site, por favor, aproveite para visitar My Green Paste, Inc A minha pasta verde, Inc . . Thank you. Obrigado.
Previously Anteriormente , I had written about the , Eu tinha escrito sobre o puzzlers on the sobre a NTDebugging / Microsoft Advanced Windows Debugging and Troubleshooting blog NTDebugging / Avançada Microsoft Windows Depuração e Troubleshooting blog - specifically, the most -- Especificamente, a maior parte recent puzzler puzzler recentes which involved reverse engineering some assembler. que envolveu cerca de engenharia reversa montador. The answer was posted today - there were a lot of responses, and a lot of correct responses. A resposta foi postado hoje -, havia um monte de respostas, e um grande número de respostas corretas.
I had Tive posted the hashes postado os hashes for my answer (which was correct), that I am now able to disclose... para a minha resposta (que foi correto), que eu sou agora capaz de revelar ...
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); char * local4 = (param1 + local3);
*(param1+local3) = *(param1+local3+1); * (param1 + local3) = * (param1 + local3 1);
*(param1+local3+1) = local4; * (param1 + local3 1) = local4;
} )
} )
} )
} )
Written by «/\/\Ø|ö±ò\/»®©. Escrito por  «/ \ / \ à ~ | à ¶  ± à ² \ / Â"  ®  ©. Read more great feeds at is source Leia mais alimenta a grande fonte é WEBSITE SITE
no comments sem comentários . .
Read more articles on Leia mais artigos sobre reverse engineering engenharia reversa and e puzzler puzzler and e assembly Assembléia and e puzzle enigma and e sigcheck sigcheck and e otherSoftware otherSoftware and e debugging debugging and e assembler montador and e Troubleshooting Problemas . .
- [+] Digg [+] Digg : Feature this article : Feature este artigo
- [+] Del.icio.us [+] Del.icio.us : Bookmark this article : Bookmark este artigo
- [+] Furl [+] Furl : Bookmark this article : Bookmark este artigo















