Module: Ronin::Code::ASM::OS
- Defined in:
- lib/ronin/code/asm/os.rb,
lib/ronin/code/asm/os/os.rb,
lib/ronin/code/asm/os/linux.rb,
lib/ronin/code/asm/os/freebsd.rb
Defined Under Namespace
Constant Summary collapse
- NAMES =
The mapping of OS names to modules.
{ linux: Linux, freebsd: FreeBSD }
- SYSCALLS =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Collection of all known syscalls, grouped by OS and Arch.
Hash.new do |hash,os| hash[os] = Hash.new do |subhash,arch| subhash[arch] = YAML.load_file( File.join(Config::DATA_DIR,'os',os.to_s.downcase,arch.to_s,'syscalls.yml') ) end end
Class Method Summary collapse
-
.[](name) ⇒ Linux, FreeBSD
Fetches the OS module with the given name.