Christian Mehlmauer
153344a1dd
fix Unkown typo
2015-04-16 23:59:28 +02:00
Brent Cook
3860bbabbb
Avoid generating labels with '..' in them with metasm
...
So, metasm generates labels for the assembler using "%x" % string.object_id. If
the pointer for string.object_id begins with the most significant digit set, it
looks like a sign-extended 2's complement number (negative), and gets formatted
by ruby as '..f1412300' or similar. On 32-bit platforms, there is rather high
chance of randomly ending up with a label like 'goto_test_uuid..f1234560:',
which is a parse error.
This patch simply takes the absolute value of the object_id to avoid negative
interpretations. This fixes hiesenbugs using metasm's C compiler on 32-bit
platforms.
2015-04-13 22:43:18 -05:00
sinn3r
650a68c994
Fix jcxz to jecxz for x86_64 in metasm
...
This fixes "invalid opcode near 'jecxz'" for x64 metasm encoding.
2014-12-19 13:34:56 -06:00
David Maloney
3742d9b687
tabassassin to the rescue
...
because we pulled in the new metasm repo,
retabbed everything to avoid whitespace conflicts
2014-04-11 15:19:16 -05:00
David Maloney
c000e418ab
Pull in more 64bit compiler fixes
...
this fixes issues with comparison operations
when compilnig C in metasm for 64bit
2014-04-10 14:46:46 -05:00
Tab Assassin
6faa3d939b
Retabbed PR rapid7#3181
2014-04-02 15:51:11 -05:00
David Maloney
b426449ce7
fix the fix for 64 bit
...
JJ's fix is too specific
2014-04-02 15:24:24 -05:00
David Maloney
29c2a73a12
latest fix
...
trying to fix c comparison ops
2014-04-02 15:13:35 -05:00
David Maloney
ab7c4a41fc
missed net new files
...
some net new files we're missing from metasm
2014-04-02 13:46:18 -05:00
David Maloney
72b1f1373f
pull JJ's latest changes in for c64
...
compiler for x86_64 has some bugs, this is JJ's
latest fixes
2014-04-02 13:44:02 -05:00
jvazquez-r7
7c5ba3e46c
Retab metasm
2014-02-19 14:01:20 -06:00
jvazquez-r7
a78ccc7862
Add up to date metasm
2014-02-19 13:13:08 -06:00
jvazquez-r7
f34078a7df
Delete old version of metasm
2014-02-19 13:09:53 -06:00
HD Moore
72dff03426
FixRM #8396 change all lib use of regex to 8-bit pattern
2013-09-12 16:58:49 -05:00
Tab Assassin
7e5e0f7fc8
Retab lib
2013-08-30 16:28:33 -05:00
HD Moore
29585e0a95
Change import names to work properly on windows 2000
...
git-svn-id: file:///home/svn/framework3/trunk@13351 4d416f70-5f16-0410-b530-b9f4589650da
2011-07-26 22:48:46 +00:00
HD Moore
ad53b4f115
A couple really minor tweaks to metasm samples and code
...
git-svn-id: file:///home/svn/framework3/trunk@13217 4d416f70-5f16-0410-b530-b9f4589650da
2011-07-19 05:50:17 +00:00
Joshua Drake
8057c7e969
sync up with metasm tip, yay for Yoann and autoload
...
git-svn-id: file:///home/svn/framework3/trunk@12252 4d416f70-5f16-0410-b530-b9f4589650da
2011-04-06 17:40:01 +00:00
Joshua Drake
7f9fe3b527
bring metasm to tip
...
git-svn-id: file:///home/svn/framework3/trunk@10600 4d416f70-5f16-0410-b530-b9f4589650da
2010-10-08 16:01:37 +00:00
Joshua Drake
af19a0d924
hrm, i dont think i meant to check these in
...
git-svn-id: file:///home/svn/framework3/trunk@10364 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-18 01:41:13 +00:00
Joshua Drake
f7020af01a
update metasm to tip
...
git-svn-id: file:///home/svn/framework3/trunk@10278 4d416f70-5f16-0410-b530-b9f4589650da
2010-09-09 18:19:35 +00:00
Joshua Drake
2283e029db
crossing fingers, big cr removal batch
...
git-svn-id: file:///home/svn/framework3/trunk@8038 4d416f70-5f16-0410-b530-b9f4589650da
2009-12-30 22:24:22 +00:00
HD Moore
1b205ee0ee
slight fixes for ruby 1.9 compatibility (1.9 will stil not work)
...
git-svn-id: file:///home/svn/framework3/trunk@6445 4d416f70-5f16-0410-b530-b9f4589650da
2009-03-30 02:57:10 +00:00
HD Moore
932bd89ac2
Mangle up METASM stubs to solve integration problems
...
git-svn-id: file:///home/svn/framework3/trunk@6430 4d416f70-5f16-0410-b530-b9f4589650da
2009-03-29 07:49:51 +00:00
HD Moore
1894dc4f1a
New metasm
...
git-svn-id: file:///home/svn/framework3/trunk@6429 4d416f70-5f16-0410-b530-b9f4589650da
2009-03-29 07:30:54 +00:00
HD Moore
da119f29e7
Swapping metasm...
...
git-svn-id: file:///home/svn/framework3/trunk@6428 4d416f70-5f16-0410-b530-b9f4589650da
2009-03-29 07:30:31 +00:00
HD Moore
3c924b245a
Fix a metasm bug that causes a conflict with rails. Thanks h!
...
git-svn-id: file:///home/svn/framework3/trunk@6326 4d416f70-5f16-0410-b530-b9f4589650da
2009-03-09 13:35:20 +00:00
HD Moore
f341e79157
Add new metasm checkout
...
git-svn-id: file:///home/svn/framework3/trunk@6314 4d416f70-5f16-0410-b530-b9f4589650da
2009-03-07 23:03:38 +00:00
HD Moore
aa4274a3bb
Upgrading metasm...
...
git-svn-id: file:///home/svn/framework3/trunk@6312 4d416f70-5f16-0410-b530-b9f4589650da
2009-03-07 22:58:19 +00:00
Ramon de C Valle
f124597a56
Code cleanups
...
git-svn-id: file:///home/svn/framework3/trunk@5773 4d416f70-5f16-0410-b530-b9f4589650da
2008-10-19 21:03:39 +00:00
HD Moore
6ca97f33f4
Syncing with trunk
...
git-svn-id: file:///home/svn/framework3/trunk@5718 4d416f70-5f16-0410-b530-b9f4589650da
2008-10-05 15:09:47 +00:00
HD Moore
df55d0107a
Update from Julien fixes API calls on older OSs
...
git-svn-id: file:///home/svn/framework3/trunk@5679 4d416f70-5f16-0410-b530-b9f4589650da
2008-09-24 20:01:22 +00:00
HD Moore
c123a0e3ee
Merged in from the latest HG pull
...
git-svn-id: file:///home/svn/framework3/trunk@5669 4d416f70-5f16-0410-b530-b9f4589650da
2008-09-18 21:02:32 +00:00
HD Moore
97dc2065b6
Nuking this - replacing with the latest testing version.
...
git-svn-id: file:///home/svn/framework3/trunk@5668 4d416f70-5f16-0410-b530-b9f4589650da
2008-09-18 21:01:48 +00:00
HD Moore
53e9dc5b92
Massive patch to enable Ruby 1.9 compatibility
...
git-svn-id: file:///home/svn/framework3/trunk@5666 4d416f70-5f16-0410-b530-b9f4589650da
2008-09-17 18:17:58 +00:00
HD Moore
a9c74714bb
Upgrading to a newer snapshot of metasm
...
git-svn-id: file:///home/svn/framework3/trunk@5623 4d416f70-5f16-0410-b530-b9f4589650da
2008-08-11 19:46:33 +00:00
HD Moore
7a04d3fbad
Merge metasm back in (fresh copy, no HG stuff)
...
git-svn-id: file:///home/svn/framework3/trunk@5356 4d416f70-5f16-0410-b530-b9f4589650da
2008-01-26 09:57:05 +00:00
HD Moore
63f396827e
Removed (replacing with a fresh copy)
...
git-svn-id: file:///home/svn/framework3/trunk@5355 4d416f70-5f16-0410-b530-b9f4589650da
2008-01-26 09:56:02 +00:00
HD Moore
1f2791494b
General cleanups, bug fixes, removal of debugging statements.
...
git-svn-id: file:///home/svn/framework3/trunk@5051 4d416f70-5f16-0410-b530-b9f4589650da
2007-07-16 02:17:32 +00:00
HD Moore
e01ed7a606
Updated METASM hg directory
...
git-svn-id: file:///home/svn/framework3/trunk@5018 4d416f70-5f16-0410-b530-b9f4589650da
2007-07-03 04:22:55 +00:00
HD Moore
4a204efaa1
Import the new METASM code
...
git-svn-id: file:///home/svn/framework3/trunk@5008 4d416f70-5f16-0410-b530-b9f4589650da
2007-06-30 21:53:26 +00:00