Sha256: ec6d6b779a4c57ede7be8127c47f1f6917c34b979c3fd805462425f3a0dfb70d

Contents?: true

Size: 493 Bytes

Versions: 6

Compression:

Stored size: 493 Bytes

Contents

#!/usr/bin/env ruby

#    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

require 'metasm'
$opts = { :execlass => Metasm::PE, :srctype_data => 'c' }
load File.join(File.dirname(__FILE__), 'exeencode.rb')

__END__
__stdcall int MessageBox(int, char*, char*, int);
__stdcall void ExitProcess(int);
void main(void)
{
	MessageBox(0, "kikoo", "lol", 0);
	ExitProcess(0);
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
metasm-1.0.5 samples/peencode.rb
metasm-1.0.4 samples/peencode.rb
metasm-1.0.3 samples/peencode.rb
metasm-1.0.2 samples/peencode.rb
metasm-1.0.1 samples/peencode.rb
metasm-1.0.0 samples/peencode.rb