peter50216/pwntools-ruby

View on GitHub
lib/pwnlib/shellcraft/generators/i386/common/nop.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true

require 'pwnlib/shellcraft/generators/i386/common/common'

module Pwnlib
  module Shellcraft
    module Generators
      module I386
        module Common
          # A no-op instruction.
          def nop
            cat 'nop'
          end
        end
      end
    end
  end
end