Log in

View Full Version : Need Help - FlexLM


XeNoSiS
December 9th, 2001, 00:20
I am looking for a little guidance on a FlexLM application. I notice that it uses the lmgr325c.dll. So I loaded that into the Symbol Loader and bpx'd lc_init and lc_checkout. I am having a problem finding the flexlm information. Here is the code surrounding the lc_checkout:

PUSH 00004000
MOV EAX,[0026E4C4]
PUSH 0026E0D8
PUSH 00
PUSH 01
MOV ECX,[EAX]
PUSH 00271860
PUSH 00271980
PUSH ECX
CALL LMGR325C!lc_checkout
MOV [00271A80],EAX
TEST EAX, EAX
JZ 00261A72

Thanks,
XeNoSiS -- Newbie

xlat
December 9th, 2001, 19:40
I dont know any backgrounds but...

although the call would apear the same
by order of pushes and way of return if
PUSH 00004000
PUSH 0026E0D8
PUSH 00
PUSH 01
PUSH 00271860
PUSH 00271980
MOV EAX,[0026E4C4] ;Load offset at mem loc
MOV ECX,[EAX] ;load data at offset
PUSH ECX ;push data
CALL LMGR325C!lc_checkout
MOV [00271A80],EAX ;store answer
TEST EAX, EAX ;AND with no store
JZ 00261A72 ;Only if zero
elsestuf:
to keep this short
by writing the Order like in your example you allign od and even sized opcode in double word boundaries, keeping the cache look aside buffer awake and things like that
Read somthing in "making streamed MMX routines" at Intels place.
Or somewhere else ;-)

XeNoSiS
December 9th, 2001, 22:18
With A LOT OF HELP, I finally figured out why I wasn't seeing the information that I was looking for. It turns out that an external .DLL was calling the lmgr325c.dll for the flexlm. I loaded it up into IDA and worked with a very wise flexlm individual, who promptly "showed me the way".


Thanks,
XeNoSiS

peterg70
December 9th, 2001, 22:20
Ummmmm

I think he was after a reversing question rather than a compiling issue.

What you offered is a compiling issue doesn't help him at all.

Then again neither does this post.