2009-03-29 07:30:54 +00:00
|
|
|
# This file is part of Metasm, the Ruby assembly manipulation suite
|
2010-09-09 18:19:35 +00:00
|
|
|
# Copyright (C) 2006-2009 Yoann GUILLOT
|
2009-03-29 07:30:54 +00:00
|
|
|
#
|
|
|
|
# Licence is LGPL, see LICENCE in the top-level directory
|
|
|
|
|
2010-09-09 18:19:35 +00:00
|
|
|
# this file loads all metasm files and removes the autorequire feature
|
|
|
|
# on const_missing
|
2009-03-29 07:30:54 +00:00
|
|
|
|
|
|
|
require 'metasm'
|
2010-09-09 18:19:35 +00:00
|
|
|
|
|
|
|
class Module
|
|
|
|
alias const_missing premetasm_const_missing
|
|
|
|
end
|
|
|
|
|
|
|
|
module Metasm
|
|
|
|
Const_autorequire.values.flatten.each { |f| require 'metasm/'+f }
|
|
|
|
end
|