Permalink
Browse files

proper fixes for 0.1.7.1

  • Loading branch information...
1 parent 489acc7 commit b2b100195b670a8ba3cb55344e73373d78bde232 @tduehr committed Sep 21, 2009
Showing with 26 additions and 11 deletions.
  1. +6 −2 History.txt
  2. +1 −1 lib/ragweed.rb
  3. +1 −1 lib/ragweed/rasm.rb
  4. +1 −1 lib/ragweed/rasm/bblock.rb
  5. +12 −1 lib/ragweed/rasm/isa.rb
  6. +1 −1 lib/ragweed/wrap32.rb
  7. +1 −1 lib/ragweed/wraposx.rb
  8. +1 −1 lib/ragweed/wraptux.rb
  9. +2 −2 ragweed.gemspec
View
@@ -1,7 +1,11 @@
-== 0.1.7.1 / 2009-08-03
+== 0.1.7.2 / 2009-09-21
+
+* fixed Sub and Add in Rasm correctly. added Leave instruction
+
+== 0.1.7.1 / 2009-09-20
* added Rasm::Subl to avoid conflict in Bblock with Kernel#sub
-* setup for call tramolines in osx
+* setup for call trampolines in osx
== 0.1.7 / 2009-08-03
View
@@ -2,7 +2,7 @@
module Ragweed
# :stopdoc:
- VERSION = '0.1.7.1'
+ VERSION = '0.1.7.2'
LIBPATH = ::File.expand_path(::File.dirname(__FILE__)) + ::File::SEPARATOR
PATH = ::File.dirname(LIBPATH) + ::File::SEPARATOR
# :startdoc:
View
@@ -5,7 +5,7 @@ module Ragweed; end
module Ragweed::Rasm
# :stopdoc:
- VERSION = '0.1.7.1'
+ VERSION = '0.1.7.2'
LIBPATH = ::File.expand_path(::File.dirname(__FILE__)) + ::File::SEPARATOR
PATH = ::File.dirname(LIBPATH) + ::File::SEPARATOR
# :startdoc:
@@ -54,7 +54,7 @@ def self.make(&block)
# method to fix collision with Kernel#sub properly
def sub(*args)
- Ragwee::Rasm::Sub.new(*args)
+ Ragweed::Rasm::Sub.new(*args)
end
def method_missing(meth, *args)
View
@@ -347,7 +347,7 @@ def sib(indir, alt, base)
row = 4
end
- pp [col,row,sbase]
+ # pp [col,row,sbase]
sibpart = sbase + (row << 3) + (col)
@@ -544,6 +544,17 @@ class Retn < Ret; end
## ------------------------------------------------------------------------
+ # Leave
+ class Leave < Instruction
+ # c9
+
+ def to_s
+ add(0xc9)
+ end
+ end
+
+ ## ------------------------------------------------------------------------
+
# Wrapper class for arithmatic instructions. Never called directly;
# see below.
class Arith < Instruction
View
@@ -5,7 +5,7 @@ module Ragweed; end
module Ragweed::Wrap32
# :stopdoc:
- VERSION = '0.1.7.1'
+ VERSION = '0.1.7.2'
LIBPATH = ::File.expand_path(::File.dirname(__FILE__)) + ::File::SEPARATOR
PATH = ::File.dirname(LIBPATH) + ::File::SEPARATOR
# :startdoc:
View
@@ -5,7 +5,7 @@ module Ragweed; end
module Ragweed::Wraposx
# :stopdoc:
- VERSION = '0.1.7.1'
+ VERSION = '0.1.7.2'
LIBPATH = ::File.expand_path(::File.dirname(__FILE__)) + ::File::SEPARATOR
PATH = ::File.dirname(LIBPATH) + ::File::SEPARATOR
# :startdoc:
View
@@ -5,7 +5,7 @@ module Ragweed; end
module Ragweed::Wraptux
# :stopdoc:
- VERSION = '0.1.7.1'
+ VERSION = '0.1.7.2'
LIBPATH = ::File.expand_path(::File.dirname(__FILE__)) + ::File::SEPARATOR
PATH = ::File.dirname(LIBPATH) + ::File::SEPARATOR
# :startdoc:
View
@@ -2,11 +2,11 @@
Gem::Specification.new do |s|
s.name = %q{ragweed}
- s.version = "0.1.7.1"
+ s.version = "0.1.7.2"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["tduehr, tqbf, struct"]
- s.date = %q{2009-09-20}
+ s.date = %q{2009-09-21}
s.description = %q{General debugging tool written in Ruby for OSX/Win32/Linux}
s.email = %q{td@matasano.com}
s.extra_rdoc_files = ["History.txt", "README.rdoc", "README.txt"]

0 comments on commit b2b1001

Please sign in to comment.