Re: detecting a JVM embedded in an app?
- From: Stephen Kellett <snail@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 20 May 2005 23:42:22 +0100
In message <Pine.GSO.4.58.0505200851170.2089@xxxxxx>, .
<darrell@xxxxxxxxxxxxxxxxxx> writes
>Someone recommended looking for jvm.dll. What if they renamed the DLL and
>it exists in their installation?
Then their application will not work. The binary that uses JVM.DLL will
have the name JVM.DLL embedded in it. This will result in a failure to
load the DLL at runtime.
>You didn't mention what OS. If it is Windows I would use something like
>dependency.exe to examine the binaries.
Which will show JVM.DLL. Dependency.exe shows the IAT and EAT. I
recommended examining the IAT, which is what is of interest in this
case.
Code for reading the IAT can be found at
http://www.objmedia.demon.co.uk/software.html
Look for PEExplorer and PEDLL. The code is not encumbered by GPL - it is
completely open source. Use it as you wish.
Stephen
--
Stephen Kellett
Object Media Limited http://www.objmedia.demon.co.uk
Computer Consultancy, Software Development
Windows C++, Java, Assembler, Performance Analysis, Troubleshooting
.
- Follow-Ups:
- Re: detecting a JVM embedded in an app?
- From: George Neuner
- Re: detecting a JVM embedded in an app?
- References:
- detecting a JVM embedded in an app?
- From: Brandon J. Van Every
- Re: detecting a JVM embedded in an app?
- From: "."
- detecting a JVM embedded in an app?
- Prev by Date: tool to check that System.out.println() is only called from Log.java
- Next by Date: Porting Sun Java to Windows
- Previous by thread: Re: detecting a JVM embedded in an app?
- Next by thread: Re: detecting a JVM embedded in an app?
- Index(es):
Relevant Pages
|
|