File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -141,11 +141,11 @@ mod tests {
141141 let mut builder = CommandBuilder :: new ( "valgrind" ) ;
142142 builder
143143 . arg ( "my-program" )
144- . wrap ( "setarch" , [ "x86_64" , "-R " ] )
144+ . wrap ( "setarch" , [ "x86_64" , "--addr-no-randomize " ] )
145145 . wrap ( "sudo" , [ "-n" ] ) ;
146146 assert_eq ! (
147147 builder. as_command_line( ) ,
148- "sudo -n setarch x86_64 -R valgrind my-program"
148+ "sudo -n setarch x86_64 --addr-no-randomize valgrind my-program"
149149 ) ;
150150 }
151151
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ pub async fn measure(
9797
9898 // Create the command
9999 let mut cmd = Command :: new ( "setarch" ) ;
100- cmd. arg ( ARCH ) . arg ( "-R " ) ;
100+ cmd. arg ( ARCH ) . arg ( "--addr-no-randomize " ) ;
101101 // Configure the environment
102102 cmd. envs ( get_base_injected_env (
103103 RunnerMode :: Simulation ,
You can’t perform that action at this time.
0 commit comments