[LLVMdev] Randomizing Functions & Global variables

Reid Spencer reid at x10sys.com
Thu Jun 2 13:57:38 PDT 2005


Can you explain a little bit more about what you mean by "randomize"
functions or global variables? What aspect of them do you want to
randomize? Their address? Their value? Something else?

Reid.

On Thu, 2005-06-02 at 13:53 -0700, Tanu Sharma wrote:
> I would try that ..Thanks
>  
> Another thing that I want to do is to randomize functions within a
> program (or file ), whatever is easier to do in llvm .Also please tell
> me how can I randomize global variables ?
>  
> Thanks
> TS
> 
> 
> Chris Lattner <sabre at nondot.org> wrote:
>         On Mon, 30 May 2005, Tanu Sharma wrote:
>         
>         > I have been trying to compile the SPEC benchmark but have
>         failed even 
>         > after several attempts.The first error I get while trying to
>         run is :
>         
>         There are two ways to do this:
>         
>         1. Use the llvm-test harness
>         2. Use the official spec harness with -Wl,-native-cbe or -Wl,-
>         native flags
>         to llvm-gcc.
>         
>         -Chris
>         
>         >
>         --------------------------------------------------------------------
>         >
>         > Error loading program '../00000002/gzip_base.x86_linux.bc':
>         Can't open file: ../00000002/gzip_base.x86_linux.bc
>         >
>         >
>         -----------------------------------------------------------------------
>         >
>         >
>         >
>         > Has anyone tried doing this ?Could you please tell me the
>         changes required to compile it with llvm.
>         >
>         >
>         >
>         > Thanks
>         >
>         > TS
>         >
>         >> ---------------------------------
>         > Yahoo! Mail Mobile
>         > Take Yahoo! Mail with you! Check email on your mobile phone.
>         
>         -Chris
>         
>         -- 
>         http://nondot.org/sabre/
>         http://llvm.cs.uiuc.edu/
>         
>         _______________________________________________
>         LLVM Developers mailing list
>         LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
>         http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
> 
> 
> ______________________________________________________________________
> Discover Yahoo!
> Stay in touch with email, IM, photo sharing & more. Check it out!
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20050602/7c218473/attachment.sig>


More information about the llvm-dev mailing list