int main(int argc, char** argv) {
// xbt_init(&argc, argv);
int main(int argc, char** argv) {
// xbt_init(&argc, argv);
var = test_global_variable(mc_binary_info, "test_some_struct", &test_some_struct, sizeof(test_some_struct));
type = xbt_dict_get_or_null(mc_binary_info->types, var->type_origin);
var = test_global_variable(mc_binary_info, "test_some_struct", &test_some_struct, sizeof(test_some_struct));
type = xbt_dict_get_or_null(mc_binary_info->types, var->type_origin);
- assert(find_type(mc_binary_info, "first", type)->offset == 0);
- assert(find_type(mc_binary_info, "second", type)->offset
+ assert(find_member(mc_binary_info, "first", type)->offset == 0);
+ assert(find_member(mc_binary_info, "second", type)->offset
test_local_variable(mc_binary_info, "main", "argc", &argc, &cursor);
test_local_variable(mc_binary_info, "main", "argc", &argc, &cursor);