Hello, I'm trying to create a console application on ASM for windows. MASM32 compiled and linked my ASM code without a single error. But exe hangs. When executing an EXE into OllyDBG, it is clear that the main input is normal, but at the first (and all subsequent) call-s C functions (FOPEN, FSCANF, FPRINTF, MALLOC), the call goes beyond the program memory and the OllyDBG hangs on the first call. I do not understand how to cope with this error - because the link was passed without a single error message. All external links have been resolved OK. Please see my ASM, OBJ, EXE in the cloud at https://drive.google.com/drive/folders/1zDBlxgVP4uJaun4cZ6JMS8UAESo4BKXi?usp=sharing Thanks in advance!
- The fact that the application is compiled does not guarantee that it will run correctly . For example: if the code has an eternal loop, the application will hang. - VladD
- Dear Vlad, look at the source CPP code (by which the SI visual generated the ACM code automatically) using the link I provided in the cloud - I did not write the asm code myself - this is just a translation of SI into AFM, made by SI visual. C project is OK, but asm - not going. Why not go and need to understand. - Aaa Bbb
- @AaaBbb, add all the necessary information (including the source code) to the question itself. See How to create a minimal, self-contained and reproducible example . - insolor
|