• Sasha Goldshtein's avatar
    syscount: Use ausyscalls if available to get syscall list · 51803bfa
    Sasha Goldshtein authored
    If ausyscall is installed, it can provide a clean, up-to-date list of
    syscall numbers for the current architecture. This is much more useful
    than the default hardcoded list for x86-64, which is currently used by
    syscount.
    
    Try to run `ausyscall --dump` and parse the output before resorting to
    the static list. Tested on FC/Linux 4.9 and produces 327 syscalls.
    
    Resolves #1001.
    51803bfa
syscount.py 12.3 KB