Skip to content

Commit

Permalink
Updated to work with Visual Studio and IDA 7.0.
Browse files Browse the repository at this point in the history
This code is very windows-centric. Would be nice to
switch it to platform agnostic memory mapped file implementation.
  • Loading branch information
mefistotelis committed Oct 8, 2018
1 parent 8dc6479 commit 50bf835
Show file tree
Hide file tree
Showing 11 changed files with 1,522 additions and 488 deletions.
10 changes: 5 additions & 5 deletions .cproject
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@
</externalSetting>
</externalSettings>
<extensions>
<extension id="org.eclipse.cdt.core.PE" point="org.eclipse.cdt.core.BinaryParser"/>
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.PE" point="org.eclipse.cdt.core.BinaryParser"/>
</extensions>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<configuration artifactExtension="dll" artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.sharedLib" buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug,org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.sharedLib" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.mingw.so.debug.1728043530" name="Debug" parent="cdt.managedbuild.config.gnu.mingw.so.debug">
<configuration artifactExtension="dll" artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.sharedLib" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.sharedLib,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.mingw.so.debug.1728043530" name="Debug" parent="cdt.managedbuild.config.gnu.mingw.so.debug">
<folderInfo id="cdt.managedbuild.config.gnu.mingw.so.debug.1728043530." name="/" resourcePath="">
<toolChain id="cdt.managedbuild.toolchain.gnu.mingw.so.debug.1321611481" name="MinGW GCC" superClass="cdt.managedbuild.toolchain.gnu.mingw.so.debug">
<targetPlatform id="cdt.managedbuild.target.gnu.platform.mingw.so.debug.863789316" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.mingw.so.debug"/>
Expand Down Expand Up @@ -67,12 +67,12 @@
</externalSetting>
</externalSettings>
<extensions>
<extension id="org.eclipse.cdt.core.PE" point="org.eclipse.cdt.core.BinaryParser"/>
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.PE" point="org.eclipse.cdt.core.BinaryParser"/>
</extensions>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
Expand Down Expand Up @@ -539,15 +539,15 @@
<target name="all" path="" targetID="org.eclipse.cdt.build.MakeTargetBuilder">
<buildCommand>make</buildCommand>
<buildArguments/>
<buildTarget>all IDA=C:/usr/IDA/idasdk62/</buildTarget>
<buildTarget>all IDA=C:/opt/IDA/idasdk70/</buildTarget>
<stopOnError>true</stopOnError>
<useDefaultCommand>true</useDefaultCommand>
<runAllBuilders>true</runAllBuilders>
</target>
<target name="clean" path="" targetID="org.eclipse.cdt.build.MakeTargetBuilder">
<buildCommand>make</buildCommand>
<buildArguments/>
<buildTarget>clean IDA=C:/usr/IDA/idasdk62/</buildTarget>
<buildTarget>clean IDA=C:/opt/IDA/idasdk70/</buildTarget>
<stopOnError>true</stopOnError>
<useDefaultCommand>true</useDefaultCommand>
<runAllBuilders>true</runAllBuilders>
Expand Down
5 changes: 2 additions & 3 deletions docs/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@ IDA Pro plugin
Loads a VC/Borland/Dede/GCC/IDA map file into IDA Database.
The ".map" file may be generated during compilation, and contain some of debug info (function names, global variables).

This plugin was compiled with IDA 6.2 SDK, compiler - GCC 4.8.0; it is 32-bit.
IDA SDK required small patch to cooperate with that gcc - it is within src.
This plugin was compiled with IDA 7.0 SDK, compiler - Visual Studio 2010; it is 32-bit.

See src/LoadMap.cpp for credits, license and changelog.

Installation:
* Copy LoadMAP.plw to IDA plugins folder
* Copy loadmap.dll to IDA plugins folder
* Open any PE/LE file project
* Click Load MAP with Shift to see options

Expand Down
38 changes: 38 additions & 0 deletions loadmap.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "loadmap", "loadmap.vcxproj", "{2B1B911C-4238-4F00-97B3-5B90FAD04414}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Debug|x64 = Debug|x64
Debug64|Win32 = Debug64|Win32
Debug64|x64 = Debug64|x64
Release|Win32 = Release|Win32
Release|x64 = Release|x64
Release64|Win32 = Release64|Win32
Release64|x64 = Release64|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{2B1B911C-4238-4F00-97B3-5B90FAD04414}.Debug|Win32.ActiveCfg = Debug|Win32
{2B1B911C-4238-4F00-97B3-5B90FAD04414}.Debug|Win32.Build.0 = Debug|Win32
{2B1B911C-4238-4F00-97B3-5B90FAD04414}.Debug|x64.ActiveCfg = Debug|x64
{2B1B911C-4238-4F00-97B3-5B90FAD04414}.Debug|x64.Build.0 = Debug|x64
{2B1B911C-4238-4F00-97B3-5B90FAD04414}.Debug64|Win32.ActiveCfg = Debug64|Win32
{2B1B911C-4238-4F00-97B3-5B90FAD04414}.Debug64|Win32.Build.0 = Debug64|Win32
{2B1B911C-4238-4F00-97B3-5B90FAD04414}.Debug64|x64.ActiveCfg = Debug64|x64
{2B1B911C-4238-4F00-97B3-5B90FAD04414}.Debug64|x64.Build.0 = Debug64|x64
{2B1B911C-4238-4F00-97B3-5B90FAD04414}.Release|Win32.ActiveCfg = Release|Win32
{2B1B911C-4238-4F00-97B3-5B90FAD04414}.Release|Win32.Build.0 = Release|Win32
{2B1B911C-4238-4F00-97B3-5B90FAD04414}.Release|x64.ActiveCfg = Release|x64
{2B1B911C-4238-4F00-97B3-5B90FAD04414}.Release|x64.Build.0 = Release|x64
{2B1B911C-4238-4F00-97B3-5B90FAD04414}.Release64|Win32.ActiveCfg = Release64|Win32
{2B1B911C-4238-4F00-97B3-5B90FAD04414}.Release64|Win32.Build.0 = Release64|Win32
{2B1B911C-4238-4F00-97B3-5B90FAD04414}.Release64|x64.ActiveCfg = Release64|x64
{2B1B911C-4238-4F00-97B3-5B90FAD04414}.Release64|x64.Build.0 = Release64|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
Loading

0 comments on commit 50bf835

Please sign in to comment.