Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
C++ x86 Disassmbler
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  14 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
Aaron Gray  
View profile   Translate to Translated (View Original)
 More options 30 June, 03:07
Newsgroups: comp.lang.misc, alt.os.development
From: "Aaron Gray" <ang.use...@gmail.com>
Date: Tue, 30 Jun 2009 03:07:58 +0100
Local: Tues 30 June 2009 03:07
Subject: C++ x86 Disassmbler
I have to write an objdump/bindump program and am looking for an x86
disassembler written in C++.

Many thanks in advance,

Aaron


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Aaron Gray  
View profile   Translate to Translated (View Original)
 More options 30 June, 03:38
Newsgroups: comp.lang.misc, alt.os.development
From: "Aaron Gray" <ang.use...@gmail.com>
Date: Tue, 30 Jun 2009 03:38:34 +0100
Local: Tues 30 June 2009 03:38
Subject: Re: C++ x86 Disassmbler
"Aaron Gray" <ang.use...@gmail.com> wrote in message

news:7atabvF20uv49U1@mid.individual.net...

>I have to write an objdump/bindump program and am looking for an x86
>disassembler written in C++.

Ah, just found diStorm again, thought it was called DStorm. Its C code but
thats allright for now, may convert it to C++ or just use a wrapper for now.

    http://ragestorm.net/distorm/

Its under a very permissive license :)

Aaron


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
cr88192  
View profile   Translate to Translated (View Original)
 More options 30 June, 15:31
Newsgroups: comp.lang.misc, alt.os.development
From: "cr88192" <cr88...@hotmail.com>
Date: Tue, 30 Jun 2009 07:31:56 -0700
Local: Tues 30 June 2009 15:31
Subject: Re: C++ x86 Disassmbler

"Aaron Gray" <ang.use...@gmail.com> wrote in message

news:7atc5eF215c68U1@mid.individual.net...

> "Aaron Gray" <ang.use...@gmail.com> wrote in message
> news:7atabvF20uv49U1@mid.individual.net...
>>I have to write an objdump/bindump program and am looking for an x86
>>disassembler written in C++.

> Ah, just found diStorm again, thought it was called DStorm. Its C code but
> thats allright for now, may convert it to C++ or just use a wrapper for
> now.

>    http://ragestorm.net/distorm/

> Its under a very permissive license :)

meanwhile, long ago (or, for a long time now), I wrote my own
disassembler...
it mostly shares code with my assembler, and is mostly used for debug
dumping.

still doesn't currently support AVX/VEX/SSE5 yet though (or any other
non-x86 arch...).
and it is LGPL...


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rod Pemberton  
View profile   Translate to Translated (View Original)
 More options 30 June, 19:50
Newsgroups: comp.lang.misc, alt.os.development, alt.lang.asm
Follow-up To: alt.os.development, alt.lang.asm
From: "Rod Pemberton" <do_not_h...@nohavenot.cmm>
Date: Tue, 30 Jun 2009 14:50:31 -0400
Local: Tues 30 June 2009 19:50
Subject: Re: C++ x86 Disassmbler
"Aaron Gray" <ang.use...@gmail.com> wrote in message

news:7atabvF20uv49U1@mid.individual.net...

> I have to write an objdump/bindump program and am looking for an x86
> disassembler written in C++.

Willow's vm64dec and qadasm2 (disassemblers) are both in C++.  Available
here on "downloads" page:
http://code.google.com/p/vm64dec/

Willow was posting to alt.lang.asm, but I haven't seen a post in a while.

Some of the base code for an objdump type of program might be available from
Agner Fog's "Object file converter"...  It converts between object file
formats.  I don't think it has a disassembler.  It's in C++ as objconv.zip
from here:
http://www.agner.org/optimize/

AFAICT, the other disassembly libraries I'm aware of are in C.

Rod Pemberton
PS.  I've dropped comp.lang.misc and added alt.lang.asm on follow-ups to
this post.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Aaron Gray  
View profile   Translate to Translated (View Original)
 More options 1 July, 15:08
Newsgroups: alt.os.development, alt.lang.asm
From: "Aaron Gray" <ang.use...@gmail.com>
Date: Wed, 1 Jul 2009 15:08:06 +0100
Local: Wed 1 July 2009 15:08
Subject: Re: C++ x86 Disassmbler
"Rod Pemberton" <do_not_h...@nohavenot.cmm> wrote in message

news:h2dmrv$293$1@aioe.org...

> "Aaron Gray" <ang.use...@gmail.com> wrote in message
> news:7atabvF20uv49U1@mid.individual.net...
>> I have to write an objdump/bindump program and am looking for an x86
>> disassembler written in C++.

> Willow's vm64dec and qadasm2 (disassemblers) are both in C++.  Available
> here on "downloads" page:
> http://code.google.com/p/vm64dec/

GNU GPL

> Willow was posting to alt.lang.asm, but I haven't seen a post in a while.

> Some of the base code for an objdump type of program might be available
> from
> Agner Fog's "Object file converter"...  It converts between object file
> formats.  I don't think it has a disassembler.  It's in C++ as objconv.zip
> from here:
> http://www.agner.org/optimize/

GNU GPL

> AFAICT, the other disassembly libraries I'm aware of are in C.

> Rod Pemberton
> PS.  I've dropped comp.lang.misc and added alt.lang.asm on follow-ups to
> this post.

Thanks, but I cannot use GPL code. Only BSD or simular.

disStorm looks like it should be a stopgap solution for now.

Aaron


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rui Maciel  
View profile   Translate to Translated (View Original)
 More options 1 July, 16:12
Newsgroups: alt.os.development, alt.lang.asm
Follow-up To: alt.os.development
From: Rui Maciel <rui.mac...@gmail.com>
Date: Wed, 01 Jul 2009 16:12:35 +0100
Local: Wed 1 July 2009 16:12
Subject: Re: C++ x86 Disassmbler

Aaron Gray wrote:
> Thanks, but I cannot use GPL code. Only BSD or simular.

How come? Are you trying to rip the code and incorporate it into your project?

Rui Maciel


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
cr88192  
View profile   Translate to Translated (View Original)
 More options 1 July, 18:09
Newsgroups: alt.os.development
From: "cr88192" <cr88...@hotmail.com>
Date: Wed, 1 Jul 2009 10:09:36 -0700
Local: Wed 1 July 2009 18:09
Subject: Re: C++ x86 Disassmbler

"Rui Maciel" <rui.mac...@gmail.com> wrote in message

news:4a4b7ce5$0$3394$a729d347@news.telepac.pt...

> Aaron Gray wrote:

>> Thanks, but I cannot use GPL code. Only BSD or simular.

> How come? Are you trying to rip the code and incorporate it into your
> project?

recently he has been working on LLVM, and this is probably related to
this...

my project is LGPL, but I am more flexibly liscensed (since I wrote the
code, I can make available portions of the code under different
liscenses...).

of course, my disassembler is currently joined with my assembler and linker
(mostly it serves the role of debug-dumping in-memory structures, ...).

and it is written in, of all things, C...

errm, and it follows my general approach of allowing code internal to a
library to be a bit of a horrible mess, but mostly enforces modularity to
keep the messes contained...

or such...


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Aaron Gray  
View profile   Translate to Translated (View Original)
 More options 2 July, 02:56
Newsgroups: alt.os.development
From: "Aaron Gray" <ang.use...@gmail.com>
Date: Thu, 2 Jul 2009 02:56:20 +0100
Local: Thurs 2 July 2009 02:56
Subject: Re: C++ x86 Disassmbler
"Rui Maciel" <rui.mac...@gmail.com> wrote in message

news:4a4b7ce5$0$3394$a729d347@news.telepac.pt...

> Aaron Gray wrote:

>> Thanks, but I cannot use GPL code. Only BSD or simular.

> How come? Are you trying to rip the code and incorporate it into your
> project?

Coz I dont want to be chased by a GNU....Onward....

Aaron


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
H. Peter Anvin  
View profile   Translate to Translated (View Original)
 More options 7 July, 07:54
Newsgroups: alt.os.development, alt.lang.asm
From: "H. Peter Anvin" <h...@zytor.com>
Date: Mon, 06 Jul 2009 23:54:51 -0700
Local: Tues 7 July 2009 07:54
Subject: Re: C++ x86 Disassmbler

Aaron Gray wrote:

> Thanks, but I cannot use GPL code. Only BSD or simular.

> disStorm looks like it should be a stopgap solution for now.

If C is okay, NASM is BSD now (from version 2.07rc1).

        -hpa


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Herbert Kleebauer  
View profile   Translate to Translated (View Original)
 More options 7 July, 09:34
Newsgroups: alt.os.development, alt.lang.asm
From: Herbert Kleebauer <k...@unibwm.de>
Date: Tue, 07 Jul 2009 10:34:18 +0200
Local: Tues 7 July 2009 09:34
Subject: Re: C++ x86 Disassmbler

"H. Peter Anvin" wrote:
> Aaron Gray wrote:

> > Thanks, but I cannot use GPL code. Only BSD or simular.

> > disStorm looks like it should be a stopgap solution for now.

> If C is okay, NASM is BSD now (from version 2.07rc1).

How can GPL code become BSD? Did really all contributors to
the GPL code agree with the license change or was all this
code completely rewritten?

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Frank Kotler  
View profile   Translate to Translated (View Original)
 More options 7 July, 12:06
Newsgroups: alt.os.development, alt.lang.asm
From: Frank Kotler <fbkot...@myfairpoint.net>
Date: Tue, 07 Jul 2009 07:06:54 -0400
Local: Tues 7 July 2009 12:06
Subject: Re: C++ x86 Disassmbler

Herbert Kleebauer wrote:
> "H. Peter Anvin" wrote:
>> Aaron Gray wrote:
>>> Thanks, but I cannot use GPL code. Only BSD or simular.

>>> disStorm looks like it should be a stopgap solution for now.

>> If C is okay, NASM is BSD now (from version 2.07rc1).

> How can GPL code become BSD?

...
cmp al, 'G'
jnz .skip
mov al, 'B'
.skip:
cmp al, 'P'
...

> Did really all contributors to
> the GPL code agree with the license change or was all this
> code completely rewritten?

AFAIK, all contributors were happy to agree, save that Yuri Zaporogets
couldn't be found - his contribution was rewritten. As you'll recall,
one of the Original Authors had to be waterboarded before he'd agree
even to the "compromise" LGPL (which is what Nasm was), and the other
was reluctant.

I thought this announcement might pull Betov out of "retirement"... or
maybe he's "rolling over in his grave". Hope he's okay.

Now BigBadCorp can steal Nasm's code and sell it in competition with
Tasm! You should have contributed something, Herbert! :)

Best,
Frank


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Herbert Kleebauer  
View profile   Translate to Translated (View Original)
 More options 7 July, 17:09
Newsgroups: alt.os.development, alt.lang.asm
From: Herbert Kleebauer <k...@unibwm.de>
Date: Tue, 07 Jul 2009 18:09:19 +0200
Local: Tues 7 July 2009 17:09
Subject: Re: C++ x86 Disassmbler

Frank Kotler wrote:
> Herbert Kleebauer wrote:
> > How can GPL code become BSD?

> ...
> cmp al, 'G'
> jnz .skip
> mov al, 'B'
> .skip:
> cmp al, 'P'
> ...

Yes, any G (like Good) is replaced by a B (like Bad) and not
only the "G" within the word "GPL"!

> I thought this announcement might pull Betov out of "retirement"... or
> maybe he's "rolling over in his grave". Hope he's okay.

No, but this announcement might remove NASM from any default Linux
distribution.

> Now BigBadCorp can steal Nasm's code and sell it in competition with
> Tasm! You should have contributed something, Herbert! :)

Yes, and

http://opensource.apple.com/source/nasm/nasm-13/nasm/

will be renamed to

http://closedsource.apple.com/source/nasm/nasm-13/nasm/


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
H. Peter Anvin  
View profile   Translate to Translated (View Original)
 More options 7 July, 17:17
Newsgroups: alt.os.development, alt.lang.asm
From: "H. Peter Anvin" <h...@zytor.com>
Date: Tue, 07 Jul 2009 09:17:18 -0700
Local: Tues 7 July 2009 17:17
Subject: Re: C++ x86 Disassmbler

Frank Kotler wrote:

> AFAIK, all contributors were happy to agree, save that Yuri Zaporogets
> couldn't be found - his contribution was rewritten. As you'll recall,
> one of the Original Authors had to be waterboarded before he'd agree
> even to the "compromise" LGPL (which is what Nasm was), and the other
> was reluctant.

No, I was (eventually) able to contact Yuri Zaporogets.  As far as the
original authors, they were both very cooperative, especially Simon, who
 helped me track down some additional information.

The only person on my list I wasn't able to get something from was
Rafael Sevilla, who wrote rdf2ihx -- rdf2ihx was rewritten.

        -hpa


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Frank Kotler  
View profile   Translate to Translated (View Original)
 More options 7 July, 17:52
Newsgroups: alt.os.development, alt.lang.asm
From: Frank Kotler <fbkot...@myfairpoint.net>
Date: Tue, 07 Jul 2009 12:52:23 -0400
Local: Tues 7 July 2009 17:52
Subject: Re: C++ x86 Disassmbler

H. Peter Anvin wrote:
> Frank Kotler wrote:
>> AFAIK, all contributors were happy to agree, save that Yuri Zaporogets
>> couldn't be found - his contribution was rewritten. As you'll recall,
>> one of the Original Authors had to be waterboarded before he'd agree
>> even to the "compromise" LGPL (which is what Nasm was), and the other
>> was reluctant.

> No, I was (eventually) able to contact Yuri Zaporogets.  As far as the
> original authors, they were both very cooperative, especially Simon, who
>  helped me track down some additional information.

> The only person on my list I wasn't able to get something from was
> Rafael Sevilla, who wrote rdf2ihx -- rdf2ihx was rewritten.

I stand corrected. Glad to hear you heard from Yuri. Last I talked to
him, he was suffering from the bad economy in Ukraine.

Speaking of "old timers", I heard from Jerry Kassebaum the other day.
Anyone remember him?

Best,
Frank


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google