search for: parse_func

Displaying 4 results from an estimated 4 matches for "parse_func".

Did you mean: parse_fun
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
2015 Sep 03
2
Fuzzing complex programs
...hdepend.o catalog/pg_type.o catalog/storage.o > catalog/toasting.o parser/analyze.o parser/gram.o parser/keywords.o > parser/kwlookup.o parser/parser.o parser/parse_agg.o > parser/parse_clause.o parser/parse_coerce.o parser/parse_collate.o > parser/parse_cte.o parser/parse_expr.o parser/parse_func.o > parser/parse_node.o parser/parse_oper.o parser/parse_param.o > parser/parse_relation.o parser/parse_target.o parser/parse_type.o > parser/parse_utilcmd.o parser/scansup.o commands/aggregatecmds.o > commands/alter.o commands/analyze.o commands/async.o > commands/cluster.o commands...
2007 Apr 04
0
Branch 'as' - 17 commits - configure.ac doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt doc/swfdec.types libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_gtk_loader.h
...uot; #include "swfdec_debug.h" -#include "js/jsapi.h" -typedef gboolean (* SwfdecAmfParseFunc) (JSContext *cx, SwfdecBits *bits, jsval *val); +typedef gboolean (* SwfdecAmfParseFunc) (SwfdecAsContext *cx, SwfdecBits *bits, SwfdecAsValue *val); extern const SwfdecAmfParseFunc parse_funcs[SWFDEC_AMF_N_TYPES]; static gboolean -swfdec_amf_parse_boolean (JSContext *cx, SwfdecBits *bits, jsval *val) +swfdec_amf_parse_boolean (SwfdecAsContext *context, SwfdecBits *bits, SwfdecAsValue *val) { - *val = swfdec_bits_get_u8 (bits) ? JSVAL_TRUE : JSVAL_FALSE; + SWFDEC_AS_VALUE_SET_BOOLE...
2007 Jul 18
0
12 commits - configure.ac doc/swfdec-sections.txt libswfdec-gtk/swfdec_playback_alsa.c libswfdec/jpeg libswfdec/Makefile.am libswfdec/swfdec_amf.c libswfdec/swfdec_as_array.c libswfdec/swfdec_as_boolean.h libswfdec/swfdec_as_context.c
...libswfdec/swfdec_amf.c @@ -132,16 +132,16 @@ swfdec_amf_parse_array (SwfdecAsContext if (array == NULL) return FALSE; for (i = 0; i < len; i++) { + SwfdecAsValue tmp; type = swfdec_bits_get_u8 (bits); - SwfdecAsValue val; if (type >= SWFDEC_AMF_N_TYPES || (func = parse_funcs[type]) == NULL) { SWFDEC_ERROR ("no parse func for AMF type %u", type); goto fail; } - if (!func (context, bits, &val)) + if (!func (context, bits, &tmp)) goto fail; - swfdec_as_array_push (SWFDEC_AS_ARRAY (array), &val); + swfdec_as_arra...