Instruct: Identify the main and secondary category of Arxiv papers based on the titles and abstracts
Query: Trex: Learning Execution Semantics from Micro-Traces for Binary
  Similarity   Detecting semantically similar functions -- a crucial analysis capability
with broad real-world security usages including vulnerability detection,
malware lineage, and forensics -- requires understanding function behaviors and
intentions. This task is challenging as semantically similar functions can be
implemented differently, run on different architectures, and compiled with
diverse compiler optimizations or obfuscations. Most existing approaches match
functions based on syntactic features without understanding the functions'
execution semantics.
  We present Trex, a transfer-learning-based framework, to automate learning
execution semantics explicitly from functions' micro-traces and transfer the
learned knowledge to match semantically similar functions. Our key insight is
that these traces can be used to teach an ML model the execution semantics of
different sequences of instructions. We thus train the model to learn execution
semantics from the functions' micro-traces, without any manual labeling effort.
We then develop a novel neural architecture to learn execution semantics from
micro-traces, and we finetune the pretrained model to match semantically
similar functions.
  We evaluate Trex on 1,472,066 function binaries from 13 popular software
projects. These functions are from different architectures and compiled with
various optimizations and obfuscations. Trex outperforms the state-of-the-art
systems by 7.8%, 7.2%, and 14.3% in cross-architecture, optimization, and
obfuscation function matching, respectively. Ablation studies show that the
pretraining significantly boosts the function matching performance,
underscoring the importance of learning execution semantics.

22
The categories of this paper are: chao-dyn
15
The categories of this paper are: nucl-ex
2
The categories of this paper are: math
3
The categories of this paper are: physics
17
The categories of this paper are: q-fin
18
The categories of this paper are: econ
27
The categories of this paper are: comp-gas
6
The categories of this paper are: astro-ph
21
The categories of this paper are: adap-org
30
The categories of this paper are: q-alg
13
The categories of this paper are: quant-ph
5
The categories of this paper are: gr-qc
23
The categories of this paper are: solv-int
25
The categories of this paper are: patt-sol
26
The categories of this paper are: bayes-an
24
The categories of this paper are: dg-ga