mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-23 20:24:59 -07:00
add std::vector / auto-view-rule test to mule
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user