Skip to content

Commit 6e02fde

Browse files
committed
update: struct modification and addition of VM::is_hardened
1 parent 24a0a57 commit 6e02fde

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/documentation.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,7 @@ struct vmaware {
421421
std::string type;
422422
std::string conclusion;
423423
bool is_vm;
424+
bool is_hardened;
424425
std::uint8_t percentage;
425426
std::uint8_t detected_count;
426427
std::uint8_t technique_count;

src/vmaware.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12678,12 +12678,12 @@ struct VM {
1267812678
}
1267912679

1268012680

12681-
#pragma pack(push, 1)
1268212681
struct vmaware {
1268312682
std::string brand;
1268412683
std::string type;
1268512684
std::string conclusion;
1268612685
bool is_vm;
12686+
bool is_hardened;
1268712687
u8 percentage;
1268812688
u8 detected_count;
1268912689
u16 technique_count;
@@ -12707,6 +12707,7 @@ struct VM {
1270712707
type = VM::type(flags);
1270812708
conclusion = VM::conclusion(flags);
1270912709
is_vm = VM::detect(flags);
12710+
is_hardened = VM::is_hardened();
1271012711
percentage = VM::percentage(flags);
1271112712
detected_count = VM::detected_count(flags);
1271212713
technique_count = VM::technique_count;
@@ -12724,7 +12725,6 @@ struct VM {
1272412725
}
1272512726

1272612727
};
12727-
#pragma pack(pop)
1272812728
};
1272912729

1273012730
// ============= EXTERNAL DEFINITIONS =============

0 commit comments

Comments
 (0)