[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Race condition in Mach/Hurd?
From: |
Svante Signell |
Subject: |
Re: Race condition in Mach/Hurd? |
Date: |
Tue, 10 May 2011 14:23:13 +0200 |
On Tue, 2011-05-10 at 14:06 +0200, Samuel Thibault wrote:
...
> > Well objdump gave a lot of hits for mach_port_deallocate but
> > mach_port_deallocate_debug was not found. And the addresses are
> > different from the hex editor. Anyway using objdump -D I found it:
> >
> > 002c10c0 <mach_port_deallocate_debug>:
> > 2c10c0: 00 00 add %al,(%eax)
>
> But that's not a file offset. Actually I meant objdump -x, to get the
> headers, which tell you know virtual addresses relate with file offsets.
OK I found it:
SYMBOL TABLE:
...
002c10c0 l O .bss 00000004 mach_port_deallocate_debug
Is the file offset 4 byte?
How to change the hex line:
002c10c0: 2318 0614 1600 000a etc.
Re: Race condition in Mach/Hurd?, Svante Signell, 2011/05/10
- Re: Race condition in Mach/Hurd?, Samuel Thibault, 2011/05/10
- Re: Race condition in Mach/Hurd?, Svante Signell, 2011/05/10
- Re: Race condition in Mach/Hurd?, Samuel Thibault, 2011/05/10
- Re: Race condition in Mach/Hurd?,
Svante Signell <=
- Re: Race condition in Mach/Hurd?, Samuel Thibault, 2011/05/10
- Re: Race condition in Mach/Hurd?, Svante Signell, 2011/05/10
- Re: Race condition in Mach/Hurd?, Samuel Thibault, 2011/05/10
Re: Race condition in Mach/Hurd?, Samuel Thibault, 2011/05/10
Re: Race problem in Mach/Hurd?, Richard Braun, 2011/05/10