MCPcopy Create free account
hub / github.com/asterinas/vostd / adjust_stack_alignment

Method adjust_stack_alignment

kernel/src/process/process_vm/init_stack/mod.rs:289–301  ·  view source on GitHub ↗

Libc ABI requires 16-byte alignment of the stack entrypoint. Current position of the stack is 8-byte aligned already, insert 8 byte to meet the requirement if necessary.

(&self, envp_pointers: &[u64], argv_pointers: &[u64])

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

writeMethod · 0.80

Calls 4

write_u64Method · 0.80
posMethod · 0.80
lenMethod · 0.45
tableMethod · 0.45

Tested by

no test coverage detected