Skip to content

Commit

Permalink
is_hyperv fix and padding fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kernelwernel committed Oct 5, 2024
1 parent e900449 commit f8d2b56
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/vmaware.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1785,7 +1785,7 @@ struct VM {
}
}

memo::hyperv::store(is_hyperv);
memo::hyperv::store(false);
return false;
#endif
}
Expand Down Expand Up @@ -10336,27 +10336,27 @@ struct VM {


struct vmaware {
std::string brand;
std::string type;
std::string conclusion;
bool is_vm;
u8 percentage;
u8 detected_count;
u8 technique_count;
std::string brand;
std::string type;
std::string conclusion;

vmaware() = default;

template <typename ...Args>
vmaware(Args ...args) {
flagset flags = core::arg_handler(args...);

brand = VM::brand(flags);
type = VM::type(flags);
conclusion = VM::conclusion(flags);
is_vm = VM::detect(flags);
percentage = VM::percentage(flags);
detected_count = VM::detected_count(flags);
technique_count = VM::technique_count;
brand = VM::brand(flags);
type = VM::type(flags);
conclusion = VM::conclusion(flags);
}
};
};
Expand Down

0 comments on commit f8d2b56

Please sign in to comment.