From 370740deec2b521df48065f890a794f7eaf2f1b6 Mon Sep 17 00:00:00 2001 From: Olivier Matz Date: Thu, 27 Oct 2016 21:53:58 +0200 Subject: [PATCH] malloc --- lib/Makefile | 1 + lib/build/test | Bin 56432 -> 62432 bytes lib/ecoli_malloc.c | 111 ++++++++++++++++++++++++++++++++++++++++++ lib/ecoli_malloc.h | 112 +++++++++++++++++++++++++++++++++++++++++++ lib/ecoli_test.c | 4 +- lib/ecoli_tk.c | 44 ++++++++--------- lib/ecoli_tk.h | 9 ++-- lib/ecoli_tk_empty.c | 3 +- lib/ecoli_tk_int.c | 13 ++--- lib/ecoli_tk_or.c | 17 +++---- lib/ecoli_tk_seq.c | 13 +++-- lib/ecoli_tk_space.c | 9 ++-- lib/ecoli_tk_str.c | 21 ++++---- lib/main.c | 4 +- 14 files changed, 295 insertions(+), 66 deletions(-) create mode 100644 lib/ecoli_malloc.c create mode 100644 lib/ecoli_malloc.h diff --git a/lib/Makefile b/lib/Makefile index 0ce853f..9aeeae2 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -36,6 +36,7 @@ CFLAGS += -I. srcs := ecoli_tk.c ecoli_tk_str.c ecoli_tk_seq.c srcs += ecoli_tk_space.c ecoli_tk_or.c ecoli_test.c srcs += ecoli_tk_empty.c ecoli_tk_int.c +srcs += ecoli_malloc.c shlib-y-$(O)libecoli.so := $(srcs) exe-y-$(O)test = $(srcs) main.c diff --git a/lib/build/test b/lib/build/test index ef618296857eef608dd9deb058415a75f1ebc47c..68efeb74356fe2fa3fc293875b7809a911c8cf2f 100755 GIT binary patch literal 62432 zcmeIb3w%|@wLiYkImyXB;gLXigl7(fKoAm=KoFJ42@nl0Nd*)tc=CiqLXw-D!^a)FA(dyMIUbVILfmZMZw$@^6E4H?!t+heC7K>WyEC26z&CEWJB;K~yd;9zJ z&xY)oS+mxfHEY(q*6h8{=92m6xm_;HTyE=Ji>VWKKtSqlS^nda)UaumZ3V1M%WruB zNyJ}3au}+Z3HNK(CbTu42Vn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GF4yQR&N#7UD5=4Duka|a#lrJ+c4!MCBn#SjWkxXfR44`V5LyHxG>67yh1LJ z$ZMAQqA-F3AXy;m>rmFDR0*|=suCuCQ7zCwy?SLsEvjw?K|Bhj7DW+CVijVvuH@ll zVO^vqwj714o0g+Tb+VypS+j{(*VOQwQs=<89x-vqE75ZK`{MK$dhiGHReiic9jYK# z1ITDX6FHgk#?Nv# z;MfW}<;{5kf4GOACsp7)-SYc9a=H@uH|GlP>GGp=NyEQsrwLae|Ko)6Iemgs0zW+< zpCT1lZvHjcqCb~a8G7cNg1`IBk122Jcej57a9DmOk?~oh>tCY_)awQ_IT(NL^49@I z6!OQ<0e?`35=a>pQ%}~F_~}3*vAlCWLZ#xzC2-@%Ga-LlKB>I%YimZYoFG)3hbdhB8SGoE>;G*{d(xheDZ}!i@ zxeC$LV~V-RSv;^JtjHkf(3BtJf}8Rtv=K4!MAT)vel!1?JU8y(Udj)er%DW8U`ndc zT|U2;@{>3*;Bz{aGvVVdU))RiE55D@z2;H?clk11-YvhH`&9Wst`0EeO?W)eOy4E2 zX)XV`N`(xf&U7V3_Ga!$EWhR + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * * Neither the name of the University of California, Berkeley nor the + * names of its contributors may be used to endorse or promote products + * derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY + * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + + +#include + +#include +#include +#include + +struct ec_malloc_handler ec_malloc_handler; + +int ec_malloc_register(ec_malloc_t usr_malloc, ec_free_t usr_free, + ec_realloc_t usr_realloc) +{ + if (usr_malloc == NULL || usr_free == NULL || usr_realloc == NULL) + return -1; + + ec_malloc_handler.malloc = usr_malloc; + ec_malloc_handler.free = usr_free; + ec_malloc_handler.realloc = usr_realloc; + + return 0; +} + +void *__ec_malloc(size_t size) +{ + return ec_malloc_handler.malloc(size); +} + +void __ec_free(void *ptr) +{ + ec_malloc_handler.free(ptr); +} + +void *__ec_calloc(size_t nmemb, size_t size) +{ + void *ptr; + size_t total; + + total = size * nmemb; + if (nmemb != 0 && size != (total / nmemb)) { + errno = ENOMEM; + return NULL; + } + + ptr = __ec_malloc(total); + if (ptr == NULL) + return NULL; + + memset(ptr, 0, size); + return ptr; +} + +void *__ec_realloc(void *ptr, size_t size) +{ + return ec_malloc_handler.realloc(ptr, size); +} + +char *__ec_strdup(const char *s) +{ + size_t sz = strlen(s) + 1; + char *s2; + + s2 = __ec_malloc(sz); + if (s2 == NULL) + return NULL; + + memcpy(s2, s, sz); + + return s2; +} + +char *__ec_strndup(const char *s, size_t n) +{ + size_t sz = strnlen(s, n); + char *s2; + + s2 = __ec_malloc(sz + 1); + if (s2 == NULL) + return NULL; + + memcpy(s2, s, sz); + s2[sz] = '\0'; + + return s2; +} diff --git a/lib/ecoli_malloc.h b/lib/ecoli_malloc.h new file mode 100644 index 0000000..ddf1828 --- /dev/null +++ b/lib/ecoli_malloc.h @@ -0,0 +1,112 @@ +/* + * Copyright (c) 2016, Olivier MATZ + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * * Neither the name of the University of California, Berkeley nor the + * names of its contributors may be used to endorse or promote products + * derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY + * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#ifndef ECOLI_MALLOC_ +#define ECOLI_MALLOC_ + +#include + +typedef void *(*ec_malloc_t)(size_t size); +typedef void (*ec_free_t)(void *ptr); +typedef void *(*ec_realloc_t)(void *ptr, size_t size); + +struct ec_malloc_handler { + ec_malloc_t malloc; + ec_free_t free; + ec_realloc_t realloc; +}; + +extern struct ec_malloc_handler ec_malloc_handler; + +int ec_malloc_register(ec_malloc_t usr_malloc, ec_free_t usr_free, + ec_realloc_t usr_realloc); + +/* internal */ +void *__ec_malloc(size_t size); +void __ec_free(void *ptr); +void *__ec_calloc(size_t nmemb, size_t size); +void *__ec_realloc(void *ptr, size_t size); +char *__ec_strdup(const char *s); +char *__ec_strndup(const char *s, size_t n); + +/* we use macros here to ensure the file/line stay correct when + * debugging the standard malloc with valgrind */ + +#define ec_malloc(sz) ({ \ + void *ret_; \ + if (ec_malloc_handler.malloc == NULL) \ + ret_ = malloc(sz); \ + else \ + ret_ = __ec_malloc(sz); \ + ret_; \ + }) + +#define ec_free(ptr) ({ \ + if (ec_malloc_handler.free == NULL) \ + free(ptr); \ + else \ + __ec_free(ptr); \ + }) + +#define ec_realloc(ptr, sz) ({ \ + void *ret_; \ + if (ec_malloc_handler.realloc == NULL) \ + ret_ = realloc(ptr, sz); \ + else \ + ret_ = __ec_realloc(ptr, sz); \ + ret_; \ + }) + +#define ec_calloc(n, sz) ({ \ + void *ret_; \ + if (ec_malloc_handler.malloc == NULL) \ + ret_ = calloc(n, sz); \ + else \ + ret_ = __ec_calloc(n, sz); \ + ret_; \ + }) + +#define ec_strdup(s) ({ \ + void *ret_; \ + if (ec_malloc_handler.malloc == NULL) \ + ret_ = strdup(s); \ + else \ + ret_ = __ec_strdup(s); \ + ret_; \ + }) + +#define ec_strndup(s, n) ({ \ + void *ret_; \ + if (ec_malloc_handler.malloc == NULL) \ + ret_ = strndup(s, n); \ + else \ + ret_ = __ec_strndup(s, n); \ + ret_; \ + }) + + +#endif diff --git a/lib/ecoli_test.c b/lib/ecoli_test.c index 6b4a43f..161c52c 100644 --- a/lib/ecoli_test.c +++ b/lib/ecoli_test.c @@ -47,7 +47,7 @@ int ec_test_check_tk_parse(const struct ec_tk *tk, const char *input, const char *s; int ret = -1; - p = ec_tk_parse(tk, input, 0); + p = ec_tk_parse(tk, input); s = ec_parsed_tk_to_string(p); if (s == NULL && expected == NULL) ret = 0; @@ -73,7 +73,7 @@ int ec_test_check_tk_complete(const struct ec_tk *tk, const char *input, const char *s; int ret = -1; - p = ec_tk_complete(tk, input, 0); + p = ec_tk_complete(tk, input); s = ec_completed_tk_smallest_start(p); if (s == NULL && expected == NULL) ret = 0; diff --git a/lib/ecoli_tk.c b/lib/ecoli_tk.c index 7c5ac21..6683af7 100644 --- a/lib/ecoli_tk.c +++ b/lib/ecoli_tk.c @@ -30,6 +30,7 @@ #include #include +#include #include struct ec_tk *ec_tk_new(const char *id, const struct ec_tk_ops *ops, @@ -39,12 +40,12 @@ struct ec_tk *ec_tk_new(const char *id, const struct ec_tk_ops *ops, assert(size >= sizeof(*tk)); - tk = calloc(1, size); + tk = ec_calloc(1, size); if (tk == NULL) goto fail; if (id != NULL) { - tk->id = strdup(id); + tk->id = ec_strdup(id); if (tk->id == NULL) goto fail; } @@ -65,16 +66,15 @@ void ec_tk_free(struct ec_tk *tk) if (tk->ops != NULL && tk->ops->free_priv != NULL) tk->ops->free_priv(tk); - free(tk->id); - free(tk); + ec_free(tk->id); + ec_free(tk); } -struct ec_parsed_tk *ec_tk_parse(const struct ec_tk *token, const char *str, - size_t off) +struct ec_parsed_tk *ec_tk_parse(const struct ec_tk *token, const char *str) { struct ec_parsed_tk *parsed_tk; - parsed_tk = token->ops->parse(token, str, off); + parsed_tk = token->ops->parse(token, str); return parsed_tk; } @@ -84,7 +84,7 @@ struct ec_parsed_tk *ec_parsed_tk_new(const struct ec_tk *tk) { struct ec_parsed_tk *parsed_tk; - parsed_tk = calloc(1, sizeof(*parsed_tk)); + parsed_tk = ec_calloc(1, sizeof(*parsed_tk)); if (parsed_tk == NULL) goto fail; @@ -109,8 +109,8 @@ void ec_parsed_tk_free(struct ec_parsed_tk *parsed_tk) TAILQ_REMOVE(&parsed_tk->children, child, next); ec_parsed_tk_free(child); } - free(parsed_tk->str); - free(parsed_tk); + ec_free(parsed_tk->str); + ec_free(parsed_tk); } static void __ec_parsed_tk_dump(const struct ec_parsed_tk *parsed_tk, @@ -175,11 +175,11 @@ const char *ec_parsed_tk_to_string(const struct ec_parsed_tk *parsed_tk) } struct ec_completed_tk *ec_tk_complete(const struct ec_tk *token, - const char *str, size_t off) + const char *str) { struct ec_completed_tk *completed_tk; - completed_tk = token->ops->complete(token, str, off); + completed_tk = token->ops->complete(token, str); return completed_tk; } @@ -188,7 +188,7 @@ struct ec_completed_tk *ec_completed_tk_new(void) { struct ec_completed_tk *completed_tk = NULL; - completed_tk = calloc(1, sizeof(*completed_tk)); + completed_tk = ec_calloc(1, sizeof(*completed_tk)); if (completed_tk == NULL) return NULL; @@ -203,13 +203,13 @@ struct ec_completed_tk_elt *ec_completed_tk_elt_new(const struct ec_tk *tk, { struct ec_completed_tk_elt *elt = NULL; - elt = calloc(1, sizeof(*elt)); + elt = ec_calloc(1, sizeof(*elt)); if (elt == NULL) return NULL; elt->tk = tk; - elt->add = strdup(add); - elt->full = strdup(full); + elt->add = ec_strdup(add); + elt->full = ec_strdup(full); if (elt->add == NULL || elt->full == NULL) { ec_completed_tk_elt_free(elt); return NULL; @@ -238,7 +238,7 @@ void ec_completed_tk_add_elt( completed_tk->count++; if (elt->add != NULL) { if (completed_tk->smallest_start == NULL) { - completed_tk->smallest_start = strdup(elt->add); + completed_tk->smallest_start = ec_strdup(elt->add); } else { n = strcmp_count(elt->add, completed_tk->smallest_start); @@ -249,9 +249,9 @@ void ec_completed_tk_add_elt( void ec_completed_tk_elt_free(struct ec_completed_tk_elt *elt) { - free(elt->add); - free(elt->full); - free(elt); + ec_free(elt->add); + ec_free(elt->full); + ec_free(elt); } struct ec_completed_tk *ec_completed_tk_merge( @@ -289,8 +289,8 @@ void ec_completed_tk_free(struct ec_completed_tk *completed_tk) TAILQ_REMOVE(&completed_tk->elts, elt, next); ec_completed_tk_elt_free(elt); } - free(completed_tk->smallest_start); - free(completed_tk); + ec_free(completed_tk->smallest_start); + ec_free(completed_tk); } void ec_completed_tk_dump(const struct ec_completed_tk *completed_tk) diff --git a/lib/ecoli_tk.h b/lib/ecoli_tk.h index 15be2be..167a528 100644 --- a/lib/ecoli_tk.h +++ b/lib/ecoli_tk.h @@ -37,9 +37,9 @@ struct ec_tk; struct ec_parsed_tk; typedef struct ec_parsed_tk *(*ec_tk_parse_t)(const struct ec_tk *tk, - const char *str, size_t off); + const char *str); typedef struct ec_completed_tk *(*ec_tk_complete_t)(const struct ec_tk *tk, - const char *str, size_t off); + const char *str); typedef void (*ec_tk_free_priv_t)(struct ec_tk *); struct ec_tk_ops { @@ -68,8 +68,7 @@ struct ec_parsed_tk { }; struct ec_parsed_tk *ec_parsed_tk_new(const struct ec_tk *tk); -struct ec_parsed_tk *ec_tk_parse(const struct ec_tk *token, const char *str, - size_t off); +struct ec_parsed_tk *ec_tk_parse(const struct ec_tk *token, const char *str); void ec_parsed_tk_add_child(struct ec_parsed_tk *parsed_tk, struct ec_parsed_tk *child); void ec_parsed_tk_dump(const struct ec_parsed_tk *parsed_tk); @@ -102,7 +101,7 @@ struct ec_completed_tk { * return "xyz" if it knows how to complete */ struct ec_completed_tk *ec_tk_complete(const struct ec_tk *token, - const char *str, size_t off); + const char *str); struct ec_completed_tk *ec_completed_tk_new(void); struct ec_completed_tk_elt *ec_completed_tk_elt_new(const struct ec_tk *tk, const char *add, const char *full); diff --git a/lib/ecoli_tk_empty.c b/lib/ecoli_tk_empty.c index e8e98e1..61d29b5 100644 --- a/lib/ecoli_tk_empty.c +++ b/lib/ecoli_tk_empty.c @@ -33,7 +33,7 @@ #include static struct ec_parsed_tk *parse(const struct ec_tk *gen_tk, - const char *str, size_t off) + const char *str) { struct ec_parsed_tk *parsed_tk; @@ -42,7 +42,6 @@ static struct ec_parsed_tk *parse(const struct ec_tk *gen_tk, return NULL; (void)str; - (void)off; parsed_tk->str = strdup(""); return parsed_tk; diff --git a/lib/ecoli_tk_int.c b/lib/ecoli_tk_int.c index 6bd4bfd..bc6ee87 100644 --- a/lib/ecoli_tk_int.c +++ b/lib/ecoli_tk_int.c @@ -32,6 +32,7 @@ #include #include +#include #include #include #include @@ -60,14 +61,14 @@ static size_t parse_llint(struct ec_tk_int *tk, const char *str, } static struct ec_parsed_tk *parse(const struct ec_tk *gen_tk, - const char *str, size_t off) + const char *str) { struct ec_tk_int *tk = (struct ec_tk_int *)gen_tk; struct ec_parsed_tk *parsed_tk; long long val; size_t len; - len = parse_llint(tk, str + off, &val); + len = parse_llint(tk, str, &val); if (len == 0) return NULL; @@ -75,7 +76,7 @@ static struct ec_parsed_tk *parse(const struct ec_tk *gen_tk, if (parsed_tk == NULL) return NULL; - parsed_tk->str = strndup(str + off, len); + parsed_tk->str = ec_strndup(str, len); return parsed_tk; } @@ -132,7 +133,7 @@ static int testcase(void) ret |= EC_TEST_CHECK_TK_PARSE(tk, "0x101", NULL); ret |= EC_TEST_CHECK_TK_PARSE(tk, " 1", NULL); - p = ec_tk_parse(tk, "0", 0); + p = ec_tk_parse(tk, "0"); s = ec_parsed_tk_to_string(p); if (s == NULL) { TEST_ERR(); @@ -141,7 +142,7 @@ static int testcase(void) TEST_ERR(); } - p = ec_tk_parse(tk, "10", 0); + p = ec_tk_parse(tk, "10"); s = ec_parsed_tk_to_string(p); if (s == NULL) { TEST_ERR(); @@ -165,7 +166,7 @@ static int testcase(void) "0x7fffffffffffffff"); ret |= EC_TEST_CHECK_TK_PARSE(tk, "-2", NULL); - p = ec_tk_parse(tk, "10", 0); + p = ec_tk_parse(tk, "10"); s = ec_parsed_tk_to_string(p); if (s == NULL) { TEST_ERR(); diff --git a/lib/ecoli_tk_or.c b/lib/ecoli_tk_or.c index dda2230..a81d669 100644 --- a/lib/ecoli_tk_or.c +++ b/lib/ecoli_tk_or.c @@ -31,13 +31,14 @@ #include #include +#include #include #include #include #include static struct ec_parsed_tk *parse(const struct ec_tk *gen_tk, - const char *str, size_t off) + const char *str) { struct ec_tk_or *tk = (struct ec_tk_or *)gen_tk; struct ec_parsed_tk *parsed_tk, *child_parsed_tk; @@ -48,7 +49,7 @@ static struct ec_parsed_tk *parse(const struct ec_tk *gen_tk, return NULL; for (i = 0; i < tk->len; i++) { - child_parsed_tk = ec_tk_parse(tk->table[i], str, off); + child_parsed_tk = ec_tk_parse(tk->table[i], str); if (child_parsed_tk != NULL) break; } @@ -58,7 +59,7 @@ static struct ec_parsed_tk *parse(const struct ec_tk *gen_tk, ec_parsed_tk_add_child(parsed_tk, child_parsed_tk); - parsed_tk->str = strndup(child_parsed_tk->str, + parsed_tk->str = ec_strndup(child_parsed_tk->str, strlen(child_parsed_tk->str)); return parsed_tk; @@ -69,14 +70,14 @@ static struct ec_parsed_tk *parse(const struct ec_tk *gen_tk, } static struct ec_completed_tk *complete(const struct ec_tk *gen_tk, - const char *str, size_t off) + const char *str) { struct ec_tk_or *tk = (struct ec_tk_or *)gen_tk; struct ec_completed_tk *completed_tk = NULL, *child_completed_tk; size_t n; for (n = 0; n < tk->len; n++) { - child_completed_tk = ec_tk_complete(tk->table[n], str, off); + child_completed_tk = ec_tk_complete(tk->table[n], str); if (child_completed_tk == NULL) continue; @@ -92,7 +93,7 @@ static void free_priv(struct ec_tk *gen_tk) { struct ec_tk_or *tk = (struct ec_tk_or *)gen_tk; - free(tk->table); + ec_free(tk->table); } static struct ec_tk_ops or_ops = { @@ -115,7 +116,7 @@ struct ec_tk *ec_tk_or_new(const char *id) return &tk->gen; fail: - free(tk); + ec_free(tk); return NULL; } @@ -144,7 +145,7 @@ struct ec_tk *ec_tk_or_new_list(const char *id, ...) return &tk->gen; fail: - free(tk); // XXX use tk_free? we need to delete all child on error + ec_free(tk); // XXX use tk_free? we need to delete all child on error va_end(ap); return NULL; } diff --git a/lib/ecoli_tk_seq.c b/lib/ecoli_tk_seq.c index 38c633a..a1d3e68 100644 --- a/lib/ecoli_tk_seq.c +++ b/lib/ecoli_tk_seq.c @@ -31,11 +31,14 @@ #include #include +#include #include #include +// XXX to handle the quote, it will be done in tk_shseq +// it will unquote the string and parse each token separately static struct ec_parsed_tk *parse(const struct ec_tk *tk, - const char *str, size_t off) + const char *str) { struct ec_tk_seq *seq = (struct ec_tk_seq *)tk; struct ec_parsed_tk *parsed_tk, *child_parsed_tk; @@ -47,7 +50,7 @@ static struct ec_parsed_tk *parse(const struct ec_tk *tk, return NULL; for (i = 0; i < seq->len; i++) { - child_parsed_tk = ec_tk_parse(seq->table[i], str, off + len); + child_parsed_tk = ec_tk_parse(seq->table[i], str + len); if (child_parsed_tk == NULL) goto fail; @@ -55,7 +58,7 @@ static struct ec_parsed_tk *parse(const struct ec_tk *tk, ec_parsed_tk_add_child(parsed_tk, child_parsed_tk); } - parsed_tk->str = strndup(str + off, len); + parsed_tk->str = ec_strndup(str, len); return parsed_tk; @@ -82,7 +85,7 @@ struct ec_tk *ec_tk_seq_new(const char *id) return &tk->gen; fail: - free(tk); + ec_free(tk); return NULL; } @@ -111,7 +114,7 @@ struct ec_tk *ec_tk_seq_new_list(const char *id, ...) return &tk->gen; fail: - free(tk); // XXX use tk_free? we need to delete all child on error + ec_free(tk); // XXX use tk_free? we need to delete all child on error va_end(ap); return NULL; } diff --git a/lib/ecoli_tk_space.c b/lib/ecoli_tk_space.c index ed2ee31..adc57c4 100644 --- a/lib/ecoli_tk_space.c +++ b/lib/ecoli_tk_space.c @@ -30,26 +30,27 @@ #include #include +#include #include #include static struct ec_parsed_tk *parse(const struct ec_tk *gen_tk, - const char *str, size_t off) + const char *str) { struct ec_parsed_tk *parsed_tk; size_t len = 0; - if (!isspace(str[off])) + if (!isspace(str[0])) return NULL; parsed_tk = ec_parsed_tk_new(gen_tk); if (parsed_tk == NULL) return NULL; - while (isspace(str[off + len])) + while (isspace(str[len])) len++; - parsed_tk->str = strndup(str + off, len); + parsed_tk->str = ec_strndup(str, len); return parsed_tk; } diff --git a/lib/ecoli_tk_str.c b/lib/ecoli_tk_str.c index 8152704..41f99db 100644 --- a/lib/ecoli_tk_str.c +++ b/lib/ecoli_tk_str.c @@ -29,30 +29,31 @@ #include #include +#include #include #include #include static struct ec_parsed_tk *parse(const struct ec_tk *gen_tk, - const char *str, size_t off) + const char *str) { struct ec_tk_str *tk = (struct ec_tk_str *)gen_tk; struct ec_parsed_tk *parsed_tk; - if (strncmp(str + off, tk->string, tk->len) != 0) + if (strncmp(str, tk->string, tk->len) != 0) return NULL; parsed_tk = ec_parsed_tk_new(gen_tk); if (parsed_tk == NULL) return NULL; - parsed_tk->str = strndup(str + off, tk->len); + parsed_tk->str = ec_strndup(str, tk->len); return parsed_tk; } static struct ec_completed_tk *complete(const struct ec_tk *gen_tk, - const char *str, size_t off) + const char *str) { struct ec_tk_str *tk = (struct ec_tk_str *)gen_tk; struct ec_completed_tk *completed_tk; @@ -60,11 +61,11 @@ static struct ec_completed_tk *complete(const struct ec_tk *gen_tk, size_t n; for (n = 0; n < tk->len; n++) { - if (str[off + n] != tk->string[n]) + if (str[n] != tk->string[n]) break; } - if (str[off + n] != '\0') + if (str[n] != '\0') return NULL; completed_tk = ec_completed_tk_new(); @@ -87,7 +88,7 @@ static void free_priv(struct ec_tk *gen_tk) { struct ec_tk_str *tk = (struct ec_tk_str *)gen_tk; - free(tk->string); + ec_free(tk->string); } static struct ec_tk_ops str_ops = { @@ -105,7 +106,7 @@ struct ec_tk *ec_tk_str_new(const char *id, const char *str) if (tk == NULL) goto fail; - s = strdup(str); + s = ec_strdup(str); if (s == NULL) goto fail; @@ -115,8 +116,8 @@ struct ec_tk *ec_tk_str_new(const char *id, const char *str) return &tk->gen; fail: - free(s); - free(tk); + ec_free(s); + ec_free(tk); return NULL; } diff --git a/lib/main.c b/lib/main.c index 54057b7..059515b 100644 --- a/lib/main.c +++ b/lib/main.c @@ -55,14 +55,14 @@ static void test(void) } /* ok */ - p = ec_tk_parse(seq, "hello mike", 0); + p = ec_tk_parse(seq, "hello mike"); ec_parsed_tk_dump(p); name = ec_parsed_tk_to_string(ec_parsed_tk_find_first(p, "name")); printf("parsed with name=%s\n", name); ec_parsed_tk_free(p); /* ko */ - p = ec_tk_parse(seq, "hello robert", 0); + p = ec_tk_parse(seq, "hello robert"); ec_parsed_tk_dump(p); name = ec_parsed_tk_to_string(ec_parsed_tk_find_first(p, "name")); printf("parsed with name=%s\n", name); -- 2.39.5