disassembler

Gary Jennejohn gljennjohn at googlemail.com
Fri Aug 27 10:06:57 UTC 2010


On Fri, 27 Aug 2010 02:53:53 -0400
Aryeh Friedman <aryeh.friedman at gmail.com> wrote:

> No the issue is a drive that has roughly 10 years of work on it died
> and I was asked to see if it is readable/reviable... I already know
> the format of the MBR but I need to also read the code to see if
> something is wakey (I have written MBR's {with inline assemble in GCC)
> for an OS I am working on but never disambled one)
> 
> On Fri, Aug 27, 2010 at 2:50 AM, Jim Bryant <kc5vdj.freebsd at gmail.com> wrote:
> > umm, dude....
> >
> > you writing a boot sector virus or something?
> >
> > funny though....
> >
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/boot-boot0.html
> >
> > given your skill and goals are questionable, you can find it in the source
> > tree yourself.
> >
> > Aryeh Friedman wrote:
> >>
> >> On Thu, Aug 26, 2010 at 11:36 PM, Aryeh Friedman
> >> <aryeh.friedman at gmail.com> wrote:
> >>
> >>>
> >>> On Thu, Aug 26, 2010 at 10:46 PM, Dirk Engling <erdgeist at erdgeist.org>
> >>> wrote:
> >>>
> >>>>
> >>>> On 27.08.10 04:17, Aryeh Friedman wrote:
> >>>>
> >>>>
> >>>>>
> >>>>> Is there a disassembler in the base system if not what is a good
> >>>>> option from ports?
> >>>>>
> >>>>
> >>>> Try objdump -d,
> >>>>
> >>>> __erdgeist
> >>>>
> >>>>
> >>>
> >>> flosoft# objdump -d /dev/da0
> >>> objdump: Warning: '/dev/da0' is not an ordinary file

There are quite a few diassemblers under ports but I doubt they're
designed to work on raw disks.

If you just want to save the data then why not plug the disk into
a different box and save them?

--
Gary Jennejohn


More information about the freebsd-hackers mailing list