Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sgxwallet
Project
Project
Details
Activity
Releases
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
董子豪
sgxwallet
Commits
da87490c
Unverified
Commit
da87490c
authored
Feb 29, 2020
by
kladko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SKALE-2298 adding printf
parent
108d5ada
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
oc_alloc.c
oc_alloc.c
+7
-0
secure_enclave.edl
secure_enclave/secure_enclave.edl
+1
-1
No files found.
oc_alloc.c
View file @
da87490c
...
...
@@ -42,6 +42,13 @@ uint64_t oc_realloc (void *optr, size_t osz, size_t nsz)
return
(
uint64_t
)
nptr
;
}
void
oc_printf
()
{
printf
(
"haha
\n
"
);
fprintf
(
stderr
,
"haha
\n
"
);
}
void
oc_free
(
void
*
ptr
,
size_t
sz
)
{
free
(
ptr
);
...
...
secure_enclave/secure_enclave.edl
View file @
da87490c
...
...
@@ -314,7 +314,7 @@ enclave {
include "gmp.h"
uint64_t oc_realloc([user_check] void *optr, size_t osz, size_t nsz);
void oc_printf();
void oc_free([user_check] void *optr, size_t sz);
};
};
...
...
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