kernelwernel / VMAware

VM detection library and tool
GNU General Public License v3.0
331 stars 30 forks source link

Fixed every MSVC warning #16

Closed NotRequiem closed 8 months ago

NotRequiem commented 8 months ago

Fixed every compiler warning for all c++ versions on windows systems (not really necessary tho, the library is quite well-made)

'dll' could be '0': this does not adhere to the specification for the function 'strcmp'. vmaware.hpp - 3410

'szBuff' could be '0': this does not adhere to the specification for the function 'strcmp'. vmaware.hpp - 3045

VARIANT '&vtProp' was provided as an In or InOut parameter but was not initialized (expression 'vtProp'). vmaware.hpp - 3626

kernelwernel commented 8 months ago

Looks good to me, I appreciate it! I mostly compile the MSVC code with the CI/CD tests that I've set up, can you tell me what compiler flags you've used?

Sorry for mistyping your username btw, that was pretty dumb on my part lol