Re: disassembler

2010-09-05 Thread Andrew MacIntyre
Aryeh Friedman wrote: I should of said USB drive I just think of all USB drives as "flash" drives... it is a Lacie external drive If this is a 3.5" drive with an external power supply, then the drive itself might be okay but the circuitry adapting it to the USB connector might have developed

Re: disassembler

2010-08-27 Thread Rink Springer
On Fri, Aug 27, 2010 at 11:36:55AM +0200, Gary Jennejohn wrote: > There are quite a few diassemblers under ports but I doubt they're > designed to work on raw disks. ndisasm should work nicely; it's in the devel/nasm port. Regards, -- Rink P.W. Springer- http://r

Re: disassembler

2010-08-27 Thread John Baldwin
On Thursday, August 26, 2010 11:42:25 pm Aryeh Friedman wrote: > On Thu, Aug 26, 2010 at 11:36 PM, Aryeh Friedman > wrote: > > On Thu, Aug 26, 2010 at 10:46 PM, Dirk Engling wrote: > >> On 27.08.10 04:17, Aryeh Friedman wrote: > >> > >>> Is there a disassembler in the base system if not what is

Re: disassembler

2010-08-27 Thread Gary Jennejohn
On Fri, 27 Aug 2010 02:53:53 -0400 Aryeh Friedman 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 wri

Re: disassembler

2010-08-27 Thread Hans Petter Selasky
On Friday 27 August 2010 10:27:38 Jim Bryant wrote: > ah, ok. > > if it's a flash drive, the data may be toast. depends on how many dead > cells there are. > Hi, dd if=/dev/da0 of=/root/temp.mbr bs=512 count=1 Then use objcopy to convert /root/temp.mbr into something that objdump can read, a

Re: disassembler

2010-08-27 Thread Aryeh Friedman
I should of said USB drive I just think of all USB drives as "flash" drives... it is a Lacie external drive On Fri, Aug 27, 2010 at 4:27 AM, Jim Bryant wrote: > ah, ok. > > if it's a flash drive, the data may be toast.  depends on how many dead > cells there are. > > best of luck to you. > > Arye

Re: disassembler

2010-08-27 Thread Jim Bryant
ah, ok. if it's a flash drive, the data may be toast. depends on how many dead cells there are. best of luck to you. Aryeh Friedman 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 t

Re: disassembler

2010-08-27 Thread Jim Bryant
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 a

Re: disassembler

2010-08-26 Thread Aryeh Friedman
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

Re: disassembler

2010-08-26 Thread Aryeh Friedman
On Fri, Aug 27, 2010 at 12:37 AM, Aryeh Friedman wrote: > Not really I need to look at the MBR for a flash drive (both the > partiion table and the boot code) > > On Fri, Aug 27, 2010 at 12:32 AM, Rodrigo Mizobe wrote: >> hexdump could help you? what is your need? >> > ___

Re: disassembler

2010-08-26 Thread Aryeh Friedman
On Thu, Aug 26, 2010 at 11:36 PM, Aryeh Friedman wrote: > On Thu, Aug 26, 2010 at 10:46 PM, Dirk Engling 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 >> > > f

Re: disassembler

2010-08-26 Thread Dirk Engling
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 ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-h