You are not logged in.
Pages: 1
$ uname -a
Linux archie 6.5.10-hardened1-1-hardened #1 SMP PREEMPT_DYNAMIC Thu, 02 Nov 2023 22:02:29 +0000 x86_64 GNU/Linuxmain.c:
int main()
{
return 0;
}building with clang and using adsress sanitizer
$ clang -Wall -Wextra -Werror -fsanitize=address,undefined -O0 -g main.c -o main
$ ./main
==49905==Shadow memory range interleaves with an existing memory mapping. ASan cannot proceed correctly. ABORTING.
==49905==ASan shadow was supposed to be located in the [0x00007fff7000-0x10007fff7fff] range.
==49905==This might be related to ELF_ET_DYN_BASE change in Linux 4.12.
==49905==See https://github.com/google/sanitizers/issues/856 for possible workarounds.
==49905==Process memory map follows:
0x0ee264b91000-0x0ee264bb0000 /home/alex/Desktop/mephi/lab4/lab4
0x0ee264bb0000-0x0ee264ced000 /home/alex/Desktop/mephi/lab4/lab4
0x0ee264ced000-0x0ee264d22000 /home/alex/Desktop/mephi/lab4/lab4
0x0ee264d22000-0x0ee264d23000 /home/alex/Desktop/mephi/lab4/lab4
0x0ee264d23000-0x0ee264d27000 /home/alex/Desktop/mephi/lab4/lab4
0x0ee264d27000-0x0ee26567b000
0x65c053900000-0x65c053a00000
0x65c053b00000-0x65c053c00000
0x65c053d00000-0x65c053e00000
0x65c053ef0000-0x65c054000000
0x65c054001000-0x65c054394000
0x65c054394000-0x65c0543aa000 /usr/lib/libncursesw.so.6.4
0x65c0543aa000-0x65c0543ee000 /usr/lib/libncursesw.so.6.4
0x65c0543ee000-0x65c054406000 /usr/lib/libncursesw.so.6.4
0x65c054406000-0x65c05440a000 /usr/lib/libncursesw.so.6.4
0x65c05440a000-0x65c05440b000 /usr/lib/libncursesw.so.6.4
0x65c05440b000-0x65c054431000 /usr/lib/libc.so.6
0x65c054431000-0x65c05458b000 /usr/lib/libc.so.6
0x65c05458b000-0x65c0545df000 /usr/lib/libc.so.6
0x65c0545df000-0x65c0545e3000 /usr/lib/libc.so.6
0x65c0545e3000-0x65c0545e5000 /usr/lib/libc.so.6
0x65c0545e5000-0x65c0545ed000
0x65c0545ed000-0x65c0545f1000 /usr/lib/libgcc_s.so.1
0x65c0545f1000-0x65c05460c000 /usr/lib/libgcc_s.so.1
0x65c05460c000-0x65c054610000 /usr/lib/libgcc_s.so.1
0x65c054610000-0x65c054611000 /usr/lib/libgcc_s.so.1
0x65c054611000-0x65c054612000 /usr/lib/libgcc_s.so.1
0x65c054612000-0x65c054615000 /usr/lib/libresolv.so.2
0x65c054615000-0x65c05461d000 /usr/lib/libresolv.so.2
0x65c05461d000-0x65c05461f000 /usr/lib/libresolv.so.2
0x65c05461f000-0x65c054620000 /usr/lib/libresolv.so.2
0x65c054620000-0x65c054621000 /usr/lib/libresolv.so.2
0x65c054621000-0x65c054623000
0x65c054623000-0x65c054633000 /usr/lib/libm.so.6
0x65c054633000-0x65c0546b2000 /usr/lib/libm.so.6
0x65c0546b2000-0x65c05470e000 /usr/lib/libm.so.6
0x65c05470e000-0x65c05470f000 /usr/lib/libm.so.6
0x65c05470f000-0x65c054710000 /usr/lib/libm.so.6
0x65c054710000-0x65c054727000 /usr/lib/libreadline.so.8.2
0x65c054727000-0x65c054753000 /usr/lib/libreadline.so.8.2
0x65c054753000-0x65c05475d000 /usr/lib/libreadline.so.8.2
0x65c05475d000-0x65c054760000 /usr/lib/libreadline.so.8.2
0x65c054760000-0x65c054766000 /usr/lib/libreadline.so.8.2
0x65c054766000-0x65c054769000
0x65c054778000-0x65c054787000
0x65c054787000-0x65c05478b000 [vvar]
0x65c05478b000-0x65c05478d000 [vdso]
0x65c05478d000-0x65c05478e000 /usr/lib/ld-linux-x86-64.so.2
0x65c05478e000-0x65c0547b4000 /usr/lib/ld-linux-x86-64.so.2
0x65c0547b4000-0x65c0547be000 /usr/lib/ld-linux-x86-64.so.2
0x65c0547be000-0x65c0547c0000 /usr/lib/ld-linux-x86-64.so.2
0x65c0547c0000-0x65c0547c2000 /usr/lib/ld-linux-x86-64.so.2
0x716419bc3000-0x716419be5000 [stack]
==49905==End of process memory map.I tried using commands from github page, but it dont work
Google said to use
ulimit, but it dont work either
Offline
Offline
Thanks, that worked
Offline
\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline
Pages: 1