- else if(state->types1_(block1,frag1) != NULL || state->types2_(block2,frag2) != NULL) {
-
- offset1 = (char *)area1 - (char *)real_addr_frag1;
- offset2 = (char *)area2 - (char *)real_addr_frag2;
-
- if(state->types1_(block1,frag1) != NULL && state->types2_(block2,frag2) != NULL){
- new_type1 = get_offset_type(real_addr_frag1, state->types1_(block1,frag1), offset1, size, snapshot1);
- new_type2 = get_offset_type(real_addr_frag2, state->types2_(block2,frag2), offset1, size, snapshot2);
- }else if(state->types1_(block1,frag1) != NULL){
- new_type1 = get_offset_type(real_addr_frag1, state->types1_(block1,frag1), offset1, size, snapshot1);
- new_type2 = get_offset_type(real_addr_frag2, state->types1_(block1,frag1), offset2, size, snapshot2);
- }else if(state->types2_(block2,frag2) != NULL){
- new_type1 = get_offset_type(real_addr_frag1, state->types2_(block2,frag2), offset1, size, snapshot1);
- new_type2 = get_offset_type(real_addr_frag2, state->types2_(block2,frag2), offset2, size, snapshot2);
- }else{
- if(match_pairs){
+ else if (state->types1_(block1, frag1) != NULL
+ || state->types2_(block2, frag2) != NULL) {
+
+ offset1 = (char *) area1 - (char *) real_addr_frag1;
+ offset2 = (char *) area2 - (char *) real_addr_frag2;
+
+ if (state->types1_(block1, frag1) != NULL
+ && state->types2_(block2, frag2) != NULL) {
+ new_type1 =
+ get_offset_type(real_addr_frag1, state->types1_(block1, frag1),
+ offset1, size, snapshot1);
+ new_type2 =
+ get_offset_type(real_addr_frag2, state->types2_(block2, frag2),
+ offset1, size, snapshot2);
+ } else if (state->types1_(block1, frag1) != NULL) {
+ new_type1 =
+ get_offset_type(real_addr_frag1, state->types1_(block1, frag1),
+ offset1, size, snapshot1);
+ new_type2 =
+ get_offset_type(real_addr_frag2, state->types1_(block1, frag1),
+ offset2, size, snapshot2);
+ } else if (state->types2_(block2, frag2) != NULL) {
+ new_type1 =
+ get_offset_type(real_addr_frag1, state->types2_(block2, frag2),
+ offset1, size, snapshot1);
+ new_type2 =
+ get_offset_type(real_addr_frag2, state->types2_(block2, frag2),
+ offset2, size, snapshot2);
+ } else {
+ if (match_pairs) {