flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Reverend
I wrote my own lde. It is a proc, that returns length of current opcode in address given as an argument. I wrote it for enhancing ApiResolve (my other program) possiblities. Code is os independent (as it doesn't use any API). Hope someone will find it useful
![]() EDIT: v1.3.2 has many bugs fixed and is heavily optimized for speed
Last edited by Reverend on 23 Oct 2006, 12:25; edited 1 time in total |
|||||||||||
![]() |
|
comrade
excellent
|
|||
![]() |
|
Reverend
Good guess
![]() The program searches opcode by opcode for ret. Searching byte by byte didn't work, but when I know how many bytes does the current opcode have I can go through them. But this thread is not about ApiResolve ![]() |
|||
![]() |
|
Raedwulf
My DLL2INC does the same but it disassembles using UDis86...kinda slow...well extremely slow
![]() Here's something i found though...in kernel32.dll some of the api calls have more than one ret and they are not always the same. I designed my DLL2INC to pick the ret with the highest number for a function because it seems to be always the correct number. Note: I'm not planning to release this version of DLL2INC because it is in VB6....I'm still planning to ma ke a FASM version...when I have time ![]() |
|||
![]() |
|
Reverend
New version in the first post. Enjoy
![]() |
|||
![]() |
|
RedGhost
Awesome, I kept looking for ADE32 by z0mbie but I couldn't find it /any where/. Thank you.
edit: Very clean code, well done. _________________ redghost.ca |
|||
![]() |
|
Vasilev Vjacheslav
here ade32 from z0mbie
_________________ [not enough memory] |
|||||||||||
![]() |
|
RedGhost
Vasilev Vjacheslav wrote: here ade32 from z0mbie I needed it for a C project as well, but I have since ported Reverend's code to POASM (basically MASM) so I can include it in my C project. But thank you! _________________ redghost.ca |
|||
![]() |
|
vid
Quote: I needed it for a C project as well, but I have since ported Reverend's code to POASM (basically MASM) so I can include it in my C project. why did you rewrite it to MASM to use it with C ??? Reverend: didn't know you are "in the scene" ![]() also note that "htb.team.prv.pl" doesn't seem to be working, you could fix NFO |
|||
![]() |
|
RedGhost
vid wrote:
Ah no, not MASM, there is an LCC based C compiler called "Pelles C", Pelle wrote his own assembler called POASM, it has a very similar to MASM syntax (I don't really like the syntax) but you can add ".asm" files to your project and it compiles them as an object and links with the rest of the C objects so only 1 compiler is required. _________________ redghost.ca Last edited by RedGhost on 29 Nov 2006, 10:19; edited 1 time in total |
|||
![]() |
|
vid
RedGhost: and why didn't you just add those few line and create "format MS COFF" instead?
|
|||
![]() |
|
RedGhost
vid wrote: RedGhost: and why didn't you just add those few line and create "format MS COFF" instead? Then I would have to compile with two compilers, manually edit the linker settings and copy and paste. Too much work, adding a few offset prefixes and modifying how proc is declared was easy enough. _________________ redghost.ca |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.