# # This file is part of Metasm, the Ruby assembly manipulation suite # Copyright (C) 2006-2009 Yoann GUILLOT # # Licence is LGPL, see LICENCE in the top-level directory # this file sets up the RUBYLIB environment variable for windows hosts # the variable is set for the current user only # the user session may need to be restarted so that the changes take effect # the path to the framework metasmpath = File.expand_path(File.join(File.dirname(__FILE__), '..')) $: << metasmpath require 'metasm' d = Metasm::DynLdr d.new_api_c <