HomeSort by: relevance | last modified time | path
    Searched refs:free (Results 1 - 25 of 10638) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/external/apache2/llvm/dist/clang/docs/analyzer/checkers/
unix_malloc_example.c 4 free(p);
5 free(p); // warn: attempt to free released memory
10 free(p);
11 *p = 1; // warn: use after free
22 free(a); // warn: argument is not allocated by malloc
28 free(p); // warn: argument to free() is offset by -4 bytes
  /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/
valgrind-bt.c 3 Copyright 2009-2024 Free Software Foundation, Inc.
5 This program is free software; you can redistribute it and/or modify
7 the Free Software Foundation; either version 3 of the License, or
27 free (p);
28 free (p); /* double-free */
charset-malloc.c 3 Copyright 2010-2024 Free Software Foundation, Inc.
7 This program is free software; you can redistribute it and/or modify
9 the Free Software Foundation; either version 3 of the License, or
35 free (p);
valgrind-infcall.c 3 Copyright 2012-2024 Free Software Foundation, Inc.
5 This program is free software; you can redistribute it and/or modify
7 the Free Software Foundation; either version 3 of the License, or
37 free (p);
38 free (p); /* double-free */
  /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
valgrind-bt.c 3 Copyright 2009-2025 Free Software Foundation, Inc.
5 This program is free software; you can redistribute it and/or modify
7 the Free Software Foundation; either version 3 of the License, or
27 free (p);
28 free (p); /* double-free */
charset-malloc.c 3 Copyright 2010-2025 Free Software Foundation, Inc.
7 This program is free software; you can redistribute it and/or modify
9 the Free Software Foundation; either version 3 of the License, or
35 free (p);
valgrind-infcall.c 3 Copyright 2012-2025 Free Software Foundation, Inc.
5 This program is free software; you can redistribute it and/or modify
7 the Free Software Foundation; either version 3 of the License, or
37 free (p);
38 free (p); /* double-free */
  /src/tests/usr.bin/c++/
t_asan_double_free.sh 37 void foo(int index) { char *x = (char*)malloc(10 * sizeof(char)); memset(x, 0, 10); free(x); free(x - index); }
44 asan_test_case double_free "Double Free example" double-free
t_asan_uaf.sh 36 int foo() {int *x = (int *)malloc(10 * sizeof(int)); free(x); return x[0];}
43 asan_test_case uaf "Use After Free example" heap-use-after-free
  /src/tests/usr.bin/cc/
t_asan_double_free.sh 37 void foo(int index) { char *x = (char*)malloc(10 * sizeof(char)); memset(x, 0, 10); free(x); free(x - index); }
44 asan_test_case double_free "Double Free example" double-free
t_asan_uaf.sh 36 int foo() {int *x = (int *)malloc(10 * sizeof(int)); free(x); return x[0];}
43 asan_test_case uaf "Use After Free example" heap-use-after-free
  /src/external/bsd/ipf/dist/lib/
freembt.c 17 free(m);
  /src/external/gpl3/gdb/dist/sim/testsuite/cris/c/
mapbrk.c 22 free (p1);
23 free (p2);
24 free (p3);
25 free (p4);
26 free (p5);
27 free (p6);
35 free (p1);
  /src/external/gpl3/gdb.old/dist/sim/testsuite/cris/c/
mapbrk.c 22 free (p1);
23 free (p2);
24 free (p3);
25 free (p4);
26 free (p5);
27 free (p6);
35 free (p1);
  /src/crypto/external/bsd/heimdal/dist/lib/kadm5/
destroy_c.c 45 free(context->realm);
46 free(context->admin_server);
49 free(context->client_name);
51 free(context->service_name);
56 free(context);
  /src/crypto/external/bsd/heimdal/dist/lib/roken/
freehostent.c 41 * free a malloced hostent
49 free (h->h_name);
52 free (*p);
53 free (h->h_aliases);
57 free (*p);
58 free (h->h_addr_list);
60 free (h);
xfree.c 43 free(buf);
  /src/sys/external/isc/libsodium/include/
stdlib.h 4 #undef free macro
6 #define free(addr) __free_should_not_be_used macro
  /src/crypto/external/bsd/heimdal/dist/lib/krb5/
free_host_realm.c 39 * Free all memory allocated by `realmlist'
42 * @param realmlist realmlist to free, NULL is ok
58 free (*p);
59 free (realmlist);
  /src/external/gpl3/gcc/dist/libstdc++-v3/libsupc++/
del_op.cc 3 // Copyright (C) 1997-2024 Free Software Foundation, Inc.
7 // GCC is free software; you can redistribute it and/or modify
9 // the Free Software Foundation; either version 3, or (at your option)
19 // 3.1, as published by the Free Software Foundation.
29 // A freestanding C runtime may not provide "free" -- but there is no
34 extern "C" void free(void*);
49 std::free(ptr);
  /src/external/gpl3/gcc.old/dist/libstdc++-v3/libsupc++/
del_op.cc 3 // Copyright (C) 1997-2022 Free Software Foundation, Inc.
7 // GCC is free software; you can redistribute it and/or modify
9 // the Free Software Foundation; either version 3, or (at your option)
19 // 3.1, as published by the Free Software Foundation.
29 // A freestanding C runtime may not provide "free" -- but there is no
34 extern "C" void free(void*);
49 std::free(ptr);
  /src/external/gpl3/gdb.old/dist/gdbsupport/
gdb-xfree.h 1 /* Copyright (C) 1986-2024 Free Software Foundation, Inc.
5 This program is free software; you can redistribute it and/or modify
7 the Free Software Foundation; either version 3 of the License, or
23 /* GDB uses this instead of 'free', it detects when it is called on an
35 GNULIB_NAMESPACE::free (ptr); /* ARI: free */
37 free (ptr); /* ARI: free */
  /src/external/gpl3/gdb/dist/gdbsupport/
gdb-xfree.h 1 /* Copyright (C) 1986-2025 Free Software Foundation, Inc.
5 This program is free software; you can redistribute it and/or modify
7 the Free Software Foundation; either version 3 of the License, or
23 /* GDB uses this instead of 'free', it detects when it is called on an
35 GNULIB_NAMESPACE::free (ptr); /* ARI: free */
37 free (ptr); /* ARI: free */
  /src/external/bsd/libarchive/dist/cpio/test/
test_option_Z_upper.c 27 free(p);
32 free(p);
35 free(p);
40 free(p);
test_option_lzma.c 27 free(p);
32 free(p);
35 free(p);
40 free(p);

Completed in 36 milliseconds

1 2 3 4 5 6 7 8 91011>>