{"name": "lsa_seqnum_increment", "code": "uint32_t __fastcall lsa_seqnum_increment ( __int64 @@a1@@ ) { uint32_t @@hostlong@@ ; @@hostlong@@ = ntohl ( * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ) + Number ; return htonl ( @@hostlong@@ ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "hostlong", "t": {"T": 1, "n": "uint32_t", "s": 4}, "location": "s4"}]}
{"name": "ospf_router_lsa_refresh", "code": "__int64 __fastcall ospf_router_lsa_refresh ( __int64 @@a1@@ ) { char * @@v1@@ ; struct timeval * @@v3@@ ; _DWORD * @@v4@@ ; @@v4@@ = * ( _DWORD * * ) ( @@a1@@ + Number ) ; if ( ! * ( _QWORD * ) ( @@a1@@ + Number ) ) _assert_fail ( String , String , Number , String ) ; ospf_ls_retransmit_delete_nbr_area ( @@v4@@ , @@a1@@ ) ; @@v3@@ = ospf_router_lsa_new ( @@v4@@ ) ; * ( _DWORD * ) ( @@v3@@ -> tv_usec + Number ) = lsa_seqnum_increment ( @@a1@@ ) ; ospf_lsa_install ( * ( _QWORD * ) @@v4@@ , Number L , @@v3@@ ) ; ospf_flood_through_area ( @@v4@@ , Number L , @@v3@@ ) ; if ( ( term_debug_ospf_lsa & Number ) != Number ) { @@v1@@ = inet_ntoa ( * ( struct in_addr * ) ( @@v3@@ -> tv_usec + Number ) ) ; zlog_info ( String , * ( unsigned __int8 * ) ( @@v3@@ -> tv_usec + Number ) , @@v1@@ ) ; ospf_lsa_header_dump ( @@v3@@ -> tv_usec ) ; } return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v1", "t": {"T": 3, "t": "char"}, "location": "r8"}, {"n": "v3", "t": {"T": 3, "t": "struct timeval"}, "location": "s16"}, {"n": "v4", "t": {"T": 3, "t": "_DWORD"}, "location": "s8"}]} {"name": "ospf_network_lsa_refresh", "code": "__int64 __fastcall ospf_network_lsa_refresh ( __int64 @@a1@@ , __int64 @@a2@@ ) { char * @@v3@@ ; struct timeval * @@v4@@ ; _QWORD * @@v5@@ ; @@v5@@ = * ( _QWORD * * ) ( @@a1@@ + Number ) ; if ( ! * ( _QWORD * ) ( @@a1@@ + Number ) ) _assert_fail ( String , String , Number , String ) ; ospf_ls_retransmit_delete_nbr_area ( @@v5@@ , @@a1@@ ) ; @@v4@@ = ospf_network_lsa_new ( @@a2@@ ) ; if ( ! @@v4@@ ) return Number ; * ( _DWORD * ) ( @@v4@@ -> tv_usec + Number ) = lsa_seqnum_increment ( @@a1@@ ) ; ospf_lsa_install ( * @@v5@@ , @@a2@@ , @@v4@@ ) ; ospf_flood_through_area ( @@v5@@ , Number L , @@v4@@ ) ; if ( ( term_debug_ospf_lsa & Number ) != Number ) { @@v3@@ = inet_ntoa ( * ( struct in_addr * ) ( @@v4@@ -> tv_usec + Number ) ) ; zlog_info ( String , * ( unsigned __int8 * ) ( @@v4@@ -> tv_usec + Number ) , @@v3@@ ) ; ospf_lsa_header_dump ( @@v4@@ -> tv_usec ) ; } return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v3", "t": {"T": 3, "t": "char"}, "location": "r8"}, {"n": "v4", "t": {"T": 3, "t": "struct timeval"}, "location": "s16"}, {"n": "v5", "t": {"T": 3, "t": "_QWORD"}, "location": "s8"}]} {"name": "ospf_summary_lsa_refresh", "code": "struct timeval * __fastcall ospf_summary_lsa_refresh ( __int64 @@a1@@ , __int64 @@a2@@ ) { uint32_t v2 ; uint32_t v3 ; char * v4 ; char @@v6@@ [ Number ] ; struct timeval * @@v7@@ ; __int64 @@v8@@ ; if ( ! * ( _QWORD * ) ( @@a2@@ + Number ) ) _assert_fail ( String , String , Number , String ) ; @@v8@@ = * ( _QWORD * ) ( @@a2@@ + Number ) ; @@v6@@ [ Number ] = ip_masklen ( * ( unsigned int * ) ( @@v8@@ + Number ) ) ; v2 = get_metric ( ( unsigned __int8 * ) ( @@v8@@ + Number ) ) ; @@v7@@ = ospf_summary_lsa_new ( * ( _QWORD * ) ( @@a2@@ + Number ) , ( __int64 ) @@v6@@ , v2 , * ( _DWORD * ) ( @@v8@@ + Number ) ) ; v3 = lsa_seqnum_increment ( @@a2@@ ) ; * ( _DWORD * ) ( @@v7@@ -> tv_usec + Number ) = v3 ; ospf_lsa_checksum ( @@v7@@ -> tv_usec ) ; ospf_lsa_install ( @@a1@@ , Number L , @@v7@@ ) ; ospf_flood_through_area ( @@v7@@ [ Number ] . tv_usec , Number L , @@v7@@ ) ; if ( ( term_debug_ospf_lsa & Number ) != Number ) { v4 = inet_ntoa ( * ( struct in_addr * ) ( @@v7@@ -> tv_usec + Number ) ) ; zlog_info ( String , * ( unsigned __int8 * ) ( @@v7@@ -> tv_usec + Number ) , v4 ) ; ospf_lsa_header_dump ( @@v7@@ -> tv_usec ) ; } return @@v7@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v7", "t": {"T": 3, "t": "struct timeval"}, "location": "s16"}, {"n": "v6", "t": {"T": 2, "n": 32, "s": 1, "t": "char"}, "location": "s48"}, {"n": "v8", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]} {"name": "ospf_summary_asbr_lsa_refresh", "code": "struct timeval * __fastcall ospf_summary_asbr_lsa_refresh ( __int64 @@a1@@ , __int64 @@a2@@ ) { uint32_t v2 ; uint32_t v3 ; char * v4 ; char @@v6@@ [ Number ] ; struct timeval * @@v7@@ ; __int64 @@v8@@ ; if ( ! * ( _QWORD * ) ( @@a2@@ + Number ) ) _assert_fail ( String , String , Number , String ) ; @@v8@@ = * ( _QWORD * ) ( @@a2@@ + Number ) ; @@v6@@ [ Number ] = ip_masklen ( * ( unsigned int * ) ( @@v8@@ + Number ) ) ; v2 = get_metric ( ( unsigned __int8 * ) ( @@v8@@ + Number ) ) ; @@v7@@ = ospf_summary_asbr_lsa_new ( * ( _QWORD * ) ( @@a2@@ + Number ) , ( __int64 ) @@v6@@ , v2 , * ( _DWORD * ) ( @@v8@@ + Number ) ) ; v3 = lsa_seqnum_increment ( @@a2@@ ) ; * ( _DWORD * ) ( @@v7@@ -> tv_usec + Number ) = v3 ; ospf_lsa_checksum ( @@v7@@ -> tv_usec ) ; ospf_lsa_install ( @@a1@@ , Number L , @@v7@@ ) ; ospf_flood_through_area ( @@v7@@ [ Number ] . tv_usec , Number L , @@v7@@ ) ; if ( ( term_debug_ospf_lsa & Number ) != Number ) { v4 = inet_ntoa ( * ( struct in_addr * ) ( @@v7@@ -> tv_usec + Number ) ) ; zlog_info ( String , * ( unsigned __int8 * ) ( @@v7@@ -> tv_usec + Number ) , v4 ) ; ospf_lsa_header_dump ( @@v7@@ -> tv_usec ) ; } return @@v7@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v7", "t": {"T": 3, "t": "struct timeval"}, "location": "s16"}, {"n": "v6", "t": {"T": 2, "n": 32, "s": 1, "t": "char"}, "location": "s48"}, {"n": "v8", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]} {"name": "ospf_external_lsa_refresh", "code": "__int64 __fastcall ospf_external_lsa_refresh ( __int64 @@a1@@ , __int64 @@a2@@ , unsigned __int8 * @@a3@@ , int @@a4@@ ) { __int64 result ; char * v5 ; uint32_t v6 ; char * v7 ; unsigned int @@v10@@ ; struct timeval * @@v11@@ ; if ( ! ( unsigned int ) ospf_redistribute_check ( @@a1@@ , @@a3@@ , & @@v10@@ ) ) return ospf_external_lsa_flush ( @@a1@@ , * @@a3@@ , ( __int64 ) ( @@a3@@ + Number ) ) ; result = @@v10@@ ; if ( @@v10@@ || @@a4@@ ) { ospf_ls_retransmit_delete_nbr_as ( @@a1@@ , @@a2@@ ) ; ospf_refresher_unregister_lsa ( @@a1@@ , @@a2@@ ) ; @@v11@@ = ospf_external_lsa_new ( @@a1@@ , @@a3@@ , ( int * ) ( * ( _QWORD * ) ( @@a2@@ + Number ) + Number L ) ) ; if ( @@v11@@ ) { v6 = lsa_seqnum_increment ( @@a2@@ ) ; * ( _DWORD * ) ( @@v11@@ -> tv_usec + Number ) = v6 ; gettimeofday ( @@v11@@ + Number , Number L ) ; ospf_lsa_checksum ( @@v11@@ -> tv_usec ) ; ospf_lsa_install ( @@a1@@ , Number L , @@v11@@ ) ; ospf_flood_through_as ( @@a1@@ , Number L , @@v11@@ ) ; ospf_refresher_register_lsa ( @@a1@@ , @@v11@@ ) ; result = term_debug_ospf_lsa & Number ; if ( ( term_debug_ospf_lsa & Number ) != Number ) { v7 = inet_ntoa ( * ( struct in_addr * ) ( @@v11@@ -> tv_usec + Number ) ) ; zlog_info ( String , * ( unsigned __int8 * ) ( @@v11@@ -> tv_usec + Number ) , v7 ) ; result = ospf_lsa_header_dump ( @@v11@@ -> tv_usec ) ; } } else { result = term_debug_ospf_lsa & Number ; if ( ( term_debug_ospf_lsa & Number ) != Number ) { v5 = inet_ntoa ( * ( struct in_addr * ) ( * ( _QWORD * ) ( @@a2@@ + Number ) + Number L ) ) ; result = zlog_warn ( String , * ( unsigned __int8 * ) ( * ( _QWORD * ) ( @@a2@@ + Number ) + Number L ) , v5 ) ; } } } return result ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "unsigned __int8"}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "int", "s": 4}, "location": "r24"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v10", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}, {"n": "v11", "t": {"T": 3, "t": "struct timeval"}, "location": "s8"}]}