Module calling_convention

Module calling_convention 

Source
Expand description

Platform-specific utilities for the GhostScope eBPF debugging tool

This crate provides platform-specific abstractions for:

  • Register mappings between DWARF and eBPF pt_regs
  • Calling convention analysis and parameter location detection
  • Function prologue analysis for accurate parameter access
  • Type definitions for cross-crate compatibility

Structs§

X86_64SystemV
x86-64 System V ABI calling convention

Traits§

CallingConvention
Platform-specific calling convention and prologue analysis

Functions§

get_parameter_register_in_context
Check if a parameter should be accessed via register in the current context Returns the register number if parameter should be in register, None otherwise