FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
fastfetch/src/common/binary.h at dev · fastfetch-cli/fastfetch · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
fastfetch-cli
/
fastfetch
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
867
Star
24.4k
Code
Issues
57
Pull requests
20
Discussions
Actions
Wiki
Security and quality
1
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
fastfetch
/
src
/
common
/
binary.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
18 lines (16 loc) · 779 Bytes
Breadcrumbs
fastfetch
/
src
/
common
/
binary.h
Copy path
File metadata and controls
18 lines (16 loc) · 779 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma
once
#include
"fastfetch.h"
/**
* Extracts string literals from a binary file
*
* @param file Path to the binary file to extract strings from
* @param cb Callback function that will be called for each string found
* Return false from callback to stop extraction
* @param userdata User-provided data passed to the callback function
* @param minLength Minimum length of strings to extract
*
* @return nullptr on success, error message on failure.
* @note This function won't return an error if no strings are found.
* Always check if strings are correctly extracted after this function all.
*/
const
char
*
ffBinaryExtractStrings
(
const
char
*
file
,
bool
(
*
cb
)(
const
char
*
str
,
uint32_t
len
,
void
*
userdata
),
void
*
userdata
,
uint32_t
minLength
);
Back
|
FazBrowse Home
|
New Git URL