Skip to content
Snippets Groups Projects
Commit 9a503050 authored by Per Lindgren's avatar Per Lindgren
Browse files

&'static CStr

parent bdd593e0
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ pub fn kassume(cond: bool) {
pub fn kassume(_cond: bool) {}
#[cfg(feature = "klee-analysis")]
pub fn kmksymbol<T>(t: &mut T, name: &CStr) {
pub fn kmksymbol<T>(t: &mut T, name: &'static CStr) {
unsafe {
ll::klee_make_symbolic(
t as *mut T as *mut c_void,
......@@ -49,7 +49,7 @@ pub fn kmksymbol<T>(t: &mut T, name: &CStr) {
}
#[cfg(not(feature = "klee-analysis"))]
pub fn kmksymbol<T>(_t: &mut T, _name: &CStr) {}
pub fn kmksymbol<T>(_t: &mut T, _name: &'static CStr) {}
#[macro_export]
macro_rules! ksymbol {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment