Type
Company
Locations
Ithaca, United States

Latest Publications

  • Open Access

    A Broad Comparative Evaluation of x86-64 Binary Rewriters

    by Eric Schulte, Michael D. Brown, Vlad Folts

    Binary rewriting is a rapidly-maturing technique for modifying software for instrumentation, customization, optimization, and hardening without access to source code. Unfortunately, the practical applications of binary rewriting tools are often unclear to users because their limitations are glossed over in the literature. This, among other challenges, has prohibited the widespread adoption of these tools. To address this shortcoming, we collect ten popular binary rewriters and assess their generality across a broad range of input binary classes and the functional reliability of the resulting rewritten binaries. Additionally, we evaluate the performance of the rewriters themselves as well as the rewritten binaries they produce. The goal of this broad evaluation is to establish a shared context for future research and development of binary rewriting tools by providing a state of the practice for their capabilities. To support potential binary rewriter users, we also identify input binary features that are predictive of tool success and show that a simple decision tree model can accurately predict whether a particular tool can rewrite a target binary. The binary rewriters, our corpus of 3344 sample binaries, and the evaluation infrastructure itself are all freely available as open-source software.


  • Open Access

    API analytics for curating static analysis rules

    by Vineeth Kashyap, Roger Scott, Joseph Ranieri, David Melski, Lucja Kot

    Use of third-party library APIs is pervasive, but can be error-prone. API-usage errors can be detected via static analysis if specifications of correct usage are available, but manually creating such specifications is a bottleneck. We showcase a semi-automated "big code" solution, where we use large code corpora to mine patterns in API usage, and ask human experts to perform analytics on those patterns to create static analysis rules.

  • Open Access

    Evolution of Cyber-Security Research in an Industrial Setting

    by Alexey Loginov

    The software that increasingly undergirds our daily lives, national infrastructure, and defense systems continues to grow in size and complexity, incorporating far-reaching networks of open-source components and third-party dependencies. The task of analyzing and protecting these bloated and sprawling software systems is qualitatively more difficult than it was just a decade ago. We are also faced with a growing need to protect against cyber threats that continue to increase in frequency and sophistication. The primary goal of industrial research in our field is to develop and transition promising solutions to cyber-security problems into real-world settings. This process is a race against the growing complexity of the software that we seek to protect. Winning this race requires novel solutions to the challenges of scalability, precision, and the dearth of human cyber-security expertise. In recent years, we found ourselves revisiting old solutions to program representation, vulnerability detection, and reverse engineering. Such rethinking is most successful when it isolates limiting factors and addresses them by shifting into domains in which powerful new computational resources and techniques provide order-of-magnitude increases in computational and developer productivity. In this talk, I will start by reviewing some of the relevant technology trends and then give examples of reinvented solutions, enabled by new paradigms and computational resources.


  • Open Access

    Inuring

    by Eric Schulte, Suan Yong, David Melski

  • Open Access

    The State and Future of Genetic Improvement

    by William B. Langdon, Westley Weimer, Christopher Timperley, Oliver Krauss, Zhen Yu Ding, Yiwei Lyu, Nicolas Chausseau, Eric Schulte, Shin Hwei Tan, Kevin Leach, et al.

    We report the discussion session at the sixth international Genetic Improvement workshop, GI-2019 @ ICSE, which was held as part of the 41st ACM/IEEE International Confer- ence on Software Engineering on Tuesday 28th May 2019. Topics included GI representations, the maintainability of evolved code, automated software testing, future areas of GI research, such as co-evolution, and existing GI tools and benchmarks.


  • Open Access

    Automated Customized Bug-Benchmark Generation

    by Vineeth Kashyap, Jason Ruchti, Lucja Kot, Emma Turetsky, Rebecca Swords, Shih An Pan, Julien Henry, David Melski, Eric Schulte

    We introduce Bug-Injector, a system that automatically creates benchmarks for customized evaluation of static analysis tools. We share a benchmark generated using Bug-Injector and illustrate its efficacy by using it to evaluate the recall of two leading open-source static analysis tools: Clang Static Analyzer and Infer. Bug-Injector works by inserting bugs based on bug templates into real-world host programs. It runs tests on the host program to collect dynamic traces, searches the traces for a point where the state satisfies the preconditions for some bug template, then modifies the host program to inject a bug based on that template. Injected bugs are used as test cases in a static analysis tool evaluation benchmark. Every test case is accompanied by a program input that exercises the injected bug. We have identified a broad range of requirements and desiderata for bug benchmarks; our approach generates on-demand test benchmarks that meet these requirements. It also allows us to create customized benchmarks suitable for evaluating tools for a specific use case (e.g., a given codebase and set of bug types). Our experimental evaluation demonstrates the suitability of our generated benchmark for evaluating static bug-detection tools and for comparing the performance of different tools.

  • Using recurrent neural networks for decompilation

    by Deborah S. Katz, Jason Ruchti, Eric Schulte

    Decompilation, recovering source code from binary, is useful in many situations where it is necessary to analyze or understand software for which source code is not available. Source code is much easier for humans to read than binary code, and there are many tools available to analyze source code. Existing decompilation techniques often generate source code that is difficult for humans to understand because the generated code often does not use the coding idioms that programmers use. Differences from human-written code also reduce the effectiveness of analysis tools on the decompiled source code. To address the problem of differences between decompiled code and human-written code, we present a novel technique for decompiling binary code snippets using a model based on Recurrent Neural Networks. The model learns properties and patterns that occur in source code and uses them to produce decompilation output. We train and evaluate our technique on snippets of binary machine code compiled from C source code. The general approach we outline in this paper is not language-specific and requires little or no domain knowledge of a language and its properties or how a compiler operates, making the approach easily extensible to new languages and constructs. Furthermore, the technique can be extended and applied in situations to which traditional decompilers are not targeted, such as for decompilation of isolated binary snippets; fast, on-demand decompilation; domain-specific learned decompilation; optimizing for readability of decompilation; and recovering control flow constructs, comments, and variable or function names. We show that the translations produced by this technique are often accurate or close and can provide a useful picture of the snippet's behavior.


  • Open Access

    Vertx

    by Denis Gopan, Peter Ohmann, David Melski

    The paper describes Vertx, a tool for validating software binary transformations. Vertx enables software developers and system administrators to automatically check the correctness of software binary transformations such as security hardening and optimization. Transformation validation increases user trust in binary-transformation technology and allows binary transformations to be safely used in critical applications that have narrow margins of error.