Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Ejecución de pruebas con Valgrind:
- 01 Prueba simple suma, resta, division y multiplicacion
- ==147== 27 bytes in 9 blocks are definitely lost in loss record 1 of 1
- ==147== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==147== by 0x4ED99B9: strdup (strdup.c:42)
- ==147== by 0x108FEA: split (strutil.c:53)
- ==147== by 0x10897B: main (dc.c:37)
- ==147==
- ERROR
- 02 Prueba de calculo de raices
- ==149== 72 bytes in 12 blocks are definitely lost in loss record 1 of 1
- ==149== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==149== by 0x4ED99B9: strdup (strdup.c:42)
- ==149== by 0x108FEA: split (strutil.c:53)
- ==149== by 0x10897B: main (dc.c:37)
- ==149==
- ERROR
- 03 Pruebas calculo de potencia
- ==151== 21 bytes in 7 blocks are definitely lost in loss record 1 of 1
- ==151== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==151== by 0x4ED99B9: strdup (strdup.c:42)
- ==151== by 0x108FEA: split (strutil.c:53)
- ==151== by 0x10897B: main (dc.c:37)
- ==151==
- ERROR
- 04 Pruebas de operacion de logaritmo
- ==153== 60 bytes in 12 blocks are definitely lost in loss record 1 of 1
- ==153== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==153== by 0x4ED99B9: strdup (strdup.c:42)
- ==153== by 0x108FEA: split (strutil.c:53)
- ==153== by 0x10897B: main (dc.c:37)
- ==153==
- ERROR
- 05 Pruebas con operacion ternaria
- ==155== 19 bytes in 7 blocks are definitely lost in loss record 1 of 1
- ==155== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==155== by 0x4ED99B9: strdup (strdup.c:42)
- ==155== by 0x108FEA: split (strutil.c:53)
- ==155== by 0x10897B: main (dc.c:37)
- ==155==
- ERROR
- 07 Suma con espacios extra entre los numeros y operaciones, no tiene que fallar
- ==157== 2 bytes in 1 blocks are definitely lost in loss record 1 of 1
- ==157== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==157== by 0x4ED99B9: strdup (strdup.c:42)
- ==157== by 0x108FEA: split (strutil.c:53)
- ==157== by 0x10897B: main (dc.c:37)
- ==157==
- ERROR
- 08 Prueba casos con todas las operaciones (parte 1)
- ==159== 43 bytes in 12 blocks are definitely lost in loss record 1 of 1
- ==159== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==159== by 0x4ED99B9: strdup (strdup.c:42)
- ==159== by 0x108FEA: split (strutil.c:53)
- ==159== by 0x10897B: main (dc.c:37)
- ==159==
- ERROR
- 09 Probando usando todas las operaciones (parte 2)
- ==161== 29 bytes in 10 blocks are definitely lost in loss record 1 of 1
- ==161== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==161== by 0x4ED99B9: strdup (strdup.c:42)
- ==161== by 0x108FEA: split (strutil.c:53)
- ==161== by 0x10897B: main (dc.c:37)
- ==161==
- ERROR
- 10 Casos bordes: Division por cero
- ==163== 2 bytes in 1 blocks are definitely lost in loss record 1 of 4
- ==163== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==163== by 0x108E60: substr (strutil.c:9)
- ==163== by 0x1089C6: main (dc.c:39)
- ==163==
- ==163== 3 bytes in 1 blocks are definitely lost in loss record 2 of 4
- ==163== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==163== by 0x4ED99B9: strdup (strdup.c:42)
- ==163== by 0x108FEA: split (strutil.c:53)
- ==163== by 0x10897B: main (dc.c:37)
- ==163==
- ==163== 8 bytes in 1 blocks are definitely lost in loss record 3 of 4
- ==163== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==163== by 0x109446: calcular (dc.c:85)
- ==163== by 0x1089F9: main (dc.c:47)
- ==163==
- ==163== 16 bytes in 2 blocks are definitely lost in loss record 4 of 4
- ==163== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==163== by 0x108A37: main (dc.c:42)
- ==163==
- ERROR
- 11 Casos Bordes: Logaritmo usando bases incorrectas (base negativa, base 0, base 1)==165== 12 bytes in 3 blocks are definitely lost in loss record 1 of 4
- ==165== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==165== by 0x108E60: substr (strutil.c:9)
- ==165== by 0x1089C6: main (dc.c:39)
- ==165==
- ==165== 15 bytes in 3 blocks are definitely lost in loss record 2 of 4
- ==165== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==165== by 0x4ED99B9: strdup (strdup.c:42)
- ==165== by 0x108FEA: split (strutil.c:53)
- ==165== by 0x10897B: main (dc.c:37)
- ==165==
- ==165== 24 bytes in 3 blocks are definitely lost in loss record 3 of 4
- ==165== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==165== by 0x109446: calcular (dc.c:85)
- ==165== by 0x1089F9: main (dc.c:47)
- ==165==
- ==165== 48 bytes in 6 blocks are definitely lost in loss record 4 of 4
- ==165== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==165== by 0x108A37: main (dc.c:42)
- ==165==
- ERROR
- 12 Casos Bordes: llamados con sintaxis incorrectas (operadores de más, numeros de más, operaciones incompletas)==167== 2 bytes in 1 blocks are definitely lost in loss record 1 of 5
- ==167== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==167== by 0x4ED99B9: strdup (strdup.c:42)
- ==167== by 0x108FAE: split (strutil.c:40)
- ==167== by 0x10897B: main (dc.c:37)
- ==167==
- ==167== 26 bytes in 10 blocks are definitely lost in loss record 2 of 5
- ==167== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==167== by 0x108E60: substr (strutil.c:9)
- ==167== by 0x1089C6: main (dc.c:39)
- ==167==
- ==167== 32 bytes in 4 blocks are definitely lost in loss record 3 of 5
- ==167== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==167== by 0x108A37: main (dc.c:42)
- ==167==
- ==167== 32 bytes in 4 blocks are definitely lost in loss record 4 of 5
- ==167== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==167== by 0x109446: calcular (dc.c:85)
- ==167== by 0x1089F9: main (dc.c:47)
- ==167==
- ==167== 40 bytes in 11 blocks are definitely lost in loss record 5 of 5
- ==167== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==167== by 0x4ED99B9: strdup (strdup.c:42)
- ==167== by 0x108FEA: split (strutil.c:53)
- ==167== by 0x10897B: main (dc.c:37)
- ==167==
- ERROR
- 13 Casos Bordes: llamado a raiz (ej: mismo radicando e indice)==169== 6 bytes in 1 blocks are definitely lost in loss record 1 of 1
- ==169== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==169== by 0x4ED99B9: strdup (strdup.c:42)
- ==169== by 0x108FEA: split (strutil.c:53)
- ==169== by 0x10897B: main (dc.c:37)
- ==169==
- ERROR
- 14 Casos Bordes: Potencias==171== 2 bytes in 1 blocks are definitely lost in loss record 1 of 4
- ==171== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==171== by 0x108E60: substr (strutil.c:9)
- ==171== by 0x1089C6: main (dc.c:39)
- ==171==
- ==171== 3 bytes in 1 blocks are definitely lost in loss record 2 of 4
- ==171== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==171== by 0x4ED99B9: strdup (strdup.c:42)
- ==171== by 0x108FEA: split (strutil.c:53)
- ==171== by 0x10897B: main (dc.c:37)
- ==171==
- ==171== 8 bytes in 1 blocks are definitely lost in loss record 3 of 4
- ==171== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==171== by 0x109446: calcular (dc.c:85)
- ==171== by 0x1089F9: main (dc.c:47)
- ==171==
- ==171== 16 bytes in 2 blocks are definitely lost in loss record 4 of 4
- ==171== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==171== by 0x108A37: main (dc.c:42)
- ==171==
- ERROR
- Makefile:14: recipe for target 'dc' failed
- make: *** [dc] Error 2
- make: Target 'all' not remade because of errors.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement