2018 · 16 citations · 21 references
ComputingComputer ScienceCompilersProgramming LanguagesSoftware EngineeringComponent-based Software EngineeringControl-flow AnalysisData-flow AnalysisReverse EngineeringSoftware ConstructionStatic Code AnalysisBinary Code DecompilationCode DecompilationCode ReuseCode Reuse AnalysisComputational Authorship Attribution
Complex software is built by composing components implementing largely independent blocks of functionality. However, once the sources are compiled into an executable, that modularity is lost. This is unfortunate for code recipients, for whom knowing the components has many potential benefits, such as improved program understanding for reverse-engineering, identifying shared code across different programs, binary code reuse, and authorship attribution. A novel approach for decomposing such source-free program executables into components is here proposed. Given an executable, the approach first statically builds a decomposition graph, where nodes are functions and edges capture three types of relationships: code locality, data references, and function calls. It then applies a graph-theoretic approach to partition the functions into disjoint components. A prototype implementation, BCD, demonstrates the approach's efficacy: Evaluation of BCD with 25 C++ binary programs to recover the methods belonging to each class achieves high precision and recall scores for these tested programs.
21
Fast algorithm for detecting community structure in networks
M. E. J. Newman · Physical Review E · 2004 · 5.5K citations · Full text
Dictionary matching and indexing with errors and don't cares
Richard Cole, Lee-Ad Gottlieb, Moshe Lewenstein · 2004 · 259 citations