flat assembler
Message board for the users of flat assembler.
![]() Goto page Previous 1, 2, 3 Next |
Author |
|
Tommy
Oh..
![]() ![]() |
|||
![]() |
|
comrade
Does it at least give you image base of loaded DLL on NT?
|
|||
![]() |
|
JohnFound
comrade wrote: Does it at least give you image base of loaded DLL on NT? Yes, the problem is only the filename. |
|||
![]() |
|
JohnFound
BTW: New work version with all fixes for WinXP is uploaded in the Fresh site. Also FASM 1.51 beta 3 and Decard's documentation on Fresh macro library are added to the project.
Now Fresh (and debugger) should work on WinXP, but of course if you get some bugs, please report them here. Regards. |
|||
![]() |
|
pelaillo
JohnFound wrote: Yes, the problem is only the filename. I could write a proc to get the filename from the image address... ![]() |
|||
![]() |
|
comrade
Such procedure exist....
Code: mov eax,IMAGEBASE_OF_DLL add eax,[eax+IMAGE_DOS_HEADER.e_lfanew] mov eax,dword [eax+IMAGE_NT_HEADERS.OptionalHeader.DataDirectory] ; export table mov eax,[eax+edx+IMAGE_EXPORT_DIRECTORY.nName] add eax,edx stdcall [MessageBox],0,eax,OFFSET szAppTitle,MB_OK+MB_ICONASTERISK+MB_APPLMODAL
|
|||||||||||
![]() |
|
JohnFound
Hi, comrade.
Your solution looks interesting. Actually I found another one that works too (well on Win98 ![]() My solution is: Code: invoke GetModuleFileName, ImageBaseOfTheDll, ptrbuffer, bufflen but actually I didn't check it under Win2000 yet. Regards. |
|||
![]() |
|
comrade
But can you do it for non-system DLL that is not in process space of Fresh.exe? For routine I paste, you can convert moves to calls to ReadProcessMemory().
|
|||
![]() |
|
JohnFound
comrade wrote: But can you do it for non-system DLL that is not in process space of Fresh.exe? Probably not. ![]() Regards |
|||
![]() |
|
comrade
edx supposed to hold imagebase too, sorry, I did not paste completely.
|
|||
![]() |
|
JohnFound
Hi all.
Next work version uploaded. (I know, it is a time for next official... ![]() Big rewrite of the debugger to make it to run faster. Several bugfixes. Implemented FASM 1.51 beta 3. If your tests are good, I think to continue with remaining debugger features - memory, stack, breakpoints etc. Regards. |
|||
![]() |
|
decard
Hi John,
The debugger itself works just perfectly, at least on my machine ![]() But you didn't include new version of the help.asm - its here: http://board.flatassembler.net/download.php?id=508 ![]() Also, findreplace still need one change. It's only one line so I think it would be simpler if I tell you what to change rather than attaching the whole file. It's line 202 of findreplace.asm: Code: invoke InvalidateRect, [hSourceEditor],NULL,0 it should be: Code: invoke InvalidateRect, NULL,NULL,0 This line caused problem when searching all files in the project and some file was already open in the source editor. It's strange - it didn't update the screen with only hSourceEditor as a first parameter ![]() regards |
|||
![]() |
|
JohnFound
Hi Decard.
Sorry for the delay. I was too tired yesterday. I will implement it probably this night. ![]() About InvalidateRect - isn't it too hard to force all windows to be redrawn? Maybe RedrawWindow with suitable parameters will be more gentle? ![]() BTW: We need some visual feedback during searching process in many files, because it may continue too long. Maybe some progress window? Ah, and another thing - when Find/Replace window is opened, the the option "Search in current file" should be set, not the last used option (IMHO). So, if you have time to make this, make it, but the freshguide is more important in this moment I think. Regards |
|||
![]() |
|
Tommy
Good work John! Now, there's no delays during the debugging process... It's fast and good!
![]() |
|||
![]() |
|
JohnFound
Tommy wrote: Good work John! Thank you, Tommy. Btw, do you have some progress with AsmEdit? I mean, following features will be highly neccessary in the near future: 1. Mark for current executed line. 2. Mark for break points. 3. It will be good if we can make AsmEdit read-only for the time of debugging. Regards |
|||
![]() |
|
Tommy
I've just implemented the read-only feature... Posting an update during the week-end with some more fixes...
![]() |
|||
![]() |
|
JohnFound
Great, thank you! Ah, and please, there is a very anoying bug somewhere in the editor, that makes caret to disapear, even when the AsmEdit have keyboard focus. I don't know is it a problem with DestroyCaret, or with HideCaret... it is not very important, just look for it when you are working on another things.
Keep good work! |
|||
![]() |
|
Tommy
Hmm...strange, I've not been bothered with that, but I'll take a look while I'm work with the other tasks...
![]() |
|||
![]() |
|
Tommy
Here's an update (with read-only and debug-line features implemented) ... New update will be uploaded soon (during the day or tomorrow)...
![]()
|
|||||||||||
![]() |
|
Goto page Previous 1, 2, 3 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.