[oss] [Assignment 1] [Task 1] no m32 compilation flag

Razvan Nitu razvan.nitu1305 at gmail.com
Tue Nov 11 18:13:05 EET 2014


Razvan Nitu <razvan.nitu1305 at ...> writes:

> 
> Hello all,
> 
> When I tried to run the hasher binary I got this error [1]. I recompiled, 
but 
> i received [2]. I figured it might be the fact that I don't have the 32-
bit 
> library so I compiled everything without the -m32 flag and everything 
worked 
> fine. I think that this might cause some issues if the script contains 
> breakpoints at hardcoded addresses. This leads me to my second question: 
can 
> we assume that ASLR is disabled ?
> 
> Razvan
> 
> [1] ./hasher: error while loading shared libraries: libcrypto.so.1.0.0: 
> cannot open shared object file: No such file or directory
> 
> [2] In file included from /usr/include/openssl/sha.h:63:0,
>                  from hasher.c:1:
> /usr/include/openssl/e_os2.h:56:33: fatal error: openssl/opensslconf.h: No 
> such file or directory
>  #include <openssl/opensslconf.h>
> 
> _______________________________________________
> http://elf.cs.pub.ro/oss/wiki/resources/mailing-list

Task 5 mentions "break in compute_hash() after malloc call". There is no 
malloc call in compute_hash(). So, are we supposed to break after malloc 
(which is called in alloc_hash()) or after alloc_hash() (which is called in 
function compute_hash()) ?






More information about the oss mailing list