lkml.org 
[lkml]   [1996]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: how to unmap first 64k for a.out ?
Date
> is there a way to build an a.out binary which has all the first 64k
> unmapped and not only the first page (4k) ?
>
> I need this to trap accesses to a NULL pointer with offsets up to 64k
> and I can't build a ELF binary to test it... I tried using


thanks for all the suggestions. right now I used another solution
since I know which the base pointer is which is used for this 64k offset
accesses. for now I initialize this pointer to (NULL - 64*1024) so
all the suspicious access are trapped and I found all my problems...


Thanks,

Harald
--
All SCSI disks will from now on ___ _____
be required to send an email notice 0--,| /OOOOOOO\
24 hours prior to complete hardware failure! <_/ / /OOOOOOOOOOO\
\ \/OOOOOOOOOOOOOOO\
\ OOOOOOOOOOOOOOOOO|//
Harald Koenig, \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik // / \\ \
koenig@tat.physik.uni-tuebingen.de ^^^^^ ^^^^^

\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.022 / U:0.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site