Fuzz introspector: fuzz_grammar
For issues and ideas: https://github.com/ossf/fuzz-introspector/issues

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
213 64 parse_int(char const*) call site: 00064 ggml_abort
11 26 llama_grammar_parser::parse_sequence(char const*, std::__1::basic_string , std::__1::allocator > const&, std::__1::vector >&, bool) call site: 00026 __cxa_allocate_exception
5 38 parse_char(char const*) call site: 00038 __cxa_allocate_exception
5 44 llama_grammar_parser::parse_sequence(char const*, std::__1::basic_string , std::__1::allocator > const&, std::__1::vector >&, bool) call site: 00044 __cxa_allocate_exception
5 50 llama_grammar_parser::parse_sequence(char const*, std::__1::basic_string , std::__1::allocator > const&, std::__1::vector >&, bool) call site: 00050 __cxa_allocate_exception
4 7 is_word_char(char) call site: 00007 __cxa_allocate_exception
4 58 llama_grammar_parser::parse_sequence(char const*, std::__1::basic_string , std::__1::allocator > const&, std::__1::vector >&, bool) call site: 00058 __cxa_allocate_exception
4 299 llama_grammar_parser::parse_sequence(char const*, std::__1::basic_string , std::__1::allocator > const&, std::__1::vector >&, bool)::$_0::operator()(unsigned long, unsigned long) const call site: 00299 __cxa_allocate_exception
4 312 llama_grammar_parser::parse_sequence(char const*, std::__1::basic_string , std::__1::allocator > const&, std::__1::vector >&, bool) call site: 00312 __cxa_allocate_exception
4 322 llama_grammar_parser::parse_sequence(char const*, std::__1::basic_string , std::__1::allocator > const&, std::__1::vector >&, bool) call site: 00322 __cxa_allocate_exception
4 332 llama_grammar_parser::parse_sequence(char const*, std::__1::basic_string , std::__1::allocator > const&, std::__1::vector >&, bool) call site: 00332 __cxa_allocate_exception
1 330 llama_grammar_parser::parse_sequence(char const*, std::__1::basic_string , std::__1::allocator > const&, std::__1::vector >&, bool) call site: 00330

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 llama_grammar_parser::llama_grammar_parser(llama_vocab const*) [function] [call site] 00001
1 llama_grammar_parser::parse(char const*) [function] [call site] 00002
2 parse_space(char const*, bool) [function] [call site] 00003
2 llama_grammar_parser::parse_rule(char const*) [function] [call site] 00004
3 parse_name(char const*) [function] [call site] 00005
4 is_word_char(char) [function] [call site] 00006
5 is_digit_char(char) [function] [call site] 00007
4 __cxa_allocate_exception [call site] 00008
4 std::runtime_error::runtime_error(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) [call site] 00009
4 __cxa_throw [call site] 00010
4 __cxa_free_exception [call site] 00011
3 parse_space(char const*, bool) [function] [call site] 00012
3 llama_grammar_parser::get_symbol_id(char const*, unsigned long) [function] [call site] 00013
3 __cxa_allocate_exception [call site] 00014
3 std::runtime_error::runtime_error(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) [call site] 00015
3 __cxa_throw [call site] 00016
3 __cxa_free_exception [call site] 00017
3 parse_space(char const*, bool) [function] [call site] 00018
3 llama_grammar_parser::parse_alternates(char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned int, bool) [function] [call site] 00019
4 llama_grammar_parser::parse_sequence(char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<llama_grammar_element, std::__1::allocator<llama_grammar_element> >&, bool) [function] [call site] 00020
5 __cxa_allocate_exception [call site] 00021
5 std::runtime_error::runtime_error(char const*) [call site] 00022
5 __cxa_throw [call site] 00023
5 std::runtime_error::~runtime_error() [call site] 00024
5 __cxa_free_exception [call site] 00025
5 parse_char(char const*) [function] [call site] 00026
6 parse_hex(char const*, int) [function] [call site] 00027
7 __cxa_allocate_exception [call site] 00028
7 std::runtime_error::runtime_error(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) [call site] 00029
7 __cxa_throw [call site] 00030
7 __cxa_free_exception [call site] 00031
6 parse_hex(char const*, int) [function] [call site] 00032
6 parse_hex(char const*, int) [function] [call site] 00033
6 __cxa_allocate_exception [call site] 00034
6 std::runtime_error::runtime_error(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) [call site] 00035
6 __cxa_throw [call site] 00036
6 __cxa_free_exception [call site] 00037
6 decode_utf8(char const*) [function] [call site] 00038
6 __cxa_allocate_exception [call site] 00039
6 std::runtime_error::runtime_error(char const*) [call site] 00040
6 __cxa_throw [call site] 00041
6 std::runtime_error::~runtime_error() [call site] 00042
6 __cxa_free_exception [call site] 00043
5 parse_space(char const*, bool) [function] [call site] 00044
5 __cxa_allocate_exception [call site] 00045
5 std::runtime_error::runtime_error(char const*) [call site] 00046
5 __cxa_throw [call site] 00047
5 std::runtime_error::~runtime_error() [call site] 00048
5 __cxa_free_exception [call site] 00049
5 parse_char(char const*) [function] [call site] 00050
5 __cxa_allocate_exception [call site] 00051
5 std::runtime_error::runtime_error(char const*) [call site] 00052
5 __cxa_throw [call site] 00053
5 std::runtime_error::~runtime_error() [call site] 00054
5 __cxa_free_exception [call site] 00055
5 parse_char(char const*) [function] [call site] 00056
5 parse_space(char const*, bool) [function] [call site] 00057
5 parse_token(llama_vocab const*, char const*) [function] [call site] 00058
6 __cxa_allocate_exception [call site] 00059
6 std::runtime_error::runtime_error(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) [call site] 00060
6 __cxa_throw [call site] 00061
6 __cxa_free_exception [call site] 00062
6 parse_int(char const*) [function] [call site] 00063
7 is_digit_char(char) [function] [call site] 00064
7 __cxa_allocate_exception [call site] 00065
7 std::runtime_error::runtime_error(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) [call site] 00066
7 __cxa_throw [call site] 00067
7 __cxa_free_exception [call site] 00068
6 __cxa_allocate_exception [call site] 00069
6 std::runtime_error::runtime_error(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) [call site] 00070
6 __cxa_throw [call site] 00071
6 __cxa_free_exception [call site] 00072
6 __cxa_allocate_exception [call site] 00073
6 std::runtime_error::runtime_error(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) [call site] 00074
6 __cxa_throw [call site] 00075
6 __cxa_free_exception [call site] 00076
6 __cxa_allocate_exception [call site] 00077
6 std::runtime_error::runtime_error(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) [call site] 00078
6 __cxa_throw [call site] 00079
6 __cxa_free_exception [call site] 00080
6 __cxa_allocate_exception [call site] 00081
6 std::runtime_error::runtime_error(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) [call site] 00082
6 __cxa_throw [call site] 00083
6 __cxa_free_exception [call site] 00084
6 llama_vocab::tokenize(char const*, int, int*, int, bool, bool) const [function] [call site] 00085
7 llama_vocab::tokenize(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, bool) const [function] [call site] 00086
8 llama_vocab::impl::tokenize(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, bool) const [function] [call site] 00087
9 ggml_abort [function] [call site] 00088
10 fflush [call site] 00089
10 snprintf [call site] 00090
10 vsnprintf [call site] 00091
10 fprintf [call site] 00092
10 abort [call site] 00093
9 llama_vocab::impl::tokenizer_st_partition(std::__1::forward_list<fragment_buffer_variant, std::__1::allocator<fragment_buffer_variant> >&, bool) const [function] [call site] 00094
10 llama_vocab::get_token_data(int) const [function] [call site] 00095
11 ggml_abort [function] [call site] 00096
10 isspace [call site] 00097
10 isspace [call site] 00098
9 llama_vocab::impl::get_type() const [function] [call site] 00099
9 llama_escape_whitespace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) [function] [call site] 00100
10 replace_all(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) [function] [call site] 00101
9 llm_tokenizer_spm_session::llm_tokenizer_spm_session(llama_vocab const&) [function] [call site] 00102
9 llm_tokenizer_spm_session::tokenize(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<int, std::__1::allocator<int> >&) [function] [call site] 00103
10 unicode_len_utf8(char) [function] [call site] 00104
10 llm_tokenizer_spm_session::try_add_bigram(int, int) [function] [call site] 00105
11 llama_vocab::text_to_token(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const [function] [call site] 00106
12 ggml_abort [function] [call site] 00107
11 llama_vocab::n_tokens() const [function] [call site] 00108
11 llama_vocab::get_token_data(int) const [function] [call site] 00109
10 llm_tokenizer_spm_session::try_add_bigram(int, int) [function] [call site] 00110
10 llm_tokenizer_spm_session::try_add_bigram(int, int) [function] [call site] 00111
10 llm_tokenizer_spm_session::resegment(llm_symbol&, std::__1::vector<int, std::__1::allocator<int> >&) [function] [call site] 00112
11 llama_vocab::text_to_token(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const [function] [call site] 00113
11 llama_vocab::byte_to_token(unsigned char) const [function] [call site] 00114
12 llama_vocab::get_type() const [function] [call site] 00115
12 ggml_abort [function] [call site] 00116
12 llama_vocab::get_type() const [function] [call site] 00117
12 unicode_byte_to_utf8(unsigned char) [function] [call site] 00118
13 __cxa_guard_acquire [call site] 00119
13 unicode_byte_to_utf8_map() [function] [call site] 00120
14 unicode_cpt_to_utf8(unsigned int) [function] [call site] 00121
15 __cxa_allocate_exception [call site] 00122
15 std::invalid_argument::invalid_argument[abi:ne220000](char const*) [function] [call site] 00123
16 std::logic_error::logic_error(char const*) [call site] 00124
15 __cxa_throw [call site] 00125
15 __cxa_free_exception [call site] 00126
14 unicode_cpt_to_utf8(unsigned int) [function] [call site] 00127
14 unicode_cpt_to_utf8(unsigned int) [function] [call site] 00128
14 unicode_cpt_to_utf8(unsigned int) [function] [call site] 00129
13 __cxa_atexit [call site] 00130
13 __cxa_guard_release [call site] 00131
13 __cxa_guard_abort [call site] 00132
12 snprintf [call site] 00133
12 ggml_abort [function] [call site] 00134
11 llm_tokenizer_spm_session::resegment(llm_symbol&, std::__1::vector<int, std::__1::allocator<int> >&) [function] [call site] 00135
12 llm_tokenizer_spm_session::resegment(llm_symbol&, std::__1::vector<int, std::__1::allocator<int> >&) [function] [call site] 00136
9 llm_tokenizer_spm_session::~llm_tokenizer_spm_session() [function] [call site] 00137
9 llama_log_internal(ggml_log_level, char const*, ...) [function] [call site] 00138
10 llama_log_internal_v(ggml_log_level, char const*, __va_list_tag*) [function] [call site] 00139
11 vsnprintf [call site] 00140
11 vsnprintf [call site] 00141
9 ggml_abort [function] [call site] 00142
9 llama_vocab::get_tokenizer_model() const [function] [call site] 00143
9 llama_vocab::get_tokenizer_model() const [function] [call site] 00144
9 llm_tokenizer_bpe_session::append_bos(std::__1::vector<int, std::__1::allocator<int> >&) const [function] [call site] 00145
10 llama_vocab::get_add_bos() const [function] [call site] 00146
10 llama_vocab::token_bos() const [function] [call site] 00147
10 ggml_abort [function] [call site] 00148
10 llama_vocab::token_bos() const [function] [call site] 00149
9 llama_escape_whitespace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) [function] [call site] 00150
9 llm_tokenizer_bpe_session::append(int, std::__1::vector<int, std::__1::allocator<int> >&) [function] [call site] 00151
9 llm_tokenizer_bpe_session::append_eos(std::__1::vector<int, std::__1::allocator<int> >&) const [function] [call site] 00152
10 llama_vocab::get_add_eos() const [function] [call site] 00153
10 llama_vocab::token_eos() const [function] [call site] 00154
10 ggml_abort [function] [call site] 00155
10 llama_vocab::token_eos() const [function] [call site] 00156
9 llm_tokenizer_bpe_session::check_double_bos_eos(std::__1::vector<int, std::__1::allocator<int> > const&) const [function] [call site] 00157
10 llama_vocab::get_add_bos() const [function] [call site] 00158
10 llama_vocab::token_bos() const [function] [call site] 00159
10 llama_log_internal(ggml_log_level, char const*, ...) [function] [call site] 00160
10 llama_vocab::get_add_eos() const [function] [call site] 00161
10 llama_vocab::token_eos() const [function] [call site] 00162
10 llama_log_internal(ggml_log_level, char const*, ...) [function] [call site] 00163
9 llm_tokenizer_wpm_session::llm_tokenizer_wpm_session(llama_vocab const&) [function] [call site] 00164
9 llm_tokenizer_wpm_session::tokenize(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<int, std::__1::allocator<int> >&) [function] [call site] 00165
10 llama_vocab::get_normalizer_opts() const [function] [call site] 00166
10 llm_tokenizer_wpm_session::preprocess(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, llama_vocab::normalizer_options const&) [function] [call site] 00167
11 unicode_cpts_from_utf8(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) [function] [call site] 00168
12 unicode_cpt_from_utf8(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&) [function] [call site] 00169
13 __cxa_allocate_exception [call site] 00170
13 std::invalid_argument::invalid_argument[abi:ne220000](char const*) [function] [call site] 00171
13 __cxa_throw [call site] 00172
13 std::invalid_argument::~invalid_argument() [call site] 00173
13 __cxa_allocate_exception [call site] 00174
13 std::invalid_argument::invalid_argument[abi:ne220000](char const*) [function] [call site] 00175
13 __cxa_throw [call site] 00176
13 std::invalid_argument::~invalid_argument() [call site] 00177
13 __cxa_allocate_exception [call site] 00178
13 std::invalid_argument::invalid_argument[abi:ne220000](char const*) [function] [call site] 00179
13 __cxa_throw [call site] 00180
13 std::invalid_argument::~invalid_argument() [call site] 00181
13 __cxa_allocate_exception [call site] 00182
13 std::invalid_argument::invalid_argument[abi:ne220000](char const*) [function] [call site] 00183
13 __cxa_throw [call site] 00184
13 std::invalid_argument::~invalid_argument() [call site] 00185
13 __cxa_allocate_exception [call site] 00186
13 std::invalid_argument::invalid_argument[abi:ne220000](char const*) [function] [call site] 00187
13 __cxa_throw [call site] 00188
13 std::invalid_argument::~invalid_argument() [call site] 00189
13 __cxa_free_exception [call site] 00190
12 __cxa_begin_catch [call site] 00191
12 __cxa_end_catch [call site] 00192
12 __clang_call_terminate [call site] 00193
13 __cxa_begin_catch [call site] 00194
11 unicode_cpts_normalize_nfd(std::__1::vector<unsigned int, std::__1::allocator<unsigned int> > const&) [function] [call site] 00195
11 unicode_cpt_flags_from_cpt(unsigned int) [function] [call site] 00196
12 __cxa_guard_acquire [call site] 00197
12 unicode_cpt_flags::unicode_cpt_flags(unsigned short) [function] [call site] 00198
12 __cxa_guard_release [call site] 00199
12 __cxa_guard_acquire [call site] 00200
12 unicode_cpt_flags_array() [function] [call site] 00201
13 unicode_cpt_flags::unicode_cpt_flags(unsigned short) [function] [call site] 00202
13 unicode_cpt_flags::unicode_cpt_flags(unsigned short) [function] [call site] 00203
12 __cxa_atexit [call site] 00204
12 __cxa_guard_release [call site] 00205
12 __cxa_guard_abort [call site] 00206
11 unicode_tolower(unsigned int) [function] [call site] 00207
11 unicode_cpt_to_utf8(unsigned int) [function] [call site] 00208
11 llm_tokenizer_wpm_session::is_chinese_char(unsigned int) [function] [call site] 00209
10 llama_vocab::max_token_len() const [function] [call site] 00210
10 llama_vocab::text_to_token(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const [function] [call site] 00211
10 llama_vocab::token_unk() const [function] [call site] 00212
9 ggml_abort [function] [call site] 00213
9 llm_tokenizer_ugm_session::llm_tokenizer_ugm_session(llama_vocab const&, llm_tokenizer_ugm const&) [function] [call site] 00214
9 llm_tokenizer_ugm_session::tokenize(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<int, std::__1::allocator<int> >&) [function] [call site] 00215
10 llm_tokenizer_ugm_session::normalize(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*) [function] [call site] 00216
11 llama_vocab::get_escape_whitespaces() const [function] [call site] 00217
11 llama_vocab::get_treat_whitespace_as_suffix() const [function] [call site] 00218
11 llama_vocab::get_add_space_prefix() const [function] [call site] 00219
11 llama_vocab::get_treat_whitespace_as_suffix() const [function] [call site] 00220
11 llama_vocab::get_add_space_prefix() const [function] [call site] 00221
11 llama_vocab::get_remove_extra_whitespaces() const [function] [call site] 00222
11 llm_tokenizer_ugm_session::normalize_prefix(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long) [function] [call site] 00223
12 naive_trie::get_longest_prefix(char const*, unsigned long, unsigned long) const [function] [call site] 00224
13 naive_trie::get_longest_prefix(char const*, unsigned long, unsigned long) const [function] [call site] 00225
12 llm_tokenizer_ugm_session::xcda_array_view::xcda_array_view(unsigned int const*, unsigned long) [function] [call site] 00226
12 llm_tokenizer_ugm_session::xcda_array_view::get_base(unsigned long) [function] [call site] 00227
13 llm_tokenizer_ugm_session::xcda_array_view::get_node(unsigned long) [function] [call site] 00228
14 __cxa_allocate_exception [call site] 00229
14 std::runtime_error::runtime_error(char const*) [call site] 00230
14 __cxa_throw [call site] 00231
14 std::runtime_error::~runtime_error() [call site] 00232
14 __cxa_free_exception [call site] 00233
12 llm_tokenizer_ugm_session::xcda_array_view::get_lcheck(unsigned long) [function] [call site] 00234
13 llm_tokenizer_ugm_session::xcda_array_view::get_node(unsigned long) [function] [call site] 00235
12 llm_tokenizer_ugm_session::xcda_array_view::get_leaf(unsigned long) [function] [call site] 00236
13 llm_tokenizer_ugm_session::xcda_array_view::get_node(unsigned long) [function] [call site] 00237
12 llm_tokenizer_ugm_session::xcda_array_view::get_base(unsigned long) [function] [call site] 00238
12 llm_tokenizer_ugm_session::xcda_array_view::get_value(unsigned long) [function] [call site] 00239
13 llm_tokenizer_ugm_session::xcda_array_view::get_node(unsigned long) [function] [call site] 00240
12 __cxa_allocate_exception [call site] 00241
12 std::runtime_error::runtime_error(char const*) [call site] 00242
12 __cxa_throw [call site] 00243
12 std::runtime_error::~runtime_error() [call site] 00244
12 __cxa_free_exception [call site] 00245
12 strlen [call site] 00246
12 unicode_cpt_from_utf8(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&) [function] [call site] 00247
12 __cxa_begin_catch [call site] 00248
12 __cxa_end_catch [call site] 00249
10 llama_vocab::token_unk() const [function] [call site] 00250
10 llama_vocab::token_unk() const [function] [call site] 00251
10 unicode_len_utf8(char) [function] [call site] 00252
10 naive_trie::traverse(char) const [function] [call site] 00253
10 llama_vocab::get_token_data(int) const [function] [call site] 00254
10 llama_vocab::is_user_defined(int) const [function] [call site] 00255
11 llama_vocab::impl::is_user_defined(int) const [function] [call site] 00256
12 ggml_abort [function] [call site] 00257
10 naive_trie::traverse(char) const [function] [call site] 00258
10 llama_vocab::token_unk() const [function] [call site] 00259
10 llama_vocab::token_unk() const [function] [call site] 00260
9 llama_log_internal(ggml_log_level, char const*, ...) [function] [call site] 00261
9 ggml_abort [function] [call site] 00262
9 llm_tokenizer_rwkv_session::llm_tokenizer_rwkv_session(llama_vocab const&, llm_tokenizer_rwkv const&) [function] [call site] 00263
9 llm_tokenizer_rwkv_session::tokenize(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<int, std::__1::allocator<int> >&) [function] [call site] 00264
10 naive_trie::traverse(char) const [function] [call site] 00265
10 llama_vocab::token_unk() const [function] [call site] 00266
10 naive_trie::traverse(char) const [function] [call site] 00267
9 llm_tokenizer_plamo2_session::llm_tokenizer_plamo2_session(llm_tokenizer_plamo2 const&) [function] [call site] 00268
9 llm_tokenizer_plamo2_session::tokenize(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<int, std::__1::allocator<int> >&) [function] [call site] 00269
10 llm_tokenizer_plamo2::encode(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const [function] [call site] 00270
11 unicode_cpts_from_utf8(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) [function] [call site] 00271
9 ggml_abort [function] [call site] 00272
7 llama_log_internal(ggml_log_level, char const*, ...) [function] [call site] 00273
6 __cxa_allocate_exception [call site] 00274
6 std::runtime_error::runtime_error(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) [call site] 00275
6 __cxa_throw [call site] 00276
6 __cxa_free_exception [call site] 00277
5 parse_space(char const*, bool) [function] [call site] 00278
5 is_word_char(char) [function] [call site] 00279
5 parse_name(char const*) [function] [call site] 00280
5 llama_grammar_parser::get_symbol_id(char const*, unsigned long) [function] [call site] 00281
5 parse_space(char const*, bool) [function] [call site] 00282
5 parse_space(char const*, bool) [function] [call site] 00283
5 llama_grammar_parser::generate_symbol_id(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) [function] [call site] 00284
5 llama_grammar_parser::parse_alternates(char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned int, bool) [function] [call site] 00285
6 parse_space(char const*, bool) [function] [call site] 00286
6 llama_grammar_parser::parse_sequence(char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<llama_grammar_element, std::__1::allocator<llama_grammar_element> >&, bool) [function] [call site] 00287
7 __cxa_allocate_exception [call site] 00288
7 std::runtime_error::runtime_error(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) [call site] 00289
7 __cxa_throw [call site] 00290
7 __cxa_free_exception [call site] 00291
7 parse_space(char const*, bool) [function] [call site] 00292
7 parse_space(char const*, bool) [function] [call site] 00293
7 parse_space(char const*, bool) [function] [call site] 00294
7 llama_grammar_parser::parse_sequence(char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<llama_grammar_element, std::__1::allocator<llama_grammar_element> >&, bool)::$_0::operator()(unsigned long, unsigned long) const [function] [call site] 00295
8 __cxa_allocate_exception [call site] 00296
8 std::runtime_error::runtime_error(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) [call site] 00297
8 __cxa_throw [call site] 00298
8 __cxa_free_exception [call site] 00299
8 __cxa_allocate_exception [call site] 00300
8 std::runtime_error::runtime_error(char const*) [call site] 00301
8 __cxa_throw [call site] 00302
8 __cxa_free_exception [call site] 00303
8 llama_grammar_parser::generate_symbol_id(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) [function] [call site] 00304
8 llama_grammar_parser::add_rule(unsigned int, std::__1::vector<llama_grammar_element, std::__1::allocator<llama_grammar_element> > const&) [function] [call site] 00305
8 ggml_abort [function] [call site] 00306
7 parse_space(char const*, bool) [function] [call site] 00307
7 llama_grammar_parser::parse_sequence(char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<llama_grammar_element, std::__1::allocator<llama_grammar_element> >&, bool)::$_0::operator()(unsigned long, unsigned long) const [function] [call site] 00308
7 parse_space(char const*, bool) [function] [call site] 00309
7 llama_grammar_parser::parse_sequence(char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<llama_grammar_element, std::__1::allocator<llama_grammar_element> >&, bool)::$_0::operator()(unsigned long, unsigned long) const [function] [call site] 00310
7 parse_space(char const*, bool) [function] [call site] 00311
7 is_digit_char(char) [function] [call site] 00312
7 __cxa_allocate_exception [call site] 00313
7 std::runtime_error::runtime_error(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) [call site] 00314
7 __cxa_throw [call site] 00315
7 __cxa_free_exception [call site] 00316
7 parse_int(char const*) [function] [call site] 00317
7 parse_space(char const*, bool) [function] [call site] 00318
7 parse_space(char const*, bool) [function] [call site] 00319
7 is_digit_char(char) [function] [call site] 00320
7 parse_int(char const*) [function] [call site] 00321
7 parse_space(char const*, bool) [function] [call site] 00322
7 __cxa_allocate_exception [call site] 00323
7 std::runtime_error::runtime_error(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) [call site] 00324
7 __cxa_throw [call site] 00325
7 __cxa_free_exception [call site] 00326
7 __cxa_allocate_exception [call site] 00327
7 std::runtime_error::runtime_error(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) [call site] 00328
7 __cxa_throw [call site] 00329
7 __cxa_free_exception [call site] 00330
7 parse_space(char const*, bool) [function] [call site] 00331
7 llama_grammar_parser::parse_sequence(char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<llama_grammar_element, std::__1::allocator<llama_grammar_element> >&, bool)::$_0::operator()(unsigned long, unsigned long) const [function] [call site] 00332
7 __cxa_allocate_exception [call site] 00333
7 std::runtime_error::runtime_error(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) [call site] 00334
7 __cxa_throw [call site] 00335
7 __cxa_free_exception [call site] 00336
6 llama_grammar_parser::add_rule(unsigned int, std::__1::vector<llama_grammar_element, std::__1::allocator<llama_grammar_element> > const&) [function] [call site] 00337
3 __cxa_allocate_exception [call site] 00338
3 std::runtime_error::runtime_error(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) [call site] 00339
3 __cxa_throw [call site] 00340
3 __cxa_free_exception [call site] 00341
3 parse_space(char const*, bool) [function] [call site] 00342
2 __cxa_allocate_exception [call site] 00343
2 std::runtime_error::runtime_error(char const*) [call site] 00344
2 __cxa_throw [call site] 00345
2 __cxa_free_exception [call site] 00346
2 __cxa_allocate_exception [call site] 00347
2 std::runtime_error::runtime_error(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) [call site] 00348
2 __cxa_throw [call site] 00349
2 __cxa_free_exception [call site] 00350
2 __cxa_begin_catch [call site] 00351
2 fprintf [call site] 00352
2 __cxa_end_catch [call site] 00353
1 llama_grammar_parser::~llama_grammar_parser() [function] [call site] 00354