File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ fn main() -> Result<()> {
196
196
if let Some ( target) = crash_info. target_args . first ( ) {
197
197
match util:: symbols_list ( Path :: new ( target) ) {
198
198
Ok ( list) => {
199
- if list. contains ( "__asan" ) {
199
+ if list. contains ( "__asan" ) || list . contains ( "__msan" ) {
200
200
crash_info
201
201
. casr_tool
202
202
. clone_from ( & ( util:: get_path ( "casr-san" ) ?) )
Original file line number Diff line number Diff line change @@ -176,7 +176,10 @@ fn main() -> Result<()> {
176
176
} else {
177
177
let sym_list = util:: symbols_list ( Path :: new ( argv[ 0 ] ) ) ?;
178
178
if hint == "san"
179
- || hint == "auto" && ( sym_list. contains ( "__asan" ) || sym_list. contains ( "runtime.go" ) )
179
+ || hint == "auto"
180
+ && ( sym_list. contains ( "__asan" )
181
+ || sym_list. contains ( "__msan" )
182
+ || sym_list. contains ( "runtime.go" ) )
180
183
{
181
184
"casr-san"
182
185
} else {
You can’t perform that action at this time.
0 commit comments