-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating test harness for OPENED tools extracted functions #84
Comments
@Theophilusbenson @sebymiano @LCastanheira-1 For creating the test harness (Steps 4-10) for extracted modules, wanted to get your thoughts if it would make sense to re-use the klee based machinery Sebastiano and Lucas have been working on. |
The Klee-based tool would be helpful in "generating the important" input packets that would provide high confidence. Right now, workflow doest not specify how the input packets should be generated. @sebymiano I believe you have some insights on how to run an eBPF program in isolation without running the whole kernel! can you provide some pointers? |
@Theophilusbenson yes, that's correct. The code is here. What we need to do specifically for this is to modify in this code the way it reads the input packet (here), since right now it reads the KLEE generated file to get the input packet. |
@sebymiano the code snippets are in private repo, can we share the same for others to check ? |
@sdsen the repo is public now, the others should be able to check it out. |
@sdsen I have a question regarding the approach you proposed. From the technical point of view, this can be done using the The question I have is, when running the |
@dushyantbehl please track test harness work in this issue. |
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
Given a module to be extracted, put in prints/capture the input and output packets when running the module as part of larger monolith. Craft similar packet in scapy and run through extracted module to show equivalence. Specifically:
The text was updated successfully, but these errors were encountered: