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

[post] Function calling convention in C, Go, Rust and OS #55

Open
at15 opened this issue Jul 21, 2020 · 0 comments
Open

[post] Function calling convention in C, Go, Rust and OS #55

at15 opened this issue Jul 21, 2020 · 0 comments
Assignees
Labels
area/go area/os Operating System area/pl Programming Language area/rust

Comments

@at15
Copy link
Member

at15 commented Jul 21, 2020

Type

  • request post from @at15

Related

Description

While working on the blogos tutorial, I started looking at ABI for function call in different programming languages

The post is expected to cover the following

  • how procedure call is implemented (based on csapp chap3), transfer control, pass parameter etc.
  • dump asm for different programming languages
  • a short intro to asm so you can read the dump
  • return value larger than the rax register (i.e. use stack ...)
  • specific things about writing handlers in OS, e.g. why interrupt handlers are different

Update

@at15 at15 added area/go area/pl Programming Language area/rust area/os Operating System labels Jul 21, 2020
@at15 at15 self-assigned this Jul 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/go area/os Operating System area/pl Programming Language area/rust
Projects
None yet
Development

No branches or pull requests

1 participant