Welcome to Examine.
Examine is a memory leak detector for Windows and PE file viewer.
Installation
Windows - Visual Studio 2013
Examine comes with a Visual Studio 2013 solution. It has been
created with Visual Studio 2013 community. Download the source
code (GIT repository or TAR ball links at the top of that
page). Open the file examine.sln which is in the visual_studio
sub-directory with Visual Studio 2013. The solution has been
configured for win32 and x64 flavor, in both Debug or Release
mode.
Windows - MSYS with GCC
Installation of MSYS2
-
Download MSYS2 here,
choosing the target you want (either i686 or x86_64). The x86_64
target will be installed in that tutorial, but the i686 one is
exactly the same (notes will be added for its installation).
-
Follow instructions 1. to 7. (Instruction 8. is useless)
with the 2 following modifications:
Installation of GCC and MinGW-64 with Win-Builds
-
Download Win-Builds here.
- In the GUI window, select:
- Cygwin or MSYS
- x86_64 (if you want i686, let the selection as is)
- Use the mirror that is proposed:
http://win-builds.org/1.5.0
- The installation directory is the one chosen for
MSYS2 in the previous paragraph, instruction 3. of the
MSYS2 instructions (for this
tutorial, D:\MSYS2). By default, MinGW-64 will be
installed in D:\MSYS2\opt\windows_64
(or D:\MSYS2\opt\windows_32 for i686) and the
binaries in D:\MSYS2\opt\windows_64\bin.
- Click on OK then on Process in the new UI window.
- Post installation
- In MSYS2 terminal, open /etc/profile with your
favorite editor, add to PATH /opt/windows_64/bin, and
export PKG_CONFIG_PATH
to /opt/windows_64/lib64/pkgconfig
(or /opt/windows_32/lib/pkgconfig for i686).
Compilation of Examine
Download the source code (GIT repository or TAR ball links at
the top of that page). You have to configure, then compile the
program.
The commands must be run in a MSYS2 terminal.
- For x86_64:
./configure --prefix=/path/of/installation --host=x86_64-w64-mingw32 --disable-static --with-libbfd-prefix=/opt/windows_64
- For i686:
./configure --prefix=/path/of/installation --host=i686-w64-mingw32 --disable-static --with-libbfd-prefix=/opt/windows_32
Replace ./configure by ./autogen.sh the first time you configure using
the GIT repository.
- Compile and install:
make && make install
Linux
A Linux build is possible but only the tools 'depends' and
'view' are available. Download the source code (GIT repository
or TAR ball links at the top of that page). You have to
configure, then compile the program.
The commands must be run in a terminal.
./configure --prefix=/path/of/installation
make && make install
Replace ./configure by ./autogen.sh the first time you configure using
the GIT repository. You may need to be root if you install
Examine in a PATH where you don't have the requested
permissions.
Tools