Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
K
klee_tutorial
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Edvin Åkerfeldt
klee_tutorial
Commits
7f94dad7
Commit
7f94dad7
authored
4 years ago
by
Edvin Åkerfeldt
Browse files
Options
Downloads
Patches
Plain Diff
cargo_klee_examples/examples/cyccnt.rs, Answer to review -> Added answers to F
parent
4d9eb108
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
cargo_klee_examples/examples/array.rs
+10
-0
10 additions, 0 deletions
cargo_klee_examples/examples/array.rs
with
10 additions
and
0 deletions
cargo_klee_examples/examples/array.rs
+
10
−
0
View file @
7f94dad7
...
@@ -106,8 +106,18 @@ I changed the type of the return variable to an u16, which will fit the added va
...
@@ -106,8 +106,18 @@ I changed the type of the return variable to an u16, which will fit the added va
// Explain in your own words what Microsoft would gain by using Rust.
// Explain in your own words what Microsoft would gain by using Rust.
//
//
// [your answer here]
// [your answer here]
/*
Well, for one they would loose many of the memoryleaks that exists.
Rust decides when to unallocate memory at compile time.
This would also help with the general memory usage of applications (not just the ones that has memory leaks)
*/
//
//
// Explain in your own words what Microsoft would gain by using `cargo klee`
// Explain in your own words what Microsoft would gain by using `cargo klee`
// on their Rust code.
// on their Rust code.
//
//
// And YES, Microsoft is rewriting core system functionality in Rust as we speak!
// And YES, Microsoft is rewriting core system functionality in Rust as we speak!
/*
Having your core systems tested with a tool like klee would make it possible for you to confidently say that this
part of the system is bug free, at least form bugs like index out of bounds and overflow.
*/
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment