编写了一个IDA64插件,结果再打开IDA后报错fatal error before kernel init,然后闪退。

检查了一遍代码没发现有问题,后来发现是环境有一处配置错误,

IDA64.exe插件环境配置:

1、调试器设置,用来调试插件。

2、头文件包含

3、预处理器

4、链接依赖库

5、

详细配置可以查看idasdk目录下的install_visual.txt文件

Please read "readme.txt" before reading this file!

How to set up Visual C++ 2017 for IDA Plugins
--------------------------------------------- This guide will help you set up a Visual C++ project that targets both ida32 and ida64 plugins.
Remember that, even though ida32 is used to work on 32-bit files, it is also an x64 application.
Therefore, both plugins (ida32 and ida64) must be built for the x64 platform. 1. File | New | Project From Existing Code... 2. What type of project would you like to create: Visual C++
<next> 3. Project file location: <folder where you have your files>
Project name: <your plugin's name>
<finish> Once the project is initialized, right-click on the project name and pick Properties. 4. Configuration Manager...
Active solution platform: select "x64"
<Close> 5. General | Project Defaults | Configuration Type
Dynamic Library (.dll)
<apply> 6. C/C++ | General | Additional Include Directories
Enter the SDK's include folder in "Include search paths (/I)": eg. C:\idasdk\include;
<apply> 7. C/C++ | Code Generation | Runtime library (visible only after you add one .cpp file to the project)
Multi-threaded DLL (/MD)
<apply> 8. Linker | Command Line | Additional options
- for processor modules: /EXPORT:LPH
- for plugins: /EXPORT:PLUGIN
- for loaders: /EXPORT:LDSC
<apply> The steps above constituted the common configuration for both ida32 and ida64 configurations. We will now create the separate configurations. 9. Still under "Configuration Manager..." - under the "Configuration" column, click on "Debug"
- click "<Edit...>"
- click "Rename"
- add an "ida32" prefix to the configuration name, such as "ida32 Debug"
- <Enter>
- <Yes>
- <Close> - under "Active solution configuration", click on "Debug"
- click "<Edit...>"
- click "Rename"
- add an "ida32" prefix to the configuration name, such as "ida32 Debug"
- <Enter>
- <Yes>
- <Close> - under "Active solution configuration", click on the new configuration name "ida32 Debug"
- click "<New...>"
- use a similar name, but with the "ida64" prefix, such as "ida64 Debug"
- Copy settings from: "ida32 Debug"
- <Ok>
- <Close> In the "Property Page", under "Configuration", select "ida32 Debug". 10. Debugging | Command
- for ida32: C:\Program Files\IDA 7.2\ida.exe
- for ida64: C:\Program Files\IDA 7.2\ida64.exe
<apply> 11. C/C++ | Preprocessor | Preprocessor Definitions
- for ida32: __NT__;
- for ida64: __NT__;__EA64__;
<apply> 12. Linker | General | Output File:
- for ida32: $(OutDir)\$(ProjectName).dll
- for ida64: $(OutDir)\$(ProjectName)64.dll
<apply> 13. Linker | Input | Additional Dependencies
- for ida32: C:\idasdk\lib\x64_win_vc_32\ida.lib
- for ida64: C:\idasdk\lib\x64_win_vc_64\ida.lib
<apply> In the "Property Page", under "Configuration", select "ida64 Debug" and repeat the last three steps. You should now be capable to easily switch between the "ida32 Debug" and "ida64 Debug" configurations and build your project.

IDA报错fatal error before kernel init的更多相关文章

  1. IDA64 Fatal error before kernel init

    http://www.tuicool.com/articles/7FZVZna 第一次看到这个错误还以为是修改文件导致的,但是觉得又不大像,因为在Win7底下是完全正常的.搜索了一下才发现是由于插件导 ...

  2. pip运行报错Fatal error in launcher: Unable to create process using pip.exe

    使用pip的时候报错Fatal error in launcher: Unable to create process using pip.exe 解决办法,升级pip python -m pip i ...

  3. pip3命令报错Fatal error in launcher: Unable to create process using '"d:\old_files\py3.6\python.exe" "E:\py3.6\Scripts\pip3.exe" list'

    cmd输入pip3 list命令报错 Fatal error in launcher: Unable to create process using '"d:\old_files\py3.6 ...

  4. centos6的kibana7.1无法启动报错 FATAL Error: /lib64/libc.so.6: version `GLIBC_2.14' not found 升级glibc的问题处理

    centos6的kibana7.1无法启动报错 FATAL  Error: /lib64/libc.so.6: version `GLIBC_2.14' not found 升级glibc的问题处理 ...

  5. Mysql报错Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist

    安装mysql后,启动时候没有启动成功,查看了下日志报错如下:---------------------------------------------1   可以:初始化mysql:mysql_in ...

  6. phprpc的使用示例以及报错Fatal error: Cannot redeclare gzdecode() in D:\wamp\www\immoc\phprpc\compat.php 处理

    今天看书,发现了PHPRPC这个好东东,故在此写下来以作笔记. PHPRPC 是一个轻型的.安全的.跨网际的.跨语言的.跨平台的.跨环境的.跨域的.支持复杂对象传输的.支持引用参数传递的.支持内容输出 ...

  7. pip安装lxml报错 Fatal error in launcher: Unable to create process using '"c:\users\administrator\appdata\local\programs\python\python36\python.exe" "C:\Users\Administrator\AppData\L

    pip install lxml 安装报错 E:\apollo\spider_code>Fatal error in launcher: Unable to create process usi ...

  8. php连接mysql报错——Fatal error: Call to undefined function mysql_connect() in

    练习php连接mysql数据库 代码:mysql_connect("127.0.0.1:3306","root", ..... 浏览器报错:Fatal erro ...

  9. fabric报错:Fatal error: run() received nonzero return code 1 while executing!

    今天在使用fabric远程安装rpm时,一直报:Fatal error: run() received nonzero return code 1 while executing! 这看起来也是没笔病 ...

随机推荐

  1. Python & file operation mode

    Python & file operation mode create/read/write/append mode https://docs.python.org/3/library/fun ...

  2. JS Calendar API

    JS Calendar API js 如何获取当天是周几(一周的第几天) const date = new Date(); // Mon Mar 23 2020 15:15:36 GMT+0800 ( ...

  3. cURL all in one

    cURL all in one convert http request to curl online https://curlbuilder.com/ https://cdn.xgqfrms.xyz ...

  4. BGV等 DeFi产品暴涨背后隐藏着什么?

    比特币突破两万七千美金,在此创造了历史.在比特币一路飙升的背后,到底是谁注入了"强心针".笔者认为今年以来推动BTC长期上涨的主要动力主要包括四个:经济形势恶化.央行大量放水(主要 ...

  5. uniapp 自定义弹窗组件

    先上效果: 组件源码:slot-modal.vue <template> <view class="modal-container" v-if="sho ...

  6. Scrapy项目_苏宁图书信息

     苏宁图书(https://book.suning.com/) 目标: 1.图书一级分类 2.图书二级分类 3.图书三级分类 4.图书名字 5.图书作者 6.图书价格 7.通过Scrapy获取以上数据 ...

  7. iOS拍照定制之AVCapturePhotoOutput

    问题 领导安排任务,写个拍照功能,界面跟系统拍照有点出入 拍完照片,底部显示已拍照片,有个拍照上限[在此不论] 点击已拍照片,可以预览.放大缩小查看 思路 系统拍照肯定不行了,只能定制,没提是否拍照禁 ...

  8. Docker Hub 镜像加速器

    一.概述 国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器.Docker 官方和国内很多云服务商都提供了国内加速器服务. 二.配置加速地址 Ubuntu 16.04+.De ...

  9. Linux fork()一个进程内核态的变化

    [前言]用户态的变化,耳熟能详不在赘述.现在支持读时共享,写时复制. 一.内核态的变化 1.fork一个子进程代码 #include <stdio.h> #include <stdl ...

  10. 《C++ Primer》笔记 第4章 表达式

    C++的表达式要不然是右值(right-value or read-value),要不然就是左值(left-value or location-value). 当一个对象被用作右值的时候,用的是对象的 ...