Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Syscalls #1

Open
klapauciusisgreat opened this issue May 24, 2020 · 1 comment
Open

Fix Syscalls #1

klapauciusisgreat opened this issue May 24, 2020 · 1 comment
Assignees

Comments

@klapauciusisgreat
Copy link
Owner

Cleanup

  • keep uniform syscall convention throughout the .S
  • memory management / heap with SBRK etc.
  • use mprotect and friends to move data back into bss segment to have a sane executable size
@klapauciusisgreat klapauciusisgreat self-assigned this May 28, 2020
@klapauciusisgreat
Copy link
Owner Author

61de6e9 fixes the issue of forth words being in a text segment - they can now again be in the BSS segment.

Still need to figure out how to use mprotect to properly set permissions for self modifying code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant