Method: Xploit::Libc#symbol
- Defined in:
- lib/xploit/libc.rb
#symbol(key) ⇒ Object
26 27 28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/xploit/libc.rb', line 26 def symbol(key) if key.class != String raise ArgumentError end if @func.keys.include?(key) @func[key] else raise ArgumentError, "Not found symbol: #{key}" end end |