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