2019
DOI: 10.48550/arxiv.1910.07517
|View full text |Cite
Preprint
|
Sign up to set email alerts
|

Adversarial Examples for Models of Code

Abstract: Neural models of code have shown impressive performance for tasks such as predicting method names and identifying certain kinds of bugs. In this paper, we show that these models are vulnerable to adversarial examples, and introduce a novel approach for attacking trained models of code with adversarial examples. The main idea is to force a given trained model to make an incorrect prediction as specified by the adversary by introducing small perturbations that do not change the program's semantics. To find such … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
17
0

Year Published

2020
2020
2024
2024

Publication Types

Select...
4
1
1

Relationship

0
6

Authors

Journals

citations
Cited by 6 publications
(17 citation statements)
references
References 34 publications
0
17
0
Order By: Relevance
“…Given the non-trivial search space constructed by combinations of mutation operators, CoCoFuzzing employs a neuron coverage-guided (short for NC-guided) approach (line 5-25), to search for certain types of mutated programs. At a high level, CoCoFuzzing searches for program mutations that activate new neurons (line [13][14][15][16][17] while controlling the maximum mutations on one seed program (line 5 and a threshold MAX), for both naturalness and the feasibility of utilizing metamorphic testing (i.e., mutated programs can use the same test oracle as the seed program).…”
Section: A Overview Of Cocofuzzingmentioning
confidence: 99%
See 4 more Smart Citations
“…Given the non-trivial search space constructed by combinations of mutation operators, CoCoFuzzing employs a neuron coverage-guided (short for NC-guided) approach (line 5-25), to search for certain types of mutated programs. At a high level, CoCoFuzzing searches for program mutations that activate new neurons (line [13][14][15][16][17] while controlling the maximum mutations on one seed program (line 5 and a threshold MAX), for both naturalness and the feasibility of utilizing metamorphic testing (i.e., mutated programs can use the same test oracle as the seed program).…”
Section: A Overview Of Cocofuzzingmentioning
confidence: 99%
“…Algorithm 1 details how CoCoFuzzing uses neuron coverage in searching for new test data (line 5-25). In each iteration (line [10][11][12][13][14][15][16][17][18], CoCoFuzzing tries all the mutation operators and identifies one mutated program that activates the most number of new neurons. This mutated program is produced as one test data (line 24) and also kept for the next mutation iteration.…”
Section: B Neuron Coverage Analysismentioning
confidence: 99%
See 3 more Smart Citations