search for: regfree

Displaying 20 results from an estimated 22 matches for "regfree".

2014 Feb 25
2
[LLVMdev] configure with clang vs gcc
...ere are two issues. >> >> 1 ) THere should be a way to disable valgrind as you can for zlib. > FWIW, because of inline asm in valgrind.h that LLVM can't yet handle, I use: > > ac_cv_header_valgrind_valgrind_h=no .../configure ... when i do that i get: llvm[1]: Compiling regfree.c for Release+Asserts build llvm[1]: Compiling regstrlcpy.c for Release+Asserts build llvm[1]: Compiling system_error.cpp for Release+Asserts build llvm[1]: Building Release+Asserts Archive Library libLLVMSupport.a make[1]: *** [/home/rkotler/caviumllvmwclang/build/Release+Asserts/lib/libLLVMSuppor...
2014 Feb 25
3
[LLVMdev] configure with clang vs gcc
...to disable valgrind as you can for zlib. >>> FWIW, because of inline asm in valgrind.h that LLVM can't yet handle, I >>> use: >>> >>> ac_cv_header_valgrind_valgrind_h=no .../configure ... >> when i do that i get: >> >> llvm[1]: Compiling regfree.c for Release+Asserts build >> llvm[1]: Compiling regstrlcpy.c for Release+Asserts build >> llvm[1]: Compiling system_error.cpp for Release+Asserts build >> llvm[1]: Building Release+Asserts Archive Library libLLVMSupport.a >> make[1]: *** >> [/home/rkotler/caviumllvmw...
2014 Feb 25
2
[LLVMdev] configure with clang vs gcc
...> FWIW, because of inline asm in valgrind.h that LLVM can't yet handle, I >>>>> use: >>>>> >>>>> ac_cv_header_valgrind_valgrind_h=no .../configure ... >>>> when i do that i get: >>>> >>>> llvm[1]: Compiling regfree.c for Release+Asserts build >>>> llvm[1]: Compiling regstrlcpy.c for Release+Asserts build >>>> llvm[1]: Compiling system_error.cpp for Release+Asserts build >>>> llvm[1]: Building Release+Asserts Archive Library libLLVMSupport.a >>>> make[1]: *** &gt...
2001 Jan 23
11
cc & no 64bit int patches
Here are a couple of patches against the CVS (Jan 22 18:41 PST) Some C++ comments found their way into ssh.h The no64.patch puts ifdefs around buffer_get_int64() now in bufaux.[c,h] -- Tim Rice Multitalents (707) 887-1469 tim at multitalents.net -------------- next part -------------- --- ssh.h.old Mon Jan 22 18:40:58 2001 +++ ssh.h Mon Jan 22 19:02:02 2001 @@ -25,8 +25,10 @@ # include
2010 Apr 27
1
include insmod patch
Am I wrong saying that actually anyone that use klibc has to use insmod patch or build a monolithic kernel? Could not the insmod patch be include? That will make everyone life easier on klibc upgrade. Gilles
2007 Aug 23
1
[nut-commits] svn commit r1073 - in trunk: . drivers
...or NULL) in *compiled, and > - return 0. On error with errno set, return -1. If the supplied > - regular expression is unparseable, return -2 (an error message can > - then be retrieved with regerror(3)). Note that *compiled will be an > - allocated value, and must be freed with regfree(), then free(), see > - regex(3). As a special case, if regex==NULL, then set > - *compiled=NULL (regular expression NULL is intended to match > - anything). */ > -static inline int compile_regex(regex_t **compiled, char *regex, int cflags) > + * store the compiled regular expr...
2000 Oct 11
2
invalid regular expression after many grep's (PR#691)
Full_Name: J Utans Version: 1.1.1 OS: NT4 (SP6) Submission from: (NULL) (155.140.123.250) After grep is called many times (> 250k), with constant strings as patterns, it complains with "invalid regular expression" on calls that worked before (with same pattern and x). At the same time copying to the clipboard does no longer work with "out of memory" error (i.e. when trying
2017 Jan 25
2
LLVM 3.9.1 build race?
.../YAMLParser.cpp.o CMakeFiles/LLVMSupport.dir/YAMLTraits.cpp.o CMakeFiles/LLVMSupport.dir/raw_os_ostream.cpp.o CMakeFiles/LLVMSupport.dir/raw_ostream.cpp.o CMakeFiles/LLVMSupport.dir/regcomp.c.o CMakeFiles/LLVMSupport.dir/regerror.c.o CMakeFiles/LLVMSupport.dir/regexec.c.o CMakeFiles/LLVMSupport.dir/regfree.c.o CMakeFiles/LLVMSupport.dir/regstrlcpy.c.o CMakeFiles/LLVMSupport.dir/Atomic.cpp.o CMakeFiles/LLVMSupport.dir/DynamicLibrary.cpp.o CMakeFiles/LLVMSupport.dir/Errno.cpp.o CMakeFiles/LLVMSupport.dir/Host.cpp.o CMakeFiles/LLVMSupport.dir/Memory.cpp.o CMakeFiles/LLVMSupport.dir/Mutex.cpp.o CMakeFile...
2002 Nov 11
0
Regular Expression support
...tr(pattern, "**")) { static int tested; @@ -76,6 +85,7 @@ if (!strchr(ret->pattern,'/')) { ret->local = 1; } + } return ret; } @@ -85,15 +95,86 @@ free(ex->pattern); memset(ex,0,sizeof(*ex)); free(ex); + if(ex->regexp){ + regfree(ex->regexp); + free(ex->regexp); + } } +#include <regex.h> static int check_one_exclude(char *name, struct exclude_struct *ex, STRUCT_STAT *st) { char *p; int match_start=0; char *pattern = ex->pattern; +// return 1; <-- MEA...
2014 Feb 25
3
[LLVMdev] configure with clang vs gcc
On 02/24/2014 04:42 PM, Eric Christopher wrote: > On Mon, Feb 24, 2014 at 4:40 PM, reed kotler <rkotler at mips.com> wrote: >> I need to leave soon and will take a look in the morning. >> >> I did look at the autoconf input files configure.ac >> >> There is a disable-zlib but not a disable-valgrind, even though it seems >> like there used to be.
2004 May 03
4
ctags(1) command execution vulnerability
Hello, ctags(1) uses external application sort(1) for sorting the tags file. It calls it via system(3) function. Look at the /usr/src/usr.bin/ctags/ctags.c file, there are such lines here: if (uflag) { (void)asprintf(&cmd, "sort -o %s %s", outfile, outfile); if (cmd == NULL) err(1, "out of space"); system(cmd); free(cmd); cmd = NULL; } This code will be
2015 Sep 03
2
Fuzzing complex programs
On Thu, Sep 3, 2015 at 6:45 PM, Kostya Serebryany <kcc at google.com> wrote: > Did you build the Postgres code with -fsanitize-coverage=... ? Yes: CC = clang CFLAGS = -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -g -O0 -fsanitize=address
2010 Oct 02
2
[LLVMdev] tblgen(75451) malloc: *** error for object 0x7fff5fbfcbd0: pointer being reallocated was not allocated
...ompiling raw_os_ostream.cpp for Release+Asserts build llvm[1]: Compiling raw_ostream.cpp for Release+Asserts build llvm[1]: Compiling regcomp.c for Release+Asserts build llvm[1]: Compiling regerror.c for Release+Asserts build llvm[1]: Compiling regexec.c for Release+Asserts build llvm[1]: Compiling regfree.c for Release+Asserts build llvm[1]: Compiling regstrlcpy.c for Release+Asserts build llvm[1]: Building Release+Asserts Archive Library libLLVMSupport.a llvm[2]: Creating 'llvm-lit' script... llvm[2]: Compiling count.c for Release+Asserts build llvm[2]: Compiling FileUpdate.cpp for Release+...
2010 Oct 04
0
[LLVMdev] tblgen(75451) malloc: *** error for object 0x7fff5fbfcbd0: pointer being reallocated was not allocated
...pp for Release+Asserts build > llvm[1]: Compiling raw_ostream.cpp for Release+Asserts build > llvm[1]: Compiling regcomp.c for Release+Asserts build > llvm[1]: Compiling regerror.c for Release+Asserts build > llvm[1]: Compiling regexec.c for Release+Asserts build > llvm[1]: Compiling regfree.c for Release+Asserts build > llvm[1]: Compiling regstrlcpy.c for Release+Asserts build > llvm[1]: Building Release+Asserts Archive Library libLLVMSupport.a > llvm[2]: Creating 'llvm-lit' script... > llvm[2]: Compiling count.c for Release+Asserts build > llvm[2]: Compiling Fi...
2015 Sep 03
2
Fuzzing complex programs
...stmaster/bgworker.o postmaster/bgwriter.o postmaster/checkpointer.o > postmaster/fork_process.o postmaster/pgarch.o postmaster/pgstat.o > postmaster/postmaster.o postmaster/startup.o postmaster/syslogger.o > postmaster/walwriter.o regex/regcomp.o regex/regerror.o > regex/regexec.o regex/regfree.o regex/regprefix.o regex/regexport.o > replication/logical/decode.o replication/logical/logical.o > replication/logical/logicalfuncs.o replication/logical/reorderbuffer.o > replication/logical/origin.o replication/logical/snapbuild.o > replication/walsender.o replication/walreceiverfun...
2008 Jan 08
2
[LLVMdev] Adding ClamAV to the llvm testsuite (long)
...code.c vba_extract.c wwunpack.c yc.c)\ > $(addprefix clamscan_, \ > clamscan.c manager.c others.c treewalk.c)\ > $(addprefix shared_, \ > cdiff.c cfgparser.c getopt.c misc.c network.c options.c output.c > sha256.c)\ > $(addprefix libclamav_regex_, \ > regerror.c, regfree.c, \ > regcomp.c, regexec.c, strlcpy.c)\ > $(addprefix libclamav_nsis_, \ > nulsft.c, bzlib.c, infblock.c, LZMADecode.c ) > # SVN version has these: > # inflate64.c lzma_iface.c > # $(addprefix libclamav_lzma_, \ > # LzmaStateDecode.c) \ > > PROG = clam...
2007 Dec 18
0
[LLVMdev] Adding ClamAV to the llvm testsuite (long)
Chris Lattner wrote: > One way to do this is to add a "cut down" version of the app to the > test suite. I disabled optional features in clamav-config.h > >> 2. GPL license. Chris? > > Any open source license that allows unrestricted redistribution is > fine in llvm-test Ok, I have created a script that automatically checks out ClamAV 0.92-stable source code
2017 Jan 23
2
undefined symbols during linking LLDB 4.0 RC1
...0000000000000000 DF *UND* 000000000000001f Base _ZTv0_n24_NSt3__113basic_istreamIcNS_11char_traitsIcEEED0Ev 0000000000000000 DF *UND* 00000000000000e5 Base _ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE5flushEv 0000000000000000 DF *UND* 0000000000000044 GLIBC_2.2.5 regfree 0000000000000000 DF *UND* 0000000000000044 GLIBC_2.2.5 __xstat64 0000000000000000 DF *UND* 0000000000000005 Base _ZNSt3__118condition_variableD1Ev 0000000000000000 DF *UND* 0000000000000323 GLIBC_2.2.5 realloc 0000000000000000 DF *UND* 0000000000000015 GLIBC_2.2.5 pos...
2007 Dec 18
3
[LLVMdev] Adding ClamAV to the llvm testsuite (long)
On Mon, 17 Dec 2007, Evan Cheng wrote: > We always welcome more tests. But it looks like there are two issues > here. > > 1. The autoconf requirement. Is it possible to get one configuration > working without the need for autoconf? One way to do this is to add a "cut down" version of the app to the test suite. > 2. GPL license. Chris? Any open source license that
2017 Jan 19
2
undefined symbols during linking LLDB 4.0 RC1
Hello, I update my building scripts to build LLVM 4.0 RC1 (with clang, lldb, libc++, libc++abi, lld) on CentOS 6 and I got a lot of undefined symbols during linking LLDB. I'm using clang-3.9 and this configuration: -DLLVM_TARGETS_TO_BUILD="X86" -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++