Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
burstfs_deps
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangzongwu
burstfs_deps
Commits
680bad87
Commit
680bad87
authored
Jun 26, 2023
by
fangzongwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[feat]: get from env
parent
e1f2c0e6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
intercept.c
syscall_intercept/src/intercept.c
+3
-0
No files found.
syscall_intercept/src/intercept.c
View file @
680bad87
...
@@ -548,6 +548,8 @@ intercept(int argc, char **argv)
...
@@ -548,6 +548,8 @@ intercept(int argc, char **argv)
patch_all_objs
=
(
getenv
(
"INTERCEPT_ALL_OBJS"
)
!=
NULL
);
patch_all_objs
=
(
getenv
(
"INTERCEPT_ALL_OBJS"
)
!=
NULL
);
intercept_setup_log
(
getenv
(
"INTERCEPT_LOG"
),
intercept_setup_log
(
getenv
(
"INTERCEPT_LOG"
),
getenv
(
"INTERCEPT_LOG_TRUNC"
));
getenv
(
"INTERCEPT_LOG_TRUNC"
));
text_desc_save_file
=
getenv
(
"INTERCEPT_TEXT_DESC_SAVE_FILE"
)
!=
NULL
;
text_desc_save_dir
=
getenv
(
"INTERCEPT_TEXT_DESC_SAVE_DIR"
);
log_header
();
log_header
();
init_patcher
();
init_patcher
();
...
@@ -566,6 +568,7 @@ intercept(int argc, char **argv)
...
@@ -566,6 +568,7 @@ intercept(int argc, char **argv)
activate_patches
(
objs
+
i
);
activate_patches
(
objs
+
i
);
}
}
/*
/*
* log_header - part of logging
* log_header - part of logging
* This routine outputs some potentially useful information into the log
* This routine outputs some potentially useful information into the log
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment