CN104731705A

Dirty data propagation path finding method based on complex network

Abstract

The invention claims a based on the complex network the dirty data transmission path discovery method, and is not with a binary system program and perform of providing sound code, and result perform to process obtained, unearths the taxi for information. The first steps: Double-state to perform file and counter-, and obtained a voice interlanguage, by a simple and a program perform testing object, obtained interlanguage, codethe second step: Capture calling function, the function and an resolution is a function name, and perform processing and simple, and a matrix; the formatLast generating function calling relational pattern; Third steps: Analytic calling function relational pattern, obtained joint, side, the weight information, the computing obtained joint, is provided with a key node the complex network, mapThe fourth steps: According to the complex network regulation power speed distribution's a inhomogeneous, finding with the building according to position information and invoking high frequency of.

Term

7.3 yearsto projected expiry

Projected expiry 31 December 2033, counted from filing; an application has no term until it is granted.

  1. Priority and filed
  2. Published
  3. Today
  4. Projected expiry

2 claims: 2 independent, 0 dependent

  1. 1
    一种基于复杂网络的脏数据传播路径发现方法,其特征在于,包括如下步骤:第一步:使用IDA的插件Hex-Rays对二进制文件进行反编译,得到类似C语言的中间代码; 第二步:使用GNU编译器提供的工具对第一步生成的中间代码进行数据搜集,捕获函数调用路径,在得到路径后,使用Addr21ine将函数地址解析为函数名,之后对跟踪数据进行处理和精简,并生成矩阵格式;最后使用Graphviz生成函数调用关系图; 第三步:解析上一步骤得到的函数调用关系图,得到节点、边、权重信息,并且计算得到节点度,建立带关键节点的复杂网络图; 第四步:根据复杂网络图的幂率分布的非均匀特性,结合上一步生成的复杂网络图,找出与构造脏数据相关的点以及调用频率高的点,关键节点用不同的颜色进行标注,脏数据的路径用特殊的颜色标出,从而发现软件缺陷隐患。
  2. 2
    如权利要求1所述的一种基于复杂网络的脏数据传播路径发现方法,其特征在于,第三步建立复杂网络图采用以下方法,具体步骤如下:(1)将第二步获得的二进制文件所有函数作为网络中的节点; (2)根据节点间是否有关系建立无权网络图; (3)计算节点间的相关度; (4)根据相关度计算权值; (5)建立加权网络图。