flat assembler
Message board for the users of flat assembler.

Index > Windows > dll parametr problem

Author
Thread Post new topic Reply to topic
HarryTuttle



Joined: 26 Sep 2003
Posts: 211
Location: Poland
HarryTuttle
how can I guess how many parametrs the function has?

what tool exactly will be helpful?



dll1
dll2

_________________
Microsoft: brings power of yesterday to computers of today.
Post 04 Jan 2005, 14:09
View user's profile Send private message Reply with quote
vbVeryBeginner



Joined: 15 Aug 2004
Posts: 884
Location: \\world\asia\malaysia
vbVeryBeginner
depencency walker
Post 04 Jan 2005, 16:12
View user's profile Send private message Visit poster's website Reply with quote
comrade



Joined: 16 Jun 2003
Posts: 1137
Location: Russian Federation
comrade
look for the operand to "retn" instruction at the end of each DLL function
divide by 4, and u get number of parameters
Post 04 Jan 2005, 16:49
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 7734
Location: Kraków, Poland
Tomasz Grysztar
That won't help if functions use C calling convention. I'd suggest looking at disassembly of some program that uses the DLL.
Post 04 Jan 2005, 17:23
View user's profile Send private message Visit poster's website Reply with quote
HarryTuttle



Joined: 26 Sep 2003
Posts: 211
Location: Poland
HarryTuttle
thx ,
how many parametrs it's not a problem but what kind of parametr it needs disassembling the program which use the specified dll like Privalov said.

which debuger dissasembler is the best for now?

_________________
Microsoft: brings power of yesterday to computers of today.
Post 06 Jan 2005, 23:28
View user's profile Send private message Reply with quote
vbVeryBeginner



Joined: 15 Aug 2004
Posts: 884
Location: \\world\asia\malaysia
vbVeryBeginner
i guess, (note: i guess)

all the parameters in windows use "dd" double words
but to know exactly what function of those parameters, i don't think we could know it without referring to documentation.

if we could able to know those parameters function, then i guess we then won't have secret function inside windows API :p sure some one could break it :p but, it seems, the "some one" doesn't appear!

or u know the "some one", plez give the url :0
Post 07 Jan 2005, 04:47
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.