SpoonLabs / npefix

Open-science code of the program repair tool described in "Dynamic Patch Generation for Null Pointer Exceptions Using Metaprogramming" (SANER'17)
https://hal.archives-ouvertes.fr/hal-01419861/document
14 stars 9 forks source link

safe mode for npefix #10

Closed monperrus closed 5 years ago

monperrus commented 6 years ago

with

btellstrom commented 6 years ago

Some further clarification on this issue would be helpful. Do you mean that I am to create a new mode called "safe mode" that ensures all the bullet points? Would that require me to implement some new strategy for searching?

Or am I implementing a flag that when set to true ensures that the strategies do as stated above? If so, I am curious how I would distinguish between S4b and S4c? Would I simply look for the keyword "new"?

monperrus commented 6 years ago

It's not implementing a new strategy, it's only discarding some of them.