add std::vector / auto-view-rule test to mule

This commit is contained in:
Ryan Fleury
2025-03-28 11:38:56 -07:00
parent 269efba455
commit 160083835a
2 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -61,7 +61,7 @@
#define raddbg_exe_data __declspec(allocate(".raddbg"))
//- first byte of exe data section -> is attached
raddbg_exe_data unsigned char raddbg_is_attached_byte_marker = 0;
raddbg_exe_data unsigned char raddbg_is_attached_byte_marker[1];
//- types
+12
View File
@@ -103,8 +103,11 @@ void optimized_struct_parameters_eval_tests(void);
////////////////////////////////
// NOTE(allen): Type Coverage Eval
#include <vector>
#include <stdint.h>
raddbg_auto_view_rule(std::vector<?>, wrap($expr._Mypair._Myval2), slice);
struct Basics{
char a;
unsigned char b;
@@ -439,6 +442,15 @@ type_coverage_eval_tests(void)
const int32_t y1 = -10;
const int32_t z1 = x1 + y1;
std::vector<int> int_vector;
int_vector.push_back(1);
int_vector.push_back(2);
int_vector.push_back(3);
int_vector.push_back(4);
int_vector.push_back(5);
int_vector.push_back(6);
int_vector.push_back(7);
int x = (int)(Anonymous_D);
}