Describe the bug
VMware virtual machine mount path can't scan file or fd.
To Reproduce
1.Map a directory to a virtual machine in VMware Workstation.
2.Use the library functions yr_scanner_scan_file or yr_scanner_scan_fd to scan files mounted within the virtual machine.
3.Encounter the error "ERROR_COULD_NOT_OPEN_FILE."
Expected behavior
scan files under the vmhgfs file system
Screenshots
If applicable, add screenshots to help explain your problem.
Please complete the following information:
OS: [CentOS Linux 7.6 virtual machine by vmware ]
YARA version: [4.3.2]
Additional context
filemap.c -> yr_filemap_map_fd() -> #ifdef linux -> fstatfs()
Describe the bug VMware virtual machine mount path can't scan file or fd.
To Reproduce 1.Map a directory to a virtual machine in VMware Workstation. 2.Use the library functions yr_scanner_scan_file or yr_scanner_scan_fd to scan files mounted within the virtual machine. 3.Encounter the error "ERROR_COULD_NOT_OPEN_FILE."
Expected behavior scan files under the vmhgfs file system
Screenshots If applicable, add screenshots to help explain your problem.
Please complete the following information:
Additional context filemap.c -> yr_filemap_map_fd() -> #ifdef linux -> fstatfs()