Skip to content
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

Concolic execution #238

Merged
merged 21 commits into from
May 7, 2024
Merged

Concolic execution #238

merged 21 commits into from
May 7, 2024

Conversation

chambart
Copy link
Member

I could have been productively writing some part of the article, instead I procrastinated to make that.

This is quite early, but maybe not that far from the real deal: It only run once. But it is too late to continue that this 'evening'.

src/cmd/cmd_conc.ml Outdated Show resolved Hide resolved
'b Result.t Choice.t =
match t with Error e -> Choice.return (Error e) | Ok x -> f x

let simplify_then_link_then_run ~unsafe ~optimize (pc : unit Result.t Choice.t)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like most of this code could be shared with cmd_sym.ml right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes probably. Now some parts diverged. But probably in a direction where we want to go with cmd_sym.ml too

src/cmd/cmd_conc.ml Outdated Show resolved Hide resolved
@chambart
Copy link
Member Author

I pushed a few more things, now it has some kind of runner that can try to find some branch to run somewhat randomly (This is very naive and very bad, but it has to start somewhere...).

CHANGES.md Outdated
@@ -2,6 +2,7 @@

## 0.2 - 2024-04-24

- add `owi conc` subcommands and `owi c --concolic`: concolic mode
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should go in the unreleased section, 0.2 has already been published on opam :)

@chambart chambart marked this pull request as ready for review April 30, 2024 15:40
@chambart
Copy link
Member Author

We should be able to test it now. I'm removing the draft status

@zapashcanon zapashcanon merged commit 20077d2 into OCamlPro:main May 7, 2024
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants