Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Vector35/binaryninja-api
/ is_file
Function
is_file
examples/print_syscalls/src/arm-syscall.cpp:18–25 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
16
17
18
bool is_file(char* fname)
19
{
20
struct stat buf;
21
if (stat(fname, &buf) == 0 && (buf.st_mode & S_IFREG) == S_IFREG)
22
return true;
23
24
return false;
25
}
26
27
int main(int argc, char* argv[])
28
{
Callers
1
main
Function · 0.70
Calls
1
stat
Class · 0.70
Tested by
no test coverage detected