如何在C中解析PE导出的函数

时间:2015-10-16 13:10:53

标签: c windows portable-executable

我想列出PE(PortableExecutable)中的所有导出函数。 这是一些代码:

VirtualAddress

以下行给了我一个AccessViolation,因为printf("Export Table %s\n", PE_Header + ntHeader->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_EXPORT].VirtualAddress); 成员要大:

  var myApp = angular.module('myApp', []);
  myApp.controller('projectController', function($scope, $http){


  $scope.userDetails = [];


  $scope.test = function(){

        console.log("getting user projects, please wait ......");
   // Simple GET request example (passing data) :
       $http.get("https://api.mongolab.com/api/1/databases/geolocation/collections/boom?apiKey=YOUR-API-KEY", {

   }).
   success(function(data, status, headers, config) {
       // this callback will be called asynchronously
       // when the response is available
       console.log("");
       $scope.userDetails = data;


   }).
   error(function(data, status, headers, config) {
       // called asynchronously if an error occurs
       // or server returns response with an error status.
   });
  };

});

我不知道如何继续列出所有导出的函数。

您能提供一些示例工作代码吗?

0 个答案:

没有答案