mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-14 08:49:50 +00:00
Do not load .dSYM plugins
This commit is contained in:
parent
d9cf73469d
commit
ec6240da09
@ -370,7 +370,7 @@ R_API int r_lib_opendir(RLib *lib, const char *path) {
|
||||
return false;
|
||||
}
|
||||
while ((de = (struct dirent *)readdir (dh))) {
|
||||
if (de->d_name[0] == '.') {
|
||||
if (de->d_name[0] == '.' || strstr (de->d_name, ".dSYM")) {
|
||||
continue;
|
||||
}
|
||||
snprintf (file, sizeof (file), "%s/%s", path, de->d_name);
|
||||
|
Loading…
Reference in New Issue
Block a user