Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CPPFiberScheduler
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
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Show more breadcrumbs
Zoe Haines
CPPFiberScheduler
Commits
c6f964b9
Commit
c6f964b9
authored
7 months ago
by
j284-smith
Browse files
Options
Downloads
Patches
Plain Diff
updated
parent
6da62ef3
Branches
Branches containing commit
No related tags found
1 merge request
!1
Jamie branch
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
main
+0
-0
0 additions, 0 deletions
main
main.cpp
+10
-6
10 additions, 6 deletions
main.cpp
main.o
+0
-0
0 additions, 0 deletions
main.o
with
10 additions
and
6 deletions
main
0 → 100755
+
0
−
0
View file @
c6f964b9
File added
This diff is collapsed.
Click to expand it.
main.cpp
+
10
−
6
View file @
c6f964b9
...
@@ -19,13 +19,17 @@ int main(){
...
@@ -19,13 +19,17 @@ int main(){
// sp is a pointer to characters
// sp is a pointer to characters
// set sp to be data PLUS 4096
// set sp to be data PLUS 4096
Context
c
;
set_context
(
&
c
)
=
foo
();
};
Context
c
=
{};
c
.
rip
=
(
void
*
)
foo
;
c
.
rsp
=
sp
;
// create an empty context c
// set rip of c to foo;
// set rsp of c to sp;
set_context
(
&
c
);
// create an empty context c
// create an empty context c
// set rip of c to foo;
// set rip of c to foo;
// set rsp of c to sp;
// set rsp of c to sp;
// call set_context with c
// call set_context with c
};
This diff is collapsed.
Click to expand it.
main.o
0 → 100644
+
0
−
0
View file @
c6f964b9
File added
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