mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-06 22:08:41 +00: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"))
|
#define raddbg_exe_data __declspec(allocate(".raddbg"))
|
||||||
|
|
||||||
//- first byte of exe data section -> is attached
|
//- 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
|
//- types
|
||||||
|
|
||||||
|
|||||||
@@ -103,8 +103,11 @@ void optimized_struct_parameters_eval_tests(void);
|
|||||||
////////////////////////////////
|
////////////////////////////////
|
||||||
// NOTE(allen): Type Coverage Eval
|
// NOTE(allen): Type Coverage Eval
|
||||||
|
|
||||||
|
#include <vector>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
raddbg_auto_view_rule(std::vector<?>, wrap($expr._Mypair._Myval2), slice);
|
||||||
|
|
||||||
struct Basics{
|
struct Basics{
|
||||||
char a;
|
char a;
|
||||||
unsigned char b;
|
unsigned char b;
|
||||||
@@ -439,6 +442,15 @@ type_coverage_eval_tests(void)
|
|||||||
const int32_t y1 = -10;
|
const int32_t y1 = -10;
|
||||||
const int32_t z1 = x1 + y1;
|
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);
|
int x = (int)(Anonymous_D);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user