InfinityHook | Hook system calls , context switches , page faults
kandi X-RAY | InfinityHook Summary
kandi X-RAY | InfinityHook Summary
Hook system calls, context switches, page faults, DPCs and more. InfinityHook works along side Patchguard and VBS/Hyperguard to subtly hook various kernel events. InfinityHook is incredibly portable and stealthy, it works in all versions of Windows 7 to the latest versions of Windows 10. InfinityHook stands to be one of the best tools in the rootkit arsenal over the last decade.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of InfinityHook
InfinityHook Key Features
InfinityHook Examples and Code Snippets
Community Discussions
Trending Discussions on InfinityHook
QUESTION
I've downloaded the infinityHook open source project compiled it successfully (both release and debug compilations) in VS2017 Community on Windows 8.1. Now I'm trying to link the libinfinityhook.lib file using the #pragma comment directive in my project as follows:
...ANSWER
Answered 2022-Jan-28 at 01:38OK I found the error I was making. As per the Microsoft article here the linker searches first in the current working directory, and then in the path specified in the LIB environment variable. However I did not place the lib file in any of the directories as stated in lib environment variable nor in the current working directory.
QUESTION
I've built a statically linked library from a project which I downloaded from here InfinityHook project I'm getting the following two (2) errors in Visual Studio 2017 when I reference any of the functions which are available for export.
Error LNK2019 unresolved external symbol IfhInitialize referenced in function DriverEntry HelloWorld_Driver C:\Users\MYSELF\Documents\Visual Studio 2017\Projects\HelloWorld_Driver\HelloWorld_Driver\Driver.obj
Error LNK1120 1 unresolved externals HelloWorld_Driver C:\Users\MYSELF\Documents\Visual Studio 2017\Projects\HelloWorld_Driver\x64\Debug\HelloWorld_Driver.sys
I get the same type of error when I reference another function from the same infinityhook.h header file and which is statically built in the libinfinityhook.lib file. So basically none of the functions that are "exported" are available to be called and are giving linking errors when referenced from the main project. Before arriving at this conclusion I tried several possible solutions found on StackOverflow but none of them have worked. I've added the statically linked file libinfiinityhook.lib in Visual Studio 2017 Configuration Properties->Linker->Input->Additional Dependencies and the file is located in the correct directory on disk so the linker can find it. But I also added the directory path to this library file to the following settings in VS2017 Configuration Properties->Linker->General->Additional Library Directories.
...ANSWER
Answered 2021-Apr-29 at 15:22If anyone else is having the same issue the problem was that I was calling the two C++ defined functions, declared as C++ functions from a "C" based module. Recompiled the static library with the keyword extern and all is working as it should.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install InfinityHook
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page