Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zipr_callbacks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Open Source Software
zipr_callbacks
Commits
70aa1438
Commit
70aa1438
authored
7 years ago
by
an7s
Browse files
Options
Downloads
Patches
Plain Diff
FPTR --> DATA
parent
e986fe9a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
datashadow/datashadow_callbacks.c
+5
-5
5 additions, 5 deletions
datashadow/datashadow_callbacks.c
with
5 additions
and
5 deletions
datashadow/datashadow_callbacks.c
+
5
−
5
View file @
70aa1438
...
...
@@ -21,7 +21,7 @@ void fptr_shadow_define_64(int p_shadowIndex, void *p_shadowValue)
#ifdef DEBUG
char
msg
[
MAX_DIAGNOSTIC_SIZE
];
my_strcpy
(
msg
,
"
FPTR
SHADOW:DEFINE "
);
my_strcpy
(
msg
,
"
DATA
SHADOW:DEFINE "
);
my_strcpy
(
&
msg
[
strlen
(
msg
)],
" shadowid: "
);
itox
(
p_shadowIndex
,
&
msg
[
strlen
(
msg
)]);
my_strcpy
(
&
msg
[
strlen
(
msg
)],
" value: "
);
...
...
@@ -41,18 +41,18 @@ void fptr_shadow_check_64(int p_shadowIndex, int p_policy, void **p_shadow)
#ifdef DEBUG
char
msg
[
MAX_DIAGNOSTIC_SIZE
];
my_strcpy
(
msg
,
"
FPTR
SHADOW:CHECK: "
);
my_strcpy
(
msg
,
"
DATA
SHADOW:CHECK: "
);
my_strcpy
(
&
msg
[
strlen
(
msg
)],
" shadowid: "
);
itox
(
p_shadowIndex
,
&
msg
[
strlen
(
msg
)]);
my_strcpy
(
&
msg
[
strlen
(
msg
)],
" policy: "
);
itox
(
p_policy
,
&
msg
[
strlen
(
msg
)]);
write
(
2
,
msg
,
strlen
(
msg
));
my_strcpy
(
msg
,
" shadowValue(loc): "
);
my_strcpy
(
msg
,
"
check-
shadowValue(loc): "
);
itox
(
p_shadow
,
&
msg
[
strlen
(
msg
)]);
write
(
2
,
msg
,
strlen
(
msg
));
my_strcpy
(
msg
,
" shadowValue: "
);
my_strcpy
(
msg
,
"
check-
shadowValue: "
);
itox
(
*
p_shadow
,
&
msg
[
strlen
(
msg
)]);
my_strcpy
(
&
msg
[
strlen
(
msg
)],
"
\n
"
);
write
(
2
,
msg
,
strlen
(
msg
));
...
...
@@ -92,7 +92,7 @@ void fptr_shadow_check_64(int p_shadowIndex, int p_policy, void **p_shadow)
else
{
#ifdef DEBUG
my_strcpy
(
msg
,
"
FPTR
SHADOW: OK: "
);
my_strcpy
(
msg
,
"
DATA
SHADOW: OK: "
);
my_strcpy
(
&
msg
[
strlen
(
msg
)],
" shadowValue: "
);
itox
(
*
p_shadow
,
&
msg
[
strlen
(
msg
)]);
my_strcpy
(
&
msg
[
strlen
(
msg
)],
"
\n
"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment