yr_ac_automaton_create:
  732|  14.1k|{
  733|  14.1k|  YR_AC_AUTOMATON* new_automaton;
  734|  14.1k|  YR_AC_STATE* root_state;
  735|       |
  736|  14.1k|  new_automaton = (YR_AC_AUTOMATON*) yr_malloc(sizeof(YR_AC_AUTOMATON));
  737|  14.1k|  root_state = (YR_AC_STATE*) yr_malloc(sizeof(YR_AC_STATE));
  738|       |
  739|  14.1k|  if (new_automaton == NULL || root_state == NULL)
  ------------------
  |  Branch (739:7): [True: 0, False: 14.1k]
  |  Branch (739:32): [True: 0, False: 14.1k]
  ------------------
  740|      0|  {
  741|      0|    yr_free(new_automaton);
  742|      0|    yr_free(root_state);
  743|       |
  744|      0|    return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
  745|      0|  }
  746|       |
  747|  14.1k|  root_state->depth = 0;
  748|  14.1k|  root_state->matches_ref = YR_ARENA_NULL_REF;
  ------------------
  |  |   43|  14.1k|  (YR_ARENA_REF)           \
  |  |   44|  14.1k|  {                        \
  |  |   45|  14.1k|    UINT32_MAX, UINT32_MAX \
  |  |   46|  14.1k|  }
  ------------------
  749|  14.1k|  root_state->failure = NULL;
  750|  14.1k|  root_state->first_child = NULL;
  751|  14.1k|  root_state->siblings = NULL;
  752|  14.1k|  root_state->t_table_slot = 0;
  753|       |
  754|  14.1k|  new_automaton->arena = arena;
  755|  14.1k|  new_automaton->root = root_state;
  756|  14.1k|  new_automaton->bitmask = NULL;
  757|  14.1k|  new_automaton->tables_size = 0;
  758|       |
  759|  14.1k|  *automaton = new_automaton;
  760|       |
  761|  14.1k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  14.1k|#define ERROR_SUCCESS 0
  ------------------
  762|  14.1k|}
yr_ac_automaton_destroy:
  768|  14.1k|{
  769|  14.1k|  _yr_ac_state_destroy(automaton->root);
  770|       |
  771|  14.1k|  yr_free(automaton->bitmask);
  772|  14.1k|  yr_free(automaton);
  773|       |
  774|  14.1k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  14.1k|#define ERROR_SUCCESS 0
  ------------------
  775|  14.1k|}
yr_ac_add_string:
  787|  54.3k|{
  788|  6.70M|  while (atom != NULL)
  ------------------
  |  Branch (788:10): [True: 6.64M, False: 54.3k]
  ------------------
  789|  6.64M|  {
  790|  6.64M|    YR_AC_STATE* state = automaton->root;
  791|       |
  792|  32.5M|    for (int i = 0; i < atom->atom.length; i++)
  ------------------
  |  Branch (792:21): [True: 25.9M, False: 6.64M]
  ------------------
  793|  25.9M|    {
  794|  25.9M|      YR_AC_STATE* next_state = _yr_ac_next_state(state, atom->atom.bytes[i]);
  795|       |
  796|  25.9M|      if (next_state == NULL)
  ------------------
  |  Branch (796:11): [True: 2.04M, False: 23.8M]
  ------------------
  797|  2.04M|      {
  798|  2.04M|        next_state = _yr_ac_state_create(state, atom->atom.bytes[i]);
  799|       |
  800|  2.04M|        if (next_state == NULL)
  ------------------
  |  Branch (800:13): [True: 0, False: 2.04M]
  ------------------
  801|      0|          return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
  802|  2.04M|      }
  803|       |
  804|  25.9M|      state = next_state;
  805|  25.9M|    }
  806|       |
  807|  6.64M|    YR_ARENA_REF new_match_ref;
  808|       |
  809|  6.64M|    FAIL_ON_ERROR(yr_arena_allocate_struct(
  ------------------
  |  |  134|  6.64M|  {                               \
  |  |  135|  6.64M|    int __error = (x);            \
  |  |  136|  6.64M|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  6.64M|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 6.64M]
  |  |  ------------------
  |  |  137|  6.64M|      return __error;             \
  |  |  138|  6.64M|  }
  ------------------
  810|  6.64M|        arena,
  811|  6.64M|        YR_AC_STATE_MATCHES_POOL,
  812|  6.64M|        sizeof(YR_AC_MATCH),
  813|  6.64M|        &new_match_ref,
  814|  6.64M|        offsetof(YR_AC_MATCH, string),
  815|  6.64M|        offsetof(YR_AC_MATCH, forward_code),
  816|  6.64M|        offsetof(YR_AC_MATCH, backward_code),
  817|  6.64M|        offsetof(YR_AC_MATCH, next),
  818|  6.64M|        EOL));
  819|       |
  820|  6.64M|    YR_AC_MATCH* new_match = yr_arena_ref_to_ptr(arena, &new_match_ref);
  821|       |
  822|  6.64M|    new_match->backtrack = state->depth + atom->backtrack;
  823|  6.64M|    new_match->string = yr_arena_get_ptr(
  824|  6.64M|        arena, YR_STRINGS_TABLE, string_idx * sizeof(struct YR_STRING));
  ------------------
  |  |   60|  6.64M|#define YR_STRINGS_TABLE            3
  ------------------
  825|       |
  826|  6.64M|    new_match->forward_code = yr_arena_ref_to_ptr(
  827|  6.64M|        arena, &atom->forward_code_ref);
  828|       |
  829|  6.64M|    new_match->backward_code = yr_arena_ref_to_ptr(
  830|  6.64M|        arena, &atom->backward_code_ref);
  831|       |
  832|       |    // Add newly created match to the list of matches for the state.
  833|  6.64M|    new_match->next = yr_arena_ref_to_ptr(arena, &state->matches_ref);
  834|  6.64M|    state->matches_ref = new_match_ref;
  835|       |
  836|  6.64M|    atom = atom->next;
  837|  6.64M|  }
  838|       |
  839|  54.3k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  54.3k|#define ERROR_SUCCESS 0
  ------------------
  840|  54.3k|}
yr_ac_compile:
  847|    503|{
  848|    503|  FAIL_ON_ERROR(_yr_ac_create_failure_links(automaton));
  ------------------
  |  |  134|    503|  {                               \
  |  |  135|    503|    int __error = (x);            \
  |  |  136|    503|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|    503|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 503]
  |  |  ------------------
  |  |  137|    503|      return __error;             \
  |  |  138|    503|  }
  ------------------
  849|    503|  FAIL_ON_ERROR(_yr_ac_optimize_failure_links(automaton));
  ------------------
  |  |  134|    503|  {                               \
  |  |  135|    503|    int __error = (x);            \
  |  |  136|    503|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|    503|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 503]
  |  |  ------------------
  |  |  137|    503|      return __error;             \
  |  |  138|    503|  }
  ------------------
  850|    503|  FAIL_ON_ERROR(_yr_ac_build_transition_table(automaton));
  ------------------
  |  |  134|    503|  {                               \
  |  |  135|    503|    int __error = (x);            \
  |  |  136|    503|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|    503|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 503]
  |  |  ------------------
  |  |  137|    503|      return __error;             \
  |  |  138|    503|  }
  ------------------
  851|       |
  852|    503|  return ERROR_SUCCESS;
  ------------------
  |  |   40|    503|#define ERROR_SUCCESS 0
  ------------------
  853|    503|}
ahocorasick.c:_yr_ac_state_destroy:
  196|  2.06M|{
  197|  2.06M|  YR_AC_STATE* child_state = state->first_child;
  198|       |
  199|  4.11M|  while (child_state != NULL)
  ------------------
  |  Branch (199:10): [True: 2.04M, False: 2.06M]
  ------------------
  200|  2.04M|  {
  201|  2.04M|    YR_AC_STATE* next_child_state = child_state->siblings;
  202|  2.04M|    _yr_ac_state_destroy(child_state);
  203|  2.04M|    child_state = next_child_state;
  204|  2.04M|  }
  205|       |
  206|  2.06M|  yr_free(state);
  207|       |
  208|  2.06M|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  2.06M|#define ERROR_SUCCESS 0
  ------------------
  209|  2.06M|}
ahocorasick.c:_yr_ac_next_state:
  147|  26.7M|{
  148|  26.7M|  YR_AC_STATE* next_state = state->first_child;
  149|       |
  150|  1.21G|  while (next_state != NULL)
  ------------------
  |  Branch (150:10): [True: 1.21G, False: 2.54M]
  ------------------
  151|  1.21G|  {
  152|  1.21G|    if (next_state->input == input)
  ------------------
  |  Branch (152:9): [True: 24.1M, False: 1.18G]
  ------------------
  153|  24.1M|      return next_state;
  154|       |
  155|  1.18G|    next_state = next_state->siblings;
  156|  1.18G|  }
  157|       |
  158|  2.54M|  return NULL;
  159|  26.7M|}
ahocorasick.c:_yr_ac_state_create:
  174|  2.04M|{
  175|  2.04M|  YR_AC_STATE* new_state = (YR_AC_STATE*) yr_malloc(sizeof(YR_AC_STATE));
  176|       |
  177|  2.04M|  if (new_state == NULL)
  ------------------
  |  Branch (177:7): [True: 0, False: 2.04M]
  ------------------
  178|      0|    return NULL;
  179|       |
  180|  2.04M|  new_state->input = input;
  181|  2.04M|  new_state->depth = state->depth + 1;
  182|  2.04M|  new_state->matches_ref = YR_ARENA_NULL_REF;
  ------------------
  |  |   43|  2.04M|  (YR_ARENA_REF)           \
  |  |   44|  2.04M|  {                        \
  |  |   45|  2.04M|    UINT32_MAX, UINT32_MAX \
  |  |   46|  2.04M|  }
  ------------------
  183|  2.04M|  new_state->failure = NULL;
  184|  2.04M|  new_state->t_table_slot = 0;
  185|  2.04M|  new_state->first_child = NULL;
  186|  2.04M|  new_state->siblings = state->first_child;
  187|  2.04M|  state->first_child = new_state;
  188|       |
  189|  2.04M|  return new_state;
  190|  2.04M|}
ahocorasick.c:_yr_ac_create_failure_links:
  218|    503|{
  219|    503|  YR_AC_STATE* current_state;
  220|    503|  YR_AC_STATE* failure_state;
  221|    503|  YR_AC_STATE* temp_state;
  222|    503|  YR_AC_STATE* state;
  223|    503|  YR_AC_STATE* transition_state;
  224|    503|  YR_AC_STATE* root_state;
  225|    503|  YR_AC_MATCH* match;
  226|       |
  227|    503|  QUEUE queue;
  228|       |
  229|    503|  queue.head = NULL;
  230|    503|  queue.tail = NULL;
  231|       |
  232|    503|  root_state = automaton->root;
  233|       |
  234|       |  // Set the failure link of root state to itself.
  235|    503|  root_state->failure = root_state;
  236|       |
  237|       |  // Push root's children and set their failure link to root.
  238|    503|  state = root_state->first_child;
  239|       |
  240|  2.30k|  while (state != NULL)
  ------------------
  |  Branch (240:10): [True: 1.80k, False: 503]
  ------------------
  241|  1.80k|  {
  242|  1.80k|    FAIL_ON_ERROR(_yr_ac_queue_push(&queue, state));
  ------------------
  |  |  134|  1.80k|  {                               \
  |  |  135|  1.80k|    int __error = (x);            \
  |  |  136|  1.80k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  1.80k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 1.80k]
  |  |  ------------------
  |  |  137|  1.80k|      return __error;             \
  |  |  138|  1.80k|  }
  ------------------
  243|  1.80k|    state->failure = root_state;
  244|  1.80k|    state = state->siblings;
  245|  1.80k|  }
  246|       |
  247|       |  // Traverse the trie in BFS order calculating the failure link
  248|       |  // for each state.
  249|   713k|  while (!_yr_ac_queue_is_empty(&queue))
  ------------------
  |  Branch (249:10): [True: 713k, False: 503]
  ------------------
  250|   713k|  {
  251|   713k|    current_state = _yr_ac_queue_pop(&queue);
  252|   713k|    match = yr_arena_ref_to_ptr(automaton->arena, &current_state->matches_ref);
  253|       |
  254|   713k|    if (match != NULL)
  ------------------
  |  Branch (254:9): [True: 467k, False: 245k]
  ------------------
  255|   467k|    {
  256|       |      // Find the last match in the list of matches.
  257|  3.16M|      while (match->next != NULL) match = match->next;
  ------------------
  |  Branch (257:14): [True: 2.69M, False: 467k]
  ------------------
  258|       |
  259|   467k|      if (match->backtrack > 0)
  ------------------
  |  Branch (259:11): [True: 446k, False: 21.3k]
  ------------------
  260|   446k|        match->next = yr_arena_ref_to_ptr(
  261|   446k|            automaton->arena, &root_state->matches_ref);
  262|   467k|    }
  263|   245k|    else
  264|   245k|    {
  265|       |      // This state doesn't have any matches, its matches will be those
  266|       |      // in the root state, if any.
  267|   245k|      current_state->matches_ref = root_state->matches_ref;
  268|   245k|    }
  269|       |
  270|       |    // Iterate over all the states that the current state can transition to.
  271|   713k|    transition_state = current_state->first_child;
  272|       |
  273|  1.42M|    while (transition_state != NULL)
  ------------------
  |  Branch (273:12): [True: 711k, False: 713k]
  ------------------
  274|   711k|    {
  275|   711k|      FAIL_ON_ERROR(_yr_ac_queue_push(&queue, transition_state));
  ------------------
  |  |  134|   711k|  {                               \
  |  |  135|   711k|    int __error = (x);            \
  |  |  136|   711k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|   711k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 711k]
  |  |  ------------------
  |  |  137|   711k|      return __error;             \
  |  |  138|   711k|  }
  ------------------
  276|   711k|      failure_state = current_state->failure;
  277|       |
  278|   793k|      while (1)
  ------------------
  |  Branch (278:14): [True: 793k, Folded]
  ------------------
  279|   793k|      {
  280|   793k|        temp_state = _yr_ac_next_state(failure_state, transition_state->input);
  281|       |
  282|   793k|        if (temp_state != NULL)
  ------------------
  |  Branch (282:13): [True: 293k, False: 500k]
  ------------------
  283|   293k|        {
  284|   293k|          transition_state->failure = temp_state;
  285|       |
  286|   293k|          if (YR_ARENA_IS_NULL_REF(transition_state->matches_ref))
  ------------------
  |  |   49|   293k|  (memcmp(&(ref), &YR_ARENA_NULL_REF, sizeof(YR_ARENA_NULL_REF)) == 0)
  |  |  ------------------
  |  |  |  |   43|   293k|  (YR_ARENA_REF)           \
  |  |  |  |   44|   293k|  {                        \
  |  |  |  |   45|   293k|    UINT32_MAX, UINT32_MAX \
  |  |  |  |   46|   293k|  }
  |  |  ------------------
  |  |                 (memcmp(&(ref), &YR_ARENA_NULL_REF, sizeof(YR_ARENA_NULL_REF)) == 0)
  |  |  ------------------
  |  |  |  |   43|   293k|  (YR_ARENA_REF)           \
  |  |  |  |   44|   293k|  {                        \
  |  |  |  |   45|   293k|    UINT32_MAX, UINT32_MAX \
  |  |  |  |   46|   293k|  }
  |  |  ------------------
  |  |  |  Branch (49:3): [True: 73.1k, False: 220k]
  |  |  ------------------
  ------------------
  287|  73.1k|          {
  288|  73.1k|            transition_state->matches_ref = temp_state->matches_ref;
  289|  73.1k|          }
  290|   220k|          else
  291|   220k|          {
  292|   220k|            match = yr_arena_ref_to_ptr(
  293|   220k|                automaton->arena, &transition_state->matches_ref);
  294|       |
  295|   220k|            assert(match != NULL);
  ------------------
  |  Branch (295:13): [True: 0, False: 220k]
  |  Branch (295:13): [True: 220k, False: 0]
  ------------------
  296|       |
  297|       |            // Find the last match in the list of matches.
  298|  1.99M|            while (match->next != NULL) match = match->next;
  ------------------
  |  Branch (298:20): [True: 1.77M, False: 220k]
  ------------------
  299|       |
  300|   220k|            match->next = yr_arena_ref_to_ptr(
  301|   220k|                automaton->arena, &temp_state->matches_ref);
  302|   220k|          }
  303|       |
  304|   293k|          break;
  305|   293k|        }
  306|   500k|        else
  307|   500k|        {
  308|   500k|          if (failure_state == root_state)
  ------------------
  |  Branch (308:15): [True: 417k, False: 82.1k]
  ------------------
  309|   417k|          {
  310|   417k|            transition_state->failure = root_state;
  311|   417k|            break;
  312|   417k|          }
  313|  82.1k|          else
  314|  82.1k|          {
  315|  82.1k|            failure_state = failure_state->failure;
  316|  82.1k|          }
  317|   500k|        }
  318|   793k|      }  // while(1)
  319|       |
  320|   711k|      transition_state = transition_state->siblings;
  321|   711k|    }
  322|       |
  323|   713k|  }  // while(!__yr_ac_queue_is_empty(&queue))
  324|       |
  325|    503|  return ERROR_SUCCESS;
  ------------------
  |  |   40|    503|#define ERROR_SUCCESS 0
  ------------------
  326|    503|}
ahocorasick.c:_yr_ac_queue_push:
   68|  2.13M|{
   69|  2.13M|  QUEUE_NODE* pushed_node;
   70|       |
   71|  2.13M|  pushed_node = (QUEUE_NODE*) yr_malloc(sizeof(QUEUE_NODE));
   72|       |
   73|  2.13M|  if (pushed_node == NULL)
  ------------------
  |  Branch (73:7): [True: 0, False: 2.13M]
  ------------------
   74|      0|    return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
   75|       |
   76|  2.13M|  pushed_node->previous = queue->tail;
   77|  2.13M|  pushed_node->next = NULL;
   78|  2.13M|  pushed_node->value = state;
   79|       |
   80|  2.13M|  if (queue->tail != NULL)
  ------------------
  |  Branch (80:7): [True: 2.13M, False: 1.09k]
  ------------------
   81|  2.13M|    queue->tail->next = pushed_node;
   82|  1.09k|  else  // queue is empty
   83|  1.09k|    queue->head = pushed_node;
   84|       |
   85|  2.13M|  queue->tail = pushed_node;
   86|       |
   87|  2.13M|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  2.13M|#define ERROR_SUCCESS 0
  ------------------
   88|  2.13M|}
ahocorasick.c:_yr_ac_queue_is_empty:
  131|  2.14M|{
  132|       |  return queue->head == NULL;
  133|  2.14M|}
ahocorasick.c:_yr_ac_queue_pop:
  100|  2.13M|{
  101|  2.13M|  YR_AC_STATE* result;
  102|  2.13M|  QUEUE_NODE* popped_node;
  103|       |
  104|  2.13M|  if (queue->head == NULL)
  ------------------
  |  Branch (104:7): [True: 0, False: 2.13M]
  ------------------
  105|      0|    return NULL;
  106|       |
  107|  2.13M|  popped_node = queue->head;
  108|  2.13M|  queue->head = popped_node->next;
  109|       |
  110|  2.13M|  if (queue->head)
  ------------------
  |  Branch (110:7): [True: 2.13M, False: 1.09k]
  ------------------
  111|  2.13M|    queue->head->previous = NULL;
  112|  1.09k|  else  // queue is empty
  113|  1.09k|    queue->tail = NULL;
  114|       |
  115|  2.13M|  result = popped_node->value;
  116|       |
  117|  2.13M|  yr_free(popped_node);
  118|  2.13M|  return result;
  119|  2.13M|}
ahocorasick.c:_yr_ac_optimize_failure_links:
  364|    503|{
  365|    503|  QUEUE queue = {NULL, NULL};
  366|       |
  367|       |  // Push root's children.
  368|    503|  YR_AC_STATE* root_state = automaton->root;
  369|    503|  YR_AC_STATE* state = root_state->first_child;
  370|       |
  371|  2.30k|  while (state != NULL)
  ------------------
  |  Branch (371:10): [True: 1.80k, False: 503]
  ------------------
  372|  1.80k|  {
  373|  1.80k|    FAIL_ON_ERROR(_yr_ac_queue_push(&queue, state));
  ------------------
  |  |  134|  1.80k|  {                               \
  |  |  135|  1.80k|    int __error = (x);            \
  |  |  136|  1.80k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  1.80k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 1.80k]
  |  |  ------------------
  |  |  137|  1.80k|      return __error;             \
  |  |  138|  1.80k|  }
  ------------------
  374|  1.80k|    state = state->siblings;
  375|  1.80k|  }
  376|       |
  377|   713k|  while (!_yr_ac_queue_is_empty(&queue))
  ------------------
  |  Branch (377:10): [True: 713k, False: 503]
  ------------------
  378|   713k|  {
  379|   713k|    YR_AC_STATE* current_state = _yr_ac_queue_pop(&queue);
  380|       |
  381|   713k|    if (current_state->failure != root_state)
  ------------------
  |  Branch (381:9): [True: 293k, False: 419k]
  ------------------
  382|   293k|    {
  383|   293k|      if (_yr_ac_transitions_subset(current_state, current_state->failure))
  ------------------
  |  Branch (383:11): [True: 44.9k, False: 248k]
  ------------------
  384|  44.9k|        current_state->failure = current_state->failure->failure;
  385|   293k|    }
  386|       |
  387|       |    // Push children of current_state
  388|   713k|    state = current_state->first_child;
  389|       |
  390|  1.42M|    while (state != NULL)
  ------------------
  |  Branch (390:12): [True: 711k, False: 713k]
  ------------------
  391|   711k|    {
  392|   711k|      FAIL_ON_ERROR(_yr_ac_queue_push(&queue, state));
  ------------------
  |  |  134|   711k|  {                               \
  |  |  135|   711k|    int __error = (x);            \
  |  |  136|   711k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|   711k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 711k]
  |  |  ------------------
  |  |  137|   711k|      return __error;             \
  |  |  138|   711k|  }
  ------------------
  393|   711k|      state = state->siblings;
  394|   711k|    }
  395|   713k|  }
  396|       |
  397|    503|  return ERROR_SUCCESS;
  ------------------
  |  |   40|    503|#define ERROR_SUCCESS 0
  ------------------
  398|    503|}
ahocorasick.c:_yr_ac_transitions_subset:
  334|   293k|{
  335|   293k|  uint8_t set[32];
  336|       |
  337|   293k|  YR_AC_STATE* state = s1->first_child;
  338|       |
  339|   293k|  memset(set, 0, 32);
  340|       |
  341|   519k|  while (state != NULL)
  ------------------
  |  Branch (341:10): [True: 226k, False: 293k]
  ------------------
  342|   226k|  {
  343|   226k|    set[state->input / 8] |= 1 << state->input % 8;
  344|   226k|    state = state->siblings;
  345|   226k|  }
  346|       |
  347|   293k|  state = s2->first_child;
  348|       |
  349|   362k|  while (state != NULL)
  ------------------
  |  Branch (349:10): [True: 317k, False: 44.9k]
  ------------------
  350|   317k|  {
  351|   317k|    if (!(set[state->input / 8] & 1 << state->input % 8))
  ------------------
  |  Branch (351:9): [True: 248k, False: 69.3k]
  ------------------
  352|   248k|      return false;
  353|       |
  354|  69.3k|    state = state->siblings;
  355|  69.3k|  }
  356|       |
  357|  44.9k|  return true;
  358|   293k|}
ahocorasick.c:_yr_ac_build_transition_table:
  526|    503|{
  527|    503|  YR_AC_TRANSITION* t_table;
  528|    503|  uint32_t* m_table;
  529|    503|  YR_AC_STATE* state;
  530|    503|  YR_AC_STATE* child_state;
  531|    503|  YR_AC_STATE* root_state = automaton->root;
  532|       |
  533|    503|  uint32_t slot;
  534|       |
  535|    503|  QUEUE queue = {NULL, NULL};
  536|       |
  537|       |  // Both t_table and m_table have 512 slots initially, which is enough for the
  538|       |  // root node's transition table.
  539|    503|  automaton->tables_size = 512;
  540|       |
  541|    503|  automaton->bitmask = yr_calloc(
  542|    503|      YR_BITMASK_SIZE(automaton->tables_size), sizeof(YR_BITMASK));
  ------------------
  |  |   57|    503|#define YR_BITMASK_SIZE(n)   (((n) / (YR_BITMASK_SLOT_BITS)) + 1)
  |  |  ------------------
  |  |  |  |   56|    503|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  |  |  ------------------
  ------------------
  543|       |
  544|    503|  if (automaton->bitmask == NULL)
  ------------------
  |  Branch (544:7): [True: 0, False: 503]
  ------------------
  545|      0|    return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
  546|       |
  547|    503|  FAIL_ON_ERROR(yr_arena_allocate_zeroed_memory(
  ------------------
  |  |  134|    503|  {                               \
  |  |  135|    503|    int __error = (x);            \
  |  |  136|    503|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|    503|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 503]
  |  |  ------------------
  |  |  137|    503|      return __error;             \
  |  |  138|    503|  }
  ------------------
  548|    503|      automaton->arena,
  549|    503|      YR_AC_TRANSITION_TABLE,
  550|    503|      automaton->tables_size * sizeof(YR_AC_TRANSITION),
  551|    503|      NULL));
  552|       |
  553|    503|  FAIL_ON_ERROR(yr_arena_allocate_zeroed_memory(
  ------------------
  |  |  134|    503|  {                               \
  |  |  135|    503|    int __error = (x);            \
  |  |  136|    503|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|    503|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 503]
  |  |  ------------------
  |  |  137|    503|      return __error;             \
  |  |  138|    503|  }
  ------------------
  554|    503|      automaton->arena,
  555|    503|      YR_AC_STATE_MATCHES_TABLE,
  556|    503|      automaton->tables_size * sizeof(uint32_t),
  557|    503|      NULL));
  558|       |
  559|    503|  t_table = yr_arena_get_ptr(automaton->arena, YR_AC_TRANSITION_TABLE, 0);
  ------------------
  |  |   65|    503|#define YR_AC_TRANSITION_TABLE      8
  ------------------
  560|    503|  m_table = yr_arena_get_ptr(automaton->arena, YR_AC_STATE_MATCHES_TABLE, 0);
  ------------------
  |  |   66|    503|#define YR_AC_STATE_MATCHES_TABLE   9
  ------------------
  561|       |
  562|       |  // The failure link for the root node points to itself.
  563|    503|  t_table[0] = YR_AC_MAKE_TRANSITION(0, 0);
  ------------------
  |  |   50|    503|  ((YR_AC_TRANSITION)(                     \
  |  |   51|    503|      (((YR_AC_TRANSITION) state) << YR_AC_SLOT_OFFSET_BITS) | (code)))
  |  |  ------------------
  |  |  |  |   39|    503|#define YR_AC_SLOT_OFFSET_BITS 9
  |  |  ------------------
  ------------------
  564|       |
  565|       |  // Initialize the entry corresponding to the root node in the match table.
  566|       |  // Entries in this table are the index within YR_AC_MATCH_POOL where resides
  567|       |  // the YR_AC_MATCH structure that corresponds to the head of the matches list
  568|       |  // for the node. The indexes start counting at 1, the zero is used for
  569|       |  // indicating that the node has no associated matches.
  570|    503|  if (!YR_ARENA_IS_NULL_REF(root_state->matches_ref))
  ------------------
  |  |   49|    503|  (memcmp(&(ref), &YR_ARENA_NULL_REF, sizeof(YR_ARENA_NULL_REF)) == 0)
  |  |  ------------------
  |  |  |  |   43|    503|  (YR_ARENA_REF)           \
  |  |  |  |   44|    503|  {                        \
  |  |  |  |   45|    503|    UINT32_MAX, UINT32_MAX \
  |  |  |  |   46|    503|  }
  |  |  ------------------
  |  |                 (memcmp(&(ref), &YR_ARENA_NULL_REF, sizeof(YR_ARENA_NULL_REF)) == 0)
  |  |  ------------------
  |  |  |  |   43|    503|  (YR_ARENA_REF)           \
  |  |  |  |   44|    503|  {                        \
  |  |  |  |   45|    503|    UINT32_MAX, UINT32_MAX \
  |  |  |  |   46|    503|  }
  |  |  ------------------
  ------------------
  |  Branch (570:7): [True: 36, False: 467]
  ------------------
  571|     36|    m_table[0] = root_state->matches_ref.offset / sizeof(YR_AC_MATCH) + 1;
  572|       |
  573|       |  // Mark the first slot in the transition table as used.
  574|    503|  yr_bitmask_set(automaton->bitmask, 0);
  ------------------
  |  |   60|    503|  do                                                                         \
  |  |   61|    503|  {                                                                          \
  |  |   62|    503|    (bm)[(i) / YR_BITMASK_SLOT_BITS] |= 1UL << ((i) % YR_BITMASK_SLOT_BITS); \
  |  |  ------------------
  |  |  |  |   56|    503|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  |  |  ------------------
  |  |                   (bm)[(i) / YR_BITMASK_SLOT_BITS] |= 1UL << ((i) % YR_BITMASK_SLOT_BITS); \
  |  |  ------------------
  |  |  |  |   56|    503|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  |  |  ------------------
  |  |   63|    503|  } while (0)
  |  |  ------------------
  |  |  |  Branch (63:12): [Folded, False: 503]
  |  |  ------------------
  ------------------
  575|       |
  576|       |  // Index 0 is for root node. Unused indexes start at 1.
  577|    503|  automaton->t_table_unused_candidate = 1;
  578|       |
  579|    503|  child_state = root_state->first_child;
  580|       |
  581|  2.30k|  while (child_state != NULL)
  ------------------
  |  Branch (581:10): [True: 1.80k, False: 503]
  ------------------
  582|  1.80k|  {
  583|       |    // Each state stores its slot number.
  584|  1.80k|    child_state->t_table_slot = child_state->input + 1;
  585|       |
  586|  1.80k|    t_table[child_state->input + 1] = YR_AC_MAKE_TRANSITION(
  ------------------
  |  |   50|  1.80k|  ((YR_AC_TRANSITION)(                     \
  |  |   51|  1.80k|      (((YR_AC_TRANSITION) state) << YR_AC_SLOT_OFFSET_BITS) | (code)))
  |  |  ------------------
  |  |  |  |   39|  1.80k|#define YR_AC_SLOT_OFFSET_BITS 9
  |  |  ------------------
  ------------------
  587|  1.80k|        0, child_state->input + 1);
  588|       |
  589|  1.80k|    yr_bitmask_set(automaton->bitmask, child_state->input + 1);
  ------------------
  |  |   60|  1.80k|  do                                                                         \
  |  |   61|  1.80k|  {                                                                          \
  |  |   62|  1.80k|    (bm)[(i) / YR_BITMASK_SLOT_BITS] |= 1UL << ((i) % YR_BITMASK_SLOT_BITS); \
  |  |  ------------------
  |  |  |  |   56|  1.80k|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  |  |  ------------------
  |  |                   (bm)[(i) / YR_BITMASK_SLOT_BITS] |= 1UL << ((i) % YR_BITMASK_SLOT_BITS); \
  |  |  ------------------
  |  |  |  |   56|  1.80k|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  |  |  ------------------
  |  |   63|  1.80k|  } while (0)
  |  |  ------------------
  |  |  |  Branch (63:12): [Folded, False: 1.80k]
  |  |  ------------------
  ------------------
  590|       |
  591|  1.80k|    FAIL_ON_ERROR(_yr_ac_queue_push(&queue, child_state));
  ------------------
  |  |  134|  1.80k|  {                               \
  |  |  135|  1.80k|    int __error = (x);            \
  |  |  136|  1.80k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  1.80k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 1.80k]
  |  |  ------------------
  |  |  137|  1.80k|      return __error;             \
  |  |  138|  1.80k|  }
  ------------------
  592|  1.80k|    child_state = child_state->siblings;
  593|  1.80k|  }
  594|       |
  595|   713k|  while (!_yr_ac_queue_is_empty(&queue))
  ------------------
  |  Branch (595:10): [True: 713k, False: 503]
  ------------------
  596|   713k|  {
  597|   713k|    state = _yr_ac_queue_pop(&queue);
  598|       |
  599|   713k|    FAIL_ON_ERROR(_yr_ac_find_suitable_transition_table_slot(
  ------------------
  |  |  134|   713k|  {                               \
  |  |  135|   713k|    int __error = (x);            \
  |  |  136|   713k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|   713k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 713k]
  |  |  ------------------
  |  |  137|   713k|      return __error;             \
  |  |  138|   713k|  }
  ------------------
  600|   713k|        automaton, automaton->arena, state, &slot));
  601|       |
  602|       |    // _yr_ac_find_suitable_transition_table_slot can allocate more space in
  603|       |    // both tables and cause the tables to be moved to a different memory
  604|       |    // location, we must get their up-to-date addresses.
  605|   713k|    t_table = yr_arena_get_ptr(automaton->arena, YR_AC_TRANSITION_TABLE, 0);
  ------------------
  |  |   65|   713k|#define YR_AC_TRANSITION_TABLE      8
  ------------------
  606|   713k|    m_table = yr_arena_get_ptr(automaton->arena, YR_AC_STATE_MATCHES_TABLE, 0);
  ------------------
  |  |   66|   713k|#define YR_AC_STATE_MATCHES_TABLE   9
  ------------------
  607|       |
  608|   713k|    t_table[state->t_table_slot] |= (slot << YR_AC_SLOT_OFFSET_BITS);
  ------------------
  |  |   39|   713k|#define YR_AC_SLOT_OFFSET_BITS 9
  ------------------
  609|   713k|    t_table[slot] = YR_AC_MAKE_TRANSITION(state->failure->t_table_slot, 0);
  ------------------
  |  |   50|   713k|  ((YR_AC_TRANSITION)(                     \
  |  |   51|   713k|      (((YR_AC_TRANSITION) state) << YR_AC_SLOT_OFFSET_BITS) | (code)))
  |  |  ------------------
  |  |  |  |   39|   713k|#define YR_AC_SLOT_OFFSET_BITS 9
  |  |  ------------------
  ------------------
  610|       |
  611|       |    // The match table is an array of indexes within YR_AC_MATCHES_POOL. The
  612|       |    // N-th item in the array is the index for the YR_AC_MATCH structure that
  613|       |    // represents the head of the matches list for state N. The indexes start
  614|       |    // at 1, the 0 indicates that there are no matches for the state.
  615|   713k|    if (YR_ARENA_IS_NULL_REF(state->matches_ref))
  ------------------
  |  |   49|   713k|  (memcmp(&(ref), &YR_ARENA_NULL_REF, sizeof(YR_ARENA_NULL_REF)) == 0)
  |  |  ------------------
  |  |  |  |   43|   713k|  (YR_ARENA_REF)           \
  |  |  |  |   44|   713k|  {                        \
  |  |  |  |   45|   713k|    UINT32_MAX, UINT32_MAX \
  |  |  |  |   46|   713k|  }
  |  |  ------------------
  |  |                 (memcmp(&(ref), &YR_ARENA_NULL_REF, sizeof(YR_ARENA_NULL_REF)) == 0)
  |  |  ------------------
  |  |  |  |   43|   713k|  (YR_ARENA_REF)           \
  |  |  |  |   44|   713k|  {                        \
  |  |  |  |   45|   713k|    UINT32_MAX, UINT32_MAX \
  |  |  |  |   46|   713k|  }
  |  |  ------------------
  |  |  |  Branch (49:3): [True: 226k, False: 486k]
  |  |  ------------------
  ------------------
  616|   226k|      m_table[slot] = 0;
  617|   486k|    else
  618|   486k|      m_table[slot] = state->matches_ref.offset / sizeof(YR_AC_MATCH) + 1;
  619|       |
  620|   713k|    state->t_table_slot = slot;
  621|       |
  622|   713k|    yr_bitmask_set(automaton->bitmask, slot);
  ------------------
  |  |   60|   713k|  do                                                                         \
  |  |   61|   713k|  {                                                                          \
  |  |   62|   713k|    (bm)[(i) / YR_BITMASK_SLOT_BITS] |= 1UL << ((i) % YR_BITMASK_SLOT_BITS); \
  |  |  ------------------
  |  |  |  |   56|   713k|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  |  |  ------------------
  |  |                   (bm)[(i) / YR_BITMASK_SLOT_BITS] |= 1UL << ((i) % YR_BITMASK_SLOT_BITS); \
  |  |  ------------------
  |  |  |  |   56|   713k|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  |  |  ------------------
  |  |   63|   713k|  } while (0)
  |  |  ------------------
  |  |  |  Branch (63:12): [Folded, False: 713k]
  |  |  ------------------
  ------------------
  623|       |
  624|       |    // Push children of current_state
  625|   713k|    child_state = state->first_child;
  626|       |
  627|  1.42M|    while (child_state != NULL)
  ------------------
  |  Branch (627:12): [True: 711k, False: 713k]
  ------------------
  628|   711k|    {
  629|   711k|      child_state->t_table_slot = slot + child_state->input + 1;
  630|       |
  631|   711k|      t_table[child_state->t_table_slot] = YR_AC_MAKE_TRANSITION(
  ------------------
  |  |   50|   711k|  ((YR_AC_TRANSITION)(                     \
  |  |   51|   711k|      (((YR_AC_TRANSITION) state) << YR_AC_SLOT_OFFSET_BITS) | (code)))
  |  |  ------------------
  |  |  |  |   39|   711k|#define YR_AC_SLOT_OFFSET_BITS 9
  |  |  ------------------
  ------------------
  632|   711k|          0, child_state->input + 1);
  633|       |
  634|   711k|      yr_bitmask_set(automaton->bitmask, child_state->t_table_slot);
  ------------------
  |  |   60|   711k|  do                                                                         \
  |  |   61|   711k|  {                                                                          \
  |  |   62|   711k|    (bm)[(i) / YR_BITMASK_SLOT_BITS] |= 1UL << ((i) % YR_BITMASK_SLOT_BITS); \
  |  |  ------------------
  |  |  |  |   56|   711k|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  |  |  ------------------
  |  |                   (bm)[(i) / YR_BITMASK_SLOT_BITS] |= 1UL << ((i) % YR_BITMASK_SLOT_BITS); \
  |  |  ------------------
  |  |  |  |   56|   711k|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  |  |  ------------------
  |  |   63|   711k|  } while (0)
  |  |  ------------------
  |  |  |  Branch (63:12): [Folded, False: 711k]
  |  |  ------------------
  ------------------
  635|       |
  636|   711k|      FAIL_ON_ERROR(_yr_ac_queue_push(&queue, child_state));
  ------------------
  |  |  134|   711k|  {                               \
  |  |  135|   711k|    int __error = (x);            \
  |  |  136|   711k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|   711k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 711k]
  |  |  ------------------
  |  |  137|   711k|      return __error;             \
  |  |  138|   711k|  }
  ------------------
  637|       |
  638|   711k|      child_state = child_state->siblings;
  639|   711k|    }
  640|   713k|  }
  641|       |
  642|    503|  return ERROR_SUCCESS;
  ------------------
  |  |   40|    503|#define ERROR_SUCCESS 0
  ------------------
  643|    503|}
ahocorasick.c:_yr_ac_find_suitable_transition_table_slot:
  411|   713k|{
  412|       |  // The state's transition table has 257 entries, 1 for the failure link and
  413|       |  // 256 for each possible input byte, so the state's bitmask has 257 bits.
  414|   713k|  YR_BITMASK state_bitmask[YR_BITMASK_SIZE(257)];
  ------------------
  |  |   54|   713k|#define YR_BITMASK unsigned long
  ------------------
  415|       |
  416|   713k|  YR_AC_STATE* child_state = state->first_child;
  417|       |
  418|       |  // Start with all bits set to zero.
  419|   713k|  yr_bitmask_clear_all(state_bitmask);
  ------------------
  |  |   72|   713k|#define yr_bitmask_clear_all(bm) memset(bm, 0, sizeof(bm))
  ------------------
  420|       |
  421|       |  // The first slot in the transition table is for the state's failure link,
  422|       |  // so the first bit in the bitmask must be set to one.
  423|   713k|  yr_bitmask_set(state_bitmask, 0);
  ------------------
  |  |   60|   713k|  do                                                                         \
  |  |   61|   713k|  {                                                                          \
  |  |   62|   713k|    (bm)[(i) / YR_BITMASK_SLOT_BITS] |= 1UL << ((i) % YR_BITMASK_SLOT_BITS); \
  |  |  ------------------
  |  |  |  |   56|   713k|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  |  |  ------------------
  |  |                   (bm)[(i) / YR_BITMASK_SLOT_BITS] |= 1UL << ((i) % YR_BITMASK_SLOT_BITS); \
  |  |  ------------------
  |  |  |  |   56|   713k|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  |  |  ------------------
  |  |   63|   713k|  } while (0)
  |  |  ------------------
  |  |  |  Branch (63:12): [Folded, False: 713k]
  |  |  ------------------
  ------------------
  424|       |
  425|  1.42M|  while (child_state != NULL)
  ------------------
  |  Branch (425:10): [True: 711k, False: 713k]
  ------------------
  426|   711k|  {
  427|   711k|    yr_bitmask_set(state_bitmask, child_state->input + 1);
  ------------------
  |  |   60|   711k|  do                                                                         \
  |  |   61|   711k|  {                                                                          \
  |  |   62|   711k|    (bm)[(i) / YR_BITMASK_SLOT_BITS] |= 1UL << ((i) % YR_BITMASK_SLOT_BITS); \
  |  |  ------------------
  |  |  |  |   56|   711k|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  |  |  ------------------
  |  |                   (bm)[(i) / YR_BITMASK_SLOT_BITS] |= 1UL << ((i) % YR_BITMASK_SLOT_BITS); \
  |  |  ------------------
  |  |  |  |   56|   711k|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  |  |  ------------------
  |  |   63|   711k|  } while (0)
  |  |  ------------------
  |  |  |  Branch (63:12): [Folded, False: 711k]
  |  |  ------------------
  ------------------
  428|   711k|    child_state = child_state->siblings;
  429|   711k|  }
  430|       |
  431|   713k|  *slot = yr_bitmask_find_non_colliding_offset(
  432|   713k|      automaton->bitmask,
  433|   713k|      state_bitmask,
  434|   713k|      automaton->tables_size,
  435|   713k|      257,
  436|   713k|      &automaton->t_table_unused_candidate);
  437|       |
  438|       |  // Make sure that we are not going beyond the maximum size of the transition
  439|       |  // table, starting at the slot found there must be at least 257 other slots
  440|       |  // for accommodating the state's transition table.
  441|   713k|  assert(*slot + 257 < YR_AC_MAX_TRANSITION_TABLE_SIZE);
  ------------------
  |  Branch (441:3): [True: 0, False: 713k]
  |  Branch (441:3): [True: 713k, False: 0]
  ------------------
  442|       |
  443|   713k|  if (*slot > automaton->tables_size - 257)
  ------------------
  |  Branch (443:7): [True: 5.43k, False: 707k]
  ------------------
  444|  5.43k|  {
  445|  5.43k|    FAIL_ON_ERROR(yr_arena_allocate_zeroed_memory(
  ------------------
  |  |  134|  5.43k|  {                               \
  |  |  135|  5.43k|    int __error = (x);            \
  |  |  136|  5.43k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  5.43k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 5.43k]
  |  |  ------------------
  |  |  137|  5.43k|      return __error;             \
  |  |  138|  5.43k|  }
  ------------------
  446|  5.43k|        arena, YR_AC_TRANSITION_TABLE, 257 * sizeof(YR_AC_TRANSITION), NULL));
  447|       |
  448|  5.43k|    FAIL_ON_ERROR(yr_arena_allocate_zeroed_memory(
  ------------------
  |  |  134|  5.43k|  {                               \
  |  |  135|  5.43k|    int __error = (x);            \
  |  |  136|  5.43k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  5.43k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 5.43k]
  |  |  ------------------
  |  |  137|  5.43k|      return __error;             \
  |  |  138|  5.43k|  }
  ------------------
  449|  5.43k|        arena, YR_AC_STATE_MATCHES_TABLE, 257 * sizeof(uint8_t*), NULL));
  450|       |
  451|  5.43k|    size_t bm_len = YR_BITMASK_SIZE(automaton->tables_size) *
  ------------------
  |  |   57|  5.43k|#define YR_BITMASK_SIZE(n)   (((n) / (YR_BITMASK_SLOT_BITS)) + 1)
  |  |  ------------------
  |  |  |  |   56|  5.43k|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  |  |  ------------------
  ------------------
  452|  5.43k|                    sizeof(YR_BITMASK);
  453|       |
  454|  5.43k|    size_t bm_len_incr = YR_BITMASK_SIZE(257) * sizeof(YR_BITMASK);
  ------------------
  |  |   57|  5.43k|#define YR_BITMASK_SIZE(n)   (((n) / (YR_BITMASK_SLOT_BITS)) + 1)
  |  |  ------------------
  |  |  |  |   56|  5.43k|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  |  |  ------------------
  ------------------
  455|       |
  456|  5.43k|    automaton->bitmask = yr_realloc(automaton->bitmask, bm_len + bm_len_incr);
  457|       |
  458|  5.43k|    if (automaton->bitmask == NULL)
  ------------------
  |  Branch (458:9): [True: 0, False: 5.43k]
  ------------------
  459|      0|      return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
  460|       |
  461|  5.43k|    memset((uint8_t*) automaton->bitmask + bm_len, 0, bm_len_incr);
  462|       |
  463|  5.43k|    automaton->tables_size += 257;
  464|  5.43k|  }
  465|       |
  466|   713k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|   713k|#define ERROR_SUCCESS 0
  ------------------
  467|   713k|}

yr_arena_create:
  263|  14.1k|{
  264|  14.1k|  if (num_buffers == 0 || num_buffers > YR_MAX_ARENA_BUFFERS)
  ------------------
  |  |   54|  14.1k|#define YR_MAX_ARENA_BUFFERS 16
  ------------------
  |  Branch (264:7): [True: 0, False: 14.1k]
  |  Branch (264:27): [True: 0, False: 14.1k]
  ------------------
  265|      0|    return ERROR_INVALID_ARGUMENT;
  ------------------
  |  |   76|      0|#define ERROR_INVALID_ARGUMENT               29
  ------------------
  266|       |
  267|  14.1k|  YR_ARENA* new_arena = (YR_ARENA*) yr_calloc(1, sizeof(YR_ARENA));
  268|       |
  269|  14.1k|  if (new_arena == NULL)
  ------------------
  |  Branch (269:7): [True: 0, False: 14.1k]
  ------------------
  270|      0|    return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
  271|       |
  272|  14.1k|  new_arena->xrefs = 1;
  273|  14.1k|  new_arena->num_buffers = num_buffers;
  274|  14.1k|  new_arena->initial_buffer_size = initial_buffer_size;
  275|       |
  276|  14.1k|  *arena = new_arena;
  277|       |
  278|  14.1k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  14.1k|#define ERROR_SUCCESS 0
  ------------------
  279|  14.1k|}
yr_arena_acquire:
  282|    503|{
  283|    503|  arena->xrefs++;
  284|    503|}
yr_arena_release:
  301|  14.6k|{
  302|  14.6k|  arena->xrefs--;
  303|       |
  304|  14.6k|  if (arena->xrefs > 0)
  ------------------
  |  Branch (304:7): [True: 503, False: 14.1k]
  ------------------
  305|    503|    return ERROR_SUCCESS;
  ------------------
  |  |   40|    503|#define ERROR_SUCCESS 0
  ------------------
  306|       |
  307|   184k|  for (uint32_t i = 0; i < arena->num_buffers; i++)
  ------------------
  |  Branch (307:24): [True: 170k, False: 14.1k]
  ------------------
  308|   170k|  {
  309|   170k|    if (arena->buffers[i].data != NULL)
  ------------------
  |  Branch (309:9): [True: 66.3k, False: 103k]
  ------------------
  310|  66.3k|      yr_free(arena->buffers[i].data);
  311|   170k|  }
  312|       |
  313|  14.1k|  YR_RELOC* reloc = arena->reloc_list_head;
  314|       |
  315|  28.2M|  while (reloc != NULL)
  ------------------
  |  Branch (315:10): [True: 28.2M, False: 14.1k]
  ------------------
  316|  28.2M|  {
  317|  28.2M|    YR_RELOC* next = reloc->next;
  318|  28.2M|    yr_free(reloc);
  319|  28.2M|    reloc = next;
  320|  28.2M|  }
  321|       |
  322|  14.1k|  yr_free(arena);
  323|       |
  324|  14.1k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  14.1k|#define ERROR_SUCCESS 0
  ------------------
  325|  14.6k|}
yr_arena_allocate_zeroed_memory:
  371|  11.8k|{
  372|  11.8k|  return _yr_arena_allocate_memory(
  373|  11.8k|      arena, YR_ARENA_ZERO_MEMORY, buffer_id, size, ref);
  ------------------
  |  |  115|  11.8k|#define YR_ARENA_ZERO_MEMORY 1
  ------------------
  374|  11.8k|}
yr_arena_allocate_struct:
  415|  6.74M|{
  416|  6.74M|  YR_ARENA_REF r;
  417|       |
  418|  6.74M|  int result = _yr_arena_allocate_memory(
  419|  6.74M|      arena, YR_ARENA_ZERO_MEMORY, buffer_id, size, &r);
  ------------------
  |  |  115|  6.74M|#define YR_ARENA_ZERO_MEMORY 1
  ------------------
  420|       |
  421|  6.74M|  if (result != ERROR_SUCCESS)
  ------------------
  |  |   40|  6.74M|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (421:7): [True: 0, False: 6.74M]
  ------------------
  422|      0|    return result;
  423|       |
  424|  6.74M|  va_list field_offsets;
  425|  6.74M|  va_start(field_offsets, ref);
  426|       |
  427|  6.74M|  result = _yr_arena_make_ptr_relocatable(
  428|  6.74M|      arena, buffer_id, r.offset, field_offsets);
  429|       |
  430|  6.74M|  va_end(field_offsets);
  431|       |
  432|  6.74M|  if (result == ERROR_SUCCESS && ref != NULL)
  ------------------
  |  |   40|  13.4M|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (432:7): [True: 6.74M, False: 0]
  |  Branch (432:34): [True: 6.74M, False: 0]
  ------------------
  433|  6.74M|  {
  434|  6.74M|    ref->buffer_id = r.buffer_id;
  435|  6.74M|    ref->offset = r.offset;
  436|  6.74M|  }
  437|       |
  438|  6.74M|  return result;
  439|  6.74M|}
yr_arena_get_ptr:
  445|  35.8M|{
  446|       |  // These bounds used to be checked with assert only, which makes them vanish
  447|       |  // when NDEBUG is defined, as it is for the released Windows binaries. That
  448|       |  // is not a safe default here: buffer_id and offset both come from a
  449|       |  // YR_ARENA_REF, and references restored by yr_arena_load_stream are read
  450|       |  // straight out of a file that may be attacker controlled. An out-of-range
  451|       |  // buffer_id indexed past the end of the buffers array and an out-of-range
  452|       |  // offset produced a pointer outside the buffer, so a crafted compiled rules
  453|       |  // file turned into a pointer that could be read from and written through.
  454|       |  // Returning NULL keeps the documented failure mode and fails closed.
  455|  35.8M|  if (buffer_id >= arena->num_buffers)
  ------------------
  |  Branch (455:7): [True: 0, False: 35.8M]
  ------------------
  456|      0|    return NULL;
  457|       |
  458|  35.8M|  YR_ARENA_BUFFER* b = &arena->buffers[buffer_id];
  459|       |
  460|  35.8M|  if (b->data == NULL || offset > b->used)
  ------------------
  |  Branch (460:7): [True: 14.6k, False: 35.8M]
  |  Branch (460:26): [True: 0, False: 35.8M]
  ------------------
  461|  14.6k|    return NULL;
  462|       |
  463|  35.8M|  return b->data + offset;
  464|  35.8M|}
yr_arena_get_current_offset:
  467|  4.74M|{
  468|  4.74M|  if (buffer_id >= arena->num_buffers)
  ------------------
  |  Branch (468:7): [True: 0, False: 4.74M]
  ------------------
  469|      0|    return 0;
  470|       |
  471|       |  // b->used never exceeds YR_ARENA_MAX_BUFFER_SIZE, so this conversion is
  472|       |  // always exact and can never truncate to a smaller offset.
  473|  4.74M|  return (yr_arena_off_t) arena->buffers[buffer_id].used;
  474|  4.74M|}
yr_arena_ptr_to_ref:
  477|  1.33M|{
  478|  1.33M|  *ref = YR_ARENA_NULL_REF;
  ------------------
  |  |   43|  1.33M|  (YR_ARENA_REF)           \
  |  |   44|  1.33M|  {                        \
  |  |   45|  1.33M|    UINT32_MAX, UINT32_MAX \
  |  |   46|  1.33M|  }
  ------------------
  479|       |
  480|  1.33M|  if (address == NULL)
  ------------------
  |  Branch (480:7): [True: 0, False: 1.33M]
  ------------------
  481|      0|    return 1;
  482|       |
  483|  5.36M|  for (uint32_t i = 0; i < arena->num_buffers; ++i)
  ------------------
  |  Branch (483:24): [True: 5.36M, False: 0]
  ------------------
  484|  5.36M|  {
  485|       |    // If the buffer is completetly empty, skip it.
  486|  5.36M|    if (arena->buffers[i].data == NULL)
  ------------------
  |  Branch (486:9): [True: 1.34M, False: 4.01M]
  ------------------
  487|  1.34M|      continue;
  488|       |
  489|       |    // If the address falls within the limits of the buffer, then we found
  490|       |    // the buffer that contains the data and return a reference to it.
  491|  4.01M|    if ((uint8_t*) address >= arena->buffers[i].data &&
  ------------------
  |  Branch (491:9): [True: 3.65M, False: 359k]
  ------------------
  492|  3.65M|        (uint8_t*) address < arena->buffers[i].data + arena->buffers[i].used)
  ------------------
  |  Branch (492:9): [True: 1.33M, False: 2.32M]
  ------------------
  493|  1.33M|    {
  494|  1.33M|      ref->buffer_id = i;
  495|  1.33M|      ref->offset =
  496|  1.33M|          (yr_arena_off_t) ((uint8_t*) address - arena->buffers[i].data);
  497|       |
  498|  1.33M|      return 1;
  499|  1.33M|    }
  500|  4.01M|  }
  501|       |
  502|      0|  return 0;
  503|  1.33M|}
yr_arena_ref_to_ptr:
  506|  30.0M|{
  507|  30.0M|  if (YR_ARENA_IS_NULL_REF(*ref))
  ------------------
  |  |   49|  30.0M|  (memcmp(&(ref), &YR_ARENA_NULL_REF, sizeof(YR_ARENA_NULL_REF)) == 0)
  |  |  ------------------
  |  |  |  |   43|  30.0M|  (YR_ARENA_REF)           \
  |  |  |  |   44|  30.0M|  {                        \
  |  |  |  |   45|  30.0M|    UINT32_MAX, UINT32_MAX \
  |  |  |  |   46|  30.0M|  }
  |  |  ------------------
  |  |                 (memcmp(&(ref), &YR_ARENA_NULL_REF, sizeof(YR_ARENA_NULL_REF)) == 0)
  |  |  ------------------
  |  |  |  |   43|  30.0M|  (YR_ARENA_REF)           \
  |  |  |  |   44|  30.0M|  {                        \
  |  |  |  |   45|  30.0M|    UINT32_MAX, UINT32_MAX \
  |  |  |  |   46|  30.0M|  }
  |  |  ------------------
  |  |  |  Branch (49:3): [True: 2.49M, False: 27.5M]
  |  |  ------------------
  ------------------
  508|  2.49M|    return NULL;
  509|       |
  510|       |#if defined(__arm__)
  511|       |  YR_ARENA_REF tmp_ref;
  512|       |  memcpy(&tmp_ref, ref, sizeof(YR_ARENA_REF));
  513|       |  ref = &tmp_ref;
  514|       |#endif
  515|       |
  516|  27.5M|  return yr_arena_get_ptr(arena, ref->buffer_id, ref->offset);
  517|  30.0M|}
yr_arena_make_ptr_relocatable:
  531|  1.34M|{
  532|  1.34M|  int result;
  533|       |
  534|  1.34M|  va_list offsets;
  535|  1.34M|  va_start(offsets, buffer_id);
  536|       |
  537|  1.34M|  result = _yr_arena_make_ptr_relocatable(arena, buffer_id, 0, offsets);
  538|       |
  539|  1.34M|  va_end(offsets);
  540|       |
  541|  1.34M|  return result;
  542|  1.34M|}
yr_arena_write_data:
  550|  9.28M|{
  551|  9.28M|  YR_ARENA_REF r;
  552|       |
  553|       |  // Allocate space in the buffer.
  554|  9.28M|  FAIL_ON_ERROR(_yr_arena_allocate_memory(arena, 0, buffer_id, size, &r));
  ------------------
  |  |  134|  9.28M|  {                               \
  |  |  135|  9.28M|    int __error = (x);            \
  |  |  136|  9.28M|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  9.28M|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 9.28M]
  |  |  ------------------
  |  |  137|  9.28M|      return __error;             \
  |  |  138|  9.28M|  }
  ------------------
  555|       |
  556|       |  // Copy the data into the allocated space.
  557|  9.28M|  memcpy(arena->buffers[buffer_id].data + r.offset, data, size);
  558|       |
  559|  9.28M|  if (ref != NULL)
  ------------------
  |  Branch (559:7): [True: 4.50M, False: 4.78M]
  ------------------
  560|  4.50M|  {
  561|  4.50M|    ref->buffer_id = r.buffer_id;
  562|  4.50M|    ref->offset = r.offset;
  563|  4.50M|  }
  564|       |
  565|  9.28M|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  9.28M|#define ERROR_SUCCESS 0
  ------------------
  566|  9.28M|}
yr_arena_write_string:
  573|  1.31k|{
  574|  1.31k|  return yr_arena_write_data(arena, buffer_id, string, strlen(string) + 1, ref);
  575|  1.31k|}
arena.c:_yr_arena_allocate_memory:
  139|  16.0M|{
  140|  16.0M|  if (buffer_id >= arena->num_buffers)
  ------------------
  |  Branch (140:7): [True: 0, False: 16.0M]
  ------------------
  141|      0|    return ERROR_INVALID_ARGUMENT;
  ------------------
  |  |   76|      0|#define ERROR_INVALID_ARGUMENT               29
  ------------------
  142|       |
  143|  16.0M|  YR_ARENA_BUFFER* b = &arena->buffers[buffer_id];
  144|       |
  145|       |  // Reject any allocation that would push the buffer past the largest offset
  146|       |  // that a YR_ARENA_REF can hold. Writing the test as a subtraction from the
  147|       |  // limit avoids the unsigned wrap that a plain b->used + size is subject to.
  148|       |  // b->used is always <= YR_ARENA_MAX_BUFFER_SIZE, because it starts at zero
  149|       |  // and is only ever increased at the end of this function, after the same
  150|       |  // bound has been enforced.
  151|  16.0M|  if (size > YR_ARENA_MAX_BUFFER_SIZE - b->used)
  ------------------
  |  |   59|  16.0M|#define YR_ARENA_MAX_BUFFER_SIZE ((size_t) UINT32_MAX)
  ------------------
  |  Branch (151:7): [True: 0, False: 16.0M]
  ------------------
  152|      0|    return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
  153|       |
  154|  16.0M|  size_t needed = b->used + size;
  155|       |
  156|       |  // If the new data doesn't fit in the remaining space the buffer must be
  157|       |  // re-sized. This implies moving the buffer to a different memory location
  158|       |  // and adjusting the pointers listed in the relocation list.
  159|       |
  160|  16.0M|  if (needed > b->size)
  ------------------
  |  Branch (160:7): [True: 66.5k, False: 15.9M]
  ------------------
  161|  66.5k|  {
  162|       |    // Start from the current size, or from the arena's initial size for a
  163|       |    // buffer that has not been used yet, and double it until it is large
  164|       |    // enough. Every step is clamped to YR_ARENA_MAX_BUFFER_SIZE so that the
  165|       |    // doubling cannot wrap around. The previous version doubled with no upper
  166|       |    // bound and compared against a sum that could wrap, so a large enough
  167|       |    // size made it loop forever where size_t is 32 bits wide.
  168|  66.5k|    size_t new_size = (b->size == 0) ? arena->initial_buffer_size : b->size;
  ------------------
  |  Branch (168:23): [True: 66.3k, False: 116]
  ------------------
  169|       |
  170|  66.5k|    if (new_size == 0)
  ------------------
  |  Branch (170:9): [True: 0, False: 66.5k]
  ------------------
  171|      0|      new_size = 1;
  172|  66.5k|    else if (new_size > YR_ARENA_MAX_BUFFER_SIZE)
  ------------------
  |  |   59|  66.5k|#define YR_ARENA_MAX_BUFFER_SIZE ((size_t) UINT32_MAX)
  ------------------
  |  Branch (172:14): [True: 0, False: 66.5k]
  ------------------
  173|      0|      new_size = YR_ARENA_MAX_BUFFER_SIZE;
  ------------------
  |  |   59|      0|#define YR_ARENA_MAX_BUFFER_SIZE ((size_t) UINT32_MAX)
  ------------------
  174|       |
  175|  66.6k|    while (new_size < needed)
  ------------------
  |  Branch (175:12): [True: 116, False: 66.5k]
  ------------------
  176|    116|    {
  177|    116|      if (new_size > YR_ARENA_MAX_BUFFER_SIZE / 2)
  ------------------
  |  |   59|    116|#define YR_ARENA_MAX_BUFFER_SIZE ((size_t) UINT32_MAX)
  ------------------
  |  Branch (177:11): [True: 0, False: 116]
  ------------------
  178|      0|      {
  179|      0|        new_size = YR_ARENA_MAX_BUFFER_SIZE;
  ------------------
  |  |   59|      0|#define YR_ARENA_MAX_BUFFER_SIZE ((size_t) UINT32_MAX)
  ------------------
  180|      0|        break;
  181|      0|      }
  182|       |
  183|    116|      new_size *= 2;
  184|    116|    }
  185|       |
  186|  66.5k|    uint8_t* new_data = yr_realloc(b->data, new_size);
  187|       |
  188|  66.5k|    if (new_data == NULL)
  ------------------
  |  Branch (188:9): [True: 0, False: 66.5k]
  ------------------
  189|      0|      return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
  190|       |
  191|       |// When yr_realloc uses the Windows API (HeapAlloc, HeapReAlloc) it is not
  192|       |// necessary to set the memory to zero because the API is called with the
  193|       |// HEAP_ZERO_MEMORY flag.
  194|  66.5k|#if !defined(_WIN32) && !defined(__CYGWIN__)
  195|  66.5k|    if (flags & YR_ARENA_ZERO_MEMORY)
  ------------------
  |  |  115|  66.5k|#define YR_ARENA_ZERO_MEMORY 1
  ------------------
  |  Branch (195:9): [True: 36.3k, False: 30.1k]
  ------------------
  196|  36.3k|      memset(new_data + b->used, 0, new_size - b->used);
  197|  66.5k|#endif
  198|       |
  199|       |    // Fix pointers in the relocation list if the old buffer was not empty
  200|       |    // and it was actually moved by yr_realloc.
  201|  66.5k|    if (b->data != NULL && b->data != new_data)
  ------------------
  |  Branch (201:9): [True: 116, False: 66.3k]
  |  Branch (201:28): [True: 116, False: 0]
  ------------------
  202|    116|    {
  203|    116|      YR_RELOC* reloc = arena->reloc_list_head;
  204|       |
  205|  34.6M|      while (reloc != NULL)
  ------------------
  |  Branch (205:14): [True: 34.6M, False: 116]
  ------------------
  206|  34.6M|      {
  207|       |        // If the reloc entry is for the same buffer that is being relocated,
  208|       |        // the base pointer that we use to access the buffer must be new_data
  209|       |        // as arena->buffers[reloc->buffer_id].data (which is the same than
  210|       |        // b->data) can't be accessed anymore after the call to yr_realloc.
  211|  34.6M|        uint8_t* base = buffer_id == reloc->buffer_id
  ------------------
  |  Branch (211:25): [True: 34.5M, False: 101k]
  ------------------
  212|  34.6M|                            ? new_data
  213|  34.6M|                            : arena->buffers[reloc->buffer_id].data;
  214|       |
  215|       |        // reloc_target is the value of the relocatable pointer.
  216|  34.6M|        void* reloc_target;
  217|  34.6M|        memcpy(&reloc_target, base + reloc->offset, sizeof(reloc_target));
  218|       |
  219|  34.6M|        if ((uint8_t*) reloc_target >= b->data &&
  ------------------
  |  Branch (219:13): [True: 8.73M, False: 25.8M]
  ------------------
  220|  8.73M|            (uint8_t*) reloc_target < b->data + b->used)
  ------------------
  |  Branch (220:13): [True: 7.05M, False: 1.67M]
  ------------------
  221|  7.05M|        {
  222|       |          // reloc_target points to some data inside the buffer being moved, so
  223|       |          // the pointer needs to be adjusted.
  224|  7.05M|          void* new_target = (uint8_t*) reloc_target - b->data + new_data;
  225|  7.05M|          memcpy(base + reloc->offset, &new_target, sizeof(new_target));
  226|  7.05M|        }
  227|       |
  228|  34.6M|        reloc = reloc->next;
  229|  34.6M|      }
  230|    116|    }
  231|       |
  232|  66.5k|    b->size = new_size;
  233|  66.5k|    b->data = new_data;
  234|  66.5k|  }
  235|       |
  236|  16.0M|  if (ref != NULL)
  ------------------
  |  Branch (236:7): [True: 16.0M, False: 11.8k]
  ------------------
  237|  16.0M|  {
  238|  16.0M|    ref->buffer_id = buffer_id;
  239|  16.0M|    ref->offset = (uint32_t) b->used;
  240|  16.0M|  }
  241|       |
  242|  16.0M|  b->used += size;
  243|       |
  244|  16.0M|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  16.0M|#define ERROR_SUCCESS 0
  ------------------
  245|  16.0M|}
arena.c:_yr_arena_make_ptr_relocatable:
   81|  8.08M|{
   82|  8.08M|  size_t offset;
   83|       |
   84|  8.08M|  int result = ERROR_SUCCESS;
  ------------------
  |  |   40|  8.08M|#define ERROR_SUCCESS 0
  ------------------
   85|       |
   86|       |  // The argument to va_arg is size_t because the offsets passed to this
   87|       |  // function are obtained with offsetof().
   88|  8.08M|  offset = va_arg(offsets, size_t);
   89|       |
   90|  36.3M|  while (offset != EOL)
  ------------------
  |  |   38|  36.3M|#define EOL ((size_t) -1)
  ------------------
  |  Branch (90:10): [True: 28.2M, False: 8.08M]
  ------------------
   91|  28.2M|  {
   92|  28.2M|    YR_RELOC* reloc = (YR_RELOC*) yr_malloc(sizeof(YR_RELOC));
   93|       |
   94|  28.2M|    if (reloc == NULL)
  ------------------
  |  Branch (94:9): [True: 0, False: 28.2M]
  ------------------
   95|      0|      return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
   96|       |
   97|  28.2M|    reloc->buffer_id = buffer_id;
   98|  28.2M|    reloc->offset = base_offset + (yr_arena_off_t) offset;
   99|  28.2M|    reloc->next = NULL;
  100|       |
  101|  28.2M|    if (arena->reloc_list_head == NULL)
  ------------------
  |  Branch (101:9): [True: 14.1k, False: 28.2M]
  ------------------
  102|  14.1k|      arena->reloc_list_head = reloc;
  103|       |
  104|  28.2M|    if (arena->reloc_list_tail != NULL)
  ------------------
  |  Branch (104:9): [True: 28.2M, False: 14.1k]
  ------------------
  105|  28.2M|      arena->reloc_list_tail->next = reloc;
  106|       |
  107|  28.2M|    arena->reloc_list_tail = reloc;
  108|  28.2M|    offset = va_arg(offsets, size_t);
  109|  28.2M|  }
  110|       |
  111|  8.08M|  return result;
  112|  8.08M|}

yr_atoms_heuristic_quality:
  107|  1.27M|{
  108|  1.27M|  YR_BITMASK seen_bytes[YR_BITMASK_SIZE(256)];
  ------------------
  |  |   54|  1.27M|#define YR_BITMASK unsigned long
  ------------------
  109|       |
  110|  1.27M|  int quality = 0;
  111|  1.27M|  int unique_bytes = 0;
  112|       |
  113|  1.27M|  assert(atom->length <= YR_MAX_ATOM_LENGTH);
  ------------------
  |  Branch (113:3): [True: 0, False: 1.27M]
  |  Branch (113:3): [True: 1.27M, False: 0]
  ------------------
  114|       |
  115|  1.27M|  yr_bitmask_clear_all(seen_bytes);
  ------------------
  |  |   72|  1.27M|#define yr_bitmask_clear_all(bm) memset(bm, 0, sizeof(bm))
  ------------------
  116|       |
  117|       |  // Each byte in the atom contributes a certain amount of points to the
  118|       |  // quality. Bytes [a-zA-Z] contribute 18 points each, common bytes like
  119|       |  // 0x00, 0x20 and 0xFF contribute only 12 points, and the rest of the
  120|       |  // bytes contribute 20 points. The ?? mask substracts 10 points, and masks
  121|       |  // X? and ?X contribute 4 points. An additional boost consisting in 2x the
  122|       |  // number of unique bytes in the atom is added to the quality. This are
  123|       |  // some examples of the quality of atoms:
  124|       |  //
  125|       |  //   01 02 03 04   quality = 20 + 20 + 20 + 20 + 8 = 88
  126|       |  //   01 ?? 03 04   quality = 20 - 10 + 20 + 20 + 6 = 56
  127|       |  //   01 0? 03      quality = 20 +  4 + 20      + 4 = 48
  128|       |  //   01 02         quality = 20 + 20           + 4 = 44
  129|       |  //   01 ?? ?3 04   quality = 20 - 10 +  2 + 20 + 4 = 36
  130|       |  //   61 62         quality = 18 + 18           + 4 = 40
  131|       |  //   61 61         quality = 18 + 18           + 2 = 38  <- warning threshold
  132|       |  //   00 01         quality = 12 + 20           + 4 = 36
  133|       |  //   01 ?? 02      quality = 20 - 10 + 20      + 4 = 34
  134|       |  //   01            quality = 20                + 1 = 21
  135|       |
  136|  5.90M|  for (int i = 0; i < atom->length; i++)
  ------------------
  |  Branch (136:19): [True: 4.62M, False: 1.27M]
  ------------------
  137|  4.62M|  {
  138|  4.62M|    switch (atom->mask[i])
  ------------------
  |  Branch (138:13): [True: 4.62M, False: 0]
  ------------------
  139|  4.62M|    {
  140|  13.1k|    case 0x00:
  ------------------
  |  Branch (140:5): [True: 13.1k, False: 4.61M]
  ------------------
  141|  13.1k|      quality -= 10;
  142|  13.1k|      break;
  143|  1.50k|    case 0x0F:
  ------------------
  |  Branch (143:5): [True: 1.50k, False: 4.62M]
  ------------------
  144|  1.50k|      quality += 4;
  145|  1.50k|      break;
  146|  2.30k|    case 0xF0:
  ------------------
  |  Branch (146:5): [True: 2.30k, False: 4.62M]
  ------------------
  147|  2.30k|      quality += 4;
  148|  2.30k|      break;
  149|  4.61M|    case 0xFF:
  ------------------
  |  Branch (149:5): [True: 4.61M, False: 16.9k]
  ------------------
  150|  4.61M|      switch (atom->bytes[i])
  151|  4.61M|      {
  152|  1.48M|      case 0x00:
  ------------------
  |  Branch (152:7): [True: 1.48M, False: 3.12M]
  ------------------
  153|  1.49M|      case 0x20:
  ------------------
  |  Branch (153:7): [True: 8.82k, False: 4.60M]
  ------------------
  154|  1.49M|      case 0xCC:
  ------------------
  |  Branch (154:7): [True: 4.20k, False: 4.60M]
  ------------------
  155|  1.60M|      case 0xFF:
  ------------------
  |  Branch (155:7): [True: 102k, False: 4.50M]
  ------------------
  156|       |        // Common bytes contribute less to the quality than the rest.
  157|  1.60M|        quality += 12;
  158|  1.60M|        break;
  159|  3.01M|      default:
  ------------------
  |  Branch (159:7): [True: 3.01M, False: 1.60M]
  ------------------
  160|       |        // Bytes in the a-z and A-Z ranges have a slightly lower quality
  161|       |        // than the rest. We want to favor atoms that contain bytes outside
  162|       |        // those ranges because they generate less additional atoms during
  163|       |        // calls to _yr_atoms_case_combinations.
  164|  3.01M|        if (yr_lowercase[atom->bytes[i]] >= 'a' &&
  ------------------
  |  Branch (164:13): [True: 2.44M, False: 566k]
  ------------------
  165|  2.44M|            yr_lowercase[atom->bytes[i]] <= 'z')
  ------------------
  |  Branch (165:13): [True: 1.93M, False: 512k]
  ------------------
  166|  1.93M|          quality += 18;
  167|  1.07M|        else
  168|  1.07M|          quality += 20;
  169|  4.61M|      }
  170|       |
  171|  4.61M|      if (!yr_bitmask_is_set(seen_bytes, atom->bytes[i]))
  ------------------
  |  |   75|  4.61M|  ((bm)[(i) / YR_BITMASK_SLOT_BITS] & (1UL << ((i) % YR_BITMASK_SLOT_BITS)))
  |  |  ------------------
  |  |  |  |   56|  4.61M|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  |  |  ------------------
  |  |                 ((bm)[(i) / YR_BITMASK_SLOT_BITS] & (1UL << ((i) % YR_BITMASK_SLOT_BITS)))
  |  |  ------------------
  |  |  |  |   56|  4.61M|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  |  |  ------------------
  ------------------
  |  Branch (171:11): [True: 3.41M, False: 1.19M]
  ------------------
  172|  3.41M|      {
  173|  3.41M|        yr_bitmask_set(seen_bytes, atom->bytes[i]);
  ------------------
  |  |   60|  3.41M|  do                                                                         \
  |  |   61|  3.41M|  {                                                                          \
  |  |   62|  3.41M|    (bm)[(i) / YR_BITMASK_SLOT_BITS] |= 1UL << ((i) % YR_BITMASK_SLOT_BITS); \
  |  |  ------------------
  |  |  |  |   56|  3.41M|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  |  |  ------------------
  |  |                   (bm)[(i) / YR_BITMASK_SLOT_BITS] |= 1UL << ((i) % YR_BITMASK_SLOT_BITS); \
  |  |  ------------------
  |  |  |  |   56|  3.41M|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  |  |  ------------------
  |  |   63|  3.41M|  } while (0)
  |  |  ------------------
  |  |  |  Branch (63:12): [Folded, False: 3.41M]
  |  |  ------------------
  ------------------
  174|  3.41M|        unique_bytes++;
  175|  3.41M|      }
  176|  4.62M|    }
  177|  4.62M|  }
  178|       |
  179|       |  // If all the bytes in the atom are equal and very common, let's penalize
  180|       |  // it heavily.
  181|  1.27M|  if (unique_bytes == 1 && (yr_bitmask_is_set(seen_bytes, 0x00) ||
  ------------------
  |  |   75|   403k|  ((bm)[(i) / YR_BITMASK_SLOT_BITS] & (1UL << ((i) % YR_BITMASK_SLOT_BITS)))
  |  |  ------------------
  |  |  |  |   56|   201k|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  |  |  ------------------
  |  |                 ((bm)[(i) / YR_BITMASK_SLOT_BITS] & (1UL << ((i) % YR_BITMASK_SLOT_BITS)))
  |  |  ------------------
  |  |  |  |   56|   201k|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  |  |  ------------------
  |  |  |  Branch (75:3): [True: 539, False: 201k]
  |  |  ------------------
  ------------------
  |  Branch (181:7): [True: 201k, False: 1.07M]
  ------------------
  182|   201k|                            yr_bitmask_is_set(seen_bytes, 0x20) ||
  ------------------
  |  |   75|   402k|  ((bm)[(i) / YR_BITMASK_SLOT_BITS] & (1UL << ((i) % YR_BITMASK_SLOT_BITS)))
  |  |  ------------------
  |  |  |  |   56|   201k|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  |  |  ------------------
  |  |                 ((bm)[(i) / YR_BITMASK_SLOT_BITS] & (1UL << ((i) % YR_BITMASK_SLOT_BITS)))
  |  |  ------------------
  |  |  |  |   56|   201k|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  |  |  ------------------
  |  |  |  Branch (75:3): [True: 1.09k, False: 200k]
  |  |  ------------------
  ------------------
  183|   200k|                            yr_bitmask_is_set(seen_bytes, 0x90) ||
  ------------------
  |  |   75|   401k|  ((bm)[(i) / YR_BITMASK_SLOT_BITS] & (1UL << ((i) % YR_BITMASK_SLOT_BITS)))
  |  |  ------------------
  |  |  |  |   56|   200k|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  |  |  ------------------
  |  |                 ((bm)[(i) / YR_BITMASK_SLOT_BITS] & (1UL << ((i) % YR_BITMASK_SLOT_BITS)))
  |  |  ------------------
  |  |  |  |   56|   200k|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  |  |  ------------------
  |  |  |  Branch (75:3): [True: 1.91k, False: 198k]
  |  |  ------------------
  ------------------
  184|   198k|                            yr_bitmask_is_set(seen_bytes, 0xCC) ||
  ------------------
  |  |   75|   399k|  ((bm)[(i) / YR_BITMASK_SLOT_BITS] & (1UL << ((i) % YR_BITMASK_SLOT_BITS)))
  |  |  ------------------
  |  |  |  |   56|   198k|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  |  |  ------------------
  |  |                 ((bm)[(i) / YR_BITMASK_SLOT_BITS] & (1UL << ((i) % YR_BITMASK_SLOT_BITS)))
  |  |  ------------------
  |  |  |  |   56|   198k|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  |  |  ------------------
  |  |  |  Branch (75:3): [True: 734, False: 197k]
  |  |  ------------------
  ------------------
  185|   197k|                            yr_bitmask_is_set(seen_bytes, 0xFF)))
  ------------------
  |  |   75|   197k|  ((bm)[(i) / YR_BITMASK_SLOT_BITS] & (1UL << ((i) % YR_BITMASK_SLOT_BITS)))
  |  |  ------------------
  |  |  |  |   56|   197k|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  |  |  ------------------
  |  |                 ((bm)[(i) / YR_BITMASK_SLOT_BITS] & (1UL << ((i) % YR_BITMASK_SLOT_BITS)))
  |  |  ------------------
  |  |  |  |   56|   197k|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  |  |  ------------------
  |  |  |  Branch (75:3): [True: 24.0k, False: 173k]
  |  |  ------------------
  ------------------
  186|  28.3k|  {
  187|  28.3k|    quality -= 10 * atom->length;
  188|  28.3k|  }
  189|       |  // In general atoms with more unique bytes have a better quality, so let's
  190|       |  // boost the quality in the amount of unique bytes.
  191|  1.25M|  else
  192|  1.25M|  {
  193|  1.25M|    quality += 2 * unique_bytes;
  194|  1.25M|  }
  195|       |
  196|       |  // The final quality is not zero-based, we start at YR_MAX_ATOM_QUALITY
  197|       |  // for the best possible atom and substract from there. The best possible
  198|       |  // quality is 21 * YR_MAX_ATOM_LENGTH (20 points per byte + 2 additional point
  199|       |  // per unique byte, with a maximum of 2*YR_MAX_ATOM_LENGTH unique bytes).
  200|       |
  201|  1.27M|  return YR_MAX_ATOM_QUALITY - 22 * YR_MAX_ATOM_LENGTH + quality;
  ------------------
  |  |   71|  1.27M|#define YR_MAX_ATOM_QUALITY 255
  ------------------
                return YR_MAX_ATOM_QUALITY - 22 * YR_MAX_ATOM_LENGTH + quality;
  ------------------
  |  |   67|  1.27M|#define YR_MAX_ATOM_LENGTH 4
  ------------------
  202|  1.27M|}
yr_atoms_list_destroy:
  424|   113k|{
  425|   113k|  YR_ATOM_LIST_ITEM* item = list_head;
  426|   113k|  YR_ATOM_LIST_ITEM* next;
  427|       |
  428|  6.78M|  while (item != NULL)
  ------------------
  |  Branch (428:10): [True: 6.67M, False: 113k]
  ------------------
  429|  6.67M|  {
  430|  6.67M|    next = item->next;
  431|  6.67M|    yr_free(item);
  432|  6.67M|    item = next;
  433|  6.67M|  }
  434|   113k|}
_yr_atoms_trim:
  472|   993k|{
  473|   993k|  int mask_00 = 0;
  474|   993k|  int mask_ff = 0;
  475|       |
  476|   993k|  int trim_left = 0;
  477|       |
  478|  1.01M|  while (trim_left < atom->length && atom->mask[trim_left] == 0) trim_left++;
  ------------------
  |  Branch (478:10): [True: 1.00M, False: 4.30k]
  |  Branch (478:38): [True: 18.2k, False: 989k]
  ------------------
  479|       |
  480|  1.00M|  while (atom->length > trim_left && atom->mask[atom->length - 1] == 0)
  ------------------
  |  Branch (480:10): [True: 1.00M, False: 4.30k]
  |  Branch (480:38): [True: 15.5k, False: 989k]
  ------------------
  481|  15.5k|    atom->length--;
  482|       |
  483|   993k|  atom->length -= trim_left;
  484|       |
  485|   993k|  if (atom->length == 0)
  ------------------
  |  Branch (485:7): [True: 4.30k, False: 989k]
  ------------------
  486|  4.30k|    return 0;
  487|       |
  488|       |  // The trimmed atom goes from trim_left to trim_left + atom->length and the
  489|       |  // first and last byte in the atom are known (mask == 0xFF). Now count the
  490|       |  // number of known and unknown bytes in the atom (mask == 0xFF and
  491|       |  // mask == 0x00 respectively).
  492|       |
  493|  4.80M|  for (int i = 0; i < atom->length; i++)
  ------------------
  |  Branch (493:19): [True: 3.81M, False: 989k]
  ------------------
  494|  3.81M|  {
  495|  3.81M|    if (atom->mask[trim_left + i] == 0xFF)
  ------------------
  |  Branch (495:9): [True: 3.79M, False: 24.4k]
  ------------------
  496|  3.79M|      mask_ff++;
  497|  24.4k|    else if (atom->mask[trim_left + i] == 0x00)
  ------------------
  |  Branch (497:14): [True: 18.3k, False: 6.07k]
  ------------------
  498|  18.3k|      mask_00++;
  499|  3.81M|  }
  500|       |
  501|       |  // If the number of unknown bytes is >= than the number of known bytes
  502|       |  // it doesn't make sense the to use this atom, so we use a single byte atom
  503|       |  // containing the first known byte. If YR_MAX_ATOM_LENGTH == 4 this happens
  504|       |  // only when the atom is like { XX ?? ?? YY }, so using the first known
  505|       |  // byte is good enough. For larger values of YR_MAX_ATOM_LENGTH this is not
  506|       |  // the most efficient solution, as better atoms could be choosen. For
  507|       |  // example, in { XX ?? ?? ?? YY ZZ } the best atom is { YY ZZ } not { XX }.
  508|       |  // But let's keep it like this for simplicity.
  509|       |
  510|   989k|  if (mask_00 >= mask_ff)
  ------------------
  |  Branch (510:7): [True: 5.17k, False: 984k]
  ------------------
  511|  5.17k|    atom->length = 1;
  512|       |
  513|   989k|  if (trim_left == 0)
  ------------------
  |  Branch (513:7): [True: 981k, False: 7.95k]
  ------------------
  514|   981k|    return 0;
  515|       |
  516|       |  // Shift bytes and mask trim_left positions to the left.
  517|       |
  518|  27.7k|  for (int i = 0; i < YR_MAX_ATOM_LENGTH - trim_left; i++)
  ------------------
  |  |   67|  27.7k|#define YR_MAX_ATOM_LENGTH 4
  ------------------
  |  Branch (518:19): [True: 19.7k, False: 7.95k]
  ------------------
  519|  19.7k|  {
  520|  19.7k|    atom->bytes[i] = atom->bytes[trim_left + i];
  521|  19.7k|    atom->mask[i] = atom->mask[trim_left + i];
  522|  19.7k|  }
  523|       |
  524|  7.95k|  return trim_left;
  525|   989k|}
yr_atoms_extract_from_re:
 1321|  11.8k|{
 1322|  11.8k|  YR_ATOM_TREE* atom_tree = (YR_ATOM_TREE*) yr_malloc(sizeof(YR_ATOM_TREE));
 1323|       |
 1324|  11.8k|  YR_ATOM_LIST_ITEM* wide_atoms;
 1325|  11.8k|  YR_ATOM_LIST_ITEM* case_insensitive_atoms;
 1326|       |
 1327|  11.8k|  if (atom_tree == NULL)
  ------------------
  |  Branch (1327:7): [True: 0, False: 11.8k]
  ------------------
 1328|      0|    return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
 1329|       |
 1330|  11.8k|  atom_tree->root_node = _yr_atoms_tree_node_create(ATOM_TREE_OR);
  ------------------
  |  |   38|  11.8k|#define ATOM_TREE_OR   3
  ------------------
 1331|       |
 1332|  11.8k|  if (atom_tree->root_node == NULL)
  ------------------
  |  Branch (1332:7): [True: 0, False: 11.8k]
  ------------------
 1333|      0|  {
 1334|      0|    _yr_atoms_tree_destroy(atom_tree);
 1335|      0|    return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
 1336|      0|  }
 1337|       |
 1338|  11.8k|  FAIL_ON_ERROR_WITH_CLEANUP(
  ------------------
  |  |  142|  11.8k|  {                                            \
  |  |  143|  11.8k|    int __error = (x);                         \
  |  |  144|  11.8k|    if (__error != ERROR_SUCCESS)              \
  |  |  ------------------
  |  |  |  |   40|  11.8k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (144:9): [True: 0, False: 11.8k]
  |  |  ------------------
  |  |  145|  11.8k|    {                                          \
  |  |  146|      0|      cleanup;                                 \
  |  |  147|      0|      return __error;                          \
  |  |  148|      0|    }                                          \
  |  |  149|  11.8k|  }
  ------------------
 1339|  11.8k|      _yr_atoms_extract_from_re(config, re_ast, atom_tree->root_node),
 1340|  11.8k|      _yr_atoms_tree_destroy(atom_tree));
 1341|       |
 1342|       |  // Initialize atom list
 1343|  11.8k|  *atoms = NULL;
 1344|       |
 1345|       |  // Choose the atoms that will be used.
 1346|  11.8k|  FAIL_ON_ERROR_WITH_CLEANUP(
  ------------------
  |  |  142|  11.8k|  {                                            \
  |  |  143|  11.8k|    int __error = (x);                         \
  |  |  144|  11.8k|    if (__error != ERROR_SUCCESS)              \
  |  |  ------------------
  |  |  |  |   40|  11.8k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (144:9): [True: 0, False: 11.8k]
  |  |  ------------------
  |  |  145|  11.8k|    {                                          \
  |  |  146|      0|      cleanup;                                 \
  |  |  147|      0|      return __error;                          \
  |  |  148|      0|    }                                          \
  |  |  149|  11.8k|  }
  ------------------
 1347|  11.8k|      _yr_atoms_choose(config, atom_tree->root_node, atoms, min_atom_quality),
 1348|  11.8k|      _yr_atoms_tree_destroy(atom_tree));
 1349|       |
 1350|  11.8k|  _yr_atoms_tree_destroy(atom_tree);
 1351|       |
 1352|  11.8k|  FAIL_ON_ERROR_WITH_CLEANUP(
  ------------------
  |  |  142|  11.8k|  {                                            \
  |  |  143|  11.8k|    int __error = (x);                         \
  |  |  144|  11.8k|    if (__error != ERROR_SUCCESS)              \
  |  |  ------------------
  |  |  |  |   40|  11.8k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (144:9): [True: 0, False: 11.8k]
  |  |  ------------------
  |  |  145|  11.8k|    {                                          \
  |  |  146|      0|      cleanup;                                 \
  |  |  147|      0|      return __error;                          \
  |  |  148|      0|    }                                          \
  |  |  149|  11.8k|  }
  ------------------
 1353|  11.8k|      _yr_atoms_expand_wildcards(*atoms),
 1354|  11.8k|      {  // Cleanup
 1355|  11.8k|        yr_atoms_list_destroy(*atoms);
 1356|  11.8k|        *atoms = NULL;
 1357|  11.8k|      });
 1358|       |
 1359|       |  // Don't do convert atoms to wide here if either base64 modifier is used.
 1360|       |  // This is to avoid the situation where we have "base64 wide" because
 1361|       |  // the wide has already been applied BEFORE the base64 encoding.
 1362|  11.8k|  if (modifier.flags & STRING_FLAGS_WIDE &&
  ------------------
  |  |   70|  23.7k|#define STRING_FLAGS_WIDE          0x10
  ------------------
  |  Branch (1362:7): [True: 2.42k, False: 9.43k]
  ------------------
 1363|  2.42k|      !(modifier.flags & STRING_FLAGS_BASE64 ||
  ------------------
  |  |   87|  4.84k|#define STRING_FLAGS_BASE64        0x200000
  ------------------
  |  Branch (1363:9): [True: 348, False: 2.07k]
  ------------------
 1364|  2.07k|        modifier.flags & STRING_FLAGS_BASE64_WIDE))
  ------------------
  |  |   88|  2.07k|#define STRING_FLAGS_BASE64_WIDE   0x400000
  ------------------
  |  Branch (1364:9): [True: 614, False: 1.46k]
  ------------------
 1365|  1.46k|  {
 1366|  1.46k|    FAIL_ON_ERROR_WITH_CLEANUP(
  ------------------
  |  |  142|  1.46k|  {                                            \
  |  |  143|  1.46k|    int __error = (x);                         \
  |  |  144|  1.46k|    if (__error != ERROR_SUCCESS)              \
  |  |  ------------------
  |  |  |  |   40|  1.46k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (144:9): [True: 0, False: 1.46k]
  |  |  ------------------
  |  |  145|  1.46k|    {                                          \
  |  |  146|      0|      cleanup;                                 \
  |  |  147|      0|      return __error;                          \
  |  |  148|      0|    }                                          \
  |  |  149|  1.46k|  }
  ------------------
 1367|  1.46k|        _yr_atoms_wide(*atoms, &wide_atoms),
 1368|  1.46k|        {  // Cleanup
 1369|  1.46k|          yr_atoms_list_destroy(*atoms);
 1370|  1.46k|          yr_atoms_list_destroy(wide_atoms);
 1371|  1.46k|          *atoms = NULL;
 1372|  1.46k|        });
 1373|       |
 1374|  1.46k|    if (modifier.flags & STRING_FLAGS_ASCII)
  ------------------
  |  |   69|  1.46k|#define STRING_FLAGS_ASCII         0x08
  ------------------
  |  Branch (1374:9): [True: 550, False: 910]
  ------------------
 1375|    550|    {
 1376|    550|      *atoms = _yr_atoms_list_concat(*atoms, wide_atoms);
 1377|    550|    }
 1378|    910|    else
 1379|    910|    {
 1380|    910|      yr_atoms_list_destroy(*atoms);
 1381|    910|      *atoms = wide_atoms;
 1382|    910|    }
 1383|  1.46k|  }
 1384|       |
 1385|  11.8k|  if (modifier.flags & STRING_FLAGS_NO_CASE)
  ------------------
  |  |   68|  11.8k|#define STRING_FLAGS_NO_CASE       0x04
  ------------------
  |  Branch (1385:7): [True: 2.29k, False: 9.57k]
  ------------------
 1386|  2.29k|  {
 1387|  2.29k|    FAIL_ON_ERROR_WITH_CLEANUP(
  ------------------
  |  |  142|  2.29k|  {                                            \
  |  |  143|  2.29k|    int __error = (x);                         \
  |  |  144|  2.29k|    if (__error != ERROR_SUCCESS)              \
  |  |  ------------------
  |  |  |  |   40|  2.29k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (144:9): [True: 0, False: 2.29k]
  |  |  ------------------
  |  |  145|  2.29k|    {                                          \
  |  |  146|      0|      cleanup;                                 \
  |  |  147|      0|      return __error;                          \
  |  |  148|      0|    }                                          \
  |  |  149|  2.29k|  }
  ------------------
 1388|  2.29k|        _yr_atoms_case_insensitive(*atoms, &case_insensitive_atoms),
 1389|  2.29k|        {  // Cleanup
 1390|  2.29k|          yr_atoms_list_destroy(*atoms);
 1391|  2.29k|          yr_atoms_list_destroy(case_insensitive_atoms);
 1392|  2.29k|          *atoms = NULL;
 1393|  2.29k|        });
 1394|       |
 1395|  2.29k|    *atoms = _yr_atoms_list_concat(*atoms, case_insensitive_atoms);
 1396|  2.29k|  }
 1397|       |
 1398|  11.8k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  11.8k|#define ERROR_SUCCESS 0
  ------------------
 1399|  11.8k|}
yr_atoms_extract_from_string:
 1411|  42.5k|{
 1412|  42.5k|  YR_ATOM_LIST_ITEM* item;
 1413|  42.5k|  YR_ATOM_LIST_ITEM* case_insensitive_atoms;
 1414|  42.5k|  YR_ATOM_LIST_ITEM* xor_atoms;
 1415|  42.5k|  YR_ATOM_LIST_ITEM* wide_atoms;
 1416|       |
 1417|  42.5k|  YR_ATOM atom;
 1418|       |
 1419|  42.5k|  int quality, max_quality;
 1420|  42.5k|  int i;
 1421|       |
 1422|  42.5k|  item = (YR_ATOM_LIST_ITEM*) yr_malloc(sizeof(YR_ATOM_LIST_ITEM));
 1423|       |
 1424|  42.5k|  if (item == NULL)
  ------------------
  |  Branch (1424:7): [True: 0, False: 42.5k]
  ------------------
 1425|      0|    return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
 1426|       |
 1427|  42.5k|  item->forward_code_ref = YR_ARENA_NULL_REF;
  ------------------
  |  |   43|  42.5k|  (YR_ARENA_REF)           \
  |  |   44|  42.5k|  {                        \
  |  |   45|  42.5k|    UINT32_MAX, UINT32_MAX \
  |  |   46|  42.5k|  }
  ------------------
 1428|  42.5k|  item->backward_code_ref = YR_ARENA_NULL_REF;
  ------------------
  |  |   43|  42.5k|  (YR_ARENA_REF)           \
  |  |   44|  42.5k|  {                        \
  |  |   45|  42.5k|    UINT32_MAX, UINT32_MAX \
  |  |   46|  42.5k|  }
  ------------------
 1429|  42.5k|  item->next = NULL;
 1430|  42.5k|  item->backtrack = 0;
 1431|       |
 1432|  42.5k|  item->atom.length = yr_min(string_length, YR_MAX_ATOM_LENGTH);
  ------------------
  |  |  112|  42.5k|#define yr_min(x, y) (((x) < (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 36.3k, False: 6.14k]
  |  |  ------------------
  ------------------
 1433|       |
 1434|   118k|  for (i = 0; i < item->atom.length; i++)
  ------------------
  |  Branch (1434:15): [True: 75.9k, False: 42.5k]
  ------------------
 1435|  75.9k|  {
 1436|  75.9k|    item->atom.bytes[i] = string[i];
 1437|  75.9k|    item->atom.mask[i] = 0xFF;
 1438|  75.9k|  }
 1439|       |
 1440|  42.5k|  max_quality = config->get_atom_quality(config, &item->atom);
 1441|       |
 1442|  42.5k|  atom.length = YR_MAX_ATOM_LENGTH;
  ------------------
  |  |   67|  42.5k|#define YR_MAX_ATOM_LENGTH 4
  ------------------
 1443|  42.5k|  memset(atom.mask, 0xFF, atom.length);
 1444|       |
 1445|  42.5k|  for (i = YR_MAX_ATOM_LENGTH;
  ------------------
  |  |   67|  42.5k|#define YR_MAX_ATOM_LENGTH 4
  ------------------
 1446|   138k|       i < string_length && max_quality < YR_MAX_ATOM_QUALITY;
  ------------------
  |  |   71|  97.8k|#define YR_MAX_ATOM_QUALITY 255
  ------------------
  |  Branch (1446:8): [True: 97.8k, False: 40.5k]
  |  Branch (1446:29): [True: 95.8k, False: 1.96k]
  ------------------
 1447|  95.8k|       i++)
 1448|  95.8k|  {
 1449|  95.8k|    atom.length = YR_MAX_ATOM_LENGTH;
  ------------------
  |  |   67|  95.8k|#define YR_MAX_ATOM_LENGTH 4
  ------------------
 1450|  95.8k|    memcpy(atom.bytes, string + i - YR_MAX_ATOM_LENGTH + 1, atom.length);
  ------------------
  |  |   67|  95.8k|#define YR_MAX_ATOM_LENGTH 4
  ------------------
 1451|       |
 1452|  95.8k|    quality = config->get_atom_quality(config, &atom);
 1453|       |
 1454|  95.8k|    if (quality > max_quality)
  ------------------
  |  Branch (1454:9): [True: 4.53k, False: 91.3k]
  ------------------
 1455|  4.53k|    {
 1456|  4.53k|      memcpy(&item->atom, &atom, sizeof(atom));
 1457|  4.53k|      item->backtrack = i - YR_MAX_ATOM_LENGTH + 1;
  ------------------
  |  |   67|  4.53k|#define YR_MAX_ATOM_LENGTH 4
  ------------------
 1458|  4.53k|      max_quality = quality;
 1459|  4.53k|    }
 1460|  95.8k|  }
 1461|       |
 1462|  42.5k|  *atoms = item;
 1463|  42.5k|  *min_atom_quality = max_quality;
 1464|       |
 1465|  42.5k|  if (modifier.flags & STRING_FLAGS_WIDE)
  ------------------
  |  |   70|  42.5k|#define STRING_FLAGS_WIDE          0x10
  ------------------
  |  Branch (1465:7): [True: 2.08k, False: 40.4k]
  ------------------
 1466|  2.08k|  {
 1467|  2.08k|    FAIL_ON_ERROR_WITH_CLEANUP(
  ------------------
  |  |  142|  2.08k|  {                                            \
  |  |  143|  2.08k|    int __error = (x);                         \
  |  |  144|  2.08k|    if (__error != ERROR_SUCCESS)              \
  |  |  ------------------
  |  |  |  |   40|  2.08k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (144:9): [True: 0, False: 2.08k]
  |  |  ------------------
  |  |  145|  2.08k|    {                                          \
  |  |  146|      0|      cleanup;                                 \
  |  |  147|      0|      return __error;                          \
  |  |  148|      0|    }                                          \
  |  |  149|  2.08k|  }
  ------------------
 1468|  2.08k|        _yr_atoms_wide(*atoms, &wide_atoms),
 1469|  2.08k|        {  // Cleanup
 1470|  2.08k|          yr_atoms_list_destroy(*atoms);
 1471|  2.08k|          yr_atoms_list_destroy(wide_atoms);
 1472|  2.08k|          *atoms = NULL;
 1473|  2.08k|        });
 1474|       |
 1475|  2.08k|    if (modifier.flags & STRING_FLAGS_ASCII)
  ------------------
  |  |   69|  2.08k|#define STRING_FLAGS_ASCII         0x08
  ------------------
  |  Branch (1475:9): [True: 1.23k, False: 855]
  ------------------
 1476|  1.23k|    {
 1477|  1.23k|      *atoms = _yr_atoms_list_concat(*atoms, wide_atoms);
 1478|  1.23k|    }
 1479|    855|    else
 1480|    855|    {
 1481|    855|      yr_atoms_list_destroy(*atoms);
 1482|    855|      *atoms = wide_atoms;
 1483|    855|    }
 1484|  2.08k|  }
 1485|       |
 1486|  42.5k|  if (modifier.flags & STRING_FLAGS_NO_CASE)
  ------------------
  |  |   68|  42.5k|#define STRING_FLAGS_NO_CASE       0x04
  ------------------
  |  Branch (1486:7): [True: 5.46k, False: 37.0k]
  ------------------
 1487|  5.46k|  {
 1488|  5.46k|    FAIL_ON_ERROR_WITH_CLEANUP(
  ------------------
  |  |  142|  5.46k|  {                                            \
  |  |  143|  5.46k|    int __error = (x);                         \
  |  |  144|  5.46k|    if (__error != ERROR_SUCCESS)              \
  |  |  ------------------
  |  |  |  |   40|  5.46k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (144:9): [True: 0, False: 5.46k]
  |  |  ------------------
  |  |  145|  5.46k|    {                                          \
  |  |  146|      0|      cleanup;                                 \
  |  |  147|      0|      return __error;                          \
  |  |  148|      0|    }                                          \
  |  |  149|  5.46k|  }
  ------------------
 1489|  5.46k|        _yr_atoms_case_insensitive(*atoms, &case_insensitive_atoms),
 1490|  5.46k|        {  // Cleanup
 1491|  5.46k|          yr_atoms_list_destroy(*atoms);
 1492|  5.46k|          yr_atoms_list_destroy(case_insensitive_atoms);
 1493|  5.46k|          *atoms = NULL;
 1494|  5.46k|        });
 1495|       |
 1496|  5.46k|    *atoms = _yr_atoms_list_concat(*atoms, case_insensitive_atoms);
 1497|  5.46k|  }
 1498|       |
 1499|  42.5k|  if (modifier.flags & STRING_FLAGS_XOR)
  ------------------
  |  |   85|  42.5k|#define STRING_FLAGS_XOR           0x80000
  ------------------
  |  Branch (1499:7): [True: 606, False: 41.9k]
  ------------------
 1500|    606|  {
 1501|    606|    FAIL_ON_ERROR_WITH_CLEANUP(
  ------------------
  |  |  142|    606|  {                                            \
  |  |  143|    606|    int __error = (x);                         \
  |  |  144|    606|    if (__error != ERROR_SUCCESS)              \
  |  |  ------------------
  |  |  |  |   40|    606|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (144:9): [True: 0, False: 606]
  |  |  ------------------
  |  |  145|    606|    {                                          \
  |  |  146|      0|      cleanup;                                 \
  |  |  147|      0|      return __error;                          \
  |  |  148|      0|    }                                          \
  |  |  149|    606|  }
  ------------------
 1502|    606|        _yr_atoms_xor(*atoms, modifier.xor_min, modifier.xor_max, &xor_atoms),
 1503|    606|        {  // Cleanup
 1504|    606|          yr_atoms_list_destroy(*atoms);
 1505|    606|          yr_atoms_list_destroy(xor_atoms);
 1506|    606|          *atoms = NULL;
 1507|    606|        });
 1508|       |
 1509|    606|    yr_atoms_list_destroy(*atoms);
 1510|    606|    *atoms = xor_atoms;
 1511|    606|  }
 1512|       |
 1513|       |  // Recheck the atom quality, in case we have just generated some poor atoms.
 1514|       |  // https://github.com/VirusTotal/yara/issues/1172
 1515|   191k|  for (item = *atoms; item != NULL; item = item->next)
  ------------------
  |  Branch (1515:23): [True: 149k, False: 42.5k]
  ------------------
 1516|   149k|  {
 1517|   149k|    quality = config->get_atom_quality(config, &item->atom);
 1518|   149k|    if (quality < *min_atom_quality)
  ------------------
  |  Branch (1518:9): [True: 993, False: 148k]
  ------------------
 1519|    993|      *min_atom_quality = quality;
 1520|   149k|  }
 1521|       |
 1522|  42.5k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  42.5k|#define ERROR_SUCCESS 0
  ------------------
 1523|  42.5k|}
atoms.c:_yr_atoms_tree_node_create:
  339|   103k|{
  340|   103k|  YR_ATOM_TREE_NODE* new_node = (YR_ATOM_TREE_NODE*) yr_malloc(
  341|   103k|      sizeof(YR_ATOM_TREE_NODE));
  342|       |
  343|   103k|  if (new_node != NULL)
  ------------------
  |  Branch (343:7): [True: 103k, False: 0]
  ------------------
  344|   103k|  {
  345|   103k|    new_node->type = type;
  346|   103k|    new_node->atom.length = 0;
  347|   103k|    new_node->next_sibling = NULL;
  348|   103k|    new_node->children_head = NULL;
  349|   103k|    new_node->children_tail = NULL;
  350|   103k|  }
  351|       |
  352|   103k|  return new_node;
  353|   103k|}
atoms.c:_yr_atoms_tree_destroy:
  415|  11.8k|{
  416|  11.8k|  _yr_atoms_tree_node_destroy(atom_tree->root_node);
  417|  11.8k|  yr_free(atom_tree);
  418|  11.8k|}
atoms.c:_yr_atoms_tree_node_destroy:
  363|  11.8k|{
  364|  11.8k|  YR_ATOM_TREE_NODE* current = node;
  365|  11.8k|  YR_ATOM_TREE_NODE* tail = node;
  366|  11.8k|  YR_ATOM_TREE_NODE* next;
  367|       |
  368|  11.8k|  if (node == NULL)
  ------------------
  |  Branch (368:7): [True: 0, False: 11.8k]
  ------------------
  369|      0|    return;
  370|       |
  371|       |  // Initialize the queue with `node` as its only element. Clearing
  372|       |  // `node->next_sibling` ensures we only destroy the subtree rooted at `node`
  373|       |  // (and not any siblings `node` might have). If `node` has children, the
  374|       |  // first iteration below will overwrite `node->next_sibling` (via `tail`) to
  375|       |  // point to `node->children_head` before `current->next_sibling` is read.
  376|  11.8k|  node->next_sibling = NULL;
  377|       |
  378|   115k|  while (current != NULL)
  ------------------
  |  Branch (378:10): [True: 103k, False: 11.8k]
  ------------------
  379|   103k|  {
  380|       |    // If the current node has children, append its entire child list
  381|       |    // (`children_head` .. `children_tail`) to the end of the queue.
  382|   103k|    if ((current->type == ATOM_TREE_OR || current->type == ATOM_TREE_AND) &&
  ------------------
  |  |   38|   207k|#define ATOM_TREE_OR   3
  ------------------
                  if ((current->type == ATOM_TREE_OR || current->type == ATOM_TREE_AND) &&
  ------------------
  |  |   37|  60.1k|#define ATOM_TREE_AND  2
  ------------------
  |  Branch (382:10): [True: 43.4k, False: 60.1k]
  |  Branch (382:43): [True: 15.8k, False: 44.3k]
  ------------------
  383|  59.2k|        current->children_head != NULL)
  ------------------
  |  Branch (383:9): [True: 54.4k, False: 4.82k]
  ------------------
  384|  54.4k|    {
  385|  54.4k|      tail->next_sibling = current->children_head;
  386|  54.4k|      tail = current->children_tail;
  387|  54.4k|    }
  388|       |
  389|   103k|    next = current->next_sibling;
  390|   103k|    yr_free(current);
  391|   103k|    current = next;
  392|   103k|  }
  393|  11.8k|}
atoms.c:_yr_atoms_extract_from_re:
  892|  11.8k|{
  893|  11.8k|  YR_STACK* stack;
  894|  11.8k|  RE_NODE* re_node;
  895|       |
  896|  11.8k|  YR_ATOM atom = {0};
  897|  11.8k|  YR_ATOM best_atom = {0};
  898|       |
  899|  11.8k|  struct STACK_ITEM si;
  900|       |
  901|  11.8k|  int i, max_iters, shift;
  902|  11.8k|  int quality;
  903|  11.8k|  int best_quality = -1;
  904|  11.8k|  int n = 0;
  905|  11.8k|  int remaining_range_unrolls = RE_MAX_RANGE_UNROLL;
  ------------------
  |  |  190|  11.8k|#define RE_MAX_RANGE_UNROLL 1024
  ------------------
  906|       |
  907|  11.8k|  YR_ATOM_TREE_NODE* and_node;
  908|  11.8k|  YR_ATOM_TREE_NODE* left_node;
  909|  11.8k|  YR_ATOM_TREE_NODE* right_node;
  910|       |
  911|       |  // The RE_NODEs most recently visited that can conform an atom (ie:
  912|       |  // RE_NODE_LITERAL, RE_NODE_MASKED_LITERAL and RE_NODE_ANY). The number of
  913|       |  // items in this array is n.
  914|  11.8k|  RE_NODE* recent_re_nodes[YR_MAX_ATOM_LENGTH];
  915|       |
  916|       |  // The RE_NODEs corresponding to the best atom found so far for the current
  917|       |  // appending node.
  918|  11.8k|  RE_NODE* best_atom_re_nodes[YR_MAX_ATOM_LENGTH];
  919|       |
  920|       |  // This holds the ATOM_TREE_OR node where leaves (ATOM_TREE_LEAF) are
  921|       |  // currently being appended.
  922|  11.8k|  YR_ATOM_TREE_NODE* current_appending_node = NULL;
  923|       |
  924|       |  // This holds the ATOM_TREE_LEAF node whose atom is currently being updated.
  925|  11.8k|  YR_ATOM_TREE_NODE* leaf = NULL;
  926|       |
  927|  11.8k|  FAIL_ON_ERROR(yr_stack_create(1024, sizeof(si), &stack));
  ------------------
  |  |  134|  11.8k|  {                               \
  |  |  135|  11.8k|    int __error = (x);            \
  |  |  136|  11.8k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  11.8k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 11.8k]
  |  |  ------------------
  |  |  137|  11.8k|      return __error;             \
  |  |  138|  11.8k|  }
  ------------------
  928|       |
  929|       |  // This first item pushed in the stack is the last one to be poped out, the
  930|       |  // sole purpose of this item is forcing that any pending leaf is appended to
  931|       |  // appending_node during the last iteration of the loop.
  932|  11.8k|  si.re_node = NULL;
  933|  11.8k|  si.new_appending_node = appending_node;
  934|       |
  935|  11.8k|  FAIL_ON_ERROR_WITH_CLEANUP(
  ------------------
  |  |  142|  11.8k|  {                                            \
  |  |  143|  11.8k|    int __error = (x);                         \
  |  |  144|  11.8k|    if (__error != ERROR_SUCCESS)              \
  |  |  ------------------
  |  |  |  |   40|  11.8k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (144:9): [True: 0, False: 11.8k]
  |  |  ------------------
  |  |  145|  11.8k|    {                                          \
  |  |  146|      0|      cleanup;                                 \
  |  |  147|      0|      return __error;                          \
  |  |  148|      0|    }                                          \
  |  |  149|  11.8k|  }
  ------------------
  936|  11.8k|      yr_stack_push(stack, (void*) &si), yr_stack_destroy(stack));
  937|       |
  938|       |  // Start processing the root node.
  939|  11.8k|  si.re_node = re_ast->root_node;
  940|       |
  941|       |  // Leaf nodes are initially appended to the node passed in the appending_node,
  942|       |  // argument which is the root ATOM_TREE_OR node that is empty at this point.
  943|  11.8k|  si.new_appending_node = appending_node;
  944|       |
  945|  11.8k|  FAIL_ON_ERROR_WITH_CLEANUP(
  ------------------
  |  |  142|  11.8k|  {                                            \
  |  |  143|  11.8k|    int __error = (x);                         \
  |  |  144|  11.8k|    if (__error != ERROR_SUCCESS)              \
  |  |  ------------------
  |  |  |  |   40|  11.8k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (144:9): [True: 0, False: 11.8k]
  |  |  ------------------
  |  |  145|  11.8k|    {                                          \
  |  |  146|      0|      cleanup;                                 \
  |  |  147|      0|      return __error;                          \
  |  |  148|      0|    }                                          \
  |  |  149|  11.8k|  }
  ------------------
  946|  11.8k|      yr_stack_push(stack, (void*) &si), yr_stack_destroy(stack));
  947|       |
  948|  1.24M|  while (yr_stack_pop(stack, (void*) &si))
  ------------------
  |  Branch (948:10): [True: 1.22M, False: 11.8k]
  ------------------
  949|  1.22M|  {
  950|       |    // Change the appending node if the item poped from the stack says so.
  951|  1.22M|    if (si.new_appending_node != NULL)
  ------------------
  |  Branch (951:9): [True: 108k, False: 1.12M]
  ------------------
  952|   108k|    {
  953|       |      // Before changing the appending node let's append any pending leaf to
  954|       |      // the current appending node.
  955|   108k|      if (n > 0)
  ------------------
  |  Branch (955:11): [True: 44.3k, False: 63.9k]
  ------------------
  956|  44.3k|      {
  957|  44.3k|        make_atom_from_re_nodes(atom, n, recent_re_nodes);
  ------------------
  |  |  872|  44.3k|  {                                                          \
  |  |  873|  44.3k|    atom.length = nodes_length;                              \
  |  |  874|   165k|    for (i = 0; i < atom.length; i++)                        \
  |  |  ------------------
  |  |  |  Branch (874:17): [True: 120k, False: 44.3k]
  |  |  ------------------
  |  |  875|   120k|    {                                                        \
  |  |  876|   120k|      atom.bytes[i] = (uint8_t) (recent_re_nodes)[i]->value; \
  |  |  877|   120k|      atom.mask[i] = (uint8_t) (recent_re_nodes)[i]->mask;   \
  |  |  878|   120k|    }                                                        \
  |  |  879|  44.3k|  }
  ------------------
  958|  44.3k|        shift = _yr_atoms_trim(&atom);
  959|  44.3k|        quality = config->get_atom_quality(config, &atom);
  960|       |
  961|  44.3k|        FAIL_ON_NULL_WITH_CLEANUP(
  ------------------
  |  |  152|  44.3k|  {                                           \
  |  |  153|  44.3k|    if ((x) == NULL)                          \
  |  |  ------------------
  |  |  |  Branch (153:9): [True: 0, False: 44.3k]
  |  |  ------------------
  |  |  154|  44.3k|    {                                         \
  |  |  155|      0|      cleanup;                                \
  |  |  156|      0|      return ERROR_INSUFFICIENT_MEMORY;       \
  |  |  ------------------
  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  ------------------
  |  |  157|      0|    }                                         \
  |  |  158|  44.3k|  }
  ------------------
  962|  44.3k|            leaf = _yr_atoms_tree_node_create(ATOM_TREE_LEAF),
  963|  44.3k|            yr_stack_destroy(stack));
  964|       |
  965|  44.3k|        if (quality > best_quality)
  ------------------
  |  Branch (965:13): [True: 33.3k, False: 11.0k]
  ------------------
  966|  33.3k|        {
  967|  33.3k|          memcpy(&leaf->atom, &atom, sizeof(atom));
  968|  33.3k|          memcpy(
  969|  33.3k|              &leaf->re_nodes,
  970|  33.3k|              &recent_re_nodes[shift],
  971|  33.3k|              sizeof(recent_re_nodes) - shift * sizeof(recent_re_nodes[0]));
  972|  33.3k|        }
  973|  11.0k|        else
  974|  11.0k|        {
  975|  11.0k|          memcpy(&leaf->atom, &best_atom, sizeof(best_atom));
  976|  11.0k|          memcpy(
  977|  11.0k|              &leaf->re_nodes, &best_atom_re_nodes, sizeof(best_atom_re_nodes));
  978|  11.0k|        }
  979|       |
  980|  44.3k|        _yr_atoms_tree_node_append(current_appending_node, leaf);
  981|  44.3k|        n = 0;
  982|  44.3k|      }
  983|       |
  984|   108k|      current_appending_node = si.new_appending_node;
  985|   108k|      best_quality = -1;
  986|   108k|    }
  987|       |
  988|  1.22M|    if (si.re_node != NULL)
  ------------------
  |  Branch (988:9): [True: 1.16M, False: 64.8k]
  ------------------
  989|  1.16M|    {
  990|  1.16M|      switch (si.re_node->type)
  991|  1.16M|      {
  992|  1.02M|      case RE_NODE_LITERAL:
  ------------------
  |  |   41|  1.02M|#define RE_NODE_LITERAL            1
  ------------------
  |  Branch (992:7): [True: 1.02M, False: 143k]
  ------------------
  993|  1.02M|      case RE_NODE_MASKED_LITERAL:
  ------------------
  |  |   42|  1.02M|#define RE_NODE_MASKED_LITERAL     2
  ------------------
  |  Branch (993:7): [True: 2.38k, False: 1.16M]
  ------------------
  994|  1.04M|      case RE_NODE_ANY:
  ------------------
  |  |   43|  1.04M|#define RE_NODE_ANY                3
  ------------------
  |  Branch (994:7): [True: 24.0k, False: 1.14M]
  ------------------
  995|       |
  996|  1.04M|        if (n < YR_MAX_ATOM_LENGTH)
  ------------------
  |  |   67|  1.04M|#define YR_MAX_ATOM_LENGTH 4
  ------------------
  |  Branch (996:13): [True: 120k, False: 927k]
  ------------------
  997|   120k|        {
  998|   120k|          recent_re_nodes[n] = si.re_node;
  999|   120k|          best_atom_re_nodes[n] = si.re_node;
 1000|   120k|          best_atom.bytes[n] = (uint8_t) si.re_node->value;
 1001|   120k|          best_atom.mask[n] = (uint8_t) si.re_node->mask;
 1002|   120k|          best_atom.length = ++n;
 1003|   120k|        }
 1004|   927k|        else if (best_quality < YR_MAX_ATOM_QUALITY)
  ------------------
  |  |   71|   927k|#define YR_MAX_ATOM_QUALITY 255
  ------------------
  |  Branch (1004:18): [True: 907k, False: 19.7k]
  ------------------
 1005|   907k|        {
 1006|   907k|          make_atom_from_re_nodes(atom, n, recent_re_nodes);
  ------------------
  |  |  872|   907k|  {                                                          \
  |  |  873|   907k|    atom.length = nodes_length;                              \
  |  |  874|  4.53M|    for (i = 0; i < atom.length; i++)                        \
  |  |  ------------------
  |  |  |  Branch (874:17): [True: 3.63M, False: 907k]
  |  |  ------------------
  |  |  875|  3.63M|    {                                                        \
  |  |  876|  3.63M|      atom.bytes[i] = (uint8_t) (recent_re_nodes)[i]->value; \
  |  |  877|  3.63M|      atom.mask[i] = (uint8_t) (recent_re_nodes)[i]->mask;   \
  |  |  878|  3.63M|    }                                                        \
  |  |  879|   907k|  }
  ------------------
 1007|   907k|          shift = _yr_atoms_trim(&atom);
 1008|   907k|          quality = config->get_atom_quality(config, &atom);
 1009|       |
 1010|   907k|          if (quality > best_quality)
  ------------------
  |  Branch (1010:15): [True: 23.5k, False: 884k]
  ------------------
 1011|  23.5k|          {
 1012|   108k|            for (i = 0; i < atom.length; i++)
  ------------------
  |  Branch (1012:25): [True: 84.9k, False: 23.5k]
  ------------------
 1013|  84.9k|            {
 1014|  84.9k|              best_atom.bytes[i] = atom.bytes[i];
 1015|  84.9k|              best_atom.mask[i] = atom.mask[i];
 1016|  84.9k|              best_atom_re_nodes[i] = recent_re_nodes[i + shift];
 1017|  84.9k|            }
 1018|       |
 1019|  23.5k|            best_atom.length = atom.length;
 1020|  23.5k|            best_quality = quality;
 1021|  23.5k|          }
 1022|       |
 1023|  3.63M|          for (i = 1; i < YR_MAX_ATOM_LENGTH; i++)
  ------------------
  |  |   67|  3.63M|#define YR_MAX_ATOM_LENGTH 4
  ------------------
  |  Branch (1023:23): [True: 2.72M, False: 907k]
  ------------------
 1024|  2.72M|            recent_re_nodes[i - 1] = recent_re_nodes[i];
 1025|       |
 1026|   907k|          recent_re_nodes[YR_MAX_ATOM_LENGTH - 1] = si.re_node;
  ------------------
  |  |   67|   907k|#define YR_MAX_ATOM_LENGTH 4
  ------------------
 1027|   907k|        }
 1028|       |
 1029|  1.04M|        break;
 1030|       |
 1031|  63.6k|      case RE_NODE_CONCAT:
  ------------------
  |  |   44|  63.6k|#define RE_NODE_CONCAT             4
  ------------------
  |  Branch (1031:7): [True: 63.6k, False: 1.10M]
  ------------------
 1032|       |
 1033|  63.6k|        re_node = si.re_node->children_tail;
 1034|       |
 1035|       |        // Push children right to left, they are poped left to right.
 1036|  1.15M|        while (re_node != NULL)
  ------------------
  |  Branch (1036:16): [True: 1.09M, False: 63.6k]
  ------------------
 1037|  1.09M|        {
 1038|  1.09M|          si.new_appending_node = NULL;
 1039|  1.09M|          si.re_node = re_node;
 1040|       |
 1041|  1.09M|          FAIL_ON_ERROR_WITH_CLEANUP(
  ------------------
  |  |  142|  1.09M|  {                                            \
  |  |  143|  1.09M|    int __error = (x);                         \
  |  |  144|  1.09M|    if (__error != ERROR_SUCCESS)              \
  |  |  ------------------
  |  |  |  |   40|  1.09M|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (144:9): [True: 0, False: 1.09M]
  |  |  ------------------
  |  |  145|  1.09M|    {                                          \
  |  |  146|      0|      cleanup;                                 \
  |  |  147|      0|      return __error;                          \
  |  |  148|      0|    }                                          \
  |  |  149|  1.09M|  }
  ------------------
 1042|  1.09M|              yr_stack_push(stack, &si), yr_stack_destroy(stack));
 1043|       |
 1044|  1.09M|          re_node = re_node->prev_sibling;
 1045|  1.09M|        }
 1046|       |
 1047|  63.6k|        break;
 1048|       |
 1049|  63.6k|      case RE_NODE_ALT:
  ------------------
  |  |   45|  15.8k|#define RE_NODE_ALT                5
  ------------------
  |  Branch (1049:7): [True: 15.8k, False: 1.14M]
  ------------------
 1050|       |
 1051|       |        // Create ATOM_TREE_AND node with two ATOM_TREE_OR children nodes.
 1052|  15.8k|        and_node = _yr_atoms_tree_node_create(ATOM_TREE_AND);
  ------------------
  |  |   37|  15.8k|#define ATOM_TREE_AND  2
  ------------------
 1053|  15.8k|        left_node = _yr_atoms_tree_node_create(ATOM_TREE_OR);
  ------------------
  |  |   38|  15.8k|#define ATOM_TREE_OR   3
  ------------------
 1054|  15.8k|        right_node = _yr_atoms_tree_node_create(ATOM_TREE_OR);
  ------------------
  |  |   38|  15.8k|#define ATOM_TREE_OR   3
  ------------------
 1055|       |
 1056|  15.8k|        if (and_node == NULL || left_node == NULL || right_node == NULL)
  ------------------
  |  Branch (1056:13): [True: 0, False: 15.8k]
  |  Branch (1056:33): [True: 0, False: 15.8k]
  |  Branch (1056:54): [True: 0, False: 15.8k]
  ------------------
 1057|      0|        {
 1058|      0|          _yr_atoms_tree_node_destroy(and_node);
 1059|      0|          _yr_atoms_tree_node_destroy(left_node);
 1060|      0|          _yr_atoms_tree_node_destroy(right_node);
 1061|       |
 1062|      0|          yr_stack_destroy(stack);
 1063|       |
 1064|      0|          return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
 1065|      0|        }
 1066|       |
 1067|  15.8k|        and_node->children_head = left_node;
 1068|  15.8k|        and_node->children_tail = right_node;
 1069|  15.8k|        left_node->next_sibling = right_node;
 1070|       |
 1071|       |        // Add the ATOM_TREE_AND as children of the current node.
 1072|  15.8k|        _yr_atoms_tree_node_append(current_appending_node, and_node);
 1073|       |
 1074|  15.8k|        re_node = si.re_node;
 1075|       |
 1076|  15.8k|        si.new_appending_node = current_appending_node;
 1077|  15.8k|        si.re_node = NULL;
 1078|       |
 1079|  15.8k|        FAIL_ON_ERROR_WITH_CLEANUP(
  ------------------
  |  |  142|  15.8k|  {                                            \
  |  |  143|  15.8k|    int __error = (x);                         \
  |  |  144|  15.8k|    if (__error != ERROR_SUCCESS)              \
  |  |  ------------------
  |  |  |  |   40|  15.8k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (144:9): [True: 0, False: 15.8k]
  |  |  ------------------
  |  |  145|  15.8k|    {                                          \
  |  |  146|      0|      cleanup;                                 \
  |  |  147|      0|      return __error;                          \
  |  |  148|      0|    }                                          \
  |  |  149|  15.8k|  }
  ------------------
 1080|  15.8k|            yr_stack_push(stack, &si), yr_stack_destroy(stack));
 1081|       |
 1082|       |        // RE_NODE_ALT nodes has only two children, so children_head is the
 1083|       |        // left one, and children_tail is right one.
 1084|  15.8k|        si.new_appending_node = right_node;
 1085|  15.8k|        si.re_node = re_node->children_tail;
 1086|       |
 1087|  15.8k|        FAIL_ON_ERROR_WITH_CLEANUP(
  ------------------
  |  |  142|  15.8k|  {                                            \
  |  |  143|  15.8k|    int __error = (x);                         \
  |  |  144|  15.8k|    if (__error != ERROR_SUCCESS)              \
  |  |  ------------------
  |  |  |  |   40|  15.8k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (144:9): [True: 0, False: 15.8k]
  |  |  ------------------
  |  |  145|  15.8k|    {                                          \
  |  |  146|      0|      cleanup;                                 \
  |  |  147|      0|      return __error;                          \
  |  |  148|      0|    }                                          \
  |  |  149|  15.8k|  }
  ------------------
 1088|  15.8k|            yr_stack_push(stack, &si), yr_stack_destroy(stack));
 1089|       |
 1090|  15.8k|        si.new_appending_node = left_node;
 1091|  15.8k|        si.re_node = re_node->children_head;
 1092|       |
 1093|  15.8k|        FAIL_ON_ERROR_WITH_CLEANUP(
  ------------------
  |  |  142|  15.8k|  {                                            \
  |  |  143|  15.8k|    int __error = (x);                         \
  |  |  144|  15.8k|    if (__error != ERROR_SUCCESS)              \
  |  |  ------------------
  |  |  |  |   40|  15.8k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (144:9): [True: 0, False: 15.8k]
  |  |  ------------------
  |  |  145|  15.8k|    {                                          \
  |  |  146|      0|      cleanup;                                 \
  |  |  147|      0|      return __error;                          \
  |  |  148|      0|    }                                          \
  |  |  149|  15.8k|  }
  ------------------
 1094|  15.8k|            yr_stack_push(stack, &si), yr_stack_destroy(stack));
 1095|       |
 1096|  15.8k|        break;
 1097|       |
 1098|  1.58k|      case RE_NODE_PLUS:
  ------------------
  |  |   48|  1.58k|#define RE_NODE_PLUS               8
  ------------------
  |  Branch (1098:7): [True: 1.58k, False: 1.16M]
  ------------------
 1099|       |
 1100|  1.58k|        re_node = si.re_node;
 1101|       |
 1102|  1.58k|        si.new_appending_node = current_appending_node;
 1103|  1.58k|        si.re_node = NULL;
 1104|       |
 1105|  1.58k|        FAIL_ON_ERROR_WITH_CLEANUP(
  ------------------
  |  |  142|  1.58k|  {                                            \
  |  |  143|  1.58k|    int __error = (x);                         \
  |  |  144|  1.58k|    if (__error != ERROR_SUCCESS)              \
  |  |  ------------------
  |  |  |  |   40|  1.58k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (144:9): [True: 0, False: 1.58k]
  |  |  ------------------
  |  |  145|  1.58k|    {                                          \
  |  |  146|      0|      cleanup;                                 \
  |  |  147|      0|      return __error;                          \
  |  |  148|      0|    }                                          \
  |  |  149|  1.58k|  }
  ------------------
 1106|  1.58k|            yr_stack_push(stack, &si), yr_stack_destroy(stack));
 1107|       |
 1108|  1.58k|        si.new_appending_node = NULL;
 1109|       |        // RE_NODE_PLUS nodes has a single child, which is children_head.
 1110|  1.58k|        si.re_node = re_node->children_head;
 1111|       |
 1112|  1.58k|        FAIL_ON_ERROR_WITH_CLEANUP(
  ------------------
  |  |  142|  1.58k|  {                                            \
  |  |  143|  1.58k|    int __error = (x);                         \
  |  |  144|  1.58k|    if (__error != ERROR_SUCCESS)              \
  |  |  ------------------
  |  |  |  |   40|  1.58k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (144:9): [True: 0, False: 1.58k]
  |  |  ------------------
  |  |  145|  1.58k|    {                                          \
  |  |  146|      0|      cleanup;                                 \
  |  |  147|      0|      return __error;                          \
  |  |  148|      0|    }                                          \
  |  |  149|  1.58k|  }
  ------------------
 1113|  1.58k|            yr_stack_push(stack, &si), yr_stack_destroy(stack));
 1114|       |
 1115|  1.58k|        break;
 1116|       |
 1117|  12.6k|      case RE_NODE_RANGE:
  ------------------
  |  |   46|  12.6k|#define RE_NODE_RANGE              6
  ------------------
  |  Branch (1117:7): [True: 12.6k, False: 1.15M]
  ------------------
 1118|       |
 1119|  12.6k|        re_node = si.re_node;
 1120|       |
 1121|  12.6k|        si.new_appending_node = current_appending_node;
 1122|  12.6k|        si.re_node = NULL;
 1123|       |
 1124|  12.6k|        FAIL_ON_ERROR_WITH_CLEANUP(
  ------------------
  |  |  142|  12.6k|  {                                            \
  |  |  143|  12.6k|    int __error = (x);                         \
  |  |  144|  12.6k|    if (__error != ERROR_SUCCESS)              \
  |  |  ------------------
  |  |  |  |   40|  12.6k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (144:9): [True: 0, False: 12.6k]
  |  |  ------------------
  |  |  145|  12.6k|    {                                          \
  |  |  146|      0|      cleanup;                                 \
  |  |  147|      0|      return __error;                          \
  |  |  148|      0|    }                                          \
  |  |  149|  12.6k|  }
  ------------------
 1125|  12.6k|            yr_stack_push(stack, &si), yr_stack_destroy(stack));
 1126|       |
 1127|  12.6k|        si.new_appending_node = NULL;
 1128|       |
 1129|       |        // RE_NODE_RANGE nodes has a single child, which is children_head.
 1130|  12.6k|        si.re_node = re_node->children_head;
 1131|       |
 1132|       |        // In a regexp like /a{10,20}/ the optimal atom is 'aaaa' (assuming
 1133|       |        // that YR_MAX_ATOM_LENGTH = 4) because the 'a' character must appear
 1134|       |        // at least 10 times in the matching string. Each call in the loop
 1135|       |        // will append one 'a' to the atom, so YR_MAX_ATOM_LENGTH iterations
 1136|       |        // are enough. However, if the child node itself appends a pending leaf
 1137|       |        // on exit (e.g. another RE_NODE_RANGE in /((a){4}){4}/), each
 1138|       |        // repetition after that leaf is appended starts with n = 0 and produces
 1139|       |        // identical atoms, so at most 1 iteration (if n == 0) or 2 iterations
 1140|       |        // (if n > 0) are needed.
 1141|  12.6k|        max_iters = yr_min(re_node->start, YR_MAX_ATOM_LENGTH);
  ------------------
  |  |  112|  12.6k|#define yr_min(x, y) (((x) < (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 7.53k, False: 5.06k]
  |  |  ------------------
  ------------------
 1142|       |
 1143|  12.6k|        re_node = re_node->children_head;
 1144|       |
 1145|  18.9k|        while (re_node != NULL && re_node->type == RE_NODE_CONCAT)
  ------------------
  |  |   44|  18.9k|#define RE_NODE_CONCAT             4
  ------------------
  |  Branch (1145:16): [True: 18.9k, False: 0]
  |  Branch (1145:35): [True: 6.33k, False: 12.6k]
  ------------------
 1146|  6.33k|          re_node = re_node->children_tail;
 1147|       |
 1148|  12.6k|        if (re_node != NULL &&
  ------------------
  |  Branch (1148:13): [True: 12.6k, False: 0]
  ------------------
 1149|  12.6k|            re_node->type != RE_NODE_LITERAL &&
  ------------------
  |  |   41|  25.2k|#define RE_NODE_LITERAL            1
  ------------------
  |  Branch (1149:13): [True: 4.22k, False: 8.37k]
  ------------------
 1150|  4.22k|            re_node->type != RE_NODE_MASKED_LITERAL &&
  ------------------
  |  |   42|  16.8k|#define RE_NODE_MASKED_LITERAL     2
  ------------------
  |  Branch (1150:13): [True: 4.22k, False: 0]
  ------------------
 1151|  4.22k|            re_node->type != RE_NODE_ANY)
  ------------------
  |  |   43|  4.22k|#define RE_NODE_ANY                3
  ------------------
  |  Branch (1151:13): [True: 2.93k, False: 1.28k]
  ------------------
 1152|  2.93k|        {
 1153|  2.93k|          max_iters = yr_min(max_iters, n > 0 ? 2 : 1);
  ------------------
  |  |  112|  5.87k|#define yr_min(x, y) (((x) < (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 950, False: 1.98k]
  |  |  |  Branch (112:31): [True: 2.07k, False: 863]
  |  |  |  Branch (112:44): [True: 1.50k, False: 489]
  |  |  ------------------
  ------------------
 1154|  2.93k|        }
 1155|       |
 1156|  12.6k|        if (max_iters > 1)
  ------------------
  |  Branch (1156:13): [True: 6.94k, False: 5.65k]
  ------------------
 1157|  6.94k|        {
 1158|  6.94k|          int extra_iters = yr_min(max_iters - 1, remaining_range_unrolls);
  ------------------
  |  |  112|  6.94k|#define yr_min(x, y) (((x) < (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 6.86k, False: 77]
  |  |  ------------------
  ------------------
 1159|  6.94k|          remaining_range_unrolls -= extra_iters;
 1160|  6.94k|          max_iters = 1 + extra_iters;
 1161|  6.94k|        }
 1162|       |
 1163|  36.3k|        for (i = 0; i < max_iters; i++)
  ------------------
  |  Branch (1163:21): [True: 23.7k, False: 12.6k]
  ------------------
 1164|  23.7k|        {
 1165|  23.7k|          FAIL_ON_ERROR_WITH_CLEANUP(
  ------------------
  |  |  142|  23.7k|  {                                            \
  |  |  143|  23.7k|    int __error = (x);                         \
  |  |  144|  23.7k|    if (__error != ERROR_SUCCESS)              \
  |  |  ------------------
  |  |  |  |   40|  23.7k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (144:9): [True: 0, False: 23.7k]
  |  |  ------------------
  |  |  145|  23.7k|    {                                          \
  |  |  146|      0|      cleanup;                                 \
  |  |  147|      0|      return __error;                          \
  |  |  148|      0|    }                                          \
  |  |  149|  23.7k|  }
  ------------------
 1166|  23.7k|              yr_stack_push(stack, &si), yr_stack_destroy(stack));
 1167|  23.7k|        }
 1168|       |
 1169|  12.6k|        break;
 1170|       |
 1171|  12.6k|      case RE_NODE_RANGE_ANY:
  ------------------
  |  |   61|  5.80k|#define RE_NODE_RANGE_ANY          21
  ------------------
  |  Branch (1171:7): [True: 5.80k, False: 1.15M]
  ------------------
 1172|  6.37k|      case RE_NODE_STAR:
  ------------------
  |  |   47|  6.37k|#define RE_NODE_STAR               7
  ------------------
  |  Branch (1172:7): [True: 570, False: 1.16M]
  ------------------
 1173|  8.93k|      case RE_NODE_CLASS:
  ------------------
  |  |   49|  8.93k|#define RE_NODE_CLASS              9
  ------------------
  |  Branch (1173:7): [True: 2.55k, False: 1.16M]
  ------------------
 1174|  9.41k|      case RE_NODE_WORD_CHAR:
  ------------------
  |  |   50|  9.41k|#define RE_NODE_WORD_CHAR          10
  ------------------
  |  Branch (1174:7): [True: 476, False: 1.16M]
  ------------------
 1175|  10.3k|      case RE_NODE_NON_WORD_CHAR:
  ------------------
  |  |   51|  10.3k|#define RE_NODE_NON_WORD_CHAR      11
  ------------------
  |  Branch (1175:7): [True: 948, False: 1.16M]
  ------------------
 1176|  12.4k|      case RE_NODE_SPACE:
  ------------------
  |  |   52|  12.4k|#define RE_NODE_SPACE              12
  ------------------
  |  Branch (1176:7): [True: 2.12k, False: 1.16M]
  ------------------
 1177|  12.9k|      case RE_NODE_NON_SPACE:
  ------------------
  |  |   53|  12.9k|#define RE_NODE_NON_SPACE          13
  ------------------
  |  Branch (1177:7): [True: 501, False: 1.16M]
  ------------------
 1178|  13.4k|      case RE_NODE_DIGIT:
  ------------------
  |  |   54|  13.4k|#define RE_NODE_DIGIT              14
  ------------------
  |  Branch (1178:7): [True: 451, False: 1.16M]
  ------------------
 1179|  13.7k|      case RE_NODE_NON_DIGIT:
  ------------------
  |  |   55|  13.7k|#define RE_NODE_NON_DIGIT          15
  ------------------
  |  Branch (1179:7): [True: 318, False: 1.16M]
  ------------------
 1180|  16.9k|      case RE_NODE_EMPTY:
  ------------------
  |  |   56|  16.9k|#define RE_NODE_EMPTY              16
  ------------------
  |  Branch (1180:7): [True: 3.24k, False: 1.16M]
  ------------------
 1181|  17.7k|      case RE_NODE_ANCHOR_START:
  ------------------
  |  |   57|  17.7k|#define RE_NODE_ANCHOR_START       17
  ------------------
  |  Branch (1181:7): [True: 755, False: 1.16M]
  ------------------
 1182|  21.1k|      case RE_NODE_ANCHOR_END:
  ------------------
  |  |   58|  21.1k|#define RE_NODE_ANCHOR_END         18
  ------------------
  |  Branch (1182:7): [True: 3.35k, False: 1.16M]
  ------------------
 1183|  21.5k|      case RE_NODE_WORD_BOUNDARY:
  ------------------
  |  |   59|  21.5k|#define RE_NODE_WORD_BOUNDARY      19
  ------------------
  |  Branch (1183:7): [True: 434, False: 1.16M]
  ------------------
 1184|  22.2k|      case RE_NODE_NON_WORD_BOUNDARY:
  ------------------
  |  |   60|  22.2k|#define RE_NODE_NON_WORD_BOUNDARY  20
  ------------------
  |  Branch (1184:7): [True: 678, False: 1.16M]
  ------------------
 1185|  22.4k|      case RE_NODE_NOT_LITERAL:
  ------------------
  |  |   62|  22.4k|#define RE_NODE_NOT_LITERAL        22
  ------------------
  |  Branch (1185:7): [True: 283, False: 1.16M]
  ------------------
 1186|  22.9k|      case RE_NODE_MASKED_NOT_LITERAL:
  ------------------
  |  |   63|  22.9k|#define RE_NODE_MASKED_NOT_LITERAL 23
  ------------------
  |  Branch (1186:7): [True: 497, False: 1.16M]
  ------------------
 1187|       |
 1188|  22.9k|        si.new_appending_node = current_appending_node;
 1189|  22.9k|        si.re_node = NULL;
 1190|       |
 1191|  22.9k|        FAIL_ON_ERROR_WITH_CLEANUP(
  ------------------
  |  |  142|  22.9k|  {                                            \
  |  |  143|  22.9k|    int __error = (x);                         \
  |  |  144|  22.9k|    if (__error != ERROR_SUCCESS)              \
  |  |  ------------------
  |  |  |  |   40|  22.9k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (144:9): [True: 0, False: 22.9k]
  |  |  ------------------
  |  |  145|  22.9k|    {                                          \
  |  |  146|      0|      cleanup;                                 \
  |  |  147|      0|      return __error;                          \
  |  |  148|      0|    }                                          \
  |  |  149|  22.9k|  }
  ------------------
 1192|  22.9k|            yr_stack_push(stack, &si), yr_stack_destroy(stack));
 1193|       |
 1194|  22.9k|        break;
 1195|       |
 1196|      0|      default:
  ------------------
  |  Branch (1196:7): [True: 0, False: 1.16M]
  ------------------
 1197|      0|        assert(false);
  ------------------
  |  Branch (1197:9): [Folded, False: 0]
  |  Branch (1197:9): [Folded, False: 0]
  ------------------
 1198|  1.16M|      }
 1199|  1.16M|    }
 1200|  1.22M|  }
 1201|       |
 1202|  11.8k|  yr_stack_destroy(stack);
 1203|       |
 1204|  11.8k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  11.8k|#define ERROR_SUCCESS 0
  ------------------
 1205|  11.8k|}
atoms.c:_yr_atoms_tree_node_append:
  401|  60.1k|{
  402|  60.1k|  if (dest->children_head == NULL)
  ------------------
  |  Branch (402:7): [True: 38.6k, False: 21.5k]
  ------------------
  403|  38.6k|    dest->children_head = node;
  404|       |
  405|  60.1k|  if (dest->children_tail != NULL)
  ------------------
  |  Branch (405:7): [True: 21.5k, False: 38.6k]
  ------------------
  406|  21.5k|    dest->children_tail->next_sibling = node;
  407|       |
  408|  60.1k|  dest->children_tail = node;
  409|  60.1k|}
atoms.c:_yr_atoms_choose:
  536|   100k|{
  537|   100k|  YR_ATOM_TREE_NODE* child;
  538|   100k|  YR_ATOM_LIST_ITEM* item;
  539|   100k|  YR_ATOM_LIST_ITEM* tail;
  540|       |
  541|   100k|  int shift, quality;
  542|       |
  543|   100k|  int max_quality = YR_MIN_ATOM_QUALITY;
  ------------------
  |  |   75|   100k|#define YR_MIN_ATOM_QUALITY 0
  ------------------
  544|   100k|  int min_quality = YR_MAX_ATOM_QUALITY;
  ------------------
  |  |   71|   100k|#define YR_MAX_ATOM_QUALITY 255
  ------------------
  545|       |
  546|   100k|  *chosen_atoms = NULL;
  547|   100k|  *atoms_quality = YR_MIN_ATOM_QUALITY;
  ------------------
  |  |   75|   100k|#define YR_MIN_ATOM_QUALITY 0
  ------------------
  548|       |
  549|   100k|  switch (node->type)
  ------------------
  |  Branch (549:11): [True: 100k, False: 0]
  ------------------
  550|   100k|  {
  551|  41.3k|  case ATOM_TREE_LEAF:
  ------------------
  |  |   36|  41.3k|#define ATOM_TREE_LEAF 1
  ------------------
  |  Branch (551:3): [True: 41.3k, False: 59.2k]
  ------------------
  552|       |
  553|  41.3k|    item = (YR_ATOM_LIST_ITEM*) yr_malloc(sizeof(YR_ATOM_LIST_ITEM));
  554|       |
  555|  41.3k|    if (item == NULL)
  ------------------
  |  Branch (555:9): [True: 0, False: 41.3k]
  ------------------
  556|      0|      return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
  557|       |
  558|  41.3k|    memcpy(&item->atom, &node->atom, sizeof(YR_ATOM));
  559|       |
  560|  41.3k|    shift = _yr_atoms_trim(&item->atom);
  561|       |
  562|  41.3k|    if (item->atom.length > 0)
  ------------------
  |  Branch (562:9): [True: 39.7k, False: 1.60k]
  ------------------
  563|  39.7k|    {
  564|  39.7k|      item->forward_code_ref = node->re_nodes[shift]->forward_code_ref;
  565|  39.7k|      item->backward_code_ref = node->re_nodes[shift]->backward_code_ref;
  566|  39.7k|      item->backtrack = 0;
  567|  39.7k|      item->next = NULL;
  568|       |
  569|  39.7k|      *chosen_atoms = item;
  570|  39.7k|      *atoms_quality = config->get_atom_quality(config, &item->atom);
  571|  39.7k|    }
  572|  1.60k|    else
  573|  1.60k|    {
  574|  1.60k|      yr_free(item);
  575|  1.60k|    }
  576|       |
  577|  41.3k|    break;
  578|       |
  579|  43.4k|  case ATOM_TREE_OR:
  ------------------
  |  |   38|  43.4k|#define ATOM_TREE_OR   3
  ------------------
  |  Branch (579:3): [True: 43.4k, False: 57.1k]
  ------------------
  580|       |
  581|       |    // The choosen nodes are those coming from the highest quality child.
  582|       |
  583|  43.4k|    child = node->children_head;
  584|       |
  585|  99.4k|    while (child != NULL)
  ------------------
  |  Branch (585:12): [True: 57.1k, False: 42.2k]
  ------------------
  586|  57.1k|    {
  587|  57.1k|      FAIL_ON_ERROR(_yr_atoms_choose(config, child, &item, &quality));
  ------------------
  |  |  134|  57.1k|  {                               \
  |  |  135|  57.1k|    int __error = (x);            \
  |  |  136|  57.1k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  57.1k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 57.1k]
  |  |  ------------------
  |  |  137|  57.1k|      return __error;             \
  |  |  138|  57.1k|  }
  ------------------
  588|       |
  589|  57.1k|      if (quality > max_quality)
  ------------------
  |  Branch (589:11): [True: 35.8k, False: 21.2k]
  ------------------
  590|  35.8k|      {
  591|  35.8k|        max_quality = quality;
  592|  35.8k|        yr_atoms_list_destroy(*chosen_atoms);
  593|  35.8k|        *chosen_atoms = item;
  594|  35.8k|      }
  595|  21.2k|      else
  596|  21.2k|      {
  597|  21.2k|        yr_atoms_list_destroy(item);
  598|  21.2k|      }
  599|       |
  600|  57.1k|      if (max_quality == YR_MAX_ATOM_QUALITY)
  ------------------
  |  |   71|  57.1k|#define YR_MAX_ATOM_QUALITY 255
  ------------------
  |  Branch (600:11): [True: 1.21k, False: 55.9k]
  ------------------
  601|  1.21k|        break;
  602|       |
  603|  55.9k|      child = child->next_sibling;
  604|  55.9k|    }
  605|       |
  606|  43.4k|    *atoms_quality = max_quality;
  607|  43.4k|    break;
  608|       |
  609|  15.8k|  case ATOM_TREE_AND:
  ------------------
  |  |   37|  15.8k|#define ATOM_TREE_AND  2
  ------------------
  |  Branch (609:3): [True: 15.8k, False: 84.8k]
  ------------------
  610|       |
  611|       |    // The choosen nodes are the concatenation of the the nodes choosen from
  612|       |    // all the children.
  613|       |
  614|  15.8k|    child = node->children_head;
  615|       |
  616|  47.4k|    while (child != NULL)
  ------------------
  |  Branch (616:12): [True: 31.6k, False: 15.8k]
  ------------------
  617|  31.6k|    {
  618|  31.6k|      FAIL_ON_ERROR(_yr_atoms_choose(config, child, &item, &quality));
  ------------------
  |  |  134|  31.6k|  {                               \
  |  |  135|  31.6k|    int __error = (x);            \
  |  |  136|  31.6k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  31.6k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 31.6k]
  |  |  ------------------
  |  |  137|  31.6k|      return __error;             \
  |  |  138|  31.6k|  }
  ------------------
  619|       |
  620|  31.6k|      if (quality < min_quality)
  ------------------
  |  Branch (620:11): [True: 17.4k, False: 14.1k]
  ------------------
  621|  17.4k|        min_quality = quality;
  622|       |
  623|  31.6k|      if (item != NULL)
  ------------------
  |  Branch (623:11): [True: 25.0k, False: 6.59k]
  ------------------
  624|  25.0k|      {
  625|  25.0k|        tail = item;
  626|   139k|        while (tail->next != NULL) tail = tail->next;
  ------------------
  |  Branch (626:16): [True: 114k, False: 25.0k]
  ------------------
  627|       |
  628|  25.0k|        tail->next = *chosen_atoms;
  629|  25.0k|        *chosen_atoms = item;
  630|  25.0k|      }
  631|       |
  632|  31.6k|      child = child->next_sibling;
  633|  31.6k|    }
  634|       |
  635|  15.8k|    *atoms_quality = min_quality;
  636|  15.8k|    break;
  637|   100k|  }
  638|       |
  639|   100k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|   100k|#define ERROR_SUCCESS 0
  ------------------
  640|   100k|}
atoms.c:_yr_atoms_expand_wildcards:
 1237|  11.8k|{
 1238|  11.8k|  int i;
 1239|       |
 1240|  11.8k|  YR_ATOM_LIST_ITEM* atom = atoms;
 1241|  11.8k|  YR_ATOM_LIST_ITEM* new_atom;
 1242|  11.8k|  YR_ATOM_LIST_ITEM* prev_atom;
 1243|  11.8k|  YR_ATOM_LIST_ITEM* next_atom;
 1244|       |
 1245|  1.02M|  while (atom != NULL)
  ------------------
  |  Branch (1245:10): [True: 1.01M, False: 11.8k]
  ------------------
 1246|  1.01M|  {
 1247|  1.01M|    bool expanded = false;
 1248|       |
 1249|  4.89M|    for (i = 0; i < atom->atom.length; i++)
  ------------------
  |  Branch (1249:17): [True: 3.87M, False: 1.01M]
  ------------------
 1250|  3.87M|    {
 1251|  3.87M|      uint16_t a, s, e, incr = 1;
 1252|       |
 1253|  3.87M|      switch (atom->atom.mask[i])
 1254|  3.87M|      {
 1255|  3.49k|      case 0x00:
  ------------------
  |  Branch (1255:7): [True: 3.49k, False: 3.87M]
  ------------------
 1256|  3.49k|        expanded = true;
 1257|  3.49k|        s = 0x00;
 1258|  3.49k|        e = 0xFF;
 1259|  3.49k|        break;
 1260|       |
 1261|  3.50k|      case 0x0F:
  ------------------
  |  Branch (1261:7): [True: 3.50k, False: 3.87M]
  ------------------
 1262|  3.50k|        expanded = true;
 1263|  3.50k|        s = atom->atom.bytes[i];
 1264|  3.50k|        e = atom->atom.bytes[i] | 0xF0;
 1265|  3.50k|        incr = 0x10;
 1266|  3.50k|        break;
 1267|       |
 1268|  3.01k|      case 0xF0:
  ------------------
  |  Branch (1268:7): [True: 3.01k, False: 3.87M]
  ------------------
 1269|  3.01k|        expanded = true;
 1270|  3.01k|        s = atom->atom.bytes[i];
 1271|  3.01k|        e = atom->atom.bytes[i] | 0x0F;
 1272|  3.01k|        break;
 1273|       |
 1274|  3.86M|      default:
  ------------------
  |  Branch (1274:7): [True: 3.86M, False: 10.0k]
  ------------------
 1275|  3.86M|        s = 0;
 1276|  3.86M|        e = 0;
 1277|  3.87M|      }
 1278|       |
 1279|  3.87M|      if (s != e)
  ------------------
  |  Branch (1279:11): [True: 10.0k, False: 3.86M]
  ------------------
 1280|  10.0k|      {
 1281|  10.0k|        atom->atom.bytes[i] = (uint8_t) s;
 1282|  10.0k|        atom->atom.mask[i] = 0xFF;
 1283|  10.0k|      }
 1284|       |
 1285|  3.87M|      prev_atom = atom;
 1286|  3.87M|      next_atom = atom->next;
 1287|       |
 1288|  4.86M|      for (a = s + incr; a <= e; a += incr)
  ------------------
  |  Branch (1288:26): [True: 988k, False: 3.87M]
  ------------------
 1289|   988k|      {
 1290|   988k|        new_atom = _yr_atoms_clone_list_item(atom);
 1291|       |
 1292|   988k|        if (new_atom == NULL)
  ------------------
  |  Branch (1292:13): [True: 0, False: 988k]
  ------------------
 1293|      0|          return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
 1294|       |
 1295|   988k|        new_atom->atom.bytes[i] = (uint8_t) a;
 1296|   988k|        new_atom->atom.mask[i] = 0xFF;
 1297|   988k|        new_atom->next = next_atom;
 1298|   988k|        prev_atom->next = new_atom;
 1299|   988k|        prev_atom = new_atom;
 1300|   988k|      }
 1301|  3.87M|    }
 1302|       |
 1303|  1.01M|    if (!expanded)
  ------------------
  |  Branch (1303:9): [True: 1.00M, False: 9.64k]
  ------------------
 1304|  1.00M|      atom = atom->next;
 1305|  1.01M|  }
 1306|       |
 1307|  11.8k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  11.8k|#define ERROR_SUCCESS 0
  ------------------
 1308|  11.8k|}
atoms.c:_yr_atoms_clone_list_item:
 1211|   988k|{
 1212|   988k|  YR_ATOM_LIST_ITEM* clone = (YR_ATOM_LIST_ITEM*) yr_malloc(
 1213|   988k|      sizeof(YR_ATOM_LIST_ITEM));
 1214|       |
 1215|   988k|  if (clone == NULL)
  ------------------
  |  Branch (1215:7): [True: 0, False: 988k]
  ------------------
 1216|      0|    return NULL;
 1217|       |
 1218|   988k|  memcpy(clone, item, sizeof(YR_ATOM_LIST_ITEM));
 1219|       |
 1220|   988k|  return clone;
 1221|   988k|}
atoms.c:_yr_atoms_wide:
  821|  3.54k|{
  822|  3.54k|  YR_ATOM_LIST_ITEM* atom;
  823|  3.54k|  YR_ATOM_LIST_ITEM* new_atom;
  824|       |
  825|  3.54k|  int i;
  826|       |
  827|  3.54k|  *wide_atoms = NULL;
  828|  3.54k|  atom = atoms;
  829|       |
  830|   167k|  while (atom != NULL)
  ------------------
  |  Branch (830:10): [True: 163k, False: 3.54k]
  ------------------
  831|   163k|  {
  832|   163k|    new_atom = (YR_ATOM_LIST_ITEM*) yr_malloc(sizeof(YR_ATOM_LIST_ITEM));
  833|       |
  834|   163k|    if (new_atom == NULL)
  ------------------
  |  Branch (834:9): [True: 0, False: 163k]
  ------------------
  835|      0|      return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
  836|       |
  837|   818k|    for (i = 0; i < YR_MAX_ATOM_LENGTH; i++)
  ------------------
  |  |   67|   818k|#define YR_MAX_ATOM_LENGTH 4
  ------------------
  |  Branch (837:17): [True: 654k, False: 163k]
  ------------------
  838|   654k|    {
  839|   654k|      new_atom->atom.bytes[i] = 0;
  840|   654k|      new_atom->atom.mask[i] = 0xFF;
  841|   654k|    }
  842|       |
  843|   488k|    for (i = 0; i < atom->atom.length; i++)
  ------------------
  |  Branch (843:17): [True: 485k, False: 2.96k]
  ------------------
  844|   485k|    {
  845|   485k|      if (i * 2 < YR_MAX_ATOM_LENGTH)
  ------------------
  |  |   67|   485k|#define YR_MAX_ATOM_LENGTH 4
  ------------------
  |  Branch (845:11): [True: 324k, False: 160k]
  ------------------
  846|   324k|        new_atom->atom.bytes[i * 2] = atom->atom.bytes[i];
  847|   160k|      else
  848|   160k|        break;
  849|   485k|    }
  850|       |
  851|   163k|    new_atom->atom.length = yr_min(atom->atom.length * 2, YR_MAX_ATOM_LENGTH);
  ------------------
  |  |  112|   163k|#define yr_min(x, y) (((x) < (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 2.52k, False: 161k]
  |  |  ------------------
  ------------------
  852|   163k|    new_atom->forward_code_ref = atom->forward_code_ref;
  853|   163k|    new_atom->backward_code_ref = atom->backward_code_ref;
  854|   163k|    new_atom->backtrack = atom->backtrack * 2;
  855|   163k|    new_atom->next = *wide_atoms;
  856|       |
  857|   163k|    *wide_atoms = new_atom;
  858|       |
  859|   163k|    atom = atom->next;
  860|   163k|  }
  861|       |
  862|  3.54k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  3.54k|#define ERROR_SUCCESS 0
  ------------------
  863|  3.54k|}
atoms.c:_yr_atoms_list_concat:
  442|  9.53k|{
  443|  9.53k|  YR_ATOM_LIST_ITEM* item;
  444|       |
  445|  9.53k|  if (list1 == NULL)
  ------------------
  |  Branch (445:7): [True: 1.22k, False: 8.31k]
  ------------------
  446|  1.22k|    return list2;
  447|       |
  448|  8.31k|  item = list1;
  449|       |
  450|   977k|  while (item->next != NULL)
  ------------------
  |  Branch (450:10): [True: 968k, False: 8.31k]
  ------------------
  451|   968k|  {
  452|   968k|    item = item->next;
  453|   968k|  }
  454|       |
  455|  8.31k|  item->next = list2;
  456|  8.31k|  return list1;
  457|  9.53k|}
atoms.c:_yr_atoms_case_insensitive:
  714|  7.75k|{
  715|  7.75k|  YR_ATOM_LIST_ITEM* atom;
  716|  7.75k|  YR_ATOM_LIST_ITEM* new_atom;
  717|       |
  718|  7.75k|  uint8_t buffer[CASE_COMBINATIONS_BUFFER_SIZE];
  719|  7.75k|  uint8_t atom_length;
  720|  7.75k|  uint8_t* atoms_cursor;
  721|       |
  722|  7.75k|  int i;
  723|       |
  724|  7.75k|  *case_insensitive_atoms = NULL;
  725|  7.75k|  atom = atoms;
  726|       |
  727|   827k|  while (atom != NULL)
  ------------------
  |  Branch (727:10): [True: 819k, False: 7.75k]
  ------------------
  728|   819k|  {
  729|   819k|    _yr_atoms_case_combinations(atom->atom.bytes, atom->atom.length, 0, buffer);
  730|       |
  731|   819k|    atoms_cursor = buffer;
  732|   819k|    atom_length = *atoms_cursor;
  733|   819k|    atoms_cursor++;
  734|       |
  735|  6.15M|    while (atom_length != 0)
  ------------------
  |  Branch (735:12): [True: 5.33M, False: 819k]
  ------------------
  736|  5.33M|    {
  737|  5.33M|      new_atom = (YR_ATOM_LIST_ITEM*) yr_malloc(sizeof(YR_ATOM_LIST_ITEM));
  738|       |
  739|  5.33M|      if (new_atom == NULL)
  ------------------
  |  Branch (739:11): [True: 0, False: 5.33M]
  ------------------
  740|      0|        return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
  741|       |
  742|  26.4M|      for (i = 0; i < atom_length; i++)
  ------------------
  |  Branch (742:19): [True: 21.1M, False: 5.33M]
  ------------------
  743|  21.1M|      {
  744|  21.1M|        new_atom->atom.bytes[i] = atoms_cursor[i];
  745|  21.1M|        new_atom->atom.mask[i] = 0xFF;
  746|  21.1M|      }
  747|       |
  748|  5.33M|      new_atom->atom.length = atom_length;
  749|  5.33M|      new_atom->forward_code_ref = atom->forward_code_ref;
  750|  5.33M|      new_atom->backward_code_ref = atom->backward_code_ref;
  751|  5.33M|      new_atom->backtrack = atom->backtrack;
  752|  5.33M|      new_atom->next = *case_insensitive_atoms;
  753|       |
  754|  5.33M|      *case_insensitive_atoms = new_atom;
  755|       |
  756|  5.33M|      atoms_cursor += atom_length;
  757|  5.33M|      atom_length = *atoms_cursor;
  758|  5.33M|      atoms_cursor++;
  759|  5.33M|    }
  760|       |
  761|   819k|    atom = atom->next;
  762|   819k|  }
  763|       |
  764|  7.75k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  7.75k|#define ERROR_SUCCESS 0
  ------------------
  765|  7.75k|}
atoms.c:_yr_atoms_case_combinations:
  659|  7.92M|{
  660|  7.92M|  uint8_t c;
  661|  7.92M|  uint8_t* new_atom;
  662|       |
  663|  7.92M|  if (atom_offset + 1 < atom_length)
  ------------------
  |  Branch (663:7): [True: 4.51M, False: 3.41M]
  ------------------
  664|  4.51M|    output_buffer = _yr_atoms_case_combinations(
  665|  4.51M|        atom, atom_length, atom_offset + 1, output_buffer);
  666|       |
  667|  7.92M|  c = atom[atom_offset];
  668|       |
  669|  7.92M|  if ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z'))
  ------------------
  |  Branch (669:8): [True: 5.74M, False: 2.17M]
  |  Branch (669:20): [True: 4.65M, False: 1.09M]
  |  Branch (669:34): [True: 1.83M, False: 1.43M]
  |  Branch (669:46): [True: 680k, False: 1.15M]
  ------------------
  670|  5.33M|  {
  671|       |    // Write atom length.
  672|  5.33M|    *output_buffer = atom_length;
  673|  5.33M|    output_buffer++;
  674|       |
  675|  5.33M|    memcpy(output_buffer, atom, atom_length);
  676|       |
  677|  5.33M|    new_atom = output_buffer;
  678|  5.33M|    output_buffer += atom_length;
  679|       |
  680|       |    // Swap character case.
  681|  5.33M|    if (c >= 'a' && c <= 'z')
  ------------------
  |  Branch (681:9): [True: 4.65M, False: 680k]
  |  Branch (681:21): [True: 4.65M, False: 0]
  ------------------
  682|  4.65M|      new_atom[atom_offset] -= 32;
  683|   680k|    else
  684|   680k|      new_atom[atom_offset] += 32;
  685|       |
  686|  5.33M|    if (atom_offset + 1 < atom_length)
  ------------------
  |  Branch (686:9): [True: 2.59M, False: 2.74M]
  ------------------
  687|  2.59M|      output_buffer = _yr_atoms_case_combinations(
  688|  2.59M|          new_atom, atom_length, atom_offset + 1, output_buffer);
  689|  5.33M|  }
  690|       |
  691|  7.92M|  if (atom_offset == 0)
  ------------------
  |  Branch (691:7): [True: 819k, False: 7.10M]
  ------------------
  692|   819k|    *output_buffer = 0;
  693|       |
  694|  7.92M|  return output_buffer;
  695|  7.92M|}
atoms.c:_yr_atoms_xor:
  776|    606|{
  777|    606|  YR_ATOM_LIST_ITEM* atom;
  778|    606|  YR_ATOM_LIST_ITEM* new_atom;
  779|       |
  780|    606|  int i, j;
  781|    606|  *xor_atoms = NULL;
  782|    606|  atom = atoms;
  783|       |
  784|  1.35k|  while (atom != NULL)
  ------------------
  |  Branch (784:10): [True: 748, False: 606]
  ------------------
  785|    748|  {
  786|  98.9k|    for (j = min; j <= max; j++)
  ------------------
  |  Branch (786:19): [True: 98.1k, False: 748]
  ------------------
  787|  98.1k|    {
  788|  98.1k|      new_atom = (YR_ATOM_LIST_ITEM*) yr_malloc(sizeof(YR_ATOM_LIST_ITEM));
  789|       |
  790|  98.1k|      if (new_atom == NULL)
  ------------------
  |  Branch (790:11): [True: 0, False: 98.1k]
  ------------------
  791|      0|        return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
  792|       |
  793|   356k|      for (i = 0; i < atom->atom.length; i++)
  ------------------
  |  Branch (793:19): [True: 258k, False: 98.1k]
  ------------------
  794|   258k|      {
  795|   258k|        new_atom->atom.bytes[i] = atom->atom.bytes[i] ^ j;
  796|   258k|        new_atom->atom.mask[i] = 0xFF;
  797|   258k|      }
  798|       |
  799|  98.1k|      new_atom->atom.length = yr_min(atom->atom.length, YR_MAX_ATOM_LENGTH);
  ------------------
  |  |  112|  98.1k|#define yr_min(x, y) (((x) < (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 67.0k, False: 31.1k]
  |  |  ------------------
  ------------------
  800|  98.1k|      new_atom->forward_code_ref = atom->forward_code_ref;
  801|  98.1k|      new_atom->backward_code_ref = atom->backward_code_ref;
  802|  98.1k|      new_atom->backtrack = atom->backtrack;
  803|  98.1k|      new_atom->next = *xor_atoms;
  804|       |
  805|  98.1k|      *xor_atoms = new_atom;
  806|  98.1k|    }
  807|       |
  808|    748|    atom = atom->next;
  809|    748|  }
  810|    606|  return ERROR_SUCCESS;
  ------------------
  |  |   40|    606|#define ERROR_SUCCESS 0
  ------------------
  811|    606|}

_yr_base64_create_regexp:
  306|  2.43k|{
  307|  2.43k|  BASE64_NODE* p = head;
  308|  2.43k|  char* re_str;
  309|  2.43k|  char* s;
  310|  2.43k|  uint32_t length = 0;
  311|       |
  312|       |  // The number of nodes in the list, used to know how many '|'.
  313|  2.43k|  uint32_t c = 0;
  314|       |
  315|  10.2k|  while (p != NULL)
  ------------------
  |  Branch (315:10): [True: 7.78k, False: 2.43k]
  ------------------
  316|  7.78k|  {
  317|  7.78k|    length += (p->str->length + p->escaped);
  318|  7.78k|    c++;
  319|  7.78k|    p = p->next;
  320|  7.78k|  }
  321|       |
  322|  2.43k|  if (c == 0)
  ------------------
  |  Branch (322:7): [True: 0, False: 2.43k]
  ------------------
  323|      0|    return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
  324|       |
  325|       |  // Make sure to include '(' and ')'.
  326|       |  // The number of '|' is number of nodes - 1.
  327|  2.43k|  re_str = (char*) yr_malloc(length + 2 + (c - 1) + 1);
  328|  2.43k|  if (re_str == NULL)
  ------------------
  |  Branch (328:7): [True: 0, False: 2.43k]
  ------------------
  329|      0|    return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
  330|       |
  331|  2.43k|  s = re_str;
  332|  2.43k|  p = head;
  333|  2.43k|  *s++ = '(';
  334|  10.2k|  while (p != NULL)
  ------------------
  |  Branch (334:10): [True: 7.78k, False: 2.43k]
  ------------------
  335|  7.78k|  {
  336|  1.19M|    for (uint32_t i = 0; i < p->str->length; i++)
  ------------------
  |  Branch (336:26): [True: 1.19M, False: 7.78k]
  ------------------
  337|  1.19M|    {
  338|  1.19M|      if (IS_METACHAR(p->str->c_string[i]))
  ------------------
  |  |  174|  1.19M|  (x == '\\' || x == '^' || x == '$' || x == '|' || x == '(' || x == ')' || \
  |  |  ------------------
  |  |  |  Branch (174:4): [True: 294, False: 1.19M]
  |  |  |  Branch (174:17): [True: 321, False: 1.18M]
  |  |  |  Branch (174:29): [True: 357, False: 1.18M]
  |  |  |  Branch (174:41): [True: 291, False: 1.18M]
  |  |  |  Branch (174:53): [True: 336, False: 1.18M]
  |  |  |  Branch (174:65): [True: 394, False: 1.18M]
  |  |  ------------------
  |  |  175|  1.19M|   x == '[' || x == ']' || x == '*' || x == '?' || x == '{' || x == ',' ||  \
  |  |  ------------------
  |  |  |  Branch (175:4): [True: 261, False: 1.18M]
  |  |  |  Branch (175:16): [True: 240, False: 1.18M]
  |  |  |  Branch (175:28): [True: 405, False: 1.18M]
  |  |  |  Branch (175:40): [True: 356, False: 1.18M]
  |  |  |  Branch (175:52): [True: 411, False: 1.18M]
  |  |  |  Branch (175:64): [True: 311, False: 1.18M]
  |  |  ------------------
  |  |  176|  1.19M|   x == '.' || x == '+' || x == '}')
  |  |  ------------------
  |  |  |  Branch (176:4): [True: 1.14k, False: 1.18M]
  |  |  |  Branch (176:16): [True: 1.81k, False: 1.18M]
  |  |  |  Branch (176:28): [True: 458, False: 1.18M]
  |  |  ------------------
  ------------------
  339|  7.39k|        *s++ = '\\';
  340|       |
  341|  1.19M|      if (p->str->c_string[i] == '\x00')
  ------------------
  |  Branch (341:11): [True: 498k, False: 692k]
  ------------------
  342|   498k|      {
  343|   498k|        *s++ = '\\';
  344|   498k|        *s++ = 'x';
  345|   498k|        *s++ = '0';
  346|   498k|        *s++ = '0';
  347|   498k|      }
  348|   692k|      else
  349|   692k|        *s++ = p->str->c_string[i];
  350|  1.19M|    }
  351|       |
  352|  7.78k|    if (p->next != NULL)
  ------------------
  |  Branch (352:9): [True: 5.35k, False: 2.43k]
  ------------------
  353|  5.35k|      *s++ = '|';
  354|       |
  355|  7.78k|    p = p->next;
  356|  7.78k|  }
  357|  2.43k|  *s++ = ')';
  358|  2.43k|  *s = '\x00';
  359|       |
  360|       |  // Useful for debugging as long as the string has no NULL bytes in it. ;)
  361|       |  // printf("%s\n", re_str);
  362|       |
  363|  2.43k|  FAIL_ON_ERROR_WITH_CLEANUP(
  ------------------
  |  |  142|  2.43k|  {                                            \
  |  |  143|  2.43k|    int __error = (x);                         \
  |  |  144|  2.43k|    if (__error != ERROR_SUCCESS)              \
  |  |  ------------------
  |  |  |  |   40|  2.43k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (144:9): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |  145|  2.43k|    {                                          \
  |  |  146|      0|      cleanup;                                 \
  |  |  147|      0|      return __error;                          \
  |  |  148|      0|    }                                          \
  |  |  149|  2.43k|  }
  ------------------
  364|  2.43k|      yr_re_parse(re_str, re_ast, re_error, RE_PARSER_FLAG_NONE), yr_free(re_str));
  365|       |
  366|  2.43k|  yr_free(re_str);
  367|       |
  368|  2.43k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  2.43k|#define ERROR_SUCCESS 0
  ------------------
  369|  2.43k|}
yr_base64_ast_from_string:
  388|  2.43k|{
  389|  2.43k|  BASE64_NODE* head = NULL;
  390|  2.43k|  BASE64_NODE* tail = NULL;
  391|  2.43k|  SIZED_STRING* wide_str;
  392|       |
  393|  2.43k|  if (modifier.flags & STRING_FLAGS_WIDE)
  ------------------
  |  |   70|  2.43k|#define STRING_FLAGS_WIDE          0x10
  ------------------
  |  Branch (393:7): [True: 969, False: 1.46k]
  ------------------
  394|    969|  {
  395|    969|    wide_str = ss_convert_to_wide(in_str);
  396|       |
  397|    969|    if (modifier.flags & STRING_FLAGS_BASE64)
  ------------------
  |  |   87|    969|#define STRING_FLAGS_BASE64        0x200000
  ------------------
  |  Branch (397:9): [True: 351, False: 618]
  ------------------
  398|    351|    {
  399|    351|      FAIL_ON_ERROR_WITH_CLEANUP(
  ------------------
  |  |  142|    351|  {                                            \
  |  |  143|    351|    int __error = (x);                         \
  |  |  144|    351|    if (__error != ERROR_SUCCESS)              \
  |  |  ------------------
  |  |  |  |   40|    351|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (144:9): [True: 0, False: 351]
  |  |  ------------------
  |  |  145|    351|    {                                          \
  |  |  146|      0|      cleanup;                                 \
  |  |  147|      0|      return __error;                          \
  |  |  148|      0|    }                                          \
  |  |  149|    351|  }
  ------------------
  400|    351|          _yr_base64_create_nodes(wide_str, modifier.alphabet, 0, &head, &tail),
  401|    351|          {  // Cleanup
  402|    351|            strcpy(error->message, "Failure encoding base64 wide string");
  403|    351|            yr_free(wide_str);
  404|    351|            _yr_base64_destroy_nodes(head);
  405|    351|          });
  406|    351|    }
  407|       |
  408|    969|    if (modifier.flags & STRING_FLAGS_BASE64_WIDE)
  ------------------
  |  |   88|    969|#define STRING_FLAGS_BASE64_WIDE   0x400000
  ------------------
  |  Branch (408:9): [True: 619, False: 350]
  ------------------
  409|    619|    {
  410|    619|      FAIL_ON_ERROR_WITH_CLEANUP(
  ------------------
  |  |  142|    619|  {                                            \
  |  |  143|    619|    int __error = (x);                         \
  |  |  144|    619|    if (__error != ERROR_SUCCESS)              \
  |  |  ------------------
  |  |  |  |   40|    619|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (144:9): [True: 0, False: 619]
  |  |  ------------------
  |  |  145|    619|    {                                          \
  |  |  146|      0|      cleanup;                                 \
  |  |  147|      0|      return __error;                          \
  |  |  148|      0|    }                                          \
  |  |  149|    619|  }
  ------------------
  411|    619|          _yr_base64_create_nodes(wide_str, modifier.alphabet, 1, &head, &tail),
  412|    619|          {  // Cleanup
  413|    619|            strcpy(error->message, "Failure encoding base64wide wide string");
  414|    619|            yr_free(wide_str);
  415|    619|            _yr_base64_destroy_nodes(head);
  416|    619|          });
  417|    619|    }
  418|       |
  419|    969|    yr_free(wide_str);
  420|    969|  }
  421|       |
  422|  2.43k|  if (modifier.flags & STRING_FLAGS_ASCII)
  ------------------
  |  |   69|  2.43k|#define STRING_FLAGS_ASCII         0x08
  ------------------
  |  Branch (422:7): [True: 263, False: 2.16k]
  ------------------
  423|    263|  {
  424|    263|    if (modifier.flags & STRING_FLAGS_BASE64)
  ------------------
  |  |   87|    263|#define STRING_FLAGS_BASE64        0x200000
  ------------------
  |  Branch (424:9): [True: 195, False: 68]
  ------------------
  425|    195|    {
  426|    195|      FAIL_ON_ERROR_WITH_CLEANUP(
  ------------------
  |  |  142|    195|  {                                            \
  |  |  143|    195|    int __error = (x);                         \
  |  |  144|    195|    if (__error != ERROR_SUCCESS)              \
  |  |  ------------------
  |  |  |  |   40|    195|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (144:9): [True: 0, False: 195]
  |  |  ------------------
  |  |  145|    195|    {                                          \
  |  |  146|      0|      cleanup;                                 \
  |  |  147|      0|      return __error;                          \
  |  |  148|      0|    }                                          \
  |  |  149|    195|  }
  ------------------
  427|    195|          _yr_base64_create_nodes(in_str, modifier.alphabet, 0, &head, &tail),
  428|    195|          {  // Cleanup
  429|    195|            strcpy(error->message, "Failure encoding base64 ascii string");
  430|    195|            _yr_base64_destroy_nodes(head);
  431|    195|          });
  432|    195|    }
  433|       |
  434|    263|    if (modifier.flags & STRING_FLAGS_BASE64_WIDE)
  ------------------
  |  |   88|    263|#define STRING_FLAGS_BASE64_WIDE   0x400000
  ------------------
  |  Branch (434:9): [True: 68, False: 195]
  ------------------
  435|     68|    {
  436|     68|      FAIL_ON_ERROR_WITH_CLEANUP(
  ------------------
  |  |  142|     68|  {                                            \
  |  |  143|     68|    int __error = (x);                         \
  |  |  144|     68|    if (__error != ERROR_SUCCESS)              \
  |  |  ------------------
  |  |  |  |   40|     68|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (144:9): [True: 0, False: 68]
  |  |  ------------------
  |  |  145|     68|    {                                          \
  |  |  146|      0|      cleanup;                                 \
  |  |  147|      0|      return __error;                          \
  |  |  148|      0|    }                                          \
  |  |  149|     68|  }
  ------------------
  437|     68|          _yr_base64_create_nodes(in_str, modifier.alphabet, 1, &head, &tail),
  438|     68|          {  // Cleanup
  439|     68|            strcpy(error->message, "Failure encoding base64wide ascii string");
  440|     68|            _yr_base64_destroy_nodes(head);
  441|     68|          });
  442|     68|    }
  443|    263|  }
  444|       |
  445|  2.43k|  if (!(modifier.flags & STRING_FLAGS_WIDE) &&
  ------------------
  |  |   70|  2.43k|#define STRING_FLAGS_WIDE          0x10
  ------------------
  |  Branch (445:7): [True: 1.46k, False: 969]
  ------------------
  446|  1.46k|      !(modifier.flags & STRING_FLAGS_ASCII))
  ------------------
  |  |   69|  1.46k|#define STRING_FLAGS_ASCII         0x08
  ------------------
  |  Branch (446:7): [True: 1.20k, False: 263]
  ------------------
  447|  1.20k|  {
  448|  1.20k|    if (modifier.flags & STRING_FLAGS_BASE64)
  ------------------
  |  |   87|  1.20k|#define STRING_FLAGS_BASE64        0x200000
  ------------------
  |  Branch (448:9): [True: 902, False: 298]
  ------------------
  449|    902|    {
  450|    902|      FAIL_ON_ERROR_WITH_CLEANUP(
  ------------------
  |  |  142|    902|  {                                            \
  |  |  143|    902|    int __error = (x);                         \
  |  |  144|    902|    if (__error != ERROR_SUCCESS)              \
  |  |  ------------------
  |  |  |  |   40|    902|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (144:9): [True: 0, False: 902]
  |  |  ------------------
  |  |  145|    902|    {                                          \
  |  |  146|      0|      cleanup;                                 \
  |  |  147|      0|      return __error;                          \
  |  |  148|      0|    }                                          \
  |  |  149|    902|  }
  ------------------
  451|    902|          _yr_base64_create_nodes(in_str, modifier.alphabet, 0, &head, &tail),
  452|    902|          {  // Cleanup
  453|    902|            strcpy(error->message, "Failure encoding base64 string");
  454|    902|            _yr_base64_destroy_nodes(head);
  455|    902|          });
  456|    902|    }
  457|       |
  458|  1.20k|    if (modifier.flags & STRING_FLAGS_BASE64_WIDE)
  ------------------
  |  |   88|  1.20k|#define STRING_FLAGS_BASE64_WIDE   0x400000
  ------------------
  |  Branch (458:9): [True: 888, False: 312]
  ------------------
  459|    888|    {
  460|    888|      FAIL_ON_ERROR_WITH_CLEANUP(
  ------------------
  |  |  142|    888|  {                                            \
  |  |  143|    888|    int __error = (x);                         \
  |  |  144|    888|    if (__error != ERROR_SUCCESS)              \
  |  |  ------------------
  |  |  |  |   40|    888|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (144:9): [True: 0, False: 888]
  |  |  ------------------
  |  |  145|    888|    {                                          \
  |  |  146|      0|      cleanup;                                 \
  |  |  147|      0|      return __error;                          \
  |  |  148|      0|    }                                          \
  |  |  149|    888|  }
  ------------------
  461|    888|          _yr_base64_create_nodes(in_str, modifier.alphabet, 1, &head, &tail),
  462|    888|          {  // Cleanup
  463|    888|            strcpy(error->message, "Failure encoding base64wide string");
  464|    888|            _yr_base64_destroy_nodes(head);
  465|    888|          });
  466|    888|    }
  467|  1.20k|  }
  468|       |
  469|       |  // Useful for printing the contents of the nodes, to make sure they were
  470|       |  // encoded and stripped properly.
  471|       |  //_yr_base64_print_nodes(head);
  472|       |
  473|       |  // Create the final regex string to be parsed from all the nodes.
  474|       |  // Error message is filled in by the caller in case of failure.
  475|  2.43k|  FAIL_ON_ERROR_WITH_CLEANUP(
  ------------------
  |  |  142|  2.43k|  {                                            \
  |  |  143|  2.43k|    int __error = (x);                         \
  |  |  144|  2.43k|    if (__error != ERROR_SUCCESS)              \
  |  |  ------------------
  |  |  |  |   40|  2.43k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (144:9): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |  145|  2.43k|    {                                          \
  |  |  146|      0|      cleanup;                                 \
  |  |  147|      0|      return __error;                          \
  |  |  148|      0|    }                                          \
  |  |  149|  2.43k|  }
  ------------------
  476|  2.43k|      _yr_base64_create_regexp(head, re_ast, error),
  477|  2.43k|      _yr_base64_destroy_nodes(head));
  478|       |
  479|  2.43k|  _yr_base64_destroy_nodes(head);
  480|       |
  481|  2.43k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  2.43k|#define ERROR_SUCCESS 0
  ------------------
  482|  2.43k|}
base64.c:_yr_base64_create_nodes:
  207|  3.02k|{
  208|  3.02k|  SIZED_STRING* encoded_str;
  209|  3.02k|  SIZED_STRING* final_str;
  210|  3.02k|  BASE64_NODE* node;
  211|       |
  212|  3.02k|  int pad;
  213|       |
  214|  12.0k|  for (int i = 0; i <= 2; i++)
  ------------------
  |  Branch (214:19): [True: 9.06k, False: 3.02k]
  ------------------
  215|  9.06k|  {
  216|  9.06k|    if (i == 1 && str->length == 1)
  ------------------
  |  Branch (216:9): [True: 3.02k, False: 6.04k]
  |  Branch (216:19): [True: 1.28k, False: 1.73k]
  ------------------
  217|  1.28k|      continue;
  218|       |
  219|  7.78k|    node = (BASE64_NODE*) yr_malloc(sizeof(BASE64_NODE));
  220|  7.78k|    if (node == NULL)
  ------------------
  |  Branch (220:9): [True: 0, False: 7.78k]
  ------------------
  221|      0|      return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
  222|       |
  223|  7.78k|    FAIL_ON_NULL_WITH_CLEANUP(
  ------------------
  |  |  152|  7.78k|  {                                           \
  |  |  153|  7.78k|    if ((x) == NULL)                          \
  |  |  ------------------
  |  |  |  Branch (153:9): [True: 0, False: 7.78k]
  |  |  ------------------
  |  |  154|  7.78k|    {                                         \
  |  |  155|      0|      cleanup;                                \
  |  |  156|      0|      return ERROR_INSUFFICIENT_MEMORY;       \
  |  |  ------------------
  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  ------------------
  |  |  157|      0|    }                                         \
  |  |  158|  7.78k|  }
  ------------------
  224|  7.78k|        encoded_str = _yr_modified_base64_encode(str, alphabet, i, &pad),
  225|  7.78k|        yr_free(node));
  226|       |
  227|       |    // Now take the encoded string and strip the bytes which are affected by
  228|       |    // the leading and trailing bytes of the plaintext.
  229|  7.78k|    FAIL_ON_NULL_WITH_CLEANUP(
  ------------------
  |  |  152|  7.78k|  {                                           \
  |  |  153|  7.78k|    if ((x) == NULL)                          \
  |  |  ------------------
  |  |  |  Branch (153:9): [True: 0, False: 7.78k]
  |  |  ------------------
  |  |  154|  7.78k|    {                                         \
  |  |  155|      0|      cleanup;                                \
  |  |  156|      0|      return ERROR_INSUFFICIENT_MEMORY;       \
  |  |  ------------------
  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  ------------------
  |  |  157|      0|    }                                         \
  |  |  158|  7.78k|  }
  ------------------
  230|  7.78k|        final_str = _yr_base64_get_base64_substring(encoded_str, wide, i, pad),
  231|  7.78k|        {
  232|  7.78k|          yr_free(encoded_str);
  233|  7.78k|          yr_free(node);
  234|  7.78k|        });
  235|       |
  236|  7.78k|    yr_free(encoded_str);
  237|       |
  238|  7.78k|    node->str = final_str;
  239|  7.78k|    node->escaped = _yr_base64_count_escaped(node->str);
  240|  7.78k|    node->next = NULL;
  241|       |
  242|  7.78k|    if (*head == NULL)
  ------------------
  |  Branch (242:9): [True: 2.43k, False: 5.35k]
  ------------------
  243|  2.43k|      *head = node;
  244|       |
  245|  7.78k|    if (*tail == NULL)
  ------------------
  |  Branch (245:9): [True: 2.43k, False: 5.35k]
  ------------------
  246|  2.43k|    {
  247|  2.43k|      *tail = node;
  248|  2.43k|    }
  249|  5.35k|    else
  250|  5.35k|    {
  251|  5.35k|      (*tail)->next = node;
  252|  5.35k|      *tail = node;
  253|  5.35k|    }
  254|  7.78k|  }
  255|       |
  256|  3.02k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  3.02k|#define ERROR_SUCCESS 0
  ------------------
  257|  3.02k|}
base64.c:_yr_modified_base64_encode:
   52|  7.78k|{
   53|  7.78k|  uint8_t* src = (uint8_t*) in->c_string;
   54|  7.78k|  size_t len = in->length;
   55|  7.78k|  SIZED_STRING* out;
   56|  7.78k|  uint8_t* p;
   57|  7.78k|  uint8_t* end;
   58|  7.78k|  char* alphabet_str = alphabet->c_string;
   59|  7.78k|  uint8_t* tmp;
   60|  7.78k|  int j;
   61|       |
   62|  7.78k|  *pad = ((i + len) % 3) ? 3 - ((i + len) % 3) : 0;
  ------------------
  |  Branch (62:10): [True: 4.76k, False: 3.02k]
  ------------------
   63|       |
   64|       |  // Add "i" for the number of prepended bytes.
   65|  7.78k|  out = (SIZED_STRING*) yr_malloc(
   66|  7.78k|      sizeof(SIZED_STRING) + i + ((len * 4 + 3) / 3) + *pad);
   67|       |
   68|  7.78k|  if (out == NULL)
  ------------------
  |  Branch (68:7): [True: 0, False: 7.78k]
  ------------------
   69|      0|    return NULL;
   70|       |
   71|  7.78k|  tmp = (uint8_t*) yr_malloc(sizeof(uint8_t) * (len + i));
   72|  7.78k|  if (tmp == NULL)
  ------------------
  |  Branch (72:7): [True: 0, False: 7.78k]
  ------------------
   73|      0|  {
   74|      0|    yr_free(out);
   75|      0|    return NULL;
   76|      0|  }
   77|       |
   78|       |  // Prepend appropriate number of bytes and copy remaining input bytes into
   79|       |  // temporary buffer.
   80|  15.5k|  for (j = 0; j < i; j++) tmp[j] = 'A';
  ------------------
  |  Branch (80:15): [True: 7.78k, False: 7.78k]
  ------------------
   81|       |
   82|  7.78k|  memcpy(tmp + j, src, len);
   83|  7.78k|  src = tmp;
   84|       |
   85|  7.78k|  p = (uint8_t*) out->c_string;
   86|  7.78k|  end = src + len + j;
   87|       |
   88|   182k|  while (end - src >= 3)
  ------------------
  |  Branch (88:10): [True: 174k, False: 7.78k]
  ------------------
   89|   174k|  {
   90|   174k|    *p++ = alphabet_str[src[0] >> 2];
   91|   174k|    *p++ = alphabet_str[((src[0] & 0x03) << 4 | src[1] >> 4)];
   92|   174k|    *p++ = alphabet_str[((src[1] & 0x0f) << 2 | (src[2] >> 6))];
   93|   174k|    *p++ = alphabet_str[src[2] & 0x3f];
   94|   174k|    src += 3;
   95|   174k|  }
   96|       |
   97|       |  // Handle remaining bytes and padding.
   98|  7.78k|  if (end - src)
  ------------------
  |  Branch (98:7): [True: 4.76k, False: 3.02k]
  ------------------
   99|  4.76k|  {
  100|  4.76k|    *p++ = alphabet_str[src[0] >> 2];
  101|  4.76k|    if (end - src == 1)
  ------------------
  |  Branch (101:9): [True: 3.02k, False: 1.73k]
  ------------------
  102|  3.02k|    {
  103|  3.02k|      *p++ = alphabet_str[(src[0] & 0x03) << 4];
  104|  3.02k|      *p++ = '=';
  105|  3.02k|    }
  106|  1.73k|    else
  107|  1.73k|    {
  108|  1.73k|      *p++ = alphabet_str[((src[0] & 0x03) << 4 | src[1] >> 4)];
  109|  1.73k|      *p++ = alphabet_str[(src[1] & 0x0f) << 2];
  110|  1.73k|    }
  111|  4.76k|    *p++ = '=';
  112|  4.76k|  }
  113|       |
  114|  7.78k|  yr_free(tmp);
  115|  7.78k|  out->length = (uint32_t)(p - (uint8_t*) out->c_string);
  116|       |
  117|  7.78k|  return out;
  118|  7.78k|}
base64.c:_yr_base64_get_base64_substring:
  134|  7.78k|{
  135|  7.78k|  SIZED_STRING* new_str;
  136|  7.78k|  SIZED_STRING* final_str;
  137|  7.78k|  char* start;
  138|  7.78k|  uint32_t length;
  139|  7.78k|  int trailing;
  140|  7.78k|  int leading;
  141|       |
  142|  7.78k|  trailing = pad ? pad + 1 : 0;
  ------------------
  |  Branch (142:14): [True: 4.76k, False: 3.02k]
  ------------------
  143|  7.78k|  leading = i ? i + 1 : 0;
  ------------------
  |  Branch (143:13): [True: 4.76k, False: 3.02k]
  ------------------
  144|       |
  145|  7.78k|  length = encoded_str->length - (leading + trailing);
  146|       |
  147|  7.78k|  new_str = (SIZED_STRING*) yr_malloc(sizeof(SIZED_STRING) + length);
  148|       |
  149|  7.78k|  if (new_str == NULL)
  ------------------
  |  Branch (149:7): [True: 0, False: 7.78k]
  ------------------
  150|      0|    return NULL;
  151|       |
  152|  7.78k|  start = encoded_str->c_string + leading;
  153|       |
  154|  7.78k|  memcpy(new_str->c_string, start, length);
  155|       |
  156|  7.78k|  new_str->length = length;
  157|  7.78k|  new_str->c_string[length] = '\0';
  158|       |
  159|  7.78k|  if (wide)
  ------------------
  |  Branch (159:7): [True: 4.20k, False: 3.58k]
  ------------------
  160|  4.20k|  {
  161|  4.20k|    final_str = ss_convert_to_wide(new_str);
  162|  4.20k|    yr_free(new_str);
  163|  4.20k|  }
  164|  3.58k|  else
  165|  3.58k|  {
  166|  3.58k|    final_str = new_str;
  167|  3.58k|  }
  168|       |
  169|  7.78k|  return final_str;
  170|  7.78k|}
base64.c:_yr_base64_count_escaped:
  183|  7.78k|{
  184|  7.78k|  int c = 0;
  185|       |
  186|  1.19M|  for (uint32_t i = 0; i < str->length; i++)
  ------------------
  |  Branch (186:24): [True: 1.19M, False: 7.78k]
  ------------------
  187|  1.19M|  {
  188|       |    // We must be careful to escape null bytes because they break the RE lexer.
  189|  1.19M|    if (IS_METACHAR(str->c_string[i]))
  ------------------
  |  |  174|  1.19M|  (x == '\\' || x == '^' || x == '$' || x == '|' || x == '(' || x == ')' || \
  |  |  ------------------
  |  |  |  Branch (174:4): [True: 294, False: 1.19M]
  |  |  |  Branch (174:17): [True: 321, False: 1.18M]
  |  |  |  Branch (174:29): [True: 357, False: 1.18M]
  |  |  |  Branch (174:41): [True: 291, False: 1.18M]
  |  |  |  Branch (174:53): [True: 336, False: 1.18M]
  |  |  |  Branch (174:65): [True: 394, False: 1.18M]
  |  |  ------------------
  |  |  175|  1.19M|   x == '[' || x == ']' || x == '*' || x == '?' || x == '{' || x == ',' ||  \
  |  |  ------------------
  |  |  |  Branch (175:4): [True: 261, False: 1.18M]
  |  |  |  Branch (175:16): [True: 240, False: 1.18M]
  |  |  |  Branch (175:28): [True: 405, False: 1.18M]
  |  |  |  Branch (175:40): [True: 356, False: 1.18M]
  |  |  |  Branch (175:52): [True: 411, False: 1.18M]
  |  |  |  Branch (175:64): [True: 311, False: 1.18M]
  |  |  ------------------
  |  |  176|  1.19M|   x == '.' || x == '+' || x == '}')
  |  |  ------------------
  |  |  |  Branch (176:4): [True: 1.14k, False: 1.18M]
  |  |  |  Branch (176:16): [True: 1.81k, False: 1.18M]
  |  |  |  Branch (176:28): [True: 458, False: 1.18M]
  |  |  ------------------
  ------------------
  190|  7.39k|      c++;
  191|  1.18M|    else if (str->c_string[i] == '\x00')
  ------------------
  |  Branch (191:14): [True: 498k, False: 684k]
  ------------------
  192|   498k|      c += 4;
  193|  1.19M|  }
  194|       |
  195|  7.78k|  return c;
  196|  7.78k|}
base64.c:_yr_base64_destroy_nodes:
  285|  2.43k|{
  286|  2.43k|  BASE64_NODE* p = head;
  287|  2.43k|  BASE64_NODE* next;
  288|       |
  289|  10.2k|  while (p != NULL)
  ------------------
  |  Branch (289:10): [True: 7.78k, False: 2.43k]
  ------------------
  290|  7.78k|  {
  291|  7.78k|    yr_free(p->str);
  292|  7.78k|    next = p->next;
  293|  7.78k|    yr_free(p);
  294|  7.78k|    p = next;
  295|  7.78k|  }
  296|  2.43k|}

yr_bitmask_find_non_colliding_offset:
   64|   713k|{
   65|   713k|  uint32_t i, j, k;
   66|       |
   67|       |  // Ensure that the first bit of bitmask B is set, as this function does some
   68|       |  // optimizations that rely on that.
   69|   713k|  assert(yr_bitmask_is_set(b, 0));
  ------------------
  |  Branch (69:3): [True: 0, False: 713k]
  |  Branch (69:3): [True: 713k, False: 0]
  ------------------
   70|       |
   71|       |  // Skip all slots that are filled with 1s. It's safe to do that because the
   72|       |  // first bit of B is 1, so we won't be able to accommodate B at any offset
   73|       |  // within such slots.
   74|   713k|  for (i = *off_a / YR_BITMASK_SLOT_BITS;
  ------------------
  |  |   56|   713k|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  ------------------
   75|   173M|       i <= len_a / YR_BITMASK_SLOT_BITS && a[i] == -1L;
  ------------------
  |  |   56|   346M|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  ------------------
  |  Branch (75:8): [True: 173M, False: 0]
  |  Branch (75:45): [True: 172M, False: 713k]
  ------------------
   76|   172M|       i++)
   77|   172M|    ;
   78|       |
   79|   713k|  *off_a = i;
   80|       |
   81|  37.5M|  for (; i <= len_a / YR_BITMASK_SLOT_BITS; i++)
  ------------------
  |  |   56|  37.5M|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  ------------------
  |  Branch (81:10): [True: 37.5M, False: 0]
  ------------------
   82|  37.5M|  {
   83|       |    // The slot is filled with 1s, we can safely skip it.
   84|  37.5M|    if (a[i] == -1L)
  ------------------
  |  Branch (84:9): [True: 10.7M, False: 26.7M]
  ------------------
   85|  10.7M|      continue;
   86|       |
   87|  1.71G|    for (j = 0; j <= yr_min(len_a, YR_BITMASK_SLOT_BITS - 1); j++)
  ------------------
  |  |  112|  1.71G|#define yr_min(x, y) (((x) < (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 0, False: 1.71G]
  |  |  ------------------
  ------------------
  |  Branch (87:17): [True: 1.68G, False: 26.0M]
  ------------------
   88|  1.68G|    {
   89|  1.68G|      bool found = true;
   90|       |
   91|  2.13G|      for (k = 0; k <= len_b / YR_BITMASK_SLOT_BITS; k++)
  ------------------
  |  |   56|  2.13G|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  ------------------
  |  Branch (91:19): [True: 2.13G, False: 713k]
  ------------------
   92|  2.13G|      {
   93|  2.13G|        YR_BITMASK m = b[k] << j;
  ------------------
  |  |   54|  2.13G|#define YR_BITMASK unsigned long
  ------------------
   94|       |
   95|  2.13G|        if (j > 0 && k > 0)
  ------------------
  |  Branch (95:13): [True: 2.10G, False: 32.1M]
  |  Branch (95:22): [True: 443M, False: 1.66G]
  ------------------
   96|   443M|          m |= b[k - 1] >> (YR_BITMASK_SLOT_BITS - j);
  ------------------
  |  |   56|   443M|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  ------------------
   97|       |
   98|  2.13G|        if ((i + k <= len_a / YR_BITMASK_SLOT_BITS) && (m & a[i + k]) != 0)
  ------------------
  |  |   56|  2.13G|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  ------------------
  |  Branch (98:13): [True: 2.13G, False: 1.86k]
  |  Branch (98:56): [True: 1.68G, False: 449M]
  ------------------
   99|  1.68G|        {
  100|  1.68G|          found = false;
  101|  1.68G|          break;
  102|  1.68G|        }
  103|  2.13G|      }
  104|       |
  105|  1.68G|      if (found)
  ------------------
  |  Branch (105:11): [True: 713k, False: 1.68G]
  ------------------
  106|   713k|        return i * YR_BITMASK_SLOT_BITS + j;
  ------------------
  |  |   56|   713k|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  ------------------
  107|  1.68G|    }
  108|  26.7M|  }
  109|       |
  110|      0|  return len_a;
  111|   713k|}

_yr_compiler_default_include_callback:
   71|  2.38k|{
   72|  2.38k|#ifndef _MSC_VER
   73|  2.38k|  struct stat stbuf;
   74|  2.38k|#endif
   75|       |
   76|  2.38k|  char* file_buffer;
   77|       |
   78|       |#ifdef _MSC_VER
   79|       |  long file_size;
   80|       |#else
   81|  2.38k|  off_t file_size;
   82|  2.38k|#endif
   83|       |
   84|  2.38k|  int fd = -1;
   85|       |
   86|       |#if defined(_MSC_VER)
   87|       |  _sopen_s(&fd, include_name, _O_RDONLY | _O_BINARY, _SH_DENYWR, _S_IREAD);
   88|       |#elif defined(_WIN32) || defined(__CYGWIN__)
   89|       |  fd = open(include_name, O_RDONLY | O_BINARY);
   90|       |#else
   91|  2.38k|  fd = open(include_name, O_RDONLY);
   92|  2.38k|#endif
   93|       |
   94|  2.38k|  if (fd == -1)
  ------------------
  |  Branch (94:7): [True: 2.16k, False: 217]
  ------------------
   95|  2.16k|    return NULL;
   96|       |
   97|       |#ifdef _MSC_VER
   98|       |  file_size = _filelength(fd);
   99|       |  if (file_size == -1)
  100|       |  {
  101|       |    _close(fd);
  102|       |    return NULL;
  103|       |  }
  104|       |#else
  105|    217|  if ((fstat(fd, &stbuf) != 0) || (!S_ISREG(stbuf.st_mode)))
  ------------------
  |  Branch (105:7): [True: 0, False: 217]
  |  Branch (105:35): [True: 215, False: 2]
  ------------------
  106|    215|  {
  107|    215|    close(fd);
  108|    215|    return NULL;
  109|    215|  }
  110|      2|  file_size = stbuf.st_size;
  111|      2|#endif
  112|       |
  113|       |  // Reject negative sizes and files too large to fit in memory with a null
  114|       |  // terminator or to be passed to flex's yy_scan_string() / yy_scan_bytes(),
  115|       |  // which take a signed int length. On 32-bit builds with 64-bit off_t, a size
  116|       |  // of 2^32 - 1 would otherwise wrap (size_t) file_size + 1 around to 0.
  117|      2|  if (file_size < 0 || (uintmax_t) file_size >= INT_MAX ||
  ------------------
  |  Branch (117:7): [True: 0, False: 2]
  |  Branch (117:24): [True: 0, False: 2]
  ------------------
  118|      2|      (uintmax_t) file_size >= SIZE_MAX)
  ------------------
  |  Branch (118:7): [True: 0, False: 2]
  ------------------
  119|      0|  {
  120|       |#ifdef _MSC_VER
  121|       |    _close(fd);
  122|       |#else
  123|      0|    close(fd);
  124|      0|#endif
  125|       |
  126|      0|    return NULL;
  127|      0|  }
  128|       |
  129|      2|  file_buffer = (char*) yr_malloc((size_t) file_size + 1);
  130|       |
  131|      2|  if (file_buffer == NULL)
  ------------------
  |  Branch (131:7): [True: 0, False: 2]
  ------------------
  132|      0|  {
  133|       |#ifdef _MSC_VER
  134|       |    _close(fd);
  135|       |#else
  136|      0|    close(fd);
  137|      0|#endif
  138|       |
  139|      0|    return NULL;
  140|      0|  }
  141|       |
  142|      2|  if (file_size != read(fd, file_buffer, (size_t) file_size))
  ------------------
  |  Branch (142:7): [True: 0, False: 2]
  ------------------
  143|      0|  {
  144|      0|    yr_free(file_buffer);
  145|       |
  146|       |#ifdef _MSC_VER
  147|       |    _close(fd);
  148|       |#else
  149|      0|    close(fd);
  150|      0|#endif
  151|       |
  152|      0|    return NULL;
  153|      0|  }
  154|      2|  else
  155|      2|  {
  156|      2|    file_buffer[file_size] = '\0';
  157|      2|  }
  158|       |
  159|       |#ifdef _MSC_VER
  160|       |  _close(fd);
  161|       |#else
  162|      2|  close(fd);
  163|      2|#endif
  164|       |
  165|      2|  return file_buffer;
  166|      2|}
_yr_compiler_get_rule_by_idx:
  178|  83.9k|{
  179|  83.9k|  return (YR_RULE*) yr_arena_get_ptr(
  180|  83.9k|      compiler->arena, YR_RULES_TABLE, rule_idx * sizeof(YR_RULE));
  ------------------
  |  |   58|  83.9k|#define YR_RULES_TABLE              1
  ------------------
  181|  83.9k|}
_yr_compiler_store_data:
  195|   149k|{
  196|       |  // Check if the data is already in YR_SZ_POOL by using a hash table.
  197|   149k|  uint32_t offset = yr_hash_table_lookup_uint32_raw_key(
  198|   149k|      compiler->sz_table, data, data_length, NULL);
  199|       |
  200|   149k|  if (offset == UINT32_MAX)
  ------------------
  |  Branch (200:7): [True: 52.3k, False: 97.4k]
  ------------------
  201|  52.3k|  {
  202|       |    // The data was not previously written to YR_SZ_POOL, write it and store
  203|       |    // the reference's offset in the hash table. Storing the buffer number
  204|       |    // is not necessary, it's always YR_SZ_POOL.
  205|  52.3k|    FAIL_ON_ERROR(yr_arena_write_data(
  ------------------
  |  |  134|  52.3k|  {                               \
  |  |  135|  52.3k|    int __error = (x);            \
  |  |  136|  52.3k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  52.3k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 52.3k]
  |  |  ------------------
  |  |  137|  52.3k|      return __error;             \
  |  |  138|  52.3k|  }
  ------------------
  206|  52.3k|        compiler->arena, YR_SZ_POOL, data, data_length, ref));
  207|       |
  208|  52.3k|    FAIL_ON_ERROR(yr_hash_table_add_uint32_raw_key(
  ------------------
  |  |  134|  52.3k|  {                               \
  |  |  135|  52.3k|    int __error = (x);            \
  |  |  136|  52.3k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  52.3k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 52.3k]
  |  |  ------------------
  |  |  137|  52.3k|      return __error;             \
  |  |  138|  52.3k|  }
  ------------------
  209|  52.3k|        compiler->sz_table, data, data_length, NULL, ref->offset));
  210|  52.3k|  }
  211|  97.4k|  else
  212|  97.4k|  {
  213|  97.4k|    ref->buffer_id = YR_SZ_POOL;
  ------------------
  |  |   62|  97.4k|#define YR_SZ_POOL                  5
  ------------------
  214|  97.4k|    ref->offset = offset;
  215|  97.4k|  }
  216|       |
  217|   149k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|   149k|#define ERROR_SUCCESS 0
  ------------------
  218|   149k|}
_yr_compiler_store_string:
  227|   100k|{
  228|   100k|  return _yr_compiler_store_data(
  229|   100k|      compiler,
  230|   100k|      (void*) string,
  231|   100k|      strlen(string) + 1,  // include the null terminator
  232|   100k|      ref);
  233|   100k|}
yr_compiler_create:
  236|  14.1k|{
  237|  14.1k|  int result;
  238|  14.1k|  YR_COMPILER* new_compiler;
  239|       |
  240|  14.1k|  new_compiler = (YR_COMPILER*) yr_calloc(1, sizeof(YR_COMPILER));
  241|       |
  242|  14.1k|  if (new_compiler == NULL)
  ------------------
  |  Branch (242:7): [True: 0, False: 14.1k]
  ------------------
  243|      0|    return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
  244|       |
  245|  14.1k|  new_compiler->current_rule_idx = UINT32_MAX;
  246|  14.1k|  new_compiler->next_rule_idx = 0;
  247|  14.1k|  new_compiler->current_string_idx = 0;
  248|  14.1k|  new_compiler->current_namespace_idx = 0;
  249|  14.1k|  new_compiler->current_meta_idx = 0;
  250|  14.1k|  new_compiler->num_namespaces = 0;
  251|  14.1k|  new_compiler->errors = 0;
  252|  14.1k|  new_compiler->callback = NULL;
  253|  14.1k|  new_compiler->rules = NULL;
  254|  14.1k|  new_compiler->include_callback = _yr_compiler_default_include_callback;
  255|  14.1k|  new_compiler->incl_clbk_user_data = NULL;
  256|  14.1k|  new_compiler->include_free = _yr_compiler_default_include_free;
  257|  14.1k|  new_compiler->re_ast_callback = NULL;
  258|  14.1k|  new_compiler->re_ast_clbk_user_data = NULL;
  259|  14.1k|  new_compiler->last_error = ERROR_SUCCESS;
  ------------------
  |  |   40|  14.1k|#define ERROR_SUCCESS 0
  ------------------
  260|  14.1k|  new_compiler->last_error_line = 0;
  261|  14.1k|  new_compiler->strict_escape = false;
  262|  14.1k|  new_compiler->current_line = 0;
  263|  14.1k|  new_compiler->file_name_stack_ptr = 0;
  264|  14.1k|  new_compiler->fixup_stack_head = NULL;
  265|  14.1k|  new_compiler->loop_index = -1;
  266|  14.1k|  new_compiler->loop_for_of_var_index = -1;
  267|       |
  268|  14.1k|  new_compiler->atoms_config.get_atom_quality = yr_atoms_heuristic_quality;
  269|  14.1k|  new_compiler->atoms_config.quality_warning_threshold =
  270|  14.1k|      YR_ATOM_QUALITY_WARNING_THRESHOLD;
  ------------------
  |  |   84|  14.1k|  YR_MAX_ATOM_QUALITY - 22 * YR_MAX_ATOM_LENGTH + 38
  |  |  ------------------
  |  |  |  |   71|  14.1k|#define YR_MAX_ATOM_QUALITY 255
  |  |  ------------------
  |  |                 YR_MAX_ATOM_QUALITY - 22 * YR_MAX_ATOM_LENGTH + 38
  |  |  ------------------
  |  |  |  |   67|  14.1k|#define YR_MAX_ATOM_LENGTH 4
  |  |  ------------------
  ------------------
  271|       |
  272|  14.1k|  result = yr_hash_table_create(5000, &new_compiler->rules_table);
  273|       |
  274|  14.1k|  if (result == ERROR_SUCCESS)
  ------------------
  |  |   40|  14.1k|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (274:7): [True: 14.1k, False: 0]
  ------------------
  275|  14.1k|    result = yr_hash_table_create(1000, &new_compiler->objects_table);
  276|       |
  277|  14.1k|  if (result == ERROR_SUCCESS)
  ------------------
  |  |   40|  14.1k|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (277:7): [True: 14.1k, False: 0]
  ------------------
  278|  14.1k|    result = yr_hash_table_create(10000, &new_compiler->strings_table);
  279|       |
  280|  14.1k|  if (result == ERROR_SUCCESS)
  ------------------
  |  |   40|  14.1k|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (280:7): [True: 14.1k, False: 0]
  ------------------
  281|  14.1k|    result = yr_hash_table_create(
  282|  14.1k|        1000, &new_compiler->wildcard_identifiers_table);
  283|       |
  284|  14.1k|  if (result == ERROR_SUCCESS)
  ------------------
  |  |   40|  14.1k|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (284:7): [True: 14.1k, False: 0]
  ------------------
  285|  14.1k|    result = yr_hash_table_create(10000, &new_compiler->sz_table);
  286|       |
  287|  14.1k|  if (result == ERROR_SUCCESS)
  ------------------
  |  |   40|  14.1k|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (287:7): [True: 14.1k, False: 0]
  ------------------
  288|  14.1k|    result = yr_arena_create(YR_NUM_SECTIONS, 1048576, &new_compiler->arena);
  ------------------
  |  |   72|  14.1k|#define YR_NUM_SECTIONS 12
  ------------------
  289|       |
  290|  14.1k|  if (result == ERROR_SUCCESS)
  ------------------
  |  |   40|  14.1k|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (290:7): [True: 14.1k, False: 0]
  ------------------
  291|  14.1k|    result = yr_ac_automaton_create(
  292|  14.1k|        new_compiler->arena, &new_compiler->automaton);
  293|       |
  294|  14.1k|  if (result == ERROR_SUCCESS)
  ------------------
  |  |   40|  14.1k|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (294:7): [True: 14.1k, False: 0]
  ------------------
  295|  14.1k|  {
  296|  14.1k|    *compiler = new_compiler;
  297|  14.1k|  }
  298|      0|  else  // if error, do cleanup
  299|      0|  {
  300|      0|    yr_compiler_destroy(new_compiler);
  301|      0|  }
  302|       |
  303|  14.1k|  return result;
  304|  14.1k|}
yr_compiler_destroy:
  307|  14.1k|{
  308|  14.1k|  if (compiler->arena != NULL)
  ------------------
  |  Branch (308:7): [True: 14.1k, False: 0]
  ------------------
  309|  14.1k|    yr_arena_release(compiler->arena);
  310|       |
  311|  14.1k|  if (compiler->automaton != NULL)
  ------------------
  |  Branch (311:7): [True: 14.1k, False: 0]
  ------------------
  312|  14.1k|    yr_ac_automaton_destroy(compiler->automaton);
  313|       |
  314|  14.1k|  if (compiler->rules_table != NULL)
  ------------------
  |  Branch (314:7): [True: 14.1k, False: 0]
  ------------------
  315|  14.1k|    yr_hash_table_destroy(compiler->rules_table, NULL);
  316|       |
  317|  14.1k|  if (compiler->strings_table != NULL)
  ------------------
  |  Branch (317:7): [True: 14.1k, False: 0]
  ------------------
  318|  14.1k|    yr_hash_table_destroy(compiler->strings_table, NULL);
  319|       |
  320|  14.1k|  if (compiler->wildcard_identifiers_table != NULL)
  ------------------
  |  Branch (320:7): [True: 14.1k, False: 0]
  ------------------
  321|  14.1k|    yr_hash_table_destroy(compiler->wildcard_identifiers_table, NULL);
  322|       |
  323|  14.1k|  if (compiler->sz_table != NULL)
  ------------------
  |  Branch (323:7): [True: 14.1k, False: 0]
  ------------------
  324|  14.1k|    yr_hash_table_destroy(compiler->sz_table, NULL);
  325|       |
  326|  14.1k|  if (compiler->objects_table != NULL)
  ------------------
  |  Branch (326:7): [True: 14.1k, False: 0]
  ------------------
  327|  14.1k|    yr_hash_table_destroy(
  328|  14.1k|        compiler->objects_table,
  329|  14.1k|        (YR_HASH_TABLE_FREE_VALUE_FUNC) yr_object_destroy);
  330|       |
  331|  14.1k|  if (compiler->atoms_config.free_quality_table)
  ------------------
  |  Branch (331:7): [True: 0, False: 14.1k]
  ------------------
  332|      0|    yr_free(compiler->atoms_config.quality_table);
  333|       |
  334|  14.1k|  for (int i = 0; i < compiler->file_name_stack_ptr; i++)
  ------------------
  |  Branch (334:19): [True: 2, False: 14.1k]
  ------------------
  335|      2|    yr_free(compiler->file_name_stack[i]);
  336|       |
  337|  14.1k|  YR_FIXUP* fixup = compiler->fixup_stack_head;
  338|       |
  339|  45.0k|  while (fixup != NULL)
  ------------------
  |  Branch (339:10): [True: 30.9k, False: 14.1k]
  ------------------
  340|  30.9k|  {
  341|  30.9k|    YR_FIXUP* next_fixup = fixup->next;
  342|  30.9k|    yr_free(fixup);
  343|  30.9k|    fixup = next_fixup;
  344|  30.9k|  }
  345|       |
  346|  14.1k|  yr_free(compiler);
  347|  14.1k|}
_yr_compiler_push_file_name:
  475|      2|{
  476|      2|  char* str;
  477|      2|  int i;
  478|       |
  479|      2|  for (i = 0; i < compiler->file_name_stack_ptr; i++)
  ------------------
  |  Branch (479:15): [True: 0, False: 2]
  ------------------
  480|      0|  {
  481|      0|    if (strcmp(file_name, compiler->file_name_stack[i]) == 0)
  ------------------
  |  Branch (481:9): [True: 0, False: 0]
  ------------------
  482|      0|      return ERROR_INCLUDES_CIRCULAR_REFERENCE;
  ------------------
  |  |   67|      0|#define ERROR_INCLUDES_CIRCULAR_REFERENCE    22
  ------------------
  483|      0|  }
  484|       |
  485|      2|  if (compiler->file_name_stack_ptr == YR_MAX_INCLUDE_DEPTH)
  ------------------
  |  |  107|      2|#define YR_MAX_INCLUDE_DEPTH 16
  ------------------
  |  Branch (485:7): [True: 0, False: 2]
  ------------------
  486|      0|    return ERROR_INCLUDE_DEPTH_EXCEEDED;
  ------------------
  |  |   68|      0|#define ERROR_INCLUDE_DEPTH_EXCEEDED         23
  ------------------
  487|       |
  488|      2|  str = yr_strdup(file_name);
  489|       |
  490|      2|  if (str == NULL)
  ------------------
  |  Branch (490:7): [True: 0, False: 2]
  ------------------
  491|      0|    return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
  492|       |
  493|      2|  compiler->file_name_stack[compiler->file_name_stack_ptr] = str;
  494|      2|  compiler->file_name_stack_ptr++;
  495|       |
  496|      2|  return ERROR_SUCCESS;
  ------------------
  |  |   40|      2|#define ERROR_SUCCESS 0
  ------------------
  497|      2|}
_yr_compiler_get_var_frame:
  510|  6.95k|{
  511|  6.95k|  int i, result = 0;
  512|       |
  513|  9.37k|  for (i = 0; i < compiler->loop_index; i++)
  ------------------
  |  Branch (513:15): [True: 2.42k, False: 6.95k]
  ------------------
  514|  2.42k|  {
  515|  2.42k|    result += compiler->loop[i].vars_count +
  516|  2.42k|              compiler->loop[i].vars_internal_count;
  517|  2.42k|  }
  518|       |
  519|  6.95k|  return result;
  520|  6.95k|}
yr_compiler_get_current_file_name:
  523|  2.38k|{
  524|  2.38k|  if (compiler->file_name_stack_ptr > 0)
  ------------------
  |  Branch (524:7): [True: 0, False: 2.38k]
  ------------------
  525|      0|  {
  526|      0|    return compiler->file_name_stack[compiler->file_name_stack_ptr - 1];
  527|      0|  }
  528|  2.38k|  else
  529|  2.38k|  {
  530|       |    return NULL;
  531|  2.38k|  }
  532|  2.38k|}
yr_compiler_add_string:
  680|  14.1k|{
  681|       |  // Don't allow calls to yr_compiler_add_string() after
  682|       |  // yr_compiler_get_rules() has been called.
  683|  14.1k|  assert(compiler->rules == NULL);
  ------------------
  |  Branch (683:3): [True: 0, False: 14.1k]
  |  Branch (683:3): [True: 14.1k, False: 0]
  ------------------
  684|       |
  685|       |  // Don't allow calls to yr_compiler_add_string() if a previous call to
  686|       |  // yr_compiler_add_XXXX failed.
  687|  14.1k|  assert(compiler->errors == 0);
  ------------------
  |  Branch (687:3): [True: 0, False: 14.1k]
  |  Branch (687:3): [True: 14.1k, False: 0]
  ------------------
  688|       |
  689|  14.1k|  if (namespace_ != NULL)
  ------------------
  |  Branch (689:7): [True: 0, False: 14.1k]
  ------------------
  690|      0|    compiler->last_error = _yr_compiler_set_namespace(compiler, namespace_);
  691|  14.1k|  else
  692|  14.1k|    compiler->last_error = _yr_compiler_set_namespace(compiler, "default");
  693|       |
  694|  14.1k|  if (compiler->last_error != ERROR_SUCCESS)
  ------------------
  |  |   40|  14.1k|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (694:7): [True: 0, False: 14.1k]
  ------------------
  695|      0|    return ++compiler->errors;
  696|       |
  697|  14.1k|  return yr_lex_parse_rules_string(rules_string, compiler);
  698|  14.1k|}
yr_compiler_get_rules:
  748|    503|{
  749|       |  // Don't allow calls to yr_compiler_get_rules() if a previous call to
  750|       |  // yr_compiler_add_XXXX failed.
  751|    503|  assert(compiler->errors == 0);
  ------------------
  |  Branch (751:3): [True: 0, False: 503]
  |  Branch (751:3): [True: 503, False: 0]
  ------------------
  752|       |
  753|    503|  *rules = NULL;
  754|       |
  755|    503|  if (compiler->rules == NULL)
  ------------------
  |  Branch (755:7): [True: 503, False: 0]
  ------------------
  756|    503|    FAIL_ON_ERROR(_yr_compiler_compile_rules(compiler));
  ------------------
  |  |  134|    503|  {                               \
  |  |  135|    503|    int __error = (x);            \
  |  |  136|    503|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|    503|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 503]
  |  |  ------------------
  |  |  137|    503|      return __error;             \
  |  |  138|    503|  }
  ------------------
  757|       |
  758|    503|  *rules = compiler->rules;
  759|       |
  760|    503|  return ERROR_SUCCESS;
  ------------------
  |  |   40|    503|#define ERROR_SUCCESS 0
  ------------------
  761|    503|}
yr_string_set_destroy:
 1101|  12.8k|{
 1102|  12.8k|  YR_STRING_SET_ELEMENT* head = string_set.head;
 1103|  1.34M|  while (head != NULL) {
  ------------------
  |  Branch (1103:10): [True: 1.32M, False: 12.8k]
  ------------------
 1104|  1.32M|    YR_STRING_SET_ELEMENT* next_head = head->next;
 1105|  1.32M|    yr_free(head);
 1106|  1.32M|    head = next_head;
 1107|  1.32M|  }
 1108|  12.8k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  12.8k|#define ERROR_SUCCESS 0
  ------------------
 1109|  12.8k|}
compiler.c:_yr_compiler_default_include_free:
   59|      2|{
   60|      2|  if (callback_result_ptr != NULL)
  ------------------
  |  Branch (60:7): [True: 2, False: 0]
  ------------------
   61|      2|  {
   62|      2|    yr_free((void*) callback_result_ptr);
   63|      2|  }
   64|      2|}
compiler.c:_yr_compiler_set_namespace:
  537|  14.1k|{
  538|  14.1k|  YR_NAMESPACE* ns = (YR_NAMESPACE*) yr_arena_get_ptr(
  539|  14.1k|      compiler->arena, YR_NAMESPACES_TABLE, 0);
  ------------------
  |  |   57|  14.1k|#define YR_NAMESPACES_TABLE         0
  ------------------
  540|       |
  541|  14.1k|  bool found = false;
  542|       |
  543|  14.1k|  for (int i = 0; i < compiler->num_namespaces; i++, ns++)
  ------------------
  |  Branch (543:19): [True: 0, False: 14.1k]
  ------------------
  544|      0|  {
  545|      0|    if (strcmp(ns->name, namespace_) == 0)
  ------------------
  |  Branch (545:9): [True: 0, False: 0]
  ------------------
  546|      0|    {
  547|      0|      found = true;
  548|      0|      compiler->current_namespace_idx = i;
  549|      0|      break;
  550|      0|    }
  551|      0|  }
  552|       |
  553|  14.1k|  if (!found)
  ------------------
  |  Branch (553:7): [True: 14.1k, False: 0]
  ------------------
  554|  14.1k|  {
  555|  14.1k|    YR_ARENA_REF ref;
  556|       |
  557|  14.1k|    FAIL_ON_ERROR(yr_arena_allocate_struct(
  ------------------
  |  |  134|  14.1k|  {                               \
  |  |  135|  14.1k|    int __error = (x);            \
  |  |  136|  14.1k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  14.1k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 14.1k]
  |  |  ------------------
  |  |  137|  14.1k|      return __error;             \
  |  |  138|  14.1k|  }
  ------------------
  558|  14.1k|        compiler->arena,
  559|  14.1k|        YR_NAMESPACES_TABLE,
  560|  14.1k|        sizeof(YR_NAMESPACE),
  561|  14.1k|        &ref,
  562|  14.1k|        offsetof(YR_NAMESPACE, name),
  563|  14.1k|        EOL));
  564|       |
  565|  14.1k|    ns = (YR_NAMESPACE*) yr_arena_ref_to_ptr(compiler->arena, &ref);
  566|       |
  567|  14.1k|    FAIL_ON_ERROR(_yr_compiler_store_string(compiler, namespace_, &ref));
  ------------------
  |  |  134|  14.1k|  {                               \
  |  |  135|  14.1k|    int __error = (x);            \
  |  |  136|  14.1k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  14.1k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 14.1k]
  |  |  ------------------
  |  |  137|  14.1k|      return __error;             \
  |  |  138|  14.1k|  }
  ------------------
  568|       |
  569|  14.1k|    ns->name = (const char*) yr_arena_ref_to_ptr(compiler->arena, &ref);
  570|  14.1k|    ns->idx = compiler->num_namespaces;
  571|       |
  572|  14.1k|    compiler->current_namespace_idx = compiler->num_namespaces;
  573|  14.1k|    compiler->num_namespaces++;
  574|  14.1k|  }
  575|       |
  576|  14.1k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  14.1k|#define ERROR_SUCCESS 0
  ------------------
  577|  14.1k|}
compiler.c:_yr_compiler_compile_rules:
  701|    503|{
  702|    503|  YR_RULE null_rule;
  703|    503|  YR_EXTERNAL_VARIABLE null_external;
  704|       |
  705|    503|  uint8_t halt = OP_HALT;
  ------------------
  |  |   46|    503|#define OP_HALT  255
  ------------------
  706|       |
  707|       |  // Write halt instruction at the end of code.
  708|    503|  FAIL_ON_ERROR(yr_arena_write_data(
  ------------------
  |  |  134|    503|  {                               \
  |  |  135|    503|    int __error = (x);            \
  |  |  136|    503|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|    503|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 503]
  |  |  ------------------
  |  |  137|    503|      return __error;             \
  |  |  138|    503|  }
  ------------------
  709|    503|      compiler->arena, YR_CODE_SECTION, &halt, sizeof(uint8_t), NULL));
  710|       |
  711|       |  // Write a null rule indicating the end.
  712|    503|  memset(&null_rule, 0xFA, sizeof(YR_RULE));
  713|    503|  null_rule.flags = RULE_FLAGS_NULL;
  ------------------
  |  |   54|    503|#define RULE_FLAGS_NULL     0x04
  ------------------
  714|       |
  715|    503|  FAIL_ON_ERROR(yr_arena_write_data(
  ------------------
  |  |  134|    503|  {                               \
  |  |  135|    503|    int __error = (x);            \
  |  |  136|    503|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|    503|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 503]
  |  |  ------------------
  |  |  137|    503|      return __error;             \
  |  |  138|    503|  }
  ------------------
  716|    503|      compiler->arena, YR_RULES_TABLE, &null_rule, sizeof(YR_RULE), NULL));
  717|       |
  718|       |  // Write a null external indicating the end.
  719|    503|  memset(&null_external, 0xFA, sizeof(YR_EXTERNAL_VARIABLE));
  720|    503|  null_external.type = EXTERNAL_VARIABLE_TYPE_NULL;
  ------------------
  |  |  144|    503|#define EXTERNAL_VARIABLE_TYPE_NULL          0
  ------------------
  721|       |
  722|    503|  FAIL_ON_ERROR(yr_arena_write_data(
  ------------------
  |  |  134|    503|  {                               \
  |  |  135|    503|    int __error = (x);            \
  |  |  136|    503|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|    503|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 503]
  |  |  ------------------
  |  |  137|    503|      return __error;             \
  |  |  138|    503|  }
  ------------------
  723|    503|      compiler->arena,
  724|    503|      YR_EXTERNAL_VARIABLES_TABLE,
  725|    503|      &null_external,
  726|    503|      sizeof(YR_EXTERNAL_VARIABLE),
  727|    503|      NULL));
  728|       |
  729|       |  // Write Aho-Corasick automaton to arena.
  730|    503|  FAIL_ON_ERROR(yr_ac_compile(compiler->automaton, compiler->arena));
  ------------------
  |  |  134|    503|  {                               \
  |  |  135|    503|    int __error = (x);            \
  |  |  136|    503|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|    503|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 503]
  |  |  ------------------
  |  |  137|    503|      return __error;             \
  |  |  138|    503|  }
  ------------------
  731|       |
  732|    503|  YR_ARENA_REF ref;
  733|       |
  734|    503|  FAIL_ON_ERROR(yr_arena_allocate_struct(
  ------------------
  |  |  134|    503|  {                               \
  |  |  135|    503|    int __error = (x);            \
  |  |  136|    503|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|    503|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 503]
  |  |  ------------------
  |  |  137|    503|      return __error;             \
  |  |  138|    503|  }
  ------------------
  735|    503|      compiler->arena, YR_SUMMARY_SECTION, sizeof(YR_SUMMARY), &ref, EOL));
  736|       |
  737|    503|  YR_SUMMARY* summary = (YR_SUMMARY*) yr_arena_ref_to_ptr(
  738|    503|      compiler->arena, &ref);
  739|       |
  740|    503|  summary->num_namespaces = compiler->num_namespaces;
  741|    503|  summary->num_rules = compiler->next_rule_idx;
  742|    503|  summary->num_strings = compiler->current_string_idx;
  743|       |
  744|    503|  return yr_rules_from_arena(compiler->arena, &compiler->rules);
  745|    503|}

yara_yyparse:
 1902|  14.1k|{
 1903|       |/* Lookahead token kind.  */
 1904|  14.1k|int yychar;
 1905|       |
 1906|       |
 1907|       |/* The semantic value of the lookahead symbol.  */
 1908|       |/* Default value used for initialization, for pacifying older GCCs
 1909|       |   or non-GCC compilers.  */
 1910|  14.1k|YY_INITIAL_VALUE (static YYSTYPE yyval_default;)
  ------------------
  |  |  727|  14.1k|# define YY_INITIAL_VALUE(Value) Value
  ------------------
 1911|  14.1k|YYSTYPE yylval YY_INITIAL_VALUE (= yyval_default);
  ------------------
  |  |  727|  14.1k|# define YY_INITIAL_VALUE(Value) Value
  ------------------
 1912|       |
 1913|       |    /* Number of syntax errors so far.  */
 1914|  14.1k|    int yynerrs = 0;
 1915|       |
 1916|  14.1k|    yy_state_fast_t yystate = 0;
 1917|       |    /* Number of tokens to shift before error messages enabled.  */
 1918|  14.1k|    int yyerrstatus = 0;
 1919|       |
 1920|       |    /* Refer to the stacks through separate pointers, to allow yyoverflow
 1921|       |       to reallocate them elsewhere.  */
 1922|       |
 1923|       |    /* Their size.  */
 1924|  14.1k|    YYPTRDIFF_T yystacksize = YYINITDEPTH;
  ------------------
  |  |  634|  14.1k|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
                  YYPTRDIFF_T yystacksize = YYINITDEPTH;
  ------------------
  |  | 1473|  14.1k|# define YYINITDEPTH 200
  ------------------
 1925|       |
 1926|       |    /* The state stack: array, bottom, top.  */
 1927|  14.1k|    yy_state_t yyssa[YYINITDEPTH];
 1928|  14.1k|    yy_state_t *yyss = yyssa;
 1929|  14.1k|    yy_state_t *yyssp = yyss;
 1930|       |
 1931|       |    /* The semantic value stack: array, bottom, top.  */
 1932|  14.1k|    YYSTYPE yyvsa[YYINITDEPTH];
 1933|  14.1k|    YYSTYPE *yyvs = yyvsa;
 1934|  14.1k|    YYSTYPE *yyvsp = yyvs;
 1935|       |
 1936|  14.1k|  int yyn;
 1937|       |  /* The return value of yyparse.  */
 1938|  14.1k|  int yyresult;
 1939|       |  /* Lookahead symbol kind.  */
 1940|  14.1k|  yysymbol_kind_t yytoken = YYSYMBOL_YYEMPTY;
 1941|       |  /* The variables used to return semantic value and location from the
 1942|       |     action routines.  */
 1943|  14.1k|  YYSTYPE yyval;
 1944|       |
 1945|       |  /* Buffer for error messages, and its allocated size.  */
 1946|  14.1k|  char yymsgbuf[128];
 1947|  14.1k|  char *yymsg = yymsgbuf;
 1948|  14.1k|  YYPTRDIFF_T yymsg_alloc = sizeof yymsgbuf;
  ------------------
  |  |  634|  14.1k|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 1949|       |
 1950|  14.1k|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
 1951|       |
 1952|       |  /* The number of symbols on the RHS of the reduced rule.
 1953|       |     Keep to zero when no symbol should be popped.  */
 1954|  14.1k|  int yylen = 0;
 1955|       |
 1956|  14.1k|  YYDPRINTF ((stderr, "Starting parse\n"));
  ------------------
  |  | 1464|  14.1k|# define YYDPRINTF(Args) ((void) 0)
  ------------------
 1957|       |
 1958|  14.1k|  yychar = YYEMPTY; /* Cause a token to be read.  */
  ------------------
  |  |   51|  14.1k|#define yychar       yara_yychar
  ------------------
                yychar = YYEMPTY; /* Cause a token to be read.  */
  ------------------
  |  |  312|  14.1k|#define YYEMPTY -2
  ------------------
 1959|       |
 1960|  14.1k|  goto yysetstate;
 1961|       |
 1962|       |
 1963|       |/*------------------------------------------------------------.
 1964|       || yynewstate -- push a new state, which is found in yystate.  |
 1965|       |`------------------------------------------------------------*/
 1966|  1.97M|yynewstate:
 1967|       |  /* In all cases, when you get here, the value and location stacks
 1968|       |     have just been pushed.  So pushing a state here evens the stacks.  */
 1969|  1.97M|  yyssp++;
 1970|       |
 1971|       |
 1972|       |/*--------------------------------------------------------------------.
 1973|       || yysetstate -- set current state (the top of the stack) to yystate.  |
 1974|       |`--------------------------------------------------------------------*/
 1975|  1.99M|yysetstate:
 1976|  1.99M|  YYDPRINTF ((stderr, "Entering state %d\n", yystate));
  ------------------
  |  | 1464|  1.99M|# define YYDPRINTF(Args) ((void) 0)
  ------------------
 1977|  1.99M|  YY_ASSERT (0 <= yystate && yystate < YYNSTATES);
  ------------------
  |  |  750|  1.99M|#define YY_ASSERT(E) ((void) (0 && (E)))
  |  |  ------------------
  |  |  |  Branch (750:31): [Folded, False: 1.99M]
  |  |  |  Branch (750:37): [True: 0, False: 0]
  |  |  |  Branch (750:37): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1978|  1.99M|  YY_IGNORE_USELESS_CAST_BEGIN
 1979|  1.99M|  *yyssp = YY_CAST (yy_state_t, yystate);
  ------------------
  |  |  210|  1.99M|#   define YY_CAST(Type, Val) ((Type) (Val))
  ------------------
 1980|  1.99M|  YY_IGNORE_USELESS_CAST_END
 1981|  1.99M|  YY_STACK_PRINT (yyss, yyssp);
 1982|       |
 1983|  1.99M|  if (yyss + yystacksize - 1 <= yyssp)
  ------------------
  |  Branch (1983:7): [True: 93, False: 1.98M]
  ------------------
 1984|       |#if !defined yyoverflow && !defined YYSTACK_RELOCATE
 1985|       |    YYNOMEM;
 1986|       |#else
 1987|     93|    {
 1988|       |      /* Get the current used size of the three stacks, in elements.  */
 1989|     93|      YYPTRDIFF_T yysize = yyssp - yyss + 1;
  ------------------
  |  |  634|     93|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 1990|       |
 1991|       |# if defined yyoverflow
 1992|       |      {
 1993|       |        /* Give user a chance to reallocate the stack.  Use copies of
 1994|       |           these so that the &'s don't force the real ones into
 1995|       |           memory.  */
 1996|       |        yy_state_t *yyss1 = yyss;
 1997|       |        YYSTYPE *yyvs1 = yyvs;
 1998|       |
 1999|       |        /* Each stack pointer address is followed by the size of the
 2000|       |           data in use in that stack, in bytes.  This used to be a
 2001|       |           conditional around just the two extra args, but that might
 2002|       |           be undefined if yyoverflow is a macro.  */
 2003|       |        yyoverflow (YY_("memory exhausted"),
 2004|       |                    &yyss1, yysize * YYSIZEOF (*yyssp),
 2005|       |                    &yyvs1, yysize * YYSIZEOF (*yyvsp),
 2006|       |                    &yystacksize);
 2007|       |        yyss = yyss1;
 2008|       |        yyvs = yyvs1;
 2009|       |      }
 2010|       |# else /* defined YYSTACK_RELOCATE */
 2011|       |      /* Extend the stack our own way.  */
 2012|     93|      if (YYMAXDEPTH <= yystacksize)
  ------------------
  |  | 1484|     93|# define YYMAXDEPTH 10000
  ------------------
  |  Branch (2012:11): [True: 2, False: 91]
  ------------------
 2013|      2|        YYNOMEM;
  ------------------
  |  | 1315|      2|#define YYNOMEM         goto yyexhaustedlab
  ------------------
 2014|     91|      yystacksize *= 2;
 2015|     91|      if (YYMAXDEPTH < yystacksize)
  ------------------
  |  | 1484|     91|# define YYMAXDEPTH 10000
  ------------------
  |  Branch (2015:11): [True: 4, False: 87]
  ------------------
 2016|      4|        yystacksize = YYMAXDEPTH;
  ------------------
  |  | 1484|      4|# define YYMAXDEPTH 10000
  ------------------
 2017|       |
 2018|     91|      {
 2019|     91|        yy_state_t *yyss1 = yyss;
 2020|     91|        union yyalloc *yyptr =
 2021|     91|          YY_CAST (union yyalloc *,
  ------------------
  |  |  210|     91|#   define YY_CAST(Type, Val) ((Type) (Val))
  ------------------
 2022|     91|                   YYSTACK_ALLOC (YY_CAST (YYSIZE_T, YYSTACK_BYTES (yystacksize))));
 2023|     91|        if (! yyptr)
  ------------------
  |  Branch (2023:13): [True: 0, False: 91]
  ------------------
 2024|      0|          YYNOMEM;
  ------------------
  |  | 1315|      0|#define YYNOMEM         goto yyexhaustedlab
  ------------------
 2025|     91|        YYSTACK_RELOCATE (yyss_alloc, yyss);
  ------------------
  |  |  847|     91|    do                                                                  \
  |  |  848|     91|      {                                                                 \
  |  |  849|     91|        YYPTRDIFF_T yynewbytes;                                         \
  |  |  ------------------
  |  |  |  |  634|     91|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  |  |  ------------------
  |  |  850|     91|        YYCOPY (&yyptr->Stack_alloc, Stack, yysize);                    \
  |  |  ------------------
  |  |  |  |  865|     91|      __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  210|     91|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  851|     91|        Stack = &yyptr->Stack_alloc;                                    \
  |  |  852|     91|        yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  |  667|     91|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  210|     91|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  |  831|     91|# define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  667|     91|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  210|     91|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  853|     91|        yyptr += yynewbytes / YYSIZEOF (*yyptr);                        \
  |  |  ------------------
  |  |  |  |  667|     91|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  210|     91|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  854|     91|      }                                                                 \
  |  |  855|     91|    while (0)
  |  |  ------------------
  |  |  |  Branch (855:12): [Folded, False: 91]
  |  |  ------------------
  ------------------
 2026|     91|        YYSTACK_RELOCATE (yyvs_alloc, yyvs);
  ------------------
  |  |  847|     91|    do                                                                  \
  |  |  848|     91|      {                                                                 \
  |  |  849|     91|        YYPTRDIFF_T yynewbytes;                                         \
  |  |  ------------------
  |  |  |  |  634|     91|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  |  |  ------------------
  |  |  850|     91|        YYCOPY (&yyptr->Stack_alloc, Stack, yysize);                    \
  |  |  ------------------
  |  |  |  |  865|     91|      __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  210|     91|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  851|     91|        Stack = &yyptr->Stack_alloc;                                    \
  |  |  852|     91|        yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  |  667|     91|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  210|     91|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  |  831|     91|# define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  667|     91|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  210|     91|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  853|     91|        yyptr += yynewbytes / YYSIZEOF (*yyptr);                        \
  |  |  ------------------
  |  |  |  |  667|     91|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  210|     91|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  854|     91|      }                                                                 \
  |  |  855|     91|    while (0)
  |  |  ------------------
  |  |  |  Branch (855:12): [Folded, False: 91]
  |  |  ------------------
  ------------------
 2027|     91|#  undef YYSTACK_RELOCATE
 2028|     91|        if (yyss1 != yyssa)
  ------------------
  |  Branch (2028:13): [True: 47, False: 44]
  ------------------
 2029|     47|          YYSTACK_FREE (yyss1);
  ------------------
  |  |  792|     47|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  |  106|     47|#define YYFREE yr_free
  |  |  ------------------
  ------------------
 2030|     91|      }
 2031|      0|# endif
 2032|       |
 2033|      0|      yyssp = yyss + yysize - 1;
 2034|     91|      yyvsp = yyvs + yysize - 1;
 2035|       |
 2036|     91|      YY_IGNORE_USELESS_CAST_BEGIN
 2037|     91|      YYDPRINTF ((stderr, "Stack size increased to %ld\n",
  ------------------
  |  | 1464|     91|# define YYDPRINTF(Args) ((void) 0)
  ------------------
 2038|     91|                  YY_CAST (long, yystacksize)));
 2039|     91|      YY_IGNORE_USELESS_CAST_END
 2040|       |
 2041|     91|      if (yyss + yystacksize - 1 <= yyssp)
  ------------------
  |  Branch (2041:11): [True: 0, False: 91]
  ------------------
 2042|      0|        YYABORT;
  ------------------
  |  | 1313|      0|#define YYABORT         goto yyabortlab
  ------------------
 2043|     91|    }
 2044|  1.99M|#endif /* !defined yyoverflow && !defined YYSTACK_RELOCATE */
 2045|       |
 2046|       |
 2047|  1.99M|  if (yystate == YYFINAL)
  ------------------
  |  |  880|  1.99M|#define YYFINAL  2
  ------------------
  |  Branch (2047:7): [True: 625, False: 1.98M]
  ------------------
 2048|    625|    YYACCEPT;
  ------------------
  |  | 1312|    625|#define YYACCEPT        goto yyacceptlab
  ------------------
 2049|       |
 2050|  1.98M|  goto yybackup;
 2051|       |
 2052|       |
 2053|       |/*-----------.
 2054|       || yybackup.  |
 2055|       |`-----------*/
 2056|  1.98M|yybackup:
 2057|       |  /* Do appropriate processing given the current state.  Read a
 2058|       |     lookahead token if we need one and don't already have one.  */
 2059|       |
 2060|       |  /* First try to decide what to do without reference to lookahead token.  */
 2061|  1.98M|  yyn = yypact[yystate];
 2062|  1.98M|  if (yypact_value_is_default (yyn))
  ------------------
  |  | 1021|  1.98M|  ((Yyn) == YYPACT_NINF)
  |  |  ------------------
  |  |  |  | 1018|  1.98M|#define YYPACT_NINF (-170)
  |  |  ------------------
  |  |  |  Branch (1021:3): [True: 437k, False: 1.55M]
  |  |  ------------------
  ------------------
 2063|   437k|    goto yydefault;
 2064|       |
 2065|       |  /* Not known => get a lookahead token if don't already have one.  */
 2066|       |
 2067|       |  /* YYCHAR is either empty, or end-of-input, or a valid lookahead.  */
 2068|  1.55M|  if (yychar == YYEMPTY)
  ------------------
  |  |   51|  1.55M|#define yychar       yara_yychar
  ------------------
                if (yychar == YYEMPTY)
  ------------------
  |  |  312|  1.55M|#define YYEMPTY -2
  ------------------
  |  Branch (2068:7): [True: 929k, False: 621k]
  ------------------
 2069|   929k|    {
 2070|   929k|      YYDPRINTF ((stderr, "Reading a token\n"));
  ------------------
  |  | 1464|   929k|# define YYDPRINTF(Args) ((void) 0)
  ------------------
 2071|   929k|      yychar = yylex (&yylval, yyscanner, compiler);
  ------------------
  |  |   51|   929k|#define yychar       yara_yychar
  ------------------
                    yychar = yylex (&yylval, yyscanner, compiler);
  ------------------
  |  |   47|   929k|#define yylex        yara_yylex
  ------------------
 2072|   929k|    }
 2073|       |
 2074|  1.55M|  if (yychar <= _END_OF_FILE_)
  ------------------
  |  |   51|  1.55M|#define yychar       yara_yychar
  ------------------
                if (yychar <= _END_OF_FILE_)
  ------------------
  |  |  313|  1.55M|#define _END_OF_FILE_ 0
  ------------------
  |  Branch (2074:7): [True: 49.1k, False: 1.50M]
  ------------------
 2075|  49.1k|    {
 2076|  49.1k|      yychar = _END_OF_FILE_;
  ------------------
  |  |   51|  49.1k|#define yychar       yara_yychar
  ------------------
                    yychar = _END_OF_FILE_;
  ------------------
  |  |  313|  49.1k|#define _END_OF_FILE_ 0
  ------------------
 2077|  49.1k|      yytoken = YYSYMBOL_YYEOF;
 2078|  49.1k|      YYDPRINTF ((stderr, "Now at end of input.\n"));
  ------------------
  |  | 1464|  49.1k|# define YYDPRINTF(Args) ((void) 0)
  ------------------
 2079|  49.1k|    }
 2080|  1.50M|  else if (yychar == YYerror)
  ------------------
  |  |   51|  1.50M|#define yychar       yara_yychar
  ------------------
                else if (yychar == YYerror)
  ------------------
  |  |  314|  1.50M|#define YYerror 256
  ------------------
  |  Branch (2080:12): [True: 0, False: 1.50M]
  ------------------
 2081|      0|    {
 2082|       |      /* The scanner already issued an error message, process directly
 2083|       |         to error recovery.  But do not keep the error token as
 2084|       |         lookahead, it is too special and may lead us to an endless
 2085|       |         loop in error recovery. */
 2086|      0|      yychar = YYUNDEF;
  ------------------
  |  |   51|      0|#define yychar       yara_yychar
  ------------------
                    yychar = YYUNDEF;
  ------------------
  |  |  315|      0|#define YYUNDEF 257
  ------------------
 2087|      0|      yytoken = YYSYMBOL_YYerror;
 2088|      0|      goto yyerrlab1;
 2089|      0|    }
 2090|  1.50M|  else
 2091|  1.50M|    {
 2092|  1.50M|      yytoken = YYTRANSLATE (yychar);
  ------------------
  |  |  900|  1.50M|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  |  894|  1.50M|#define YYMAXUTOK   319
  |  |  ------------------
  |  |  |  Branch (900:4): [True: 1.50M, False: 0]
  |  |  |  Branch (900:18): [True: 1.50M, False: 0]
  |  |  ------------------
  |  |  901|  1.50M|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  210|  1.50M|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  ------------------
  |  |  902|  1.50M|   : YYSYMBOL_YYUNDEF)
  ------------------
 2093|  1.50M|      YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
 2094|  1.50M|    }
 2095|       |
 2096|       |  /* If the proper action on seeing token YYTOKEN is to reduce or to
 2097|       |     detect an error, take that action.  */
 2098|  1.55M|  yyn += yytoken;
 2099|  1.55M|  if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
  ------------------
  |  |  882|  1.54M|#define YYLAST   480
  ------------------
  |  Branch (2099:7): [True: 2.47k, False: 1.54M]
  |  Branch (2099:18): [True: 328, False: 1.54M]
  |  Branch (2099:34): [True: 806k, False: 742k]
  ------------------
 2100|   809k|    goto yydefault;
 2101|   742k|  yyn = yytable[yyn];
 2102|   742k|  if (yyn <= 0)
  ------------------
  |  Branch (2102:7): [True: 60.3k, False: 682k]
  ------------------
 2103|  60.3k|    {
 2104|  60.3k|      if (yytable_value_is_error (yyn))
  ------------------
  |  | 1026|  60.3k|  0
  |  |  ------------------
  |  |  |  Branch (1026:3): [Folded, False: 60.3k]
  |  |  ------------------
  ------------------
 2105|      0|        goto yyerrlab;
 2106|  60.3k|      yyn = -yyn;
 2107|  60.3k|      goto yyreduce;
 2108|  60.3k|    }
 2109|       |
 2110|       |  /* Count tokens shifted since error; after three, turn off error
 2111|       |     status.  */
 2112|   682k|  if (yyerrstatus)
  ------------------
  |  Branch (2112:7): [True: 71.3k, False: 610k]
  ------------------
 2113|  71.3k|    yyerrstatus--;
 2114|       |
 2115|       |  /* Shift the lookahead token.  */
 2116|   682k|  YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
 2117|   682k|  yystate = yyn;
 2118|   682k|  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 2119|   682k|  *++yyvsp = yylval;
 2120|   682k|  YY_IGNORE_MAYBE_UNINITIALIZED_END
 2121|       |
 2122|       |  /* Discard the shifted token.  */
 2123|   682k|  yychar = YYEMPTY;
  ------------------
  |  |   51|   682k|#define yychar       yara_yychar
  ------------------
                yychar = YYEMPTY;
  ------------------
  |  |  312|   682k|#define YYEMPTY -2
  ------------------
 2124|   682k|  goto yynewstate;
 2125|       |
 2126|       |
 2127|       |/*-----------------------------------------------------------.
 2128|       || yydefault -- do the default action for the current state.  |
 2129|       |`-----------------------------------------------------------*/
 2130|  1.24M|yydefault:
 2131|  1.24M|  yyn = yydefact[yystate];
 2132|  1.24M|  if (yyn == 0)
  ------------------
  |  Branch (2132:7): [True: 269k, False: 976k]
  ------------------
 2133|   269k|    goto yyerrlab;
 2134|   976k|  goto yyreduce;
 2135|       |
 2136|       |
 2137|       |/*-----------------------------.
 2138|       || yyreduce -- do a reduction.  |
 2139|       |`-----------------------------*/
 2140|  1.03M|yyreduce:
 2141|       |  /* yyn is the number of a rule to reduce with.  */
 2142|  1.03M|  yylen = yyr2[yyn];
 2143|       |
 2144|       |  /* If YYLEN is nonzero, implement the default value of the action:
 2145|       |     '$$ = $1'.
 2146|       |
 2147|       |     Otherwise, the following line sets YYVAL to garbage.
 2148|       |     This behavior is undocumented and Bison
 2149|       |     users should not rely upon it.  Assigning to YYVAL
 2150|       |     unconditionally makes the parser a bit smaller, and it avoids a
 2151|       |     GCC warning that YYVAL may be used uninitialized.  */
 2152|  1.03M|  yyval = yyvsp[1-yylen];
 2153|       |
 2154|       |
 2155|  1.03M|  YY_REDUCE_PRINT (yyn);
 2156|  1.03M|  switch (yyn)
 2157|  1.03M|    {
 2158|      0|  case 8: /* rules: rules "end of included file"  */
  ------------------
  |  Branch (2158:3): [True: 0, False: 1.03M]
  ------------------
 2159|      0|#line 373 "libyara/grammar.y"
 2160|      0|      {
 2161|      0|        _yr_compiler_pop_file_name(compiler);
 2162|      0|      }
 2163|      0|#line 2164 "libyara/grammar.c"
 2164|      0|    break;
 2165|       |
 2166|      0|  case 9: /* rules: rules error "end of included file"  */
  ------------------
  |  Branch (2166:3): [True: 0, False: 1.03M]
  ------------------
 2167|      0|#line 377 "libyara/grammar.y"
 2168|      0|      {
 2169|      0|        _yr_compiler_pop_file_name(compiler);
 2170|      0|      }
 2171|      0|#line 2172 "libyara/grammar.c"
 2172|      0|    break;
 2173|       |
 2174|  8.41k|  case 10: /* import: "<import>" "text string"  */
  ------------------
  |  Branch (2174:3): [True: 8.41k, False: 1.02M]
  ------------------
 2175|  8.41k|#line 385 "libyara/grammar.y"
 2176|  8.41k|      {
 2177|  8.41k|        int result = yr_parser_reduce_import(yyscanner, (yyvsp[0].sized_string));
 2178|       |
 2179|  8.41k|        yr_free((yyvsp[0].sized_string));
 2180|       |
 2181|  8.41k|        fail_if_error(result);
  ------------------
  |  |  135|  8.41k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  16.8k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  14.6k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 6.18k, False: 2.22k]
  |  |  |  Branch (135:31): [True: 6.18k, False: 0]
  |  |  ------------------
  |  |  136|  8.41k|    { \
  |  |  137|  6.18k|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|  6.18k|    { \
  |  |  |  |  121|  6.18k|      compiler->last_error = e; \
  |  |  |  |  122|  6.18k|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|  6.18k|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|  6.18k|      switch (e) \
  |  |  |  |  124|  6.18k|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 6.18k]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|  6.18k|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 6.18k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|  6.18k|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|  6.18k|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|  6.18k|      } \
  |  |  |  |  130|  6.18k|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 2182|  2.22k|      }
 2183|      0|#line 2184 "libyara/grammar.c"
 2184|      0|    break;
 2185|       |
 2186|  31.9k|  case 11: /* @1: %empty  */
  ------------------
  |  Branch (2186:3): [True: 31.9k, False: 1.00M]
  ------------------
 2187|  31.9k|#line 397 "libyara/grammar.y"
 2188|  31.9k|      {
 2189|  31.9k|        fail_if_error(yr_parser_reduce_rule_declaration_phase_1(
  ------------------
  |  |  135|  31.9k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  63.8k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  37.9k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 6.07k, False: 25.8k]
  |  |  |  Branch (135:31): [True: 6.07k, False: 0]
  |  |  ------------------
  |  |  136|  31.9k|    { \
  |  |  137|  6.07k|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|  6.07k|    { \
  |  |  |  |  121|  6.07k|      compiler->last_error = e; \
  |  |  |  |  122|  6.07k|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|  6.07k|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|  6.07k|      switch (e) \
  |  |  |  |  124|  6.07k|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 6.07k]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|  6.07k|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 6.07k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|  6.07k|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|  6.07k|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|  6.07k|      } \
  |  |  |  |  130|  6.07k|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 2190|  31.9k|            yyscanner, (int32_t) (yyvsp[-2].integer), (yyvsp[0].c_string), &(yyval.rule)));
 2191|  25.8k|      }
 2192|      0|#line 2193 "libyara/grammar.c"
 2193|      0|    break;
 2194|       |
 2195|  18.6k|  case 12: /* $@2: %empty  */
  ------------------
  |  Branch (2195:3): [True: 18.6k, False: 1.01M]
  ------------------
 2196|  18.6k|#line 402 "libyara/grammar.y"
 2197|  18.6k|      {
 2198|  18.6k|        YR_RULE* rule = (YR_RULE*) yr_arena_ref_to_ptr(
 2199|  18.6k|            compiler->arena, &(yyvsp[-4].rule));
 2200|       |
 2201|  18.6k|        rule->tags = (char*) yr_arena_ref_to_ptr(
 2202|  18.6k|            compiler->arena, &(yyvsp[-3].tag));
 2203|       |
 2204|  18.6k|        rule->metas = (YR_META*) yr_arena_ref_to_ptr(
 2205|  18.6k|            compiler->arena, &(yyvsp[-1].meta));
 2206|       |
 2207|  18.6k|        rule->strings = (YR_STRING*) yr_arena_ref_to_ptr(
 2208|  18.6k|            compiler->arena, &(yyvsp[0].string));
 2209|  18.6k|      }
 2210|  18.6k|#line 2211 "libyara/grammar.c"
 2211|  18.6k|    break;
 2212|       |
 2213|    593|  case 13: /* rule: rule_modifiers "<rule>" "identifier" @1 tags '{' meta strings $@2 condition '}'  */
  ------------------
  |  Branch (2213:3): [True: 593, False: 1.03M]
  ------------------
 2214|    593|#line 416 "libyara/grammar.y"
 2215|    593|      {
 2216|    593|        YR_RULE* rule = (YR_RULE*) yr_arena_ref_to_ptr(
 2217|    593|            compiler->arena, &(yyvsp[-7].rule));
 2218|    593|        rule->required_strings = (yyvsp[-1].expression).required_strings.count;
 2219|       |
 2220|    593|        int result = yr_parser_reduce_rule_declaration_phase_2(
 2221|    593|            yyscanner, &(yyvsp[-7].rule)); // rule created in phase 1
 2222|       |
 2223|    593|        yr_free((yyvsp[-8].c_string));
 2224|       |
 2225|    593|        fail_if_error(result);
  ------------------
  |  |  135|    593|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  1.18k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    636|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 43, False: 550]
  |  |  |  Branch (135:31): [True: 43, False: 0]
  |  |  ------------------
  |  |  136|    593|    { \
  |  |  137|     43|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     43|    { \
  |  |  |  |  121|     43|      compiler->last_error = e; \
  |  |  |  |  122|     43|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     43|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     43|      switch (e) \
  |  |  |  |  124|     43|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 43]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     43|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 43, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     43|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     43|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     43|      } \
  |  |  |  |  130|     43|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 2226|    550|      }
 2227|      0|#line 2228 "libyara/grammar.c"
 2228|      0|    break;
 2229|       |
 2230|  21.7k|  case 14: /* meta: %empty  */
  ------------------
  |  Branch (2230:3): [True: 21.7k, False: 1.01M]
  ------------------
 2231|  21.7k|#line 433 "libyara/grammar.y"
 2232|  21.7k|      {
 2233|  21.7k|        (yyval.meta) = YR_ARENA_NULL_REF;
  ------------------
  |  |   43|  21.7k|  (YR_ARENA_REF)           \
  |  |   44|  21.7k|  {                        \
  |  |   45|  21.7k|    UINT32_MAX, UINT32_MAX \
  |  |   46|  21.7k|  }
  ------------------
 2234|  21.7k|      }
 2235|  21.7k|#line 2236 "libyara/grammar.c"
 2236|  21.7k|    break;
 2237|       |
 2238|    109|  case 15: /* meta: "<meta>" ':' meta_declarations  */
  ------------------
  |  Branch (2238:3): [True: 109, False: 1.03M]
  ------------------
 2239|    109|#line 437 "libyara/grammar.y"
 2240|    109|      {
 2241|    109|        YR_META* meta = yr_arena_get_ptr(
 2242|    109|            compiler->arena,
 2243|    109|            YR_METAS_TABLE,
  ------------------
  |  |   59|    109|#define YR_METAS_TABLE              2
  ------------------
 2244|    109|            (compiler->current_meta_idx - 1) * sizeof(YR_META));
 2245|       |
 2246|    109|        meta->flags |= META_FLAGS_LAST_IN_RULE;
  ------------------
  |  |  140|    109|#define META_FLAGS_LAST_IN_RULE 1
  ------------------
 2247|       |
 2248|    109|        (yyval.meta) = (yyvsp[0].meta);
 2249|    109|      }
 2250|    109|#line 2251 "libyara/grammar.c"
 2251|    109|    break;
 2252|       |
 2253|  14.4k|  case 16: /* strings: %empty  */
  ------------------
  |  Branch (2253:3): [True: 14.4k, False: 1.02M]
  ------------------
 2254|  14.4k|#line 452 "libyara/grammar.y"
 2255|  14.4k|      {
 2256|  14.4k|        (yyval.string) = YR_ARENA_NULL_REF;
  ------------------
  |  |   43|  14.4k|  (YR_ARENA_REF)           \
  |  |   44|  14.4k|  {                        \
  |  |   45|  14.4k|    UINT32_MAX, UINT32_MAX \
  |  |   46|  14.4k|  }
  ------------------
 2257|  14.4k|      }
 2258|  14.4k|#line 2259 "libyara/grammar.c"
 2259|  14.4k|    break;
 2260|       |
 2261|  4.21k|  case 17: /* strings: "<strings>" ':' string_declarations  */
  ------------------
  |  Branch (2261:3): [True: 4.21k, False: 1.03M]
  ------------------
 2262|  4.21k|#line 456 "libyara/grammar.y"
 2263|  4.21k|      {
 2264|  4.21k|        YR_STRING* string = (YR_STRING*) yr_arena_get_ptr(
 2265|  4.21k|            compiler->arena,
 2266|  4.21k|            YR_STRINGS_TABLE,
  ------------------
  |  |   60|  4.21k|#define YR_STRINGS_TABLE            3
  ------------------
 2267|  4.21k|            (compiler->current_string_idx - 1) * sizeof(YR_STRING));
 2268|       |
 2269|  4.21k|        string->flags |= STRING_FLAGS_LAST_IN_RULE;
  ------------------
  |  |   78|  4.21k|#define STRING_FLAGS_LAST_IN_RULE  0x1000
  ------------------
 2270|       |
 2271|  4.21k|        (yyval.string) = (yyvsp[0].string);
 2272|  4.21k|      }
 2273|  4.21k|#line 2274 "libyara/grammar.c"
 2274|  4.21k|    break;
 2275|       |
 2276|  4.90k|  case 18: /* condition: "<condition>" ':' boolean_expression  */
  ------------------
  |  Branch (2276:3): [True: 4.90k, False: 1.03M]
  ------------------
 2277|  4.90k|#line 471 "libyara/grammar.y"
 2278|  4.90k|      {
 2279|  4.90k|        (yyval.expression) = (yyvsp[0].expression);
 2280|  4.90k|      }
 2281|  4.90k|#line 2282 "libyara/grammar.c"
 2282|  4.90k|    break;
 2283|       |
 2284|   282k|  case 19: /* rule_modifiers: %empty  */
  ------------------
  |  Branch (2284:3): [True: 282k, False: 754k]
  ------------------
 2285|   282k|#line 478 "libyara/grammar.y"
 2286|   282k|                                       { (yyval.integer) = 0;  }
 2287|   282k|#line 2288 "libyara/grammar.c"
 2288|   282k|    break;
 2289|       |
 2290|    860|  case 20: /* rule_modifiers: rule_modifiers rule_modifier  */
  ------------------
  |  Branch (2290:3): [True: 860, False: 1.03M]
  ------------------
 2291|    860|#line 479 "libyara/grammar.y"
 2292|    860|                                       { (yyval.integer) = (yyvsp[-1].integer) | (yyvsp[0].integer); }
 2293|    860|#line 2294 "libyara/grammar.c"
 2294|    860|    break;
 2295|       |
 2296|    195|  case 21: /* rule_modifier: "<private>"  */
  ------------------
  |  Branch (2296:3): [True: 195, False: 1.03M]
  ------------------
 2297|    195|#line 484 "libyara/grammar.y"
 2298|    195|                     { (yyval.integer) = RULE_FLAGS_PRIVATE; }
  ------------------
  |  |   52|    195|#define RULE_FLAGS_PRIVATE  0x01
  ------------------
 2299|    195|#line 2300 "libyara/grammar.c"
 2300|    195|    break;
 2301|       |
 2302|    665|  case 22: /* rule_modifier: "<global>"  */
  ------------------
  |  Branch (2302:3): [True: 665, False: 1.03M]
  ------------------
 2303|    665|#line 485 "libyara/grammar.y"
 2304|    665|                     { (yyval.integer) = RULE_FLAGS_GLOBAL; }
  ------------------
  |  |   53|    665|#define RULE_FLAGS_GLOBAL   0x02
  ------------------
 2305|    665|#line 2306 "libyara/grammar.c"
 2306|    665|    break;
 2307|       |
 2308|  25.0k|  case 23: /* tags: %empty  */
  ------------------
  |  Branch (2308:3): [True: 25.0k, False: 1.01M]
  ------------------
 2309|  25.0k|#line 491 "libyara/grammar.y"
 2310|  25.0k|      {
 2311|  25.0k|        (yyval.tag) = YR_ARENA_NULL_REF;
  ------------------
  |  |   43|  25.0k|  (YR_ARENA_REF)           \
  |  |   44|  25.0k|  {                        \
  |  |   45|  25.0k|    UINT32_MAX, UINT32_MAX \
  |  |   46|  25.0k|  }
  ------------------
 2312|  25.0k|      }
 2313|  25.0k|#line 2314 "libyara/grammar.c"
 2314|  25.0k|    break;
 2315|       |
 2316|    405|  case 24: /* tags: ':' tag_list  */
  ------------------
  |  Branch (2316:3): [True: 405, False: 1.03M]
  ------------------
 2317|    405|#line 495 "libyara/grammar.y"
 2318|    405|      {
 2319|       |        // Tags list is represented in the arena as a sequence
 2320|       |        // of null-terminated strings, the sequence ends with an
 2321|       |        // additional null character. Here we write the ending null
 2322|       |        //character. Example: tag1\0tag2\0tag3\0\0
 2323|       |
 2324|    405|        fail_if_error(yr_arena_write_string(
  ------------------
  |  |  135|    405|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    810|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    405|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 405]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|    405|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 2325|    405|            yyget_extra(yyscanner)->arena, YR_SZ_POOL, "", NULL));
 2326|       |
 2327|    405|        (yyval.tag) = (yyvsp[0].tag);
 2328|    405|      }
 2329|      0|#line 2330 "libyara/grammar.c"
 2330|      0|    break;
 2331|       |
 2332|    431|  case 25: /* tag_list: "identifier"  */
  ------------------
  |  Branch (2332:3): [True: 431, False: 1.03M]
  ------------------
 2333|    431|#line 511 "libyara/grammar.y"
 2334|    431|      {
 2335|    431|        int result = yr_arena_write_string(
 2336|    431|            yyget_extra(yyscanner)->arena, YR_SZ_POOL, (yyvsp[0].c_string), &(yyval.tag));
  ------------------
  |  |   54|    431|#define yyget_extra  yara_yyget_extra
  ------------------
                          yyget_extra(yyscanner)->arena, YR_SZ_POOL, (yyvsp[0].c_string), &(yyval.tag));
  ------------------
  |  |   62|    431|#define YR_SZ_POOL                  5
  ------------------
 2337|       |
 2338|    431|        yr_free((yyvsp[0].c_string));
 2339|       |
 2340|    431|        fail_if_error(result);
  ------------------
  |  |  135|    431|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    862|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    431|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 431]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|    431|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 2341|    431|      }
 2342|      0|#line 2343 "libyara/grammar.c"
 2343|      0|    break;
 2344|       |
 2345|    474|  case 26: /* tag_list: tag_list "identifier"  */
  ------------------
  |  Branch (2345:3): [True: 474, False: 1.03M]
  ------------------
 2346|    474|#line 520 "libyara/grammar.y"
 2347|    474|      {
 2348|    474|        YR_ARENA_REF ref;
 2349|       |
 2350|       |        // Write the new tag identifier.
 2351|    474|        int result = yr_arena_write_string(
 2352|    474|            yyget_extra(yyscanner)->arena, YR_SZ_POOL, (yyvsp[0].c_string), &ref);
  ------------------
  |  |   54|    474|#define yyget_extra  yara_yyget_extra
  ------------------
                          yyget_extra(yyscanner)->arena, YR_SZ_POOL, (yyvsp[0].c_string), &ref);
  ------------------
  |  |   62|    474|#define YR_SZ_POOL                  5
  ------------------
 2353|       |
 2354|    474|        yr_free((yyvsp[0].c_string));
 2355|       |
 2356|    474|        fail_if_error(result);
  ------------------
  |  |  135|    474|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    948|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    474|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 474]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|    474|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 2357|       |
 2358|       |        // Get the address for the tag identifier just written.
 2359|    474|        char* new_tag = (char*) yr_arena_ref_to_ptr(
 2360|    474|            compiler->arena, &ref);
 2361|       |
 2362|       |        // Take the address of first tag's identifier in the list.
 2363|    474|        char* tag = (char*) yr_arena_ref_to_ptr(
 2364|    474|            compiler->arena, &(yyval.tag));
 2365|       |
 2366|       |        // Search for duplicated tags. Tags are written one after
 2367|       |        // the other, with zeroes in between (i.e: tag1/0tag2/0tag3)
 2368|       |        // that's why can use tag < new_tag as the condition for the
 2369|       |        // loop.
 2370|  1.72k|        while (tag < new_tag)
  ------------------
  |  Branch (2370:16): [True: 1.27k, False: 448]
  ------------------
 2371|  1.27k|        {
 2372|  1.27k|          if (strcmp(tag, new_tag) == 0)
  ------------------
  |  Branch (2372:15): [True: 26, False: 1.24k]
  ------------------
 2373|     26|          {
 2374|     26|            yr_compiler_set_error_extra_info(compiler, tag);
  ------------------
  |  |  320|     26|  strlcpy(                                               \
  |  |  321|     26|      compiler->last_error_extra_info,                   \
  |  |  322|     26|      info,                                              \
  |  |  323|     26|      sizeof(compiler->last_error_extra_info));
  ------------------
 2375|     26|            fail_with_error(ERROR_DUPLICATED_TAG_IDENTIFIER);
  ------------------
  |  |  120|     26|    { \
  |  |  121|     26|      compiler->last_error = e; \
  |  |  122|     26|      yyerror(yyscanner, compiler, NULL); \
  |  |  ------------------
  |  |  |  |   48|     26|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  123|     26|      switch (e) \
  |  |  124|     26|      { \
  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  ------------------
  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  ------------------
  |  |  |  Branch (125:7): [True: 0, False: 26]
  |  |  ------------------
  |  |  126|      0|        YYABORT; \
  |  |  ------------------
  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  127|     26|      default: \
  |  |  ------------------
  |  |  |  Branch (127:7): [True: 26, False: 0]
  |  |  ------------------
  |  |  128|     26|        YYERROR; \
  |  |  ------------------
  |  |  |  | 1314|     26|#define YYERROR         goto yyerrorlab
  |  |  ------------------
  |  |  129|     26|      } \
  |  |  130|     26|    }
  ------------------
 2376|      0|          }
 2377|       |
 2378|  1.24k|          tag += strlen(tag) + 1;
 2379|  1.24k|        }
 2380|       |
 2381|    448|        (yyval.tag) = (yyvsp[-1].tag);
 2382|    448|      }
 2383|      0|#line 2384 "libyara/grammar.c"
 2384|      0|    break;
 2385|       |
 2386|    142|  case 27: /* meta_declarations: meta_declaration  */
  ------------------
  |  Branch (2386:3): [True: 142, False: 1.03M]
  ------------------
 2387|    142|#line 561 "libyara/grammar.y"
 2388|    142|                                          {  (yyval.meta) = (yyvsp[0].meta); }
 2389|    142|#line 2390 "libyara/grammar.c"
 2390|    142|    break;
 2391|       |
 2392|  1.38k|  case 28: /* meta_declarations: meta_declarations meta_declaration  */
  ------------------
  |  Branch (2392:3): [True: 1.38k, False: 1.03M]
  ------------------
 2393|  1.38k|#line 562 "libyara/grammar.y"
 2394|  1.38k|                                          {  (yyval.meta) = (yyvsp[-1].meta); }
 2395|  1.38k|#line 2396 "libyara/grammar.c"
 2396|  1.38k|    break;
 2397|       |
 2398|    477|  case 29: /* meta_declaration: "identifier" '=' "text string"  */
  ------------------
  |  Branch (2398:3): [True: 477, False: 1.03M]
  ------------------
 2399|    477|#line 568 "libyara/grammar.y"
 2400|    477|      {
 2401|    477|        SIZED_STRING* sized_string = (yyvsp[0].sized_string);
 2402|       |
 2403|    477|        int result = yr_parser_reduce_meta_declaration(
 2404|    477|            yyscanner,
 2405|    477|            META_TYPE_STRING,
  ------------------
  |  |  137|    477|#define META_TYPE_STRING  2
  ------------------
 2406|    477|            (yyvsp[-2].c_string),
 2407|    477|            sized_string->c_string,
 2408|    477|            0,
 2409|    477|            &(yyval.meta));
 2410|       |
 2411|    477|        yr_free((yyvsp[-2].c_string));
 2412|    477|        yr_free((yyvsp[0].sized_string));
 2413|       |
 2414|    477|        fail_if_error(result);
  ------------------
  |  |  135|    477|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    954|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    477|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 477]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|    477|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 2415|    477|      }
 2416|      0|#line 2417 "libyara/grammar.c"
 2417|      0|    break;
 2418|       |
 2419|    332|  case 30: /* meta_declaration: "identifier" '=' "integer number"  */
  ------------------
  |  Branch (2419:3): [True: 332, False: 1.03M]
  ------------------
 2420|    332|#line 585 "libyara/grammar.y"
 2421|    332|      {
 2422|    332|        int result = yr_parser_reduce_meta_declaration(
 2423|    332|            yyscanner,
 2424|    332|            META_TYPE_INTEGER,
  ------------------
  |  |  136|    332|#define META_TYPE_INTEGER 1
  ------------------
 2425|    332|            (yyvsp[-2].c_string),
 2426|    332|            NULL,
 2427|    332|            (yyvsp[0].integer),
 2428|    332|            &(yyval.meta));
 2429|       |
 2430|    332|        yr_free((yyvsp[-2].c_string));
 2431|       |
 2432|    332|        fail_if_error(result);
  ------------------
  |  |  135|    332|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    664|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    332|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 332]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|    332|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 2433|    332|      }
 2434|      0|#line 2435 "libyara/grammar.c"
 2435|      0|    break;
 2436|       |
 2437|    296|  case 31: /* meta_declaration: "identifier" '=' '-' "integer number"  */
  ------------------
  |  Branch (2437:3): [True: 296, False: 1.03M]
  ------------------
 2438|    296|#line 599 "libyara/grammar.y"
 2439|    296|      {
 2440|    296|        int result = yr_parser_reduce_meta_declaration(
 2441|    296|            yyscanner,
 2442|    296|            META_TYPE_INTEGER,
  ------------------
  |  |  136|    296|#define META_TYPE_INTEGER 1
  ------------------
 2443|    296|            (yyvsp[-3].c_string),
 2444|    296|            NULL,
 2445|    296|            -(yyvsp[0].integer),
 2446|    296|            &(yyval.meta));
 2447|       |
 2448|    296|        yr_free((yyvsp[-3].c_string));
 2449|       |
 2450|    296|        fail_if_error(result);
  ------------------
  |  |  135|    296|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    592|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    296|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 296]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|    296|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 2451|    296|      }
 2452|      0|#line 2453 "libyara/grammar.c"
 2453|      0|    break;
 2454|       |
 2455|    194|  case 32: /* meta_declaration: "identifier" '=' "<true>"  */
  ------------------
  |  Branch (2455:3): [True: 194, False: 1.03M]
  ------------------
 2456|    194|#line 613 "libyara/grammar.y"
 2457|    194|      {
 2458|    194|        int result = yr_parser_reduce_meta_declaration(
 2459|    194|            yyscanner,
 2460|    194|            META_TYPE_BOOLEAN,
  ------------------
  |  |  138|    194|#define META_TYPE_BOOLEAN 3
  ------------------
 2461|    194|            (yyvsp[-2].c_string),
 2462|    194|            NULL,
 2463|    194|            true,
 2464|    194|            &(yyval.meta));
 2465|       |
 2466|    194|        yr_free((yyvsp[-2].c_string));
 2467|       |
 2468|    194|        fail_if_error(result);
  ------------------
  |  |  135|    194|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    388|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    194|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 194]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|    194|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 2469|    194|      }
 2470|      0|#line 2471 "libyara/grammar.c"
 2471|      0|    break;
 2472|       |
 2473|    227|  case 33: /* meta_declaration: "identifier" '=' "<false>"  */
  ------------------
  |  Branch (2473:3): [True: 227, False: 1.03M]
  ------------------
 2474|    227|#line 627 "libyara/grammar.y"
 2475|    227|      {
 2476|    227|        int result = yr_parser_reduce_meta_declaration(
 2477|    227|            yyscanner,
 2478|    227|            META_TYPE_BOOLEAN,
  ------------------
  |  |  138|    227|#define META_TYPE_BOOLEAN 3
  ------------------
 2479|    227|            (yyvsp[-2].c_string),
 2480|    227|            NULL,
 2481|    227|            false,
 2482|    227|            &(yyval.meta));
 2483|       |
 2484|    227|        yr_free((yyvsp[-2].c_string));
 2485|       |
 2486|    227|        fail_if_error(result);
  ------------------
  |  |  135|    227|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    454|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    227|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 227]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|    227|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 2487|    227|      }
 2488|      0|#line 2489 "libyara/grammar.c"
 2489|      0|    break;
 2490|       |
 2491|  4.44k|  case 34: /* string_declarations: string_declaration  */
  ------------------
  |  Branch (2491:3): [True: 4.44k, False: 1.03M]
  ------------------
 2492|  4.44k|#line 644 "libyara/grammar.y"
 2493|  4.44k|                                              { (yyval.string) = (yyvsp[0].string); }
 2494|  4.44k|#line 2495 "libyara/grammar.c"
 2495|  4.44k|    break;
 2496|       |
 2497|  34.8k|  case 35: /* string_declarations: string_declarations string_declaration  */
  ------------------
  |  Branch (2497:3): [True: 34.8k, False: 1.00M]
  ------------------
 2498|  34.8k|#line 645 "libyara/grammar.y"
 2499|  34.8k|                                              { (yyval.string) = (yyvsp[-1].string); }
 2500|  34.8k|#line 2501 "libyara/grammar.c"
 2501|  34.8k|    break;
 2502|       |
 2503|  5.85k|  case 36: /* $@3: %empty  */
  ------------------
  |  Branch (2503:3): [True: 5.85k, False: 1.03M]
  ------------------
 2504|  5.85k|#line 651 "libyara/grammar.y"
 2505|  5.85k|      {
 2506|  5.85k|        compiler->current_line = yyget_lineno(yyscanner);
  ------------------
  |  |   55|  5.85k|#define yyget_lineno yara_yyget_lineno
  ------------------
 2507|  5.85k|      }
 2508|  5.85k|#line 2509 "libyara/grammar.c"
 2509|  5.85k|    break;
 2510|       |
 2511|  5.28k|  case 37: /* string_declaration: "string identifier" '=' $@3 "text string" string_modifiers  */
  ------------------
  |  Branch (2511:3): [True: 5.28k, False: 1.03M]
  ------------------
 2512|  5.28k|#line 655 "libyara/grammar.y"
 2513|  5.28k|      {
 2514|  5.28k|        int result = yr_parser_reduce_string_declaration(
 2515|  5.28k|            yyscanner, (yyvsp[0].modifier), (yyvsp[-4].c_string), (yyvsp[-1].sized_string), &(yyval.string));
 2516|       |
 2517|  5.28k|        yr_free((yyvsp[-4].c_string));
 2518|  5.28k|        yr_free((yyvsp[-1].sized_string));
 2519|  5.28k|        yr_free((yyvsp[0].modifier).alphabet);
 2520|       |
 2521|  5.28k|        fail_if_error(result);
  ------------------
  |  |  135|  5.28k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  10.5k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  5.43k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 148, False: 5.13k]
  |  |  |  Branch (135:31): [True: 148, False: 0]
  |  |  ------------------
  |  |  136|  5.28k|    { \
  |  |  137|    148|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|    148|    { \
  |  |  |  |  121|    148|      compiler->last_error = e; \
  |  |  |  |  122|    148|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|    148|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|    148|      switch (e) \
  |  |  |  |  124|    148|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 148]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|    148|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 148, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|    148|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|    148|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|    148|      } \
  |  |  |  |  130|    148|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 2522|  5.13k|        compiler->current_line = 0;
 2523|  5.13k|      }
 2524|      0|#line 2525 "libyara/grammar.c"
 2525|      0|    break;
 2526|       |
 2527|  34.2k|  case 38: /* $@4: %empty  */
  ------------------
  |  Branch (2527:3): [True: 34.2k, False: 1.00M]
  ------------------
 2528|  34.2k|#line 667 "libyara/grammar.y"
 2529|  34.2k|      {
 2530|  34.2k|        compiler->current_line = yyget_lineno(yyscanner);
  ------------------
  |  |   55|  34.2k|#define yyget_lineno yara_yyget_lineno
  ------------------
 2531|  34.2k|      }
 2532|  34.2k|#line 2533 "libyara/grammar.c"
 2533|  34.2k|    break;
 2534|       |
 2535|  34.2k|  case 39: /* string_declaration: "string identifier" '=' $@4 "regular expression" regexp_modifiers  */
  ------------------
  |  Branch (2535:3): [True: 34.2k, False: 1.00M]
  ------------------
 2536|  34.2k|#line 671 "libyara/grammar.y"
 2537|  34.2k|      {
 2538|  34.2k|        int result;
 2539|       |
 2540|  34.2k|        (yyvsp[0].modifier).flags |= STRING_FLAGS_REGEXP;
  ------------------
  |  |   71|  34.2k|#define STRING_FLAGS_REGEXP        0x20
  ------------------
 2541|       |
 2542|  34.2k|        result = yr_parser_reduce_string_declaration(
 2543|  34.2k|            yyscanner, (yyvsp[0].modifier), (yyvsp[-4].c_string), (yyvsp[-1].sized_string), &(yyval.string));
 2544|       |
 2545|  34.2k|        yr_free((yyvsp[-4].c_string));
 2546|  34.2k|        yr_free((yyvsp[-1].sized_string));
 2547|       |
 2548|  34.2k|        fail_if_error(result);
  ------------------
  |  |  135|  34.2k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  68.4k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  35.6k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 1.36k, False: 32.8k]
  |  |  |  Branch (135:31): [True: 1.36k, False: 0]
  |  |  ------------------
  |  |  136|  34.2k|    { \
  |  |  137|  1.36k|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|  1.36k|    { \
  |  |  |  |  121|  1.36k|      compiler->last_error = e; \
  |  |  |  |  122|  1.36k|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|  1.36k|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|  1.36k|      switch (e) \
  |  |  |  |  124|  1.36k|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 1.36k]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|  1.36k|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 1.36k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|  1.36k|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|  1.36k|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|  1.36k|      } \
  |  |  |  |  130|  1.36k|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 2549|       |
 2550|  32.8k|        compiler->current_line = 0;
 2551|  32.8k|      }
 2552|      0|#line 2553 "libyara/grammar.c"
 2553|      0|    break;
 2554|       |
 2555|  2.28k|  case 40: /* $@5: %empty  */
  ------------------
  |  Branch (2555:3): [True: 2.28k, False: 1.03M]
  ------------------
 2556|  2.28k|#line 687 "libyara/grammar.y"
 2557|  2.28k|      {
 2558|  2.28k|        compiler->current_line = yyget_lineno(yyscanner);
  ------------------
  |  |   55|  2.28k|#define yyget_lineno yara_yyget_lineno
  ------------------
 2559|  2.28k|      }
 2560|  2.28k|#line 2561 "libyara/grammar.c"
 2561|  2.28k|    break;
 2562|       |
 2563|  2.27k|  case 41: /* string_declaration: "string identifier" '=' $@5 "hex string" hex_modifiers  */
  ------------------
  |  Branch (2563:3): [True: 2.27k, False: 1.03M]
  ------------------
 2564|  2.27k|#line 691 "libyara/grammar.y"
 2565|  2.27k|      {
 2566|  2.27k|        int result;
 2567|       |
 2568|  2.27k|        (yyvsp[0].modifier).flags |= STRING_FLAGS_HEXADECIMAL;
  ------------------
  |  |   67|  2.27k|#define STRING_FLAGS_HEXADECIMAL   0x02
  ------------------
 2569|       |
 2570|  2.27k|        result = yr_parser_reduce_string_declaration(
 2571|  2.27k|            yyscanner, (yyvsp[0].modifier), (yyvsp[-4].c_string), (yyvsp[-1].sized_string), &(yyval.string));
 2572|       |
 2573|  2.27k|        yr_free((yyvsp[-4].c_string));
 2574|  2.27k|        yr_free((yyvsp[-1].sized_string));
 2575|       |
 2576|  2.27k|        fail_if_error(result);
  ------------------
  |  |  135|  2.27k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  4.55k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  3.26k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 990, False: 1.28k]
  |  |  |  Branch (135:31): [True: 990, False: 0]
  |  |  ------------------
  |  |  136|  2.27k|    { \
  |  |  137|    990|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|    990|    { \
  |  |  |  |  121|    990|      compiler->last_error = e; \
  |  |  |  |  122|    990|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|    990|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|    990|      switch (e) \
  |  |  |  |  124|    990|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 990]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|    990|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 990, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|    990|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|    990|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|    990|      } \
  |  |  |  |  130|    990|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 2577|       |
 2578|  1.28k|        compiler->current_line = 0;
 2579|  1.28k|      }
 2580|      0|#line 2581 "libyara/grammar.c"
 2581|      0|    break;
 2582|       |
 2583|  5.70k|  case 42: /* string_modifiers: %empty  */
  ------------------
  |  Branch (2583:3): [True: 5.70k, False: 1.03M]
  ------------------
 2584|  5.70k|#line 711 "libyara/grammar.y"
 2585|  5.70k|      {
 2586|  5.70k|        (yyval.modifier).flags = 0;
 2587|  5.70k|        (yyval.modifier).xor_min = 0;
 2588|  5.70k|        (yyval.modifier).xor_max = 0;
 2589|  5.70k|        (yyval.modifier).alphabet = NULL;
 2590|  5.70k|      }
 2591|  5.70k|#line 2592 "libyara/grammar.c"
 2592|  5.70k|    break;
 2593|       |
 2594|  5.93k|  case 43: /* string_modifiers: string_modifiers string_modifier  */
  ------------------
  |  Branch (2594:3): [True: 5.93k, False: 1.03M]
  ------------------
 2595|  5.93k|#line 718 "libyara/grammar.y"
 2596|  5.93k|      {
 2597|  5.93k|        (yyval.modifier) = (yyvsp[-1].modifier);
 2598|       |
 2599|       |        // Only set the xor minimum and maximum if we are dealing with the
 2600|       |        // xor modifier. If we don't check for this then we can end up with
 2601|       |        // "xor wide" resulting in whatever is on the stack for "wide"
 2602|       |        // overwriting the values for xor.
 2603|  5.93k|        if ((yyvsp[0].modifier).flags & STRING_FLAGS_XOR)
  ------------------
  |  |   85|  5.93k|#define STRING_FLAGS_XOR           0x80000
  ------------------
  |  Branch (2603:13): [True: 673, False: 5.25k]
  ------------------
 2604|    673|        {
 2605|    673|          (yyval.modifier).xor_min = (yyvsp[0].modifier).xor_min;
 2606|    673|          (yyval.modifier).xor_max = (yyvsp[0].modifier).xor_max;
 2607|    673|        }
 2608|       |
 2609|       |        // Only set the base64 alphabet if we are dealing with the base64
 2610|       |        // modifier. If we don't check for this then we can end up with
 2611|       |        // "base64 ascii" resulting in whatever is on the stack for "ascii"
 2612|       |        // overwriting the values for base64.
 2613|  5.93k|        if (((yyvsp[0].modifier).flags & STRING_FLAGS_BASE64) ||
  ------------------
  |  |   87|  5.93k|#define STRING_FLAGS_BASE64        0x200000
  ------------------
  |  Branch (2613:13): [True: 1.53k, False: 4.39k]
  ------------------
 2614|  4.39k|            ((yyvsp[0].modifier).flags & STRING_FLAGS_BASE64_WIDE))
  ------------------
  |  |   88|  4.39k|#define STRING_FLAGS_BASE64_WIDE   0x400000
  ------------------
  |  Branch (2614:13): [True: 1.63k, False: 2.75k]
  ------------------
 2615|  3.17k|        {
 2616|  3.17k|          if ((yyval.modifier).alphabet != NULL)
  ------------------
  |  Branch (2616:15): [True: 625, False: 2.54k]
  ------------------
 2617|    625|          {
 2618|    625|            if (ss_compare((yyval.modifier).alphabet, (yyvsp[0].modifier).alphabet) != 0)
  ------------------
  |  Branch (2618:17): [True: 20, False: 605]
  ------------------
 2619|     20|            {
 2620|     20|              yr_compiler_set_error_extra_info(
  ------------------
  |  |  320|     20|  strlcpy(                                               \
  |  |  321|     20|      compiler->last_error_extra_info,                   \
  |  |  322|     20|      info,                                              \
  |  |  323|     20|      sizeof(compiler->last_error_extra_info));
  ------------------
 2621|     20|                  compiler, "can not specify multiple alphabets");
 2622|       |
 2623|     20|              yr_free((yyvsp[0].modifier).alphabet);
 2624|     20|              yr_free((yyval.modifier).alphabet);
 2625|       |
 2626|     20|              fail_with_error(ERROR_INVALID_MODIFIER);
  ------------------
  |  |  120|     20|    { \
  |  |  121|     20|      compiler->last_error = e; \
  |  |  122|     20|      yyerror(yyscanner, compiler, NULL); \
  |  |  ------------------
  |  |  |  |   48|     20|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  123|     20|      switch (e) \
  |  |  124|     20|      { \
  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  ------------------
  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  ------------------
  |  |  |  Branch (125:7): [True: 0, False: 20]
  |  |  ------------------
  |  |  126|      0|        YYABORT; \
  |  |  ------------------
  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  127|     20|      default: \
  |  |  ------------------
  |  |  |  Branch (127:7): [True: 20, False: 0]
  |  |  ------------------
  |  |  128|     20|        YYERROR; \
  |  |  ------------------
  |  |  |  | 1314|     20|#define YYERROR         goto yyerrorlab
  |  |  ------------------
  |  |  129|     20|      } \
  |  |  130|     20|    }
  ------------------
 2627|      0|            }
 2628|    605|            else
 2629|    605|            {
 2630|    605|              yr_free((yyvsp[0].modifier).alphabet);
 2631|    605|            }
 2632|    625|          }
 2633|  2.54k|          else
 2634|  2.54k|          {
 2635|  2.54k|            (yyval.modifier).alphabet = (yyvsp[0].modifier).alphabet;
 2636|  2.54k|          }
 2637|  3.17k|        }
 2638|       |
 2639|  5.91k|        if ((yyval.modifier).flags & (yyvsp[0].modifier).flags)
  ------------------
  |  Branch (2639:13): [True: 33, False: 5.87k]
  ------------------
 2640|     33|        {
 2641|     33|          if ((yyval.modifier).alphabet != NULL)
  ------------------
  |  Branch (2641:15): [True: 14, False: 19]
  ------------------
 2642|     14|            yr_free((yyval.modifier).alphabet);
 2643|       |
 2644|     33|          fail_with_error(ERROR_DUPLICATED_MODIFIER);
  ------------------
  |  |  120|     33|    { \
  |  |  121|     33|      compiler->last_error = e; \
  |  |  122|     33|      yyerror(yyscanner, compiler, NULL); \
  |  |  ------------------
  |  |  |  |   48|     33|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  123|     33|      switch (e) \
  |  |  124|     33|      { \
  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  ------------------
  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  ------------------
  |  |  |  Branch (125:7): [True: 0, False: 33]
  |  |  ------------------
  |  |  126|      0|        YYABORT; \
  |  |  ------------------
  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  127|     33|      default: \
  |  |  ------------------
  |  |  |  Branch (127:7): [True: 33, False: 0]
  |  |  ------------------
  |  |  128|     33|        YYERROR; \
  |  |  ------------------
  |  |  |  | 1314|     33|#define YYERROR         goto yyerrorlab
  |  |  ------------------
  |  |  129|     33|      } \
  |  |  130|     33|    }
  ------------------
 2645|      0|        }
 2646|  5.87k|        else
 2647|  5.87k|        {
 2648|  5.87k|          (yyval.modifier).flags = (yyval.modifier).flags | (yyvsp[0].modifier).flags;
 2649|  5.87k|        }
 2650|  5.91k|      }
 2651|  5.87k|#line 2652 "libyara/grammar.c"
 2652|  5.87k|    break;
 2653|       |
 2654|  5.87k|  case 44: /* string_modifier: "<wide>"  */
  ------------------
  |  Branch (2654:3): [True: 1.23k, False: 1.03M]
  ------------------
 2655|  1.23k|#line 777 "libyara/grammar.y"
 2656|  1.23k|                    { (yyval.modifier).flags = STRING_FLAGS_WIDE; }
  ------------------
  |  |   70|  1.23k|#define STRING_FLAGS_WIDE          0x10
  ------------------
 2657|  1.23k|#line 2658 "libyara/grammar.c"
 2658|  1.23k|    break;
 2659|       |
 2660|    421|  case 45: /* string_modifier: "<ascii>"  */
  ------------------
  |  Branch (2660:3): [True: 421, False: 1.03M]
  ------------------
 2661|    421|#line 778 "libyara/grammar.y"
 2662|    421|                    { (yyval.modifier).flags = STRING_FLAGS_ASCII; }
  ------------------
  |  |   69|    421|#define STRING_FLAGS_ASCII         0x08
  ------------------
 2663|    421|#line 2664 "libyara/grammar.c"
 2664|    421|    break;
 2665|       |
 2666|    250|  case 46: /* string_modifier: "<nocase>"  */
  ------------------
  |  Branch (2666:3): [True: 250, False: 1.03M]
  ------------------
 2667|    250|#line 779 "libyara/grammar.y"
 2668|    250|                    { (yyval.modifier).flags = STRING_FLAGS_NO_CASE; }
  ------------------
  |  |   68|    250|#define STRING_FLAGS_NO_CASE       0x04
  ------------------
 2669|    250|#line 2670 "libyara/grammar.c"
 2670|    250|    break;
 2671|       |
 2672|    112|  case 47: /* string_modifier: "<fullword>"  */
  ------------------
  |  Branch (2672:3): [True: 112, False: 1.03M]
  ------------------
 2673|    112|#line 780 "libyara/grammar.y"
 2674|    112|                    { (yyval.modifier).flags = STRING_FLAGS_FULL_WORD; }
  ------------------
  |  |   73|    112|#define STRING_FLAGS_FULL_WORD     0x80
  ------------------
 2675|    112|#line 2676 "libyara/grammar.c"
 2676|    112|    break;
 2677|       |
 2678|     70|  case 48: /* string_modifier: "<private>"  */
  ------------------
  |  Branch (2678:3): [True: 70, False: 1.03M]
  ------------------
 2679|     70|#line 781 "libyara/grammar.y"
 2680|     70|                    { (yyval.modifier).flags = STRING_FLAGS_PRIVATE; }
  ------------------
  |  |   86|     70|#define STRING_FLAGS_PRIVATE       0x100000
  ------------------
 2681|     70|#line 2682 "libyara/grammar.c"
 2682|     70|    break;
 2683|       |
 2684|    258|  case 49: /* string_modifier: "<xor>"  */
  ------------------
  |  Branch (2684:3): [True: 258, False: 1.03M]
  ------------------
 2685|    258|#line 783 "libyara/grammar.y"
 2686|    258|      {
 2687|    258|        (yyval.modifier).flags = STRING_FLAGS_XOR;
  ------------------
  |  |   85|    258|#define STRING_FLAGS_XOR           0x80000
  ------------------
 2688|    258|        (yyval.modifier).xor_min = 0;
 2689|    258|        (yyval.modifier).xor_max = 255;
 2690|    258|      }
 2691|    258|#line 2692 "libyara/grammar.c"
 2692|    258|    break;
 2693|       |
 2694|    423|  case 50: /* string_modifier: "<xor>" '(' "integer number" ')'  */
  ------------------
  |  Branch (2694:3): [True: 423, False: 1.03M]
  ------------------
 2695|    423|#line 789 "libyara/grammar.y"
 2696|    423|      {
 2697|    423|        int result = ERROR_SUCCESS;
  ------------------
  |  |   40|    423|#define ERROR_SUCCESS 0
  ------------------
 2698|       |
 2699|    423|        if ((yyvsp[-1].integer) < 0 || (yyvsp[-1].integer) > 255)
  ------------------
  |  Branch (2699:13): [True: 0, False: 423]
  |  Branch (2699:40): [True: 99, False: 324]
  ------------------
 2700|     99|        {
 2701|     99|          yr_compiler_set_error_extra_info(compiler, "invalid xor range");
  ------------------
  |  |  320|     99|  strlcpy(                                               \
  |  |  321|     99|      compiler->last_error_extra_info,                   \
  |  |  322|     99|      info,                                              \
  |  |  323|     99|      sizeof(compiler->last_error_extra_info));
  ------------------
 2702|     99|          result = ERROR_INVALID_MODIFIER;
  ------------------
  |  |  106|     99|#define ERROR_INVALID_MODIFIER               59
  ------------------
 2703|     99|        }
 2704|       |
 2705|    423|        fail_if_error(result);
  ------------------
  |  |  135|    423|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    846|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    522|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 99, False: 324]
  |  |  |  Branch (135:31): [True: 99, False: 0]
  |  |  ------------------
  |  |  136|    423|    { \
  |  |  137|     99|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     99|    { \
  |  |  |  |  121|     99|      compiler->last_error = e; \
  |  |  |  |  122|     99|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     99|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     99|      switch (e) \
  |  |  |  |  124|     99|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 99]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     99|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 99, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     99|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     99|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     99|      } \
  |  |  |  |  130|     99|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 2706|       |
 2707|    324|        (yyval.modifier).flags = STRING_FLAGS_XOR;
  ------------------
  |  |   85|    324|#define STRING_FLAGS_XOR           0x80000
  ------------------
 2708|    324|        (yyval.modifier).xor_min = (uint8_t) (yyvsp[-1].integer);
 2709|    324|        (yyval.modifier).xor_max = (uint8_t) (yyvsp[-1].integer);
 2710|    324|      }
 2711|      0|#line 2712 "libyara/grammar.c"
 2712|      0|    break;
 2713|       |
 2714|    281|  case 51: /* string_modifier: "<xor>" '(' "integer number" '-' "integer number" ')'  */
  ------------------
  |  Branch (2714:3): [True: 281, False: 1.03M]
  ------------------
 2715|    281|#line 810 "libyara/grammar.y"
 2716|    281|      {
 2717|    281|        int result = ERROR_SUCCESS;
  ------------------
  |  |   40|    281|#define ERROR_SUCCESS 0
  ------------------
 2718|       |
 2719|    281|        if ((yyvsp[-3].integer) < 0)
  ------------------
  |  Branch (2719:13): [True: 0, False: 281]
  ------------------
 2720|      0|        {
 2721|      0|          yr_compiler_set_error_extra_info(
  ------------------
  |  |  320|      0|  strlcpy(                                               \
  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  322|      0|      info,                                              \
  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  ------------------
 2722|      0|              compiler, "lower bound for xor range exceeded (min: 0)");
 2723|      0|          result = ERROR_INVALID_MODIFIER;
  ------------------
  |  |  106|      0|#define ERROR_INVALID_MODIFIER               59
  ------------------
 2724|      0|        }
 2725|       |
 2726|    281|        if ((yyvsp[-1].integer) > 255)
  ------------------
  |  Branch (2726:13): [True: 70, False: 211]
  ------------------
 2727|     70|        {
 2728|     70|          yr_compiler_set_error_extra_info(
  ------------------
  |  |  320|     70|  strlcpy(                                               \
  |  |  321|     70|      compiler->last_error_extra_info,                   \
  |  |  322|     70|      info,                                              \
  |  |  323|     70|      sizeof(compiler->last_error_extra_info));
  ------------------
 2729|     70|              compiler, "upper bound for xor range exceeded (max: 255)");
 2730|     70|          result = ERROR_INVALID_MODIFIER;
  ------------------
  |  |  106|     70|#define ERROR_INVALID_MODIFIER               59
  ------------------
 2731|     70|        }
 2732|       |
 2733|    281|        if ((yyvsp[-3].integer) > (yyvsp[-1].integer))
  ------------------
  |  Branch (2733:13): [True: 123, False: 158]
  ------------------
 2734|    123|        {
 2735|    123|          yr_compiler_set_error_extra_info(
  ------------------
  |  |  320|    123|  strlcpy(                                               \
  |  |  321|    123|      compiler->last_error_extra_info,                   \
  |  |  322|    123|      info,                                              \
  |  |  323|    123|      sizeof(compiler->last_error_extra_info));
  ------------------
 2736|    123|              compiler, "xor lower bound exceeds upper bound");
 2737|    123|          result = ERROR_INVALID_MODIFIER;
  ------------------
  |  |  106|    123|#define ERROR_INVALID_MODIFIER               59
  ------------------
 2738|    123|        }
 2739|       |
 2740|    281|        fail_if_error(result);
  ------------------
  |  |  135|    281|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    562|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    471|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 190, False: 91]
  |  |  |  Branch (135:31): [True: 190, False: 0]
  |  |  ------------------
  |  |  136|    281|    { \
  |  |  137|    190|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|    190|    { \
  |  |  |  |  121|    190|      compiler->last_error = e; \
  |  |  |  |  122|    190|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|    190|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|    190|      switch (e) \
  |  |  |  |  124|    190|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 190]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|    190|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 190, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|    190|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|    190|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|    190|      } \
  |  |  |  |  130|    190|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 2741|       |
 2742|     91|        (yyval.modifier).flags = STRING_FLAGS_XOR;
  ------------------
  |  |   85|     91|#define STRING_FLAGS_XOR           0x80000
  ------------------
 2743|     91|        (yyval.modifier).xor_min = (uint8_t) (yyvsp[-3].integer);
 2744|     91|        (yyval.modifier).xor_max = (uint8_t) (yyvsp[-1].integer);
 2745|     91|      }
 2746|      0|#line 2747 "libyara/grammar.c"
 2747|      0|    break;
 2748|       |
 2749|  1.36k|  case 52: /* string_modifier: "<base64>"  */
  ------------------
  |  Branch (2749:3): [True: 1.36k, False: 1.03M]
  ------------------
 2750|  1.36k|#line 841 "libyara/grammar.y"
 2751|  1.36k|      {
 2752|  1.36k|        (yyval.modifier).flags = STRING_FLAGS_BASE64;
  ------------------
  |  |   87|  1.36k|#define STRING_FLAGS_BASE64        0x200000
  ------------------
 2753|  1.36k|        (yyval.modifier).alphabet = ss_new(DEFAULT_BASE64_ALPHABET);
  ------------------
  |  |  200|  1.36k|    "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
  ------------------
 2754|  1.36k|      }
 2755|  1.36k|#line 2756 "libyara/grammar.c"
 2756|  1.36k|    break;
 2757|       |
 2758|    193|  case 53: /* string_modifier: "<base64>" '(' "text string" ')'  */
  ------------------
  |  Branch (2758:3): [True: 193, False: 1.03M]
  ------------------
 2759|    193|#line 846 "libyara/grammar.y"
 2760|    193|      {
 2761|    193|        int result = ERROR_SUCCESS;
  ------------------
  |  |   40|    193|#define ERROR_SUCCESS 0
  ------------------
 2762|       |
 2763|    193|        if ((yyvsp[-1].sized_string)->length != 64)
  ------------------
  |  Branch (2763:13): [True: 21, False: 172]
  ------------------
 2764|     21|        {
 2765|     21|          yr_free((yyvsp[-1].sized_string));
 2766|     21|          yr_compiler_set_error_extra_info(
  ------------------
  |  |  320|     21|  strlcpy(                                               \
  |  |  321|     21|      compiler->last_error_extra_info,                   \
  |  |  322|     21|      info,                                              \
  |  |  323|     21|      sizeof(compiler->last_error_extra_info));
  ------------------
 2767|     21|              compiler, "length of base64 alphabet must be 64");
 2768|     21|          result = ERROR_INVALID_MODIFIER;
  ------------------
  |  |  106|     21|#define ERROR_INVALID_MODIFIER               59
  ------------------
 2769|     21|        }
 2770|       |
 2771|    193|        fail_if_error(result);
  ------------------
  |  |  135|    193|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    386|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    214|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 21, False: 172]
  |  |  |  Branch (135:31): [True: 21, False: 0]
  |  |  ------------------
  |  |  136|    193|    { \
  |  |  137|     21|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     21|    { \
  |  |  |  |  121|     21|      compiler->last_error = e; \
  |  |  |  |  122|     21|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     21|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     21|      switch (e) \
  |  |  |  |  124|     21|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 21]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     21|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 21, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     21|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     21|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     21|      } \
  |  |  |  |  130|     21|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 2772|       |
 2773|    172|        (yyval.modifier).flags = STRING_FLAGS_BASE64;
  ------------------
  |  |   87|    172|#define STRING_FLAGS_BASE64        0x200000
  ------------------
 2774|    172|        (yyval.modifier).alphabet = (yyvsp[-1].sized_string);
 2775|    172|      }
 2776|      0|#line 2777 "libyara/grammar.c"
 2777|      0|    break;
 2778|       |
 2779|  1.54k|  case 54: /* string_modifier: "<base64wide>"  */
  ------------------
  |  Branch (2779:3): [True: 1.54k, False: 1.03M]
  ------------------
 2780|  1.54k|#line 863 "libyara/grammar.y"
 2781|  1.54k|      {
 2782|  1.54k|        (yyval.modifier).flags = STRING_FLAGS_BASE64_WIDE;
  ------------------
  |  |   88|  1.54k|#define STRING_FLAGS_BASE64_WIDE   0x400000
  ------------------
 2783|  1.54k|        (yyval.modifier).alphabet = ss_new(DEFAULT_BASE64_ALPHABET);
  ------------------
  |  |  200|  1.54k|    "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
  ------------------
 2784|  1.54k|      }
 2785|  1.54k|#line 2786 "libyara/grammar.c"
 2786|  1.54k|    break;
 2787|       |
 2788|    110|  case 55: /* string_modifier: "<base64wide>" '(' "text string" ')'  */
  ------------------
  |  Branch (2788:3): [True: 110, False: 1.03M]
  ------------------
 2789|    110|#line 868 "libyara/grammar.y"
 2790|    110|      {
 2791|    110|        int result = ERROR_SUCCESS;
  ------------------
  |  |   40|    110|#define ERROR_SUCCESS 0
  ------------------
 2792|       |
 2793|    110|        if ((yyvsp[-1].sized_string)->length != 64)
  ------------------
  |  Branch (2793:13): [True: 18, False: 92]
  ------------------
 2794|     18|        {
 2795|     18|          yr_free((yyvsp[-1].sized_string));
 2796|     18|          yr_compiler_set_error_extra_info(
  ------------------
  |  |  320|     18|  strlcpy(                                               \
  |  |  321|     18|      compiler->last_error_extra_info,                   \
  |  |  322|     18|      info,                                              \
  |  |  323|     18|      sizeof(compiler->last_error_extra_info));
  ------------------
 2797|     18|              compiler, "length of base64 alphabet must be 64");
 2798|     18|          result = ERROR_INVALID_MODIFIER;
  ------------------
  |  |  106|     18|#define ERROR_INVALID_MODIFIER               59
  ------------------
 2799|     18|        }
 2800|       |
 2801|    110|        fail_if_error(result);
  ------------------
  |  |  135|    110|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    220|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    128|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 18, False: 92]
  |  |  |  Branch (135:31): [True: 18, False: 0]
  |  |  ------------------
  |  |  136|    110|    { \
  |  |  137|     18|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     18|    { \
  |  |  |  |  121|     18|      compiler->last_error = e; \
  |  |  |  |  122|     18|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     18|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     18|      switch (e) \
  |  |  |  |  124|     18|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 18]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     18|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 18, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     18|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     18|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     18|      } \
  |  |  |  |  130|     18|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 2802|       |
 2803|     92|        (yyval.modifier).flags = STRING_FLAGS_BASE64_WIDE;
  ------------------
  |  |   88|     92|#define STRING_FLAGS_BASE64_WIDE   0x400000
  ------------------
 2804|     92|        (yyval.modifier).alphabet = (yyvsp[-1].sized_string);
 2805|     92|      }
 2806|      0|#line 2807 "libyara/grammar.c"
 2807|      0|    break;
 2808|       |
 2809|  34.2k|  case 56: /* regexp_modifiers: %empty  */
  ------------------
  |  Branch (2809:3): [True: 34.2k, False: 1.00M]
  ------------------
 2810|  34.2k|#line 887 "libyara/grammar.y"
 2811|  34.2k|                                          { (yyval.modifier).flags = 0; }
 2812|  34.2k|#line 2813 "libyara/grammar.c"
 2813|  34.2k|    break;
 2814|       |
 2815|  1.60k|  case 57: /* regexp_modifiers: regexp_modifiers regexp_modifier  */
  ------------------
  |  Branch (2815:3): [True: 1.60k, False: 1.03M]
  ------------------
 2816|  1.60k|#line 889 "libyara/grammar.y"
 2817|  1.60k|      {
 2818|  1.60k|        if ((yyvsp[-1].modifier).flags & (yyvsp[0].modifier).flags)
  ------------------
  |  Branch (2818:13): [True: 12, False: 1.59k]
  ------------------
 2819|     12|        {
 2820|     12|          fail_with_error(ERROR_DUPLICATED_MODIFIER);
  ------------------
  |  |  120|     12|    { \
  |  |  121|     12|      compiler->last_error = e; \
  |  |  122|     12|      yyerror(yyscanner, compiler, NULL); \
  |  |  ------------------
  |  |  |  |   48|     12|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  123|     12|      switch (e) \
  |  |  124|     12|      { \
  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  ------------------
  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  ------------------
  |  |  |  Branch (125:7): [True: 0, False: 12]
  |  |  ------------------
  |  |  126|      0|        YYABORT; \
  |  |  ------------------
  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  127|     12|      default: \
  |  |  ------------------
  |  |  |  Branch (127:7): [True: 12, False: 0]
  |  |  ------------------
  |  |  128|     12|        YYERROR; \
  |  |  ------------------
  |  |  |  | 1314|     12|#define YYERROR         goto yyerrorlab
  |  |  ------------------
  |  |  129|     12|      } \
  |  |  130|     12|    }
  ------------------
 2821|      0|        }
 2822|  1.59k|        else
 2823|  1.59k|        {
 2824|  1.59k|          (yyval.modifier).flags = (yyvsp[-1].modifier).flags | (yyvsp[0].modifier).flags;
 2825|  1.59k|        }
 2826|  1.60k|      }
 2827|  1.59k|#line 2828 "libyara/grammar.c"
 2828|  1.59k|    break;
 2829|       |
 2830|  1.59k|  case 58: /* regexp_modifier: "<wide>"  */
  ------------------
  |  Branch (2830:3): [True: 589, False: 1.03M]
  ------------------
 2831|    589|#line 902 "libyara/grammar.y"
 2832|    589|                    { (yyval.modifier).flags = STRING_FLAGS_WIDE; }
  ------------------
  |  |   70|    589|#define STRING_FLAGS_WIDE          0x10
  ------------------
 2833|    589|#line 2834 "libyara/grammar.c"
 2834|    589|    break;
 2835|       |
 2836|    448|  case 59: /* regexp_modifier: "<ascii>"  */
  ------------------
  |  Branch (2836:3): [True: 448, False: 1.03M]
  ------------------
 2837|    448|#line 903 "libyara/grammar.y"
 2838|    448|                    { (yyval.modifier).flags = STRING_FLAGS_ASCII; }
  ------------------
  |  |   69|    448|#define STRING_FLAGS_ASCII         0x08
  ------------------
 2839|    448|#line 2840 "libyara/grammar.c"
 2840|    448|    break;
 2841|       |
 2842|    303|  case 60: /* regexp_modifier: "<nocase>"  */
  ------------------
  |  Branch (2842:3): [True: 303, False: 1.03M]
  ------------------
 2843|    303|#line 904 "libyara/grammar.y"
 2844|    303|                    { (yyval.modifier).flags = STRING_FLAGS_NO_CASE; }
  ------------------
  |  |   68|    303|#define STRING_FLAGS_NO_CASE       0x04
  ------------------
 2845|    303|#line 2846 "libyara/grammar.c"
 2846|    303|    break;
 2847|       |
 2848|     67|  case 61: /* regexp_modifier: "<fullword>"  */
  ------------------
  |  Branch (2848:3): [True: 67, False: 1.03M]
  ------------------
 2849|     67|#line 905 "libyara/grammar.y"
 2850|     67|                    { (yyval.modifier).flags = STRING_FLAGS_FULL_WORD; }
  ------------------
  |  |   73|     67|#define STRING_FLAGS_FULL_WORD     0x80
  ------------------
 2851|     67|#line 2852 "libyara/grammar.c"
 2852|     67|    break;
 2853|       |
 2854|    199|  case 62: /* regexp_modifier: "<private>"  */
  ------------------
  |  Branch (2854:3): [True: 199, False: 1.03M]
  ------------------
 2855|    199|#line 906 "libyara/grammar.y"
 2856|    199|                    { (yyval.modifier).flags = STRING_FLAGS_PRIVATE; }
  ------------------
  |  |   86|    199|#define STRING_FLAGS_PRIVATE       0x100000
  ------------------
 2857|    199|#line 2858 "libyara/grammar.c"
 2858|    199|    break;
 2859|       |
 2860|  2.28k|  case 63: /* hex_modifiers: %empty  */
  ------------------
  |  Branch (2860:3): [True: 2.28k, False: 1.03M]
  ------------------
 2861|  2.28k|#line 910 "libyara/grammar.y"
 2862|  2.28k|                                          { (yyval.modifier).flags = 0; }
 2863|  2.28k|#line 2864 "libyara/grammar.c"
 2864|  2.28k|    break;
 2865|       |
 2866|     88|  case 64: /* hex_modifiers: hex_modifiers hex_modifier  */
  ------------------
  |  Branch (2866:3): [True: 88, False: 1.03M]
  ------------------
 2867|     88|#line 912 "libyara/grammar.y"
 2868|     88|      {
 2869|     88|        if ((yyvsp[-1].modifier).flags & (yyvsp[0].modifier).flags)
  ------------------
  |  Branch (2869:13): [True: 10, False: 78]
  ------------------
 2870|     10|        {
 2871|     10|          fail_with_error(ERROR_DUPLICATED_MODIFIER);
  ------------------
  |  |  120|     10|    { \
  |  |  121|     10|      compiler->last_error = e; \
  |  |  122|     10|      yyerror(yyscanner, compiler, NULL); \
  |  |  ------------------
  |  |  |  |   48|     10|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  123|     10|      switch (e) \
  |  |  124|     10|      { \
  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  ------------------
  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  ------------------
  |  |  |  Branch (125:7): [True: 0, False: 10]
  |  |  ------------------
  |  |  126|      0|        YYABORT; \
  |  |  ------------------
  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  127|     10|      default: \
  |  |  ------------------
  |  |  |  Branch (127:7): [True: 10, False: 0]
  |  |  ------------------
  |  |  128|     10|        YYERROR; \
  |  |  ------------------
  |  |  |  | 1314|     10|#define YYERROR         goto yyerrorlab
  |  |  ------------------
  |  |  129|     10|      } \
  |  |  130|     10|    }
  ------------------
 2872|      0|        }
 2873|     78|        else
 2874|     78|        {
 2875|     78|          (yyval.modifier).flags = (yyvsp[-1].modifier).flags | (yyvsp[0].modifier).flags;
 2876|     78|        }
 2877|     88|      }
 2878|     78|#line 2879 "libyara/grammar.c"
 2879|     78|    break;
 2880|       |
 2881|     88|  case 65: /* hex_modifier: "<private>"  */
  ------------------
  |  Branch (2881:3): [True: 88, False: 1.03M]
  ------------------
 2882|     88|#line 925 "libyara/grammar.y"
 2883|     88|                    { (yyval.modifier).flags = STRING_FLAGS_PRIVATE; }
  ------------------
  |  |   86|     88|#define STRING_FLAGS_PRIVATE       0x100000
  ------------------
 2884|     88|#line 2885 "libyara/grammar.c"
 2885|     88|    break;
 2886|       |
 2887|  14.1k|  case 66: /* identifier: "identifier"  */
  ------------------
  |  Branch (2887:3): [True: 14.1k, False: 1.02M]
  ------------------
 2888|  14.1k|#line 930 "libyara/grammar.y"
 2889|  14.1k|      {
 2890|  14.1k|        YR_EXPRESSION expr;
 2891|       |
 2892|  14.1k|        int result = ERROR_SUCCESS;
  ------------------
  |  |   40|  14.1k|#define ERROR_SUCCESS 0
  ------------------
 2893|  14.1k|        int var_index = yr_parser_lookup_loop_variable(yyscanner, (yyvsp[0].c_string), &expr);
 2894|       |
 2895|  14.1k|        if (var_index >= 0)
  ------------------
  |  Branch (2895:13): [True: 5.99k, False: 8.18k]
  ------------------
 2896|  5.99k|        {
 2897|       |          // The identifier corresponds to a loop variable.
 2898|  5.99k|          result = yr_parser_emit_with_arg(
 2899|  5.99k|              yyscanner,
 2900|  5.99k|              OP_PUSH_M,
  ------------------
  |  |   82|  5.99k|#define OP_PUSH_M                     34
  ------------------
 2901|  5.99k|              var_index,
 2902|  5.99k|              NULL,
 2903|  5.99k|              NULL);
 2904|       |
 2905|       |          // The expression associated to this identifier is the same one
 2906|       |          // associated to the loop variable.
 2907|  5.99k|          (yyval.expression) = expr;
 2908|  5.99k|        }
 2909|  8.18k|        else
 2910|  8.18k|        {
 2911|       |          // Search for identifier within the global namespace, where the
 2912|       |          // externals variables reside.
 2913|       |
 2914|  8.18k|          YR_OBJECT* object = (YR_OBJECT*) yr_hash_table_lookup(
 2915|  8.18k|              compiler->objects_table, (yyvsp[0].c_string), NULL);
 2916|       |
 2917|  8.18k|          YR_NAMESPACE* ns = (YR_NAMESPACE*) yr_arena_get_ptr(
 2918|  8.18k|              compiler->arena,
 2919|  8.18k|              YR_NAMESPACES_TABLE,
  ------------------
  |  |   57|  8.18k|#define YR_NAMESPACES_TABLE         0
  ------------------
 2920|  8.18k|              compiler->current_namespace_idx * sizeof(struct YR_NAMESPACE));
 2921|       |
 2922|  8.18k|          if (object == NULL)
  ------------------
  |  Branch (2922:15): [True: 8.18k, False: 0]
  ------------------
 2923|  8.18k|          {
 2924|       |            // If not found, search within the current namespace.
 2925|  8.18k|            object = (YR_OBJECT*) yr_hash_table_lookup(
 2926|  8.18k|                compiler->objects_table, (yyvsp[0].c_string), ns->name);
 2927|  8.18k|          }
 2928|       |
 2929|  8.18k|          if (object != NULL)
  ------------------
  |  Branch (2929:15): [True: 1.93k, False: 6.25k]
  ------------------
 2930|  1.93k|          {
 2931|  1.93k|            YR_ARENA_REF ref;
 2932|       |
 2933|  1.93k|            result = _yr_compiler_store_string(
 2934|  1.93k|                compiler, (yyvsp[0].c_string), &ref);
 2935|       |
 2936|  1.93k|            if (result == ERROR_SUCCESS)
  ------------------
  |  |   40|  1.93k|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (2936:17): [True: 1.93k, False: 0]
  ------------------
 2937|  1.93k|              result = yr_parser_emit_with_arg_reloc(
 2938|  1.93k|                  yyscanner,
 2939|  1.93k|                  OP_OBJ_LOAD,
  ------------------
  |  |   64|  1.93k|#define OP_OBJ_LOAD                   16
  ------------------
 2940|  1.93k|                  yr_arena_ref_to_ptr(compiler->arena, &ref),
 2941|  1.93k|                  NULL,
 2942|  1.93k|                  NULL);
 2943|       |
 2944|  1.93k|            (yyval.expression).type = EXPRESSION_TYPE_OBJECT;
  ------------------
  |  |   50|  1.93k|#define EXPRESSION_TYPE_OBJECT     16
  ------------------
 2945|  1.93k|            (yyval.expression).value.object = object;
 2946|  1.93k|            (yyval.expression).identifier.ptr = NULL;
 2947|  1.93k|            (yyval.expression).identifier.ref = ref;
 2948|  1.93k|          }
 2949|  6.25k|          else
 2950|  6.25k|          {
 2951|  6.25k|            uint32_t rule_idx = yr_hash_table_lookup_uint32(
 2952|  6.25k|                compiler->rules_table, (yyvsp[0].c_string), ns->name);
 2953|       |
 2954|  6.25k|            if (rule_idx != UINT32_MAX)
  ------------------
  |  Branch (2954:17): [True: 5.71k, False: 536]
  ------------------
 2955|  5.71k|            {
 2956|  5.71k|              result = yr_parser_emit_with_arg(
 2957|  5.71k|                  yyscanner,
 2958|  5.71k|                  OP_PUSH_RULE,
  ------------------
  |  |   75|  5.71k|#define OP_PUSH_RULE                  27
  ------------------
 2959|  5.71k|                  rule_idx,
 2960|  5.71k|                  NULL,
 2961|  5.71k|                  NULL);
 2962|       |
 2963|  5.71k|              YR_RULE* rule = _yr_compiler_get_rule_by_idx(compiler, rule_idx);
 2964|       |
 2965|  5.71k|              yr_arena_ptr_to_ref(compiler->arena, rule->identifier, &(yyval.expression).identifier.ref);
 2966|       |
 2967|  5.71k|              (yyval.expression).type = EXPRESSION_TYPE_BOOLEAN;
  ------------------
  |  |   46|  5.71k|#define EXPRESSION_TYPE_BOOLEAN    1
  ------------------
 2968|  5.71k|              (yyval.expression).value.integer = YR_UNDEFINED;
  ------------------
  |  |   38|  5.71k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  ------------------
 2969|  5.71k|              (yyval.expression).identifier.ptr = NULL;
 2970|  5.71k|              (yyval.expression).required_strings.count = 0;
 2971|  5.71k|            }
 2972|    536|            else
 2973|    536|            {
 2974|    536|              yr_compiler_set_error_extra_info(compiler, (yyvsp[0].c_string));
  ------------------
  |  |  320|    536|  strlcpy(                                               \
  |  |  321|    536|      compiler->last_error_extra_info,                   \
  |  |  322|    536|      info,                                              \
  |  |  323|    536|      sizeof(compiler->last_error_extra_info));
  ------------------
 2975|    536|              result = ERROR_UNDEFINED_IDENTIFIER;
  ------------------
  |  |   65|    536|#define ERROR_UNDEFINED_IDENTIFIER           20
  ------------------
 2976|    536|            }
 2977|  6.25k|          }
 2978|  8.18k|        }
 2979|       |
 2980|  14.1k|        yr_free((yyvsp[0].c_string));
 2981|       |
 2982|  14.1k|        fail_if_error(result);
  ------------------
  |  |  135|  14.1k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  28.3k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  14.7k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 536, False: 13.6k]
  |  |  |  Branch (135:31): [True: 536, False: 0]
  |  |  ------------------
  |  |  136|  14.1k|    { \
  |  |  137|    536|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|    536|    { \
  |  |  |  |  121|    536|      compiler->last_error = e; \
  |  |  |  |  122|    536|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|    536|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|    536|      switch (e) \
  |  |  |  |  124|    536|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 536]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|    536|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 536, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|    536|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|    536|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|    536|      } \
  |  |  |  |  130|    536|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 2983|  13.6k|      }
 2984|      0|#line 2985 "libyara/grammar.c"
 2985|      0|    break;
 2986|       |
 2987|  1.40k|  case 67: /* identifier: identifier '.' "identifier"  */
  ------------------
  |  Branch (2987:3): [True: 1.40k, False: 1.03M]
  ------------------
 2988|  1.40k|#line 1026 "libyara/grammar.y"
 2989|  1.40k|      {
 2990|  1.40k|        int result = ERROR_SUCCESS;
  ------------------
  |  |   40|  1.40k|#define ERROR_SUCCESS 0
  ------------------
 2991|  1.40k|        YR_OBJECT* field = NULL;
 2992|       |
 2993|  1.40k|        if ((yyvsp[-2].expression).type == EXPRESSION_TYPE_OBJECT &&
  ------------------
  |  |   50|  2.80k|#define EXPRESSION_TYPE_OBJECT     16
  ------------------
  |  Branch (2993:13): [True: 1.37k, False: 28]
  ------------------
 2994|  1.37k|            (yyvsp[-2].expression).value.object->type == OBJECT_TYPE_STRUCTURE)
  ------------------
  |  |   60|  1.37k|#define OBJECT_TYPE_STRUCTURE  3
  ------------------
  |  Branch (2994:13): [True: 1.33k, False: 42]
  ------------------
 2995|  1.33k|        {
 2996|  1.33k|          field = yr_object_lookup_field((yyvsp[-2].expression).value.object, (yyvsp[0].c_string));
 2997|       |
 2998|  1.33k|          if (field != NULL)
  ------------------
  |  Branch (2998:15): [True: 1.17k, False: 157]
  ------------------
 2999|  1.17k|          {
 3000|  1.17k|            YR_ARENA_REF ref;
 3001|       |
 3002|  1.17k|            result = _yr_compiler_store_string(
 3003|  1.17k|                compiler, (yyvsp[0].c_string), &ref);
 3004|       |
 3005|  1.17k|            if (result == ERROR_SUCCESS)
  ------------------
  |  |   40|  1.17k|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (3005:17): [True: 1.17k, False: 0]
  ------------------
 3006|  1.17k|              result = yr_parser_emit_with_arg_reloc(
 3007|  1.17k|                  yyscanner,
 3008|  1.17k|                  OP_OBJ_FIELD,
  ------------------
  |  |   66|  1.17k|#define OP_OBJ_FIELD                  18
  ------------------
 3009|  1.17k|                  yr_arena_ref_to_ptr(compiler->arena, &ref),
 3010|  1.17k|                  NULL,
 3011|  1.17k|                  NULL);
 3012|       |
 3013|  1.17k|            (yyval.expression).type = EXPRESSION_TYPE_OBJECT;
  ------------------
  |  |   50|  1.17k|#define EXPRESSION_TYPE_OBJECT     16
  ------------------
 3014|  1.17k|            (yyval.expression).value.object = field;
 3015|  1.17k|            (yyval.expression).identifier.ref = ref;
 3016|  1.17k|            (yyval.expression).identifier.ptr = NULL;
 3017|  1.17k|          }
 3018|    157|          else
 3019|    157|          {
 3020|    157|            yr_compiler_set_error_extra_info(compiler, (yyvsp[0].c_string));
  ------------------
  |  |  320|    157|  strlcpy(                                               \
  |  |  321|    157|      compiler->last_error_extra_info,                   \
  |  |  322|    157|      info,                                              \
  |  |  323|    157|      sizeof(compiler->last_error_extra_info));
  ------------------
 3021|    157|            result = ERROR_INVALID_FIELD_NAME;
  ------------------
  |  |   80|    157|#define ERROR_INVALID_FIELD_NAME             33
  ------------------
 3022|    157|          }
 3023|  1.33k|        }
 3024|     70|        else
 3025|     70|        {
 3026|     70|          yr_compiler_set_error_extra_info(
  ------------------
  |  |  320|     70|  strlcpy(                                               \
  |  |  321|     70|      compiler->last_error_extra_info,                   \
  |  |  322|    140|      info,                                              \
  |  |  ------------------
  |  |  |  Branch (322:7): [True: 10, False: 60]
  |  |  ------------------
  |  |  323|     70|      sizeof(compiler->last_error_extra_info));
  ------------------
 3027|     70|             compiler, expression_identifier((yyvsp[-2].expression)));
 3028|       |
 3029|     70|          result = ERROR_NOT_A_STRUCTURE;
  ------------------
  |  |   82|     70|#define ERROR_NOT_A_STRUCTURE                35
  ------------------
 3030|     70|        }
 3031|       |
 3032|  1.40k|        yr_free((yyvsp[0].c_string));
 3033|       |
 3034|  1.40k|        fail_if_error(result);
  ------------------
  |  |  135|  1.40k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  2.80k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  1.62k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 227, False: 1.17k]
  |  |  |  Branch (135:31): [True: 227, False: 0]
  |  |  ------------------
  |  |  136|  1.40k|    { \
  |  |  137|    227|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|    227|    { \
  |  |  |  |  121|    227|      compiler->last_error = e; \
  |  |  |  |  122|    227|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|    227|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|    227|      switch (e) \
  |  |  |  |  124|    227|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 227]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|    227|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 227, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|    227|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|    227|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|    227|      } \
  |  |  |  |  130|    227|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3035|  1.17k|      }
 3036|      0|#line 3037 "libyara/grammar.c"
 3037|      0|    break;
 3038|       |
 3039|     95|  case 68: /* identifier: identifier '[' primary_expression ']'  */
  ------------------
  |  Branch (3039:3): [True: 95, False: 1.03M]
  ------------------
 3040|     95|#line 1074 "libyara/grammar.y"
 3041|     95|      {
 3042|     95|        int result = ERROR_SUCCESS;
  ------------------
  |  |   40|     95|#define ERROR_SUCCESS 0
  ------------------
 3043|     95|        YR_OBJECT_ARRAY* array;
 3044|     95|        YR_OBJECT_DICTIONARY* dict;
 3045|       |
 3046|     95|        if ((yyvsp[-3].expression).type == EXPRESSION_TYPE_OBJECT &&
  ------------------
  |  |   50|    190|#define EXPRESSION_TYPE_OBJECT     16
  ------------------
  |  Branch (3046:13): [True: 64, False: 31]
  ------------------
 3047|     64|            (yyvsp[-3].expression).value.object->type == OBJECT_TYPE_ARRAY)
  ------------------
  |  |   61|     64|#define OBJECT_TYPE_ARRAY      4
  ------------------
  |  Branch (3047:13): [True: 21, False: 43]
  ------------------
 3048|     21|        {
 3049|     21|          if ((yyvsp[-1].expression).type != EXPRESSION_TYPE_INTEGER)
  ------------------
  |  |   47|     21|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
  |  Branch (3049:15): [True: 10, False: 11]
  ------------------
 3050|     10|          {
 3051|     10|            yr_compiler_set_error_extra_info(
  ------------------
  |  |  320|     10|  strlcpy(                                               \
  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  322|     10|      info,                                              \
  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  ------------------
 3052|     10|                compiler, "array indexes must be of integer type");
 3053|     10|            result = ERROR_WRONG_TYPE;
  ------------------
  |  |   69|     10|#define ERROR_WRONG_TYPE                     24
  ------------------
 3054|     10|          }
 3055|       |
 3056|     21|          fail_if_error(result);
  ------------------
  |  |  135|     21|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|     42|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|     31|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 10, False: 11]
  |  |  |  Branch (135:31): [True: 10, False: 0]
  |  |  ------------------
  |  |  136|     21|    { \
  |  |  137|     10|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     10|    { \
  |  |  |  |  121|     10|      compiler->last_error = e; \
  |  |  |  |  122|     10|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     10|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     10|      switch (e) \
  |  |  |  |  124|     10|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     10|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 10, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     10|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     10|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     10|      } \
  |  |  |  |  130|     10|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3057|       |
 3058|     11|          result = yr_parser_emit(
 3059|     11|              yyscanner, OP_INDEX_ARRAY, NULL);
  ------------------
  |  |   67|     11|#define OP_INDEX_ARRAY                19
  ------------------
 3060|       |
 3061|     11|          array = object_as_array((yyvsp[-3].expression).value.object);
  ------------------
  |  |  911|     11|#define object_as_array(obj)      ((YR_OBJECT_ARRAY*) (obj))
  ------------------
 3062|       |
 3063|     11|          (yyval.expression).type = EXPRESSION_TYPE_OBJECT;
  ------------------
  |  |   50|     11|#define EXPRESSION_TYPE_OBJECT     16
  ------------------
 3064|     11|          (yyval.expression).value.object = array->prototype_item;
 3065|     11|          (yyval.expression).identifier.ptr = array->identifier;
 3066|     11|          (yyval.expression).identifier.ref = YR_ARENA_NULL_REF;
  ------------------
  |  |   43|     11|  (YR_ARENA_REF)           \
  |  |   44|     11|  {                        \
  |  |   45|     11|    UINT32_MAX, UINT32_MAX \
  |  |   46|     11|  }
  ------------------
 3067|     11|        }
 3068|     74|        else if ((yyvsp[-3].expression).type == EXPRESSION_TYPE_OBJECT &&
  ------------------
  |  |   50|    148|#define EXPRESSION_TYPE_OBJECT     16
  ------------------
  |  Branch (3068:18): [True: 43, False: 31]
  ------------------
 3069|     43|                 (yyvsp[-3].expression).value.object->type == OBJECT_TYPE_DICTIONARY)
  ------------------
  |  |   63|     43|#define OBJECT_TYPE_DICTIONARY 6
  ------------------
  |  Branch (3069:18): [True: 30, False: 13]
  ------------------
 3070|     30|        {
 3071|     30|          if ((yyvsp[-1].expression).type != EXPRESSION_TYPE_STRING)
  ------------------
  |  |   48|     30|#define EXPRESSION_TYPE_STRING     4
  ------------------
  |  Branch (3071:15): [True: 10, False: 20]
  ------------------
 3072|     10|          {
 3073|     10|            yr_compiler_set_error_extra_info(
  ------------------
  |  |  320|     10|  strlcpy(                                               \
  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  322|     10|      info,                                              \
  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  ------------------
 3074|     10|                compiler, "dictionary keys must be of string type");
 3075|     10|            result = ERROR_WRONG_TYPE;
  ------------------
  |  |   69|     10|#define ERROR_WRONG_TYPE                     24
  ------------------
 3076|     10|          }
 3077|       |
 3078|     30|          fail_if_error(result);
  ------------------
  |  |  135|     30|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|     60|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|     40|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 10, False: 20]
  |  |  |  Branch (135:31): [True: 10, False: 0]
  |  |  ------------------
  |  |  136|     30|    { \
  |  |  137|     10|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     10|    { \
  |  |  |  |  121|     10|      compiler->last_error = e; \
  |  |  |  |  122|     10|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     10|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     10|      switch (e) \
  |  |  |  |  124|     10|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     10|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 10, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     10|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     10|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     10|      } \
  |  |  |  |  130|     10|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3079|       |
 3080|     20|          result = yr_parser_emit(
 3081|     20|              yyscanner, OP_LOOKUP_DICT, NULL);
  ------------------
  |  |   90|     20|#define OP_LOOKUP_DICT                42
  ------------------
 3082|       |
 3083|     20|          dict = object_as_dictionary((yyvsp[-3].expression).value.object);
  ------------------
  |  |  912|     20|#define object_as_dictionary(obj) ((YR_OBJECT_DICTIONARY*) (obj))
  ------------------
 3084|       |
 3085|     20|          (yyval.expression).type = EXPRESSION_TYPE_OBJECT;
  ------------------
  |  |   50|     20|#define EXPRESSION_TYPE_OBJECT     16
  ------------------
 3086|     20|          (yyval.expression).value.object = dict->prototype_item;
 3087|     20|          (yyval.expression).identifier.ptr = dict->identifier;
 3088|     20|          (yyval.expression).identifier.ref = YR_ARENA_NULL_REF;
  ------------------
  |  |   43|     20|  (YR_ARENA_REF)           \
  |  |   44|     20|  {                        \
  |  |   45|     20|    UINT32_MAX, UINT32_MAX \
  |  |   46|     20|  }
  ------------------
 3089|     20|        }
 3090|     44|        else
 3091|     44|        {
 3092|     44|          yr_compiler_set_error_extra_info(
  ------------------
  |  |  320|     44|  strlcpy(                                               \
  |  |  321|     44|      compiler->last_error_extra_info,                   \
  |  |  322|     88|      info,                                              \
  |  |  ------------------
  |  |  |  Branch (322:7): [True: 21, False: 23]
  |  |  ------------------
  |  |  323|     44|      sizeof(compiler->last_error_extra_info));
  ------------------
 3093|     44|              compiler, expression_identifier((yyvsp[-3].expression)));
 3094|       |
 3095|     44|          result = ERROR_NOT_INDEXABLE;
  ------------------
  |  |   83|     44|#define ERROR_NOT_INDEXABLE                  36
  ------------------
 3096|     44|        }
 3097|       |
 3098|     75|        fail_if_error(result);
  ------------------
  |  |  135|     75|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    150|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    119|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 44, False: 31]
  |  |  |  Branch (135:31): [True: 44, False: 0]
  |  |  ------------------
  |  |  136|     75|    { \
  |  |  137|     44|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     44|    { \
  |  |  |  |  121|     44|      compiler->last_error = e; \
  |  |  |  |  122|     44|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     44|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     44|      switch (e) \
  |  |  |  |  124|     44|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 44]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     44|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 44, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     44|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     44|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     44|      } \
  |  |  |  |  130|     44|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3099|     31|      }
 3100|      0|#line 3101 "libyara/grammar.c"
 3101|      0|    break;
 3102|       |
 3103|    553|  case 69: /* identifier: identifier '(' arguments ')'  */
  ------------------
  |  Branch (3103:3): [True: 553, False: 1.03M]
  ------------------
 3104|    553|#line 1135 "libyara/grammar.y"
 3105|    553|      {
 3106|    553|        YR_ARENA_REF ref = YR_ARENA_NULL_REF;
  ------------------
  |  |   43|    553|  (YR_ARENA_REF)           \
  |  |   44|    553|  {                        \
  |  |   45|    553|    UINT32_MAX, UINT32_MAX \
  |  |   46|    553|  }
  ------------------
 3107|    553|        int result = ERROR_SUCCESS;
  ------------------
  |  |   40|    553|#define ERROR_SUCCESS 0
  ------------------
 3108|       |
 3109|    553|        if ((yyvsp[-3].expression).type == EXPRESSION_TYPE_OBJECT &&
  ------------------
  |  |   50|  1.10k|#define EXPRESSION_TYPE_OBJECT     16
  ------------------
  |  Branch (3109:13): [True: 529, False: 24]
  ------------------
 3110|    529|            (yyvsp[-3].expression).value.object->type == OBJECT_TYPE_FUNCTION)
  ------------------
  |  |   62|    529|#define OBJECT_TYPE_FUNCTION   5
  ------------------
  |  Branch (3110:13): [True: 509, False: 20]
  ------------------
 3111|    509|        {
 3112|    509|          YR_OBJECT_FUNCTION* function = object_as_function((yyvsp[-3].expression).value.object);
  ------------------
  |  |  913|    509|#define object_as_function(obj)   ((YR_OBJECT_FUNCTION*) (obj))
  ------------------
 3113|       |
 3114|    509|          result = yr_parser_check_types(compiler, function, (yyvsp[-1].c_string));
 3115|       |
 3116|    509|          if (result == ERROR_SUCCESS)
  ------------------
  |  |   40|    509|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (3116:15): [True: 496, False: 13]
  ------------------
 3117|    496|            result = _yr_compiler_store_string(
 3118|    496|                compiler, (yyvsp[-1].c_string), &ref);
 3119|       |
 3120|    509|          if (result == ERROR_SUCCESS)
  ------------------
  |  |   40|    509|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (3120:15): [True: 496, False: 13]
  ------------------
 3121|    496|            result = yr_parser_emit_with_arg_reloc(
 3122|    496|                yyscanner,
 3123|    496|                OP_CALL,
  ------------------
  |  |   63|    496|#define OP_CALL                       15
  ------------------
 3124|    496|                yr_arena_ref_to_ptr(compiler->arena, &ref),
 3125|    496|                NULL,
 3126|    496|                NULL);
 3127|       |
 3128|    509|          (yyval.expression).type = EXPRESSION_TYPE_OBJECT;
  ------------------
  |  |   50|    509|#define EXPRESSION_TYPE_OBJECT     16
  ------------------
 3129|    509|          (yyval.expression).value.object = function->return_obj;
 3130|    509|          (yyval.expression).identifier.ref = ref;
 3131|    509|          (yyval.expression).identifier.ptr = NULL;
 3132|    509|        }
 3133|     44|        else
 3134|     44|        {
 3135|     44|          yr_compiler_set_error_extra_info(
  ------------------
  |  |  320|     44|  strlcpy(                                               \
  |  |  321|     44|      compiler->last_error_extra_info,                   \
  |  |  322|     88|      info,                                              \
  |  |  ------------------
  |  |  |  Branch (322:7): [True: 18, False: 26]
  |  |  ------------------
  |  |  323|     44|      sizeof(compiler->last_error_extra_info));
  ------------------
 3136|     44|              compiler, expression_identifier((yyvsp[-3].expression)));
 3137|       |
 3138|     44|          result = ERROR_NOT_A_FUNCTION;
  ------------------
  |  |   84|     44|#define ERROR_NOT_A_FUNCTION                 37
  ------------------
 3139|     44|        }
 3140|       |
 3141|    553|        yr_free((yyvsp[-1].c_string));
 3142|       |
 3143|    553|        fail_if_error(result);
  ------------------
  |  |  135|    553|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  1.10k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    610|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 57, False: 496]
  |  |  |  Branch (135:31): [True: 57, False: 0]
  |  |  ------------------
  |  |  136|    553|    { \
  |  |  137|     57|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     57|    { \
  |  |  |  |  121|     57|      compiler->last_error = e; \
  |  |  |  |  122|     57|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     57|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     57|      switch (e) \
  |  |  |  |  124|     57|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 57]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     57|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 57, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     57|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     57|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     57|      } \
  |  |  |  |  130|     57|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3144|    496|      }
 3145|      0|#line 3146 "libyara/grammar.c"
 3146|      0|    break;
 3147|       |
 3148|    382|  case 70: /* arguments: %empty  */
  ------------------
  |  Branch (3148:3): [True: 382, False: 1.03M]
  ------------------
 3149|    382|#line 1179 "libyara/grammar.y"
 3150|    382|                      { (yyval.c_string) = yr_strdup(""); }
 3151|    382|#line 3152 "libyara/grammar.c"
 3152|    382|    break;
 3153|       |
 3154|    487|  case 71: /* arguments: arguments_list  */
  ------------------
  |  Branch (3154:3): [True: 487, False: 1.03M]
  ------------------
 3155|    487|#line 1180 "libyara/grammar.y"
 3156|    487|                      { (yyval.c_string) = (yyvsp[0].c_string); }
 3157|    487|#line 3158 "libyara/grammar.c"
 3158|    487|    break;
 3159|       |
 3160|  2.14k|  case 72: /* arguments_list: expression  */
  ------------------
  |  Branch (3160:3): [True: 2.14k, False: 1.03M]
  ------------------
 3161|  2.14k|#line 1185 "libyara/grammar.y"
 3162|  2.14k|      {
 3163|  2.14k|        (yyval.c_string) = (char*) yr_malloc(YR_MAX_FUNCTION_ARGS + 1);
  ------------------
  |  |  130|  2.14k|#define YR_MAX_FUNCTION_ARGS 128
  ------------------
 3164|       |
 3165|  2.14k|        if ((yyval.c_string) == NULL)
  ------------------
  |  Branch (3165:13): [True: 0, False: 2.14k]
  ------------------
 3166|  2.14k|          fail_with_error(ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |  120|      0|    { \
  |  |  121|      0|      compiler->last_error = e; \
  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  ------------------
  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  123|      0|      switch (e) \
  |  |  124|      0|      { \
  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  ------------------
  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  ------------------
  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  126|      0|        YYABORT; \
  |  |  ------------------
  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  127|      0|      default: \
  |  |  ------------------
  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  128|      0|        YYERROR; \
  |  |  ------------------
  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  ------------------
  |  |  129|      0|      } \
  |  |  130|      0|    }
  ------------------
 3167|       |
 3168|  2.14k|        switch((yyvsp[0].expression).type)
 3169|  2.14k|        {
 3170|    307|          case EXPRESSION_TYPE_INTEGER:
  ------------------
  |  |   47|    307|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
  |  Branch (3170:11): [True: 307, False: 1.83k]
  ------------------
 3171|    307|            strlcpy((yyval.c_string), "i", YR_MAX_FUNCTION_ARGS);
  ------------------
  |  |  130|    307|#define YR_MAX_FUNCTION_ARGS 128
  ------------------
 3172|    307|            break;
 3173|    263|          case EXPRESSION_TYPE_FLOAT:
  ------------------
  |  |   51|    263|#define EXPRESSION_TYPE_FLOAT      32
  ------------------
  |  Branch (3173:11): [True: 263, False: 1.87k]
  ------------------
 3174|    263|            strlcpy((yyval.c_string), "f", YR_MAX_FUNCTION_ARGS);
  ------------------
  |  |  130|    263|#define YR_MAX_FUNCTION_ARGS 128
  ------------------
 3175|    263|            break;
 3176|  1.05k|          case EXPRESSION_TYPE_BOOLEAN:
  ------------------
  |  |   46|  1.05k|#define EXPRESSION_TYPE_BOOLEAN    1
  ------------------
  |  Branch (3176:11): [True: 1.05k, False: 1.08k]
  ------------------
 3177|  1.05k|            strlcpy((yyval.c_string), "b", YR_MAX_FUNCTION_ARGS);
  ------------------
  |  |  130|  1.05k|#define YR_MAX_FUNCTION_ARGS 128
  ------------------
 3178|  1.05k|            break;
 3179|    423|          case EXPRESSION_TYPE_STRING:
  ------------------
  |  |   48|    423|#define EXPRESSION_TYPE_STRING     4
  ------------------
  |  Branch (3179:11): [True: 423, False: 1.71k]
  ------------------
 3180|    423|            strlcpy((yyval.c_string), "s", YR_MAX_FUNCTION_ARGS);
  ------------------
  |  |  130|    423|#define YR_MAX_FUNCTION_ARGS 128
  ------------------
 3181|    423|            break;
 3182|     69|          case EXPRESSION_TYPE_REGEXP:
  ------------------
  |  |   49|     69|#define EXPRESSION_TYPE_REGEXP     8
  ------------------
  |  Branch (3182:11): [True: 69, False: 2.07k]
  ------------------
 3183|     69|            strlcpy((yyval.c_string), "r", YR_MAX_FUNCTION_ARGS);
  ------------------
  |  |  130|     69|#define YR_MAX_FUNCTION_ARGS 128
  ------------------
 3184|     69|            break;
 3185|     20|          case EXPRESSION_TYPE_UNKNOWN:
  ------------------
  |  |   45|     20|#define EXPRESSION_TYPE_UNKNOWN    0
  ------------------
  |  Branch (3185:11): [True: 20, False: 2.12k]
  ------------------
 3186|     20|            yr_free((yyval.c_string));
 3187|     20|            yr_compiler_set_error_extra_info(
  ------------------
  |  |  320|     20|  strlcpy(                                               \
  |  |  321|     20|      compiler->last_error_extra_info,                   \
  |  |  322|     20|      info,                                              \
  |  |  323|     20|      sizeof(compiler->last_error_extra_info));
  ------------------
 3188|     20|                compiler, "unknown type for argument 1 in function call");
 3189|     20|            fail_with_error(ERROR_WRONG_TYPE);
  ------------------
  |  |  120|     20|    { \
  |  |  121|     20|      compiler->last_error = e; \
  |  |  122|     20|      yyerror(yyscanner, compiler, NULL); \
  |  |  ------------------
  |  |  |  |   48|     20|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  123|     20|      switch (e) \
  |  |  124|     20|      { \
  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  ------------------
  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  ------------------
  |  |  |  Branch (125:7): [True: 0, False: 20]
  |  |  ------------------
  |  |  126|      0|        YYABORT; \
  |  |  ------------------
  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  127|     20|      default: \
  |  |  ------------------
  |  |  |  Branch (127:7): [True: 20, False: 0]
  |  |  ------------------
  |  |  128|     20|        YYERROR; \
  |  |  ------------------
  |  |  |  | 1314|     20|#define YYERROR         goto yyerrorlab
  |  |  ------------------
  |  |  129|     20|      } \
  |  |  130|     20|    }
  ------------------
 3190|      0|            break;
 3191|      0|          default:
  ------------------
  |  Branch (3191:11): [True: 0, False: 2.14k]
  ------------------
 3192|       |            // An unknown expression type is OK iff an error ocurred.
 3193|      0|            assert(compiler->last_error != ERROR_SUCCESS);
  ------------------
  |  Branch (3193:13): [True: 0, False: 0]
  |  Branch (3193:13): [True: 0, False: 0]
  ------------------
 3194|  2.14k|        }
 3195|  2.14k|      }
 3196|  2.12k|#line 3197 "libyara/grammar.c"
 3197|  2.12k|    break;
 3198|       |
 3199|  12.3k|  case 73: /* arguments_list: arguments_list ',' expression  */
  ------------------
  |  Branch (3199:3): [True: 12.3k, False: 1.02M]
  ------------------
 3200|  12.3k|#line 1220 "libyara/grammar.y"
 3201|  12.3k|      {
 3202|  12.3k|        int result = ERROR_SUCCESS;
  ------------------
  |  |   40|  12.3k|#define ERROR_SUCCESS 0
  ------------------
 3203|       |
 3204|  12.3k|        if (strlen((yyvsp[-2].c_string)) == YR_MAX_FUNCTION_ARGS)
  ------------------
  |  |  130|  12.3k|#define YR_MAX_FUNCTION_ARGS 128
  ------------------
  |  Branch (3204:13): [True: 0, False: 12.3k]
  ------------------
 3205|      0|        {
 3206|      0|          result = ERROR_TOO_MANY_ARGUMENTS;
  ------------------
  |  |   86|      0|#define ERROR_TOO_MANY_ARGUMENTS             39
  ------------------
 3207|      0|        }
 3208|  12.3k|        else
 3209|  12.3k|        {
 3210|  12.3k|          switch((yyvsp[0].expression).type)
 3211|  12.3k|          {
 3212|  1.78k|            case EXPRESSION_TYPE_INTEGER:
  ------------------
  |  |   47|  1.78k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
  |  Branch (3212:13): [True: 1.78k, False: 10.5k]
  ------------------
 3213|  1.78k|              strlcat((yyvsp[-2].c_string), "i", YR_MAX_FUNCTION_ARGS);
  ------------------
  |  |  130|  1.78k|#define YR_MAX_FUNCTION_ARGS 128
  ------------------
 3214|  1.78k|              break;
 3215|    641|            case EXPRESSION_TYPE_FLOAT:
  ------------------
  |  |   51|    641|#define EXPRESSION_TYPE_FLOAT      32
  ------------------
  |  Branch (3215:13): [True: 641, False: 11.7k]
  ------------------
 3216|    641|              strlcat((yyvsp[-2].c_string), "f", YR_MAX_FUNCTION_ARGS);
  ------------------
  |  |  130|    641|#define YR_MAX_FUNCTION_ARGS 128
  ------------------
 3217|    641|              break;
 3218|  7.44k|            case EXPRESSION_TYPE_BOOLEAN:
  ------------------
  |  |   46|  7.44k|#define EXPRESSION_TYPE_BOOLEAN    1
  ------------------
  |  Branch (3218:13): [True: 7.44k, False: 4.93k]
  ------------------
 3219|  7.44k|              strlcat((yyvsp[-2].c_string), "b", YR_MAX_FUNCTION_ARGS);
  ------------------
  |  |  130|  7.44k|#define YR_MAX_FUNCTION_ARGS 128
  ------------------
 3220|  7.44k|              break;
 3221|  1.90k|            case EXPRESSION_TYPE_STRING:
  ------------------
  |  |   48|  1.90k|#define EXPRESSION_TYPE_STRING     4
  ------------------
  |  Branch (3221:13): [True: 1.90k, False: 10.4k]
  ------------------
 3222|  1.90k|              strlcat((yyvsp[-2].c_string), "s", YR_MAX_FUNCTION_ARGS);
  ------------------
  |  |  130|  1.90k|#define YR_MAX_FUNCTION_ARGS 128
  ------------------
 3223|  1.90k|              break;
 3224|    592|            case EXPRESSION_TYPE_REGEXP:
  ------------------
  |  |   49|    592|#define EXPRESSION_TYPE_REGEXP     8
  ------------------
  |  Branch (3224:13): [True: 592, False: 11.7k]
  ------------------
 3225|    592|              strlcat((yyvsp[-2].c_string), "r", YR_MAX_FUNCTION_ARGS);
  ------------------
  |  |  130|    592|#define YR_MAX_FUNCTION_ARGS 128
  ------------------
 3226|    592|              break;
 3227|     11|            case EXPRESSION_TYPE_UNKNOWN:
  ------------------
  |  |   45|     11|#define EXPRESSION_TYPE_UNKNOWN    0
  ------------------
  |  Branch (3227:13): [True: 11, False: 12.3k]
  ------------------
 3228|     11|              result = ERROR_WRONG_TYPE;
  ------------------
  |  |   69|     11|#define ERROR_WRONG_TYPE                     24
  ------------------
 3229|     11|              yr_compiler_set_error_extra_info_fmt(
  ------------------
  |  |  326|     11|  snprintf(                                                      \
  |  |  327|     11|      compiler->last_error_extra_info,                           \
  |  |  328|     11|      sizeof(compiler->last_error_extra_info),                   \
  |  |  329|     11|      fmt,                                                       \
  |  |  330|     11|      __VA_ARGS__);
  ------------------
 3230|     11|                  compiler, "unknown type for argument %zu in function call",
 3231|       |                  // As we add one character per argument, the length of $1 is
 3232|       |                  // the number of arguments parsed so far, and the argument
 3233|       |                  // represented by <expression> is length of $1 plus one.
 3234|     11|                  strlen((yyvsp[-2].c_string)) + 1);
 3235|     11|              break;
 3236|      0|            default:
  ------------------
  |  Branch (3236:13): [True: 0, False: 12.3k]
  ------------------
 3237|       |              // An unknown expression type is OK iff an error ocurred.
 3238|      0|              assert(compiler->last_error != ERROR_SUCCESS);
  ------------------
  |  Branch (3238:15): [True: 0, False: 0]
  |  Branch (3238:15): [True: 0, False: 0]
  ------------------
 3239|  12.3k|          }
 3240|  12.3k|        }
 3241|       |
 3242|  12.3k|        if (result != ERROR_SUCCESS)
  ------------------
  |  |   40|  12.3k|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (3242:13): [True: 11, False: 12.3k]
  ------------------
 3243|     11|          yr_free((yyvsp[-2].c_string));
 3244|       |
 3245|  12.3k|        fail_if_error(result);
  ------------------
  |  |  135|  12.3k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  24.7k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  12.3k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 11, False: 12.3k]
  |  |  |  Branch (135:31): [True: 11, False: 0]
  |  |  ------------------
  |  |  136|  12.3k|    { \
  |  |  137|     11|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     11|    { \
  |  |  |  |  121|     11|      compiler->last_error = e; \
  |  |  |  |  122|     11|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     11|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     11|      switch (e) \
  |  |  |  |  124|     11|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 11]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     11|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 11, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     11|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     11|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     11|      } \
  |  |  |  |  130|     11|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3246|       |
 3247|  12.3k|        (yyval.c_string) = (yyvsp[-2].c_string);
 3248|  12.3k|      }
 3249|      0|#line 3250 "libyara/grammar.c"
 3250|      0|    break;
 3251|       |
 3252|  2.28k|  case 74: /* regexp: "regular expression"  */
  ------------------
  |  Branch (3252:3): [True: 2.28k, False: 1.03M]
  ------------------
 3253|  2.28k|#line 1273 "libyara/grammar.y"
 3254|  2.28k|      {
 3255|  2.28k|        YR_ARENA_REF re_ref;
 3256|  2.28k|        RE_ERROR error;
 3257|       |
 3258|  2.28k|        int result = ERROR_SUCCESS;
  ------------------
  |  |   40|  2.28k|#define ERROR_SUCCESS 0
  ------------------
 3259|  2.28k|        int re_flags = 0;
 3260|  2.28k|        int parser_flags = RE_PARSER_FLAG_NONE;
 3261|       |
 3262|  2.28k|        if ((yyvsp[0].sized_string)->flags & SIZED_STRING_FLAGS_NO_CASE)
  ------------------
  |  |   39|  2.28k|#define SIZED_STRING_FLAGS_NO_CASE 1
  ------------------
  |  Branch (3262:13): [True: 35, False: 2.24k]
  ------------------
 3263|     35|          re_flags |= RE_FLAGS_NO_CASE;
  ------------------
  |  |   98|     35|#define RE_FLAGS_NO_CASE     0x20
  ------------------
 3264|       |
 3265|  2.28k|        if ((yyvsp[0].sized_string)->flags & SIZED_STRING_FLAGS_DOT_ALL)
  ------------------
  |  |   43|  2.28k|#define SIZED_STRING_FLAGS_DOT_ALL 2
  ------------------
  |  Branch (3265:13): [True: 386, False: 1.89k]
  ------------------
 3266|    386|          re_flags |= RE_FLAGS_DOT_ALL;
  ------------------
  |  |  100|    386|#define RE_FLAGS_DOT_ALL     0x80
  ------------------
 3267|       |
 3268|  2.28k|        if (compiler->strict_escape)
  ------------------
  |  Branch (3268:13): [True: 0, False: 2.28k]
  ------------------
 3269|      0|          parser_flags |= RE_PARSER_FLAG_ENABLE_STRICT_ESCAPE_SEQUENCES;
 3270|       |
 3271|  2.28k|        result = yr_re_compile(
 3272|  2.28k|            (yyvsp[0].sized_string)->c_string,
 3273|  2.28k|            re_flags,
 3274|  2.28k|            parser_flags,
 3275|  2.28k|            compiler->arena,
 3276|  2.28k|            &re_ref,
 3277|  2.28k|            &error);
 3278|       |
 3279|  2.28k|        yr_free((yyvsp[0].sized_string));
 3280|       |
 3281|  2.28k|        if (result == ERROR_INVALID_REGULAR_EXPRESSION)
  ------------------
  |  |   54|  2.28k|#define ERROR_INVALID_REGULAR_EXPRESSION     9
  ------------------
  |  Branch (3281:13): [True: 525, False: 1.75k]
  ------------------
 3282|    525|          yr_compiler_set_error_extra_info(compiler, error.message);
  ------------------
  |  |  320|    525|  strlcpy(                                               \
  |  |  321|    525|      compiler->last_error_extra_info,                   \
  |  |  322|    525|      info,                                              \
  |  |  323|    525|      sizeof(compiler->last_error_extra_info));
  ------------------
 3283|       |
 3284|  2.28k|        if (result == ERROR_SUCCESS || result == ERROR_UNKNOWN_ESCAPE_SEQUENCE)
  ------------------
  |  |   40|  4.56k|#define ERROR_SUCCESS 0
  ------------------
                      if (result == ERROR_SUCCESS || result == ERROR_UNKNOWN_ESCAPE_SEQUENCE)
  ------------------
  |  |  113|    586|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  ------------------
  |  Branch (3284:13): [True: 1.69k, False: 586]
  |  Branch (3284:40): [True: 0, False: 586]
  ------------------
 3285|  1.69k|        {
 3286|  1.69k|          if (result == ERROR_UNKNOWN_ESCAPE_SEQUENCE)
  ------------------
  |  |  113|  1.69k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  ------------------
  |  Branch (3286:15): [True: 0, False: 1.69k]
  ------------------
 3287|      0|          {
 3288|      0|              yywarning(
  ------------------
  |  |   50|      0|#define yywarning    yara_yywarning
  ------------------
 3289|      0|                yyscanner,
 3290|      0|                "unknown escape sequence");
 3291|      0|          }
 3292|  1.69k|          result = yr_parser_emit_with_arg_reloc(
 3293|  1.69k|              yyscanner,
 3294|  1.69k|              OP_PUSH,
  ------------------
  |  |   61|  1.69k|#define OP_PUSH                       13
  ------------------
 3295|  1.69k|              yr_arena_ref_to_ptr(compiler->arena, &re_ref),
 3296|  1.69k|              NULL,
 3297|  1.69k|              NULL);
 3298|  1.69k|        }
 3299|       |
 3300|  2.28k|        fail_if_error(result);
  ------------------
  |  |  135|  2.28k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  4.56k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  2.86k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 586, False: 1.69k]
  |  |  |  Branch (135:31): [True: 586, False: 0]
  |  |  ------------------
  |  |  136|  2.28k|    { \
  |  |  137|    586|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|    586|    { \
  |  |  |  |  121|    586|      compiler->last_error = e; \
  |  |  |  |  122|    586|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|    586|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|    586|      switch (e) \
  |  |  |  |  124|    586|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 586]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|    586|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 586, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|    586|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|    586|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|    586|      } \
  |  |  |  |  130|    586|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3301|       |
 3302|  1.69k|        (yyval.expression).type = EXPRESSION_TYPE_REGEXP;
  ------------------
  |  |   49|  1.69k|#define EXPRESSION_TYPE_REGEXP     8
  ------------------
 3303|  1.69k|      }
 3304|      0|#line 3305 "libyara/grammar.c"
 3305|      0|    break;
 3306|       |
 3307|  31.4k|  case 75: /* boolean_expression: expression  */
  ------------------
  |  Branch (3307:3): [True: 31.4k, False: 1.00M]
  ------------------
 3308|  31.4k|#line 1328 "libyara/grammar.y"
 3309|  31.4k|      {
 3310|  31.4k|        if ((yyvsp[0].expression).type == EXPRESSION_TYPE_STRING)
  ------------------
  |  |   48|  31.4k|#define EXPRESSION_TYPE_STRING     4
  ------------------
  |  Branch (3310:13): [True: 464, False: 30.9k]
  ------------------
 3311|    464|        {
 3312|    464|          if (!YR_ARENA_IS_NULL_REF((yyvsp[0].expression).value.sized_string_ref))
  ------------------
  |  |   49|    464|  (memcmp(&(ref), &YR_ARENA_NULL_REF, sizeof(YR_ARENA_NULL_REF)) == 0)
  |  |  ------------------
  |  |  |  |   43|    464|  (YR_ARENA_REF)           \
  |  |  |  |   44|    464|  {                        \
  |  |  |  |   45|    464|    UINT32_MAX, UINT32_MAX \
  |  |  |  |   46|    464|  }
  |  |  ------------------
  |  |                 (memcmp(&(ref), &YR_ARENA_NULL_REF, sizeof(YR_ARENA_NULL_REF)) == 0)
  |  |  ------------------
  |  |  |  |   43|    464|  (YR_ARENA_REF)           \
  |  |  |  |   44|    464|  {                        \
  |  |  |  |   45|    464|    UINT32_MAX, UINT32_MAX \
  |  |  |  |   46|    464|  }
  |  |  ------------------
  ------------------
  |  Branch (3312:15): [True: 379, False: 85]
  ------------------
 3313|    379|          {
 3314|    379|            SIZED_STRING* sized_string = yr_arena_ref_to_ptr(
 3315|    379|                compiler->arena, &(yyvsp[0].expression).value.sized_string_ref);
 3316|       |
 3317|    379|            yywarning(yyscanner,
  ------------------
  |  |   50|    379|#define yywarning    yara_yywarning
  ------------------
 3318|    379|                "using literal string \"%s\" in a boolean operation.",
 3319|    379|                sized_string->c_string);
 3320|    379|          }
 3321|       |
 3322|    464|          fail_if_error(yr_parser_emit(
  ------------------
  |  |  135|    464|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    928|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    464|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 464]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|    464|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3323|    464|              yyscanner, OP_STR_TO_BOOL, NULL));
 3324|    464|        }
 3325|  31.4k|        if ((yyvsp[0].expression).type != EXPRESSION_TYPE_BOOLEAN)
  ------------------
  |  |   46|  31.4k|#define EXPRESSION_TYPE_BOOLEAN    1
  ------------------
  |  Branch (3325:13): [True: 4.97k, False: 26.4k]
  ------------------
 3326|  4.97k|        {
 3327|  4.97k|          (yyval.expression).required_strings.count = 0;
 3328|  4.97k|        }
 3329|  26.4k|        else
 3330|  26.4k|        {
 3331|  26.4k|          (yyval.expression).required_strings.count = (yyvsp[0].expression).required_strings.count;
 3332|  26.4k|        }
 3333|       |
 3334|  31.4k|        (yyval.expression).type = EXPRESSION_TYPE_BOOLEAN;
  ------------------
  |  |   46|  31.4k|#define EXPRESSION_TYPE_BOOLEAN    1
  ------------------
 3335|  31.4k|      }
 3336|      0|#line 3337 "libyara/grammar.c"
 3337|      0|    break;
 3338|       |
 3339|     52|  case 76: /* expression: "<true>"  */
  ------------------
  |  Branch (3339:3): [True: 52, False: 1.03M]
  ------------------
 3340|     52|#line 1359 "libyara/grammar.y"
 3341|     52|      {
 3342|     52|        fail_if_error(yr_parser_emit_push_const(yyscanner, 1));
  ------------------
  |  |  135|     52|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    104|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|     52|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 52]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|     52|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3343|       |
 3344|     52|        (yyval.expression).type = EXPRESSION_TYPE_BOOLEAN;
  ------------------
  |  |   46|     52|#define EXPRESSION_TYPE_BOOLEAN    1
  ------------------
 3345|     52|        (yyval.expression).required_strings.count = 0;
 3346|     52|      }
 3347|      0|#line 3348 "libyara/grammar.c"
 3348|      0|    break;
 3349|       |
 3350|    275|  case 77: /* expression: "<false>"  */
  ------------------
  |  Branch (3350:3): [True: 275, False: 1.03M]
  ------------------
 3351|    275|#line 1366 "libyara/grammar.y"
 3352|    275|      {
 3353|    275|        fail_if_error(yr_parser_emit_push_const(yyscanner, 0));
  ------------------
  |  |  135|    275|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    550|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    275|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 275]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|    275|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3354|       |
 3355|    275|        (yyval.expression).type = EXPRESSION_TYPE_BOOLEAN;
  ------------------
  |  |   46|    275|#define EXPRESSION_TYPE_BOOLEAN    1
  ------------------
 3356|    275|        (yyval.expression).required_strings.count = 0;
 3357|    275|      }
 3358|      0|#line 3359 "libyara/grammar.c"
 3359|      0|    break;
 3360|       |
 3361|     67|  case 78: /* expression: primary_expression "<matches>" regexp  */
  ------------------
  |  Branch (3361:3): [True: 67, False: 1.03M]
  ------------------
 3362|     67|#line 1373 "libyara/grammar.y"
 3363|     67|      {
 3364|     67|        check_type((yyvsp[-2].expression), EXPRESSION_TYPE_STRING, "matches");
  ------------------
  |  |  175|     67|    check_type_with_cleanup(expression, expected_type, op, )
  |  |  ------------------
  |  |  |  |  145|     67|    if (((expression.type) & (expected_type)) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (145:9): [True: 50, False: 17]
  |  |  |  |  ------------------
  |  |  |  |  146|     67|    { \
  |  |  |  |  147|     50|      switch(expression.type) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (147:14): [True: 32, False: 18]
  |  |  |  |  ------------------
  |  |  |  |  148|     50|      { \
  |  |  |  |  149|     11|        case EXPRESSION_TYPE_INTEGER: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|     11|#define EXPRESSION_TYPE_INTEGER    2
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (149:9): [True: 11, False: 39]
  |  |  |  |  ------------------
  |  |  |  |  150|     11|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     11|  strlcpy(                                               \
  |  |  |  |  |  |  321|     11|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     11|      info,                                              \
  |  |  |  |  |  |  323|     11|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  151|     11|              compiler, "wrong type \"integer\" for " op " operator"); \
  |  |  |  |  152|     11|          break; \
  |  |  |  |  153|     11|        case EXPRESSION_TYPE_FLOAT: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   51|     11|#define EXPRESSION_TYPE_FLOAT      32
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:9): [True: 11, False: 39]
  |  |  |  |  ------------------
  |  |  |  |  154|     11|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     11|  strlcpy(                                               \
  |  |  |  |  |  |  321|     11|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     11|      info,                                              \
  |  |  |  |  |  |  323|     11|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  155|     11|              compiler, "wrong type \"float\" for " op " operator"); \
  |  |  |  |  156|     11|          break; \
  |  |  |  |  157|      0|        case EXPRESSION_TYPE_STRING: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define EXPRESSION_TYPE_STRING     4
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (157:9): [True: 0, False: 50]
  |  |  |  |  ------------------
  |  |  |  |  158|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  159|      0|              compiler, "wrong type \"string\" for " op " operator"); \
  |  |  |  |  160|      0|          break; \
  |  |  |  |  161|     10|        case EXPRESSION_TYPE_BOOLEAN: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|     10|#define EXPRESSION_TYPE_BOOLEAN    1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (161:9): [True: 10, False: 40]
  |  |  |  |  ------------------
  |  |  |  |  162|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  163|     10|              compiler, "wrong type \"boolean\" for " op " operator"); \
  |  |  |  |  164|     10|          break; \
  |  |  |  |  165|     50|      } \
  |  |  |  |  166|     50|      cleanup; \
  |  |  |  |  167|     50|      compiler->last_error = ERROR_WRONG_TYPE; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|     50|#define ERROR_WRONG_TYPE                     24
  |  |  |  |  ------------------
  |  |  |  |  168|     50|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     50|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  169|     50|      YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     50|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  170|     50|    }
  |  |  ------------------
  ------------------
 3365|     17|        check_type((yyvsp[0].expression), EXPRESSION_TYPE_REGEXP, "matches");
  ------------------
  |  |  175|     17|    check_type_with_cleanup(expression, expected_type, op, )
  |  |  ------------------
  |  |  |  |  145|     17|    if (((expression.type) & (expected_type)) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (145:9): [True: 0, False: 17]
  |  |  |  |  ------------------
  |  |  |  |  146|     17|    { \
  |  |  |  |  147|      0|      switch(expression.type) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (147:14): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  148|      0|      { \
  |  |  |  |  149|      0|        case EXPRESSION_TYPE_INTEGER: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define EXPRESSION_TYPE_INTEGER    2
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (149:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  150|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  151|      0|              compiler, "wrong type \"integer\" for " op " operator"); \
  |  |  |  |  152|      0|          break; \
  |  |  |  |  153|      0|        case EXPRESSION_TYPE_FLOAT: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   51|      0|#define EXPRESSION_TYPE_FLOAT      32
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  154|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  155|      0|              compiler, "wrong type \"float\" for " op " operator"); \
  |  |  |  |  156|      0|          break; \
  |  |  |  |  157|      0|        case EXPRESSION_TYPE_STRING: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define EXPRESSION_TYPE_STRING     4
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (157:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  158|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  159|      0|              compiler, "wrong type \"string\" for " op " operator"); \
  |  |  |  |  160|      0|          break; \
  |  |  |  |  161|      0|        case EXPRESSION_TYPE_BOOLEAN: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|      0|#define EXPRESSION_TYPE_BOOLEAN    1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (161:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  162|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  163|      0|              compiler, "wrong type \"boolean\" for " op " operator"); \
  |  |  |  |  164|      0|          break; \
  |  |  |  |  165|      0|      } \
  |  |  |  |  166|      0|      cleanup; \
  |  |  |  |  167|      0|      compiler->last_error = ERROR_WRONG_TYPE; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|      0|#define ERROR_WRONG_TYPE                     24
  |  |  |  |  ------------------
  |  |  |  |  168|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  169|      0|      YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  170|      0|    }
  |  |  ------------------
  ------------------
 3366|       |
 3367|     17|        fail_if_error(yr_parser_emit(
  ------------------
  |  |  135|     17|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|     34|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|     17|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 17]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|     17|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3368|     17|            yyscanner,
 3369|     17|            OP_MATCHES,
 3370|     17|            NULL));
 3371|       |
 3372|     17|        (yyval.expression).type = EXPRESSION_TYPE_BOOLEAN;
  ------------------
  |  |   46|     17|#define EXPRESSION_TYPE_BOOLEAN    1
  ------------------
 3373|     17|        (yyval.expression).required_strings.count = 0;
 3374|     17|      }
 3375|      0|#line 3376 "libyara/grammar.c"
 3376|      0|    break;
 3377|       |
 3378|    303|  case 79: /* expression: primary_expression "<contains>" primary_expression  */
  ------------------
  |  Branch (3378:3): [True: 303, False: 1.03M]
  ------------------
 3379|    303|#line 1386 "libyara/grammar.y"
 3380|    303|      {
 3381|    303|        check_type((yyvsp[-2].expression), EXPRESSION_TYPE_STRING, "contains");
  ------------------
  |  |  175|    303|    check_type_with_cleanup(expression, expected_type, op, )
  |  |  ------------------
  |  |  |  |  145|    303|    if (((expression.type) & (expected_type)) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (145:9): [True: 48, False: 255]
  |  |  |  |  ------------------
  |  |  |  |  146|    303|    { \
  |  |  |  |  147|     48|      switch(expression.type) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (147:14): [True: 38, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  148|     48|      { \
  |  |  |  |  149|     10|        case EXPRESSION_TYPE_INTEGER: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|     10|#define EXPRESSION_TYPE_INTEGER    2
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (149:9): [True: 10, False: 38]
  |  |  |  |  ------------------
  |  |  |  |  150|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  151|     10|              compiler, "wrong type \"integer\" for " op " operator"); \
  |  |  |  |  152|     10|          break; \
  |  |  |  |  153|     18|        case EXPRESSION_TYPE_FLOAT: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   51|     18|#define EXPRESSION_TYPE_FLOAT      32
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:9): [True: 18, False: 30]
  |  |  |  |  ------------------
  |  |  |  |  154|     18|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     18|  strlcpy(                                               \
  |  |  |  |  |  |  321|     18|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     18|      info,                                              \
  |  |  |  |  |  |  323|     18|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  155|     18|              compiler, "wrong type \"float\" for " op " operator"); \
  |  |  |  |  156|     18|          break; \
  |  |  |  |  157|      0|        case EXPRESSION_TYPE_STRING: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define EXPRESSION_TYPE_STRING     4
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (157:9): [True: 0, False: 48]
  |  |  |  |  ------------------
  |  |  |  |  158|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  159|      0|              compiler, "wrong type \"string\" for " op " operator"); \
  |  |  |  |  160|      0|          break; \
  |  |  |  |  161|     10|        case EXPRESSION_TYPE_BOOLEAN: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|     10|#define EXPRESSION_TYPE_BOOLEAN    1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (161:9): [True: 10, False: 38]
  |  |  |  |  ------------------
  |  |  |  |  162|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  163|     10|              compiler, "wrong type \"boolean\" for " op " operator"); \
  |  |  |  |  164|     10|          break; \
  |  |  |  |  165|     48|      } \
  |  |  |  |  166|     48|      cleanup; \
  |  |  |  |  167|     48|      compiler->last_error = ERROR_WRONG_TYPE; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|     48|#define ERROR_WRONG_TYPE                     24
  |  |  |  |  ------------------
  |  |  |  |  168|     48|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     48|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  169|     48|      YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     48|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  170|     48|    }
  |  |  ------------------
  ------------------
 3382|    255|        check_type((yyvsp[0].expression), EXPRESSION_TYPE_STRING, "contains");
  ------------------
  |  |  175|    255|    check_type_with_cleanup(expression, expected_type, op, )
  |  |  ------------------
  |  |  |  |  145|    255|    if (((expression.type) & (expected_type)) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (145:9): [True: 56, False: 199]
  |  |  |  |  ------------------
  |  |  |  |  146|    255|    { \
  |  |  |  |  147|     56|      switch(expression.type) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (147:14): [True: 38, False: 18]
  |  |  |  |  ------------------
  |  |  |  |  148|     56|      { \
  |  |  |  |  149|     10|        case EXPRESSION_TYPE_INTEGER: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|     10|#define EXPRESSION_TYPE_INTEGER    2
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (149:9): [True: 10, False: 46]
  |  |  |  |  ------------------
  |  |  |  |  150|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  151|     10|              compiler, "wrong type \"integer\" for " op " operator"); \
  |  |  |  |  152|     10|          break; \
  |  |  |  |  153|     10|        case EXPRESSION_TYPE_FLOAT: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   51|     10|#define EXPRESSION_TYPE_FLOAT      32
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:9): [True: 10, False: 46]
  |  |  |  |  ------------------
  |  |  |  |  154|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  155|     10|              compiler, "wrong type \"float\" for " op " operator"); \
  |  |  |  |  156|     10|          break; \
  |  |  |  |  157|      0|        case EXPRESSION_TYPE_STRING: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define EXPRESSION_TYPE_STRING     4
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (157:9): [True: 0, False: 56]
  |  |  |  |  ------------------
  |  |  |  |  158|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  159|      0|              compiler, "wrong type \"string\" for " op " operator"); \
  |  |  |  |  160|      0|          break; \
  |  |  |  |  161|     18|        case EXPRESSION_TYPE_BOOLEAN: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|     18|#define EXPRESSION_TYPE_BOOLEAN    1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (161:9): [True: 18, False: 38]
  |  |  |  |  ------------------
  |  |  |  |  162|     18|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     18|  strlcpy(                                               \
  |  |  |  |  |  |  321|     18|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     18|      info,                                              \
  |  |  |  |  |  |  323|     18|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  163|     18|              compiler, "wrong type \"boolean\" for " op " operator"); \
  |  |  |  |  164|     18|          break; \
  |  |  |  |  165|     56|      } \
  |  |  |  |  166|     56|      cleanup; \
  |  |  |  |  167|     56|      compiler->last_error = ERROR_WRONG_TYPE; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|     56|#define ERROR_WRONG_TYPE                     24
  |  |  |  |  ------------------
  |  |  |  |  168|     56|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     56|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  169|     56|      YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     56|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  170|     56|    }
  |  |  ------------------
  ------------------
 3383|       |
 3384|    199|        fail_if_error(yr_parser_emit(
  ------------------
  |  |  135|    199|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    398|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    199|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 199]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|    199|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3385|    199|            yyscanner, OP_CONTAINS, NULL));
 3386|       |
 3387|    199|        (yyval.expression).type = EXPRESSION_TYPE_BOOLEAN;
  ------------------
  |  |   46|    199|#define EXPRESSION_TYPE_BOOLEAN    1
  ------------------
 3388|    199|        (yyval.expression).required_strings.count = 0;
 3389|    199|      }
 3390|      0|#line 3391 "libyara/grammar.c"
 3391|      0|    break;
 3392|       |
 3393|    445|  case 80: /* expression: primary_expression "<icontains>" primary_expression  */
  ------------------
  |  Branch (3393:3): [True: 445, False: 1.03M]
  ------------------
 3394|    445|#line 1397 "libyara/grammar.y"
 3395|    445|      {
 3396|    445|        check_type((yyvsp[-2].expression), EXPRESSION_TYPE_STRING, "icontains");
  ------------------
  |  |  175|    445|    check_type_with_cleanup(expression, expected_type, op, )
  |  |  ------------------
  |  |  |  |  145|    445|    if (((expression.type) & (expected_type)) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (145:9): [True: 64, False: 381]
  |  |  |  |  ------------------
  |  |  |  |  146|    445|    { \
  |  |  |  |  147|     64|      switch(expression.type) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (147:14): [True: 46, False: 18]
  |  |  |  |  ------------------
  |  |  |  |  148|     64|      { \
  |  |  |  |  149|     18|        case EXPRESSION_TYPE_INTEGER: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|     18|#define EXPRESSION_TYPE_INTEGER    2
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (149:9): [True: 18, False: 46]
  |  |  |  |  ------------------
  |  |  |  |  150|     18|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     18|  strlcpy(                                               \
  |  |  |  |  |  |  321|     18|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     18|      info,                                              \
  |  |  |  |  |  |  323|     18|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  151|     18|              compiler, "wrong type \"integer\" for " op " operator"); \
  |  |  |  |  152|     18|          break; \
  |  |  |  |  153|     10|        case EXPRESSION_TYPE_FLOAT: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   51|     10|#define EXPRESSION_TYPE_FLOAT      32
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:9): [True: 10, False: 54]
  |  |  |  |  ------------------
  |  |  |  |  154|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  155|     10|              compiler, "wrong type \"float\" for " op " operator"); \
  |  |  |  |  156|     10|          break; \
  |  |  |  |  157|      0|        case EXPRESSION_TYPE_STRING: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define EXPRESSION_TYPE_STRING     4
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (157:9): [True: 0, False: 64]
  |  |  |  |  ------------------
  |  |  |  |  158|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  159|      0|              compiler, "wrong type \"string\" for " op " operator"); \
  |  |  |  |  160|      0|          break; \
  |  |  |  |  161|     18|        case EXPRESSION_TYPE_BOOLEAN: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|     18|#define EXPRESSION_TYPE_BOOLEAN    1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (161:9): [True: 18, False: 46]
  |  |  |  |  ------------------
  |  |  |  |  162|     18|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     18|  strlcpy(                                               \
  |  |  |  |  |  |  321|     18|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     18|      info,                                              \
  |  |  |  |  |  |  323|     18|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  163|     18|              compiler, "wrong type \"boolean\" for " op " operator"); \
  |  |  |  |  164|     18|          break; \
  |  |  |  |  165|     64|      } \
  |  |  |  |  166|     64|      cleanup; \
  |  |  |  |  167|     64|      compiler->last_error = ERROR_WRONG_TYPE; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|     64|#define ERROR_WRONG_TYPE                     24
  |  |  |  |  ------------------
  |  |  |  |  168|     64|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     64|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  169|     64|      YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     64|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  170|     64|    }
  |  |  ------------------
  ------------------
 3397|    381|        check_type((yyvsp[0].expression), EXPRESSION_TYPE_STRING, "icontains");
  ------------------
  |  |  175|    381|    check_type_with_cleanup(expression, expected_type, op, )
  |  |  ------------------
  |  |  |  |  145|    381|    if (((expression.type) & (expected_type)) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (145:9): [True: 52, False: 329]
  |  |  |  |  ------------------
  |  |  |  |  146|    381|    { \
  |  |  |  |  147|     52|      switch(expression.type) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (147:14): [True: 40, False: 12]
  |  |  |  |  ------------------
  |  |  |  |  148|     52|      { \
  |  |  |  |  149|     18|        case EXPRESSION_TYPE_INTEGER: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|     18|#define EXPRESSION_TYPE_INTEGER    2
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (149:9): [True: 18, False: 34]
  |  |  |  |  ------------------
  |  |  |  |  150|     18|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     18|  strlcpy(                                               \
  |  |  |  |  |  |  321|     18|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     18|      info,                                              \
  |  |  |  |  |  |  323|     18|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  151|     18|              compiler, "wrong type \"integer\" for " op " operator"); \
  |  |  |  |  152|     18|          break; \
  |  |  |  |  153|     10|        case EXPRESSION_TYPE_FLOAT: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   51|     10|#define EXPRESSION_TYPE_FLOAT      32
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:9): [True: 10, False: 42]
  |  |  |  |  ------------------
  |  |  |  |  154|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  155|     10|              compiler, "wrong type \"float\" for " op " operator"); \
  |  |  |  |  156|     10|          break; \
  |  |  |  |  157|      0|        case EXPRESSION_TYPE_STRING: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define EXPRESSION_TYPE_STRING     4
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (157:9): [True: 0, False: 52]
  |  |  |  |  ------------------
  |  |  |  |  158|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  159|      0|              compiler, "wrong type \"string\" for " op " operator"); \
  |  |  |  |  160|      0|          break; \
  |  |  |  |  161|     12|        case EXPRESSION_TYPE_BOOLEAN: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|     12|#define EXPRESSION_TYPE_BOOLEAN    1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (161:9): [True: 12, False: 40]
  |  |  |  |  ------------------
  |  |  |  |  162|     12|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     12|  strlcpy(                                               \
  |  |  |  |  |  |  321|     12|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     12|      info,                                              \
  |  |  |  |  |  |  323|     12|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  163|     12|              compiler, "wrong type \"boolean\" for " op " operator"); \
  |  |  |  |  164|     12|          break; \
  |  |  |  |  165|     52|      } \
  |  |  |  |  166|     52|      cleanup; \
  |  |  |  |  167|     52|      compiler->last_error = ERROR_WRONG_TYPE; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|     52|#define ERROR_WRONG_TYPE                     24
  |  |  |  |  ------------------
  |  |  |  |  168|     52|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     52|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  169|     52|      YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     52|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  170|     52|    }
  |  |  ------------------
  ------------------
 3398|       |
 3399|    329|        fail_if_error(yr_parser_emit(
  ------------------
  |  |  135|    329|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    658|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    329|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 329]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|    329|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3400|    329|            yyscanner, OP_ICONTAINS, NULL));
 3401|       |
 3402|    329|        (yyval.expression).type = EXPRESSION_TYPE_BOOLEAN;
  ------------------
  |  |   46|    329|#define EXPRESSION_TYPE_BOOLEAN    1
  ------------------
 3403|    329|        (yyval.expression).required_strings.count = 0;
 3404|    329|      }
 3405|      0|#line 3406 "libyara/grammar.c"
 3406|      0|    break;
 3407|       |
 3408|    282|  case 81: /* expression: primary_expression "<startswith>" primary_expression  */
  ------------------
  |  Branch (3408:3): [True: 282, False: 1.03M]
  ------------------
 3409|    282|#line 1408 "libyara/grammar.y"
 3410|    282|      {
 3411|    282|        check_type((yyvsp[-2].expression), EXPRESSION_TYPE_STRING, "startswith");
  ------------------
  |  |  175|    282|    check_type_with_cleanup(expression, expected_type, op, )
  |  |  ------------------
  |  |  |  |  145|    282|    if (((expression.type) & (expected_type)) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (145:9): [True: 46, False: 236]
  |  |  |  |  ------------------
  |  |  |  |  146|    282|    { \
  |  |  |  |  147|     46|      switch(expression.type) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (147:14): [True: 40, False: 6]
  |  |  |  |  ------------------
  |  |  |  |  148|     46|      { \
  |  |  |  |  149|     20|        case EXPRESSION_TYPE_INTEGER: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|     20|#define EXPRESSION_TYPE_INTEGER    2
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (149:9): [True: 20, False: 26]
  |  |  |  |  ------------------
  |  |  |  |  150|     20|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     20|  strlcpy(                                               \
  |  |  |  |  |  |  321|     20|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     20|      info,                                              \
  |  |  |  |  |  |  323|     20|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  151|     20|              compiler, "wrong type \"integer\" for " op " operator"); \
  |  |  |  |  152|     20|          break; \
  |  |  |  |  153|     10|        case EXPRESSION_TYPE_FLOAT: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   51|     10|#define EXPRESSION_TYPE_FLOAT      32
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:9): [True: 10, False: 36]
  |  |  |  |  ------------------
  |  |  |  |  154|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  155|     10|              compiler, "wrong type \"float\" for " op " operator"); \
  |  |  |  |  156|     10|          break; \
  |  |  |  |  157|      0|        case EXPRESSION_TYPE_STRING: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define EXPRESSION_TYPE_STRING     4
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (157:9): [True: 0, False: 46]
  |  |  |  |  ------------------
  |  |  |  |  158|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  159|      0|              compiler, "wrong type \"string\" for " op " operator"); \
  |  |  |  |  160|      0|          break; \
  |  |  |  |  161|     10|        case EXPRESSION_TYPE_BOOLEAN: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|     10|#define EXPRESSION_TYPE_BOOLEAN    1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (161:9): [True: 10, False: 36]
  |  |  |  |  ------------------
  |  |  |  |  162|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  163|     10|              compiler, "wrong type \"boolean\" for " op " operator"); \
  |  |  |  |  164|     10|          break; \
  |  |  |  |  165|     46|      } \
  |  |  |  |  166|     46|      cleanup; \
  |  |  |  |  167|     46|      compiler->last_error = ERROR_WRONG_TYPE; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|     46|#define ERROR_WRONG_TYPE                     24
  |  |  |  |  ------------------
  |  |  |  |  168|     46|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     46|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  169|     46|      YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     46|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  170|     46|    }
  |  |  ------------------
  ------------------
 3412|    236|        check_type((yyvsp[0].expression), EXPRESSION_TYPE_STRING, "startswith");
  ------------------
  |  |  175|    236|    check_type_with_cleanup(expression, expected_type, op, )
  |  |  ------------------
  |  |  |  |  145|    236|    if (((expression.type) & (expected_type)) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (145:9): [True: 40, False: 196]
  |  |  |  |  ------------------
  |  |  |  |  146|    236|    { \
  |  |  |  |  147|     40|      switch(expression.type) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (147:14): [True: 30, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  148|     40|      { \
  |  |  |  |  149|     10|        case EXPRESSION_TYPE_INTEGER: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|     10|#define EXPRESSION_TYPE_INTEGER    2
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (149:9): [True: 10, False: 30]
  |  |  |  |  ------------------
  |  |  |  |  150|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  151|     10|              compiler, "wrong type \"integer\" for " op " operator"); \
  |  |  |  |  152|     10|          break; \
  |  |  |  |  153|     10|        case EXPRESSION_TYPE_FLOAT: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   51|     10|#define EXPRESSION_TYPE_FLOAT      32
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:9): [True: 10, False: 30]
  |  |  |  |  ------------------
  |  |  |  |  154|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  155|     10|              compiler, "wrong type \"float\" for " op " operator"); \
  |  |  |  |  156|     10|          break; \
  |  |  |  |  157|      0|        case EXPRESSION_TYPE_STRING: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define EXPRESSION_TYPE_STRING     4
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (157:9): [True: 0, False: 40]
  |  |  |  |  ------------------
  |  |  |  |  158|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  159|      0|              compiler, "wrong type \"string\" for " op " operator"); \
  |  |  |  |  160|      0|          break; \
  |  |  |  |  161|     10|        case EXPRESSION_TYPE_BOOLEAN: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|     10|#define EXPRESSION_TYPE_BOOLEAN    1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (161:9): [True: 10, False: 30]
  |  |  |  |  ------------------
  |  |  |  |  162|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  163|     10|              compiler, "wrong type \"boolean\" for " op " operator"); \
  |  |  |  |  164|     10|          break; \
  |  |  |  |  165|     40|      } \
  |  |  |  |  166|     40|      cleanup; \
  |  |  |  |  167|     40|      compiler->last_error = ERROR_WRONG_TYPE; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|     40|#define ERROR_WRONG_TYPE                     24
  |  |  |  |  ------------------
  |  |  |  |  168|     40|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     40|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  169|     40|      YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     40|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  170|     40|    }
  |  |  ------------------
  ------------------
 3413|       |
 3414|    196|        fail_if_error(yr_parser_emit(
  ------------------
  |  |  135|    196|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    392|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    196|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 196]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|    196|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3415|    196|            yyscanner, OP_STARTSWITH, NULL));
 3416|       |
 3417|    196|        (yyval.expression).type = EXPRESSION_TYPE_BOOLEAN;
  ------------------
  |  |   46|    196|#define EXPRESSION_TYPE_BOOLEAN    1
  ------------------
 3418|    196|        (yyval.expression).required_strings.count = 0;
 3419|    196|      }
 3420|      0|#line 3421 "libyara/grammar.c"
 3421|      0|    break;
 3422|       |
 3423|    272|  case 82: /* expression: primary_expression "<istartswith>" primary_expression  */
  ------------------
  |  Branch (3423:3): [True: 272, False: 1.03M]
  ------------------
 3424|    272|#line 1419 "libyara/grammar.y"
 3425|    272|      {
 3426|    272|        check_type((yyvsp[-2].expression), EXPRESSION_TYPE_STRING, "istartswith");
  ------------------
  |  |  175|    272|    check_type_with_cleanup(expression, expected_type, op, )
  |  |  ------------------
  |  |  |  |  145|    272|    if (((expression.type) & (expected_type)) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (145:9): [True: 98, False: 174]
  |  |  |  |  ------------------
  |  |  |  |  146|    272|    { \
  |  |  |  |  147|     98|      switch(expression.type) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (147:14): [True: 64, False: 34]
  |  |  |  |  ------------------
  |  |  |  |  148|     98|      { \
  |  |  |  |  149|     36|        case EXPRESSION_TYPE_INTEGER: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|     36|#define EXPRESSION_TYPE_INTEGER    2
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (149:9): [True: 36, False: 62]
  |  |  |  |  ------------------
  |  |  |  |  150|     36|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     36|  strlcpy(                                               \
  |  |  |  |  |  |  321|     36|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     36|      info,                                              \
  |  |  |  |  |  |  323|     36|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  151|     36|              compiler, "wrong type \"integer\" for " op " operator"); \
  |  |  |  |  152|     36|          break; \
  |  |  |  |  153|     18|        case EXPRESSION_TYPE_FLOAT: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   51|     18|#define EXPRESSION_TYPE_FLOAT      32
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:9): [True: 18, False: 80]
  |  |  |  |  ------------------
  |  |  |  |  154|     18|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     18|  strlcpy(                                               \
  |  |  |  |  |  |  321|     18|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     18|      info,                                              \
  |  |  |  |  |  |  323|     18|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  155|     18|              compiler, "wrong type \"float\" for " op " operator"); \
  |  |  |  |  156|     18|          break; \
  |  |  |  |  157|      0|        case EXPRESSION_TYPE_STRING: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define EXPRESSION_TYPE_STRING     4
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (157:9): [True: 0, False: 98]
  |  |  |  |  ------------------
  |  |  |  |  158|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  159|      0|              compiler, "wrong type \"string\" for " op " operator"); \
  |  |  |  |  160|      0|          break; \
  |  |  |  |  161|     10|        case EXPRESSION_TYPE_BOOLEAN: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|     10|#define EXPRESSION_TYPE_BOOLEAN    1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (161:9): [True: 10, False: 88]
  |  |  |  |  ------------------
  |  |  |  |  162|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  163|     10|              compiler, "wrong type \"boolean\" for " op " operator"); \
  |  |  |  |  164|     10|          break; \
  |  |  |  |  165|     98|      } \
  |  |  |  |  166|     98|      cleanup; \
  |  |  |  |  167|     98|      compiler->last_error = ERROR_WRONG_TYPE; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|     98|#define ERROR_WRONG_TYPE                     24
  |  |  |  |  ------------------
  |  |  |  |  168|     98|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     98|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  169|     98|      YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     98|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  170|     98|    }
  |  |  ------------------
  ------------------
 3427|    174|        check_type((yyvsp[0].expression), EXPRESSION_TYPE_STRING, "istartswith");
  ------------------
  |  |  175|    174|    check_type_with_cleanup(expression, expected_type, op, )
  |  |  ------------------
  |  |  |  |  145|    174|    if (((expression.type) & (expected_type)) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (145:9): [True: 65, False: 109]
  |  |  |  |  ------------------
  |  |  |  |  146|    174|    { \
  |  |  |  |  147|     65|      switch(expression.type) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (147:14): [True: 55, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  148|     65|      { \
  |  |  |  |  149|     35|        case EXPRESSION_TYPE_INTEGER: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|     35|#define EXPRESSION_TYPE_INTEGER    2
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (149:9): [True: 35, False: 30]
  |  |  |  |  ------------------
  |  |  |  |  150|     35|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     35|  strlcpy(                                               \
  |  |  |  |  |  |  321|     35|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     35|      info,                                              \
  |  |  |  |  |  |  323|     35|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  151|     35|              compiler, "wrong type \"integer\" for " op " operator"); \
  |  |  |  |  152|     35|          break; \
  |  |  |  |  153|     10|        case EXPRESSION_TYPE_FLOAT: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   51|     10|#define EXPRESSION_TYPE_FLOAT      32
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:9): [True: 10, False: 55]
  |  |  |  |  ------------------
  |  |  |  |  154|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  155|     10|              compiler, "wrong type \"float\" for " op " operator"); \
  |  |  |  |  156|     10|          break; \
  |  |  |  |  157|      0|        case EXPRESSION_TYPE_STRING: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define EXPRESSION_TYPE_STRING     4
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (157:9): [True: 0, False: 65]
  |  |  |  |  ------------------
  |  |  |  |  158|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  159|      0|              compiler, "wrong type \"string\" for " op " operator"); \
  |  |  |  |  160|      0|          break; \
  |  |  |  |  161|     10|        case EXPRESSION_TYPE_BOOLEAN: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|     10|#define EXPRESSION_TYPE_BOOLEAN    1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (161:9): [True: 10, False: 55]
  |  |  |  |  ------------------
  |  |  |  |  162|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  163|     10|              compiler, "wrong type \"boolean\" for " op " operator"); \
  |  |  |  |  164|     10|          break; \
  |  |  |  |  165|     65|      } \
  |  |  |  |  166|     65|      cleanup; \
  |  |  |  |  167|     65|      compiler->last_error = ERROR_WRONG_TYPE; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|     65|#define ERROR_WRONG_TYPE                     24
  |  |  |  |  ------------------
  |  |  |  |  168|     65|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     65|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  169|     65|      YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     65|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  170|     65|    }
  |  |  ------------------
  ------------------
 3428|       |
 3429|    109|        fail_if_error(yr_parser_emit(
  ------------------
  |  |  135|    109|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    218|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    109|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 109]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|    109|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3430|    109|            yyscanner, OP_ISTARTSWITH, NULL));
 3431|       |
 3432|    109|        (yyval.expression).type = EXPRESSION_TYPE_BOOLEAN;
  ------------------
  |  |   46|    109|#define EXPRESSION_TYPE_BOOLEAN    1
  ------------------
 3433|    109|        (yyval.expression).required_strings.count = 0;
 3434|    109|      }
 3435|      0|#line 3436 "libyara/grammar.c"
 3436|      0|    break;
 3437|       |
 3438|    293|  case 83: /* expression: primary_expression "<endswith>" primary_expression  */
  ------------------
  |  Branch (3438:3): [True: 293, False: 1.03M]
  ------------------
 3439|    293|#line 1430 "libyara/grammar.y"
 3440|    293|      {
 3441|    293|        check_type((yyvsp[-2].expression), EXPRESSION_TYPE_STRING, "endswith");
  ------------------
  |  |  175|    293|    check_type_with_cleanup(expression, expected_type, op, )
  |  |  ------------------
  |  |  |  |  145|    293|    if (((expression.type) & (expected_type)) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (145:9): [True: 48, False: 245]
  |  |  |  |  ------------------
  |  |  |  |  146|    293|    { \
  |  |  |  |  147|     48|      switch(expression.type) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (147:14): [True: 38, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  148|     48|      { \
  |  |  |  |  149|     18|        case EXPRESSION_TYPE_INTEGER: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|     18|#define EXPRESSION_TYPE_INTEGER    2
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (149:9): [True: 18, False: 30]
  |  |  |  |  ------------------
  |  |  |  |  150|     18|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     18|  strlcpy(                                               \
  |  |  |  |  |  |  321|     18|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     18|      info,                                              \
  |  |  |  |  |  |  323|     18|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  151|     18|              compiler, "wrong type \"integer\" for " op " operator"); \
  |  |  |  |  152|     18|          break; \
  |  |  |  |  153|     10|        case EXPRESSION_TYPE_FLOAT: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   51|     10|#define EXPRESSION_TYPE_FLOAT      32
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:9): [True: 10, False: 38]
  |  |  |  |  ------------------
  |  |  |  |  154|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  155|     10|              compiler, "wrong type \"float\" for " op " operator"); \
  |  |  |  |  156|     10|          break; \
  |  |  |  |  157|      0|        case EXPRESSION_TYPE_STRING: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define EXPRESSION_TYPE_STRING     4
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (157:9): [True: 0, False: 48]
  |  |  |  |  ------------------
  |  |  |  |  158|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  159|      0|              compiler, "wrong type \"string\" for " op " operator"); \
  |  |  |  |  160|      0|          break; \
  |  |  |  |  161|     10|        case EXPRESSION_TYPE_BOOLEAN: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|     10|#define EXPRESSION_TYPE_BOOLEAN    1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (161:9): [True: 10, False: 38]
  |  |  |  |  ------------------
  |  |  |  |  162|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  163|     10|              compiler, "wrong type \"boolean\" for " op " operator"); \
  |  |  |  |  164|     10|          break; \
  |  |  |  |  165|     48|      } \
  |  |  |  |  166|     48|      cleanup; \
  |  |  |  |  167|     48|      compiler->last_error = ERROR_WRONG_TYPE; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|     48|#define ERROR_WRONG_TYPE                     24
  |  |  |  |  ------------------
  |  |  |  |  168|     48|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     48|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  169|     48|      YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     48|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  170|     48|    }
  |  |  ------------------
  ------------------
 3442|    245|        check_type((yyvsp[0].expression), EXPRESSION_TYPE_STRING, "endswith");
  ------------------
  |  |  175|    245|    check_type_with_cleanup(expression, expected_type, op, )
  |  |  ------------------
  |  |  |  |  145|    245|    if (((expression.type) & (expected_type)) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (145:9): [True: 48, False: 197]
  |  |  |  |  ------------------
  |  |  |  |  146|    245|    { \
  |  |  |  |  147|     48|      switch(expression.type) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (147:14): [True: 38, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  148|     48|      { \
  |  |  |  |  149|     10|        case EXPRESSION_TYPE_INTEGER: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|     10|#define EXPRESSION_TYPE_INTEGER    2
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (149:9): [True: 10, False: 38]
  |  |  |  |  ------------------
  |  |  |  |  150|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  151|     10|              compiler, "wrong type \"integer\" for " op " operator"); \
  |  |  |  |  152|     10|          break; \
  |  |  |  |  153|     18|        case EXPRESSION_TYPE_FLOAT: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   51|     18|#define EXPRESSION_TYPE_FLOAT      32
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:9): [True: 18, False: 30]
  |  |  |  |  ------------------
  |  |  |  |  154|     18|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     18|  strlcpy(                                               \
  |  |  |  |  |  |  321|     18|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     18|      info,                                              \
  |  |  |  |  |  |  323|     18|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  155|     18|              compiler, "wrong type \"float\" for " op " operator"); \
  |  |  |  |  156|     18|          break; \
  |  |  |  |  157|      0|        case EXPRESSION_TYPE_STRING: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define EXPRESSION_TYPE_STRING     4
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (157:9): [True: 0, False: 48]
  |  |  |  |  ------------------
  |  |  |  |  158|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  159|      0|              compiler, "wrong type \"string\" for " op " operator"); \
  |  |  |  |  160|      0|          break; \
  |  |  |  |  161|     10|        case EXPRESSION_TYPE_BOOLEAN: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|     10|#define EXPRESSION_TYPE_BOOLEAN    1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (161:9): [True: 10, False: 38]
  |  |  |  |  ------------------
  |  |  |  |  162|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  163|     10|              compiler, "wrong type \"boolean\" for " op " operator"); \
  |  |  |  |  164|     10|          break; \
  |  |  |  |  165|     48|      } \
  |  |  |  |  166|     48|      cleanup; \
  |  |  |  |  167|     48|      compiler->last_error = ERROR_WRONG_TYPE; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|     48|#define ERROR_WRONG_TYPE                     24
  |  |  |  |  ------------------
  |  |  |  |  168|     48|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     48|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  169|     48|      YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     48|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  170|     48|    }
  |  |  ------------------
  ------------------
 3443|       |
 3444|    197|        fail_if_error(yr_parser_emit(
  ------------------
  |  |  135|    197|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    394|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    197|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 197]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|    197|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3445|    197|            yyscanner, OP_ENDSWITH, NULL));
 3446|       |
 3447|    197|        (yyval.expression).type = EXPRESSION_TYPE_BOOLEAN;
  ------------------
  |  |   46|    197|#define EXPRESSION_TYPE_BOOLEAN    1
  ------------------
 3448|    197|        (yyval.expression).required_strings.count = 0;
 3449|    197|      }
 3450|      0|#line 3451 "libyara/grammar.c"
 3451|      0|    break;
 3452|       |
 3453|    349|  case 84: /* expression: primary_expression "<iendswith>" primary_expression  */
  ------------------
  |  Branch (3453:3): [True: 349, False: 1.03M]
  ------------------
 3454|    349|#line 1441 "libyara/grammar.y"
 3455|    349|      {
 3456|    349|        check_type((yyvsp[-2].expression), EXPRESSION_TYPE_STRING, "iendswith");
  ------------------
  |  |  175|    349|    check_type_with_cleanup(expression, expected_type, op, )
  |  |  ------------------
  |  |  |  |  145|    349|    if (((expression.type) & (expected_type)) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (145:9): [True: 83, False: 266]
  |  |  |  |  ------------------
  |  |  |  |  146|    349|    { \
  |  |  |  |  147|     83|      switch(expression.type) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (147:14): [True: 61, False: 22]
  |  |  |  |  ------------------
  |  |  |  |  148|     83|      { \
  |  |  |  |  149|     10|        case EXPRESSION_TYPE_INTEGER: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|     10|#define EXPRESSION_TYPE_INTEGER    2
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (149:9): [True: 10, False: 73]
  |  |  |  |  ------------------
  |  |  |  |  150|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  151|     10|              compiler, "wrong type \"integer\" for " op " operator"); \
  |  |  |  |  152|     10|          break; \
  |  |  |  |  153|     41|        case EXPRESSION_TYPE_FLOAT: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   51|     41|#define EXPRESSION_TYPE_FLOAT      32
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:9): [True: 41, False: 42]
  |  |  |  |  ------------------
  |  |  |  |  154|     41|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     41|  strlcpy(                                               \
  |  |  |  |  |  |  321|     41|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     41|      info,                                              \
  |  |  |  |  |  |  323|     41|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  155|     41|              compiler, "wrong type \"float\" for " op " operator"); \
  |  |  |  |  156|     41|          break; \
  |  |  |  |  157|      0|        case EXPRESSION_TYPE_STRING: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define EXPRESSION_TYPE_STRING     4
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (157:9): [True: 0, False: 83]
  |  |  |  |  ------------------
  |  |  |  |  158|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  159|      0|              compiler, "wrong type \"string\" for " op " operator"); \
  |  |  |  |  160|      0|          break; \
  |  |  |  |  161|     10|        case EXPRESSION_TYPE_BOOLEAN: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|     10|#define EXPRESSION_TYPE_BOOLEAN    1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (161:9): [True: 10, False: 73]
  |  |  |  |  ------------------
  |  |  |  |  162|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  163|     10|              compiler, "wrong type \"boolean\" for " op " operator"); \
  |  |  |  |  164|     10|          break; \
  |  |  |  |  165|     83|      } \
  |  |  |  |  166|     83|      cleanup; \
  |  |  |  |  167|     83|      compiler->last_error = ERROR_WRONG_TYPE; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|     83|#define ERROR_WRONG_TYPE                     24
  |  |  |  |  ------------------
  |  |  |  |  168|     83|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     83|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  169|     83|      YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     83|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  170|     83|    }
  |  |  ------------------
  ------------------
 3457|    266|        check_type((yyvsp[0].expression), EXPRESSION_TYPE_STRING, "iendswith");
  ------------------
  |  |  175|    266|    check_type_with_cleanup(expression, expected_type, op, )
  |  |  ------------------
  |  |  |  |  145|    266|    if (((expression.type) & (expected_type)) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (145:9): [True: 48, False: 218]
  |  |  |  |  ------------------
  |  |  |  |  146|    266|    { \
  |  |  |  |  147|     48|      switch(expression.type) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (147:14): [True: 30, False: 18]
  |  |  |  |  ------------------
  |  |  |  |  148|     48|      { \
  |  |  |  |  149|     10|        case EXPRESSION_TYPE_INTEGER: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|     10|#define EXPRESSION_TYPE_INTEGER    2
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (149:9): [True: 10, False: 38]
  |  |  |  |  ------------------
  |  |  |  |  150|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  151|     10|              compiler, "wrong type \"integer\" for " op " operator"); \
  |  |  |  |  152|     10|          break; \
  |  |  |  |  153|     10|        case EXPRESSION_TYPE_FLOAT: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   51|     10|#define EXPRESSION_TYPE_FLOAT      32
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:9): [True: 10, False: 38]
  |  |  |  |  ------------------
  |  |  |  |  154|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  155|     10|              compiler, "wrong type \"float\" for " op " operator"); \
  |  |  |  |  156|     10|          break; \
  |  |  |  |  157|      0|        case EXPRESSION_TYPE_STRING: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define EXPRESSION_TYPE_STRING     4
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (157:9): [True: 0, False: 48]
  |  |  |  |  ------------------
  |  |  |  |  158|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  159|      0|              compiler, "wrong type \"string\" for " op " operator"); \
  |  |  |  |  160|      0|          break; \
  |  |  |  |  161|     10|        case EXPRESSION_TYPE_BOOLEAN: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|     10|#define EXPRESSION_TYPE_BOOLEAN    1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (161:9): [True: 10, False: 38]
  |  |  |  |  ------------------
  |  |  |  |  162|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  163|     10|              compiler, "wrong type \"boolean\" for " op " operator"); \
  |  |  |  |  164|     10|          break; \
  |  |  |  |  165|     48|      } \
  |  |  |  |  166|     48|      cleanup; \
  |  |  |  |  167|     48|      compiler->last_error = ERROR_WRONG_TYPE; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|     48|#define ERROR_WRONG_TYPE                     24
  |  |  |  |  ------------------
  |  |  |  |  168|     48|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     48|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  169|     48|      YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     48|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  170|     48|    }
  |  |  ------------------
  ------------------
 3458|       |
 3459|    218|        fail_if_error(yr_parser_emit(
  ------------------
  |  |  135|    218|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    436|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    218|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 218]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|    218|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3460|    218|            yyscanner, OP_IENDSWITH, NULL));
 3461|       |
 3462|    218|        (yyval.expression).type = EXPRESSION_TYPE_BOOLEAN;
  ------------------
  |  |   46|    218|#define EXPRESSION_TYPE_BOOLEAN    1
  ------------------
 3463|    218|        (yyval.expression).required_strings.count = 0;
 3464|    218|      }
 3465|      0|#line 3466 "libyara/grammar.c"
 3466|      0|    break;
 3467|       |
 3468|      0|  case 85: /* expression: primary_expression "<iequals>" primary_expression  */
  ------------------
  |  Branch (3468:3): [True: 0, False: 1.03M]
  ------------------
 3469|      0|#line 1452 "libyara/grammar.y"
 3470|      0|      {
 3471|      0|        check_type((yyvsp[-2].expression), EXPRESSION_TYPE_STRING, "iequals");
  ------------------
  |  |  175|      0|    check_type_with_cleanup(expression, expected_type, op, )
  |  |  ------------------
  |  |  |  |  145|      0|    if (((expression.type) & (expected_type)) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (145:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  146|      0|    { \
  |  |  |  |  147|      0|      switch(expression.type) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (147:14): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  148|      0|      { \
  |  |  |  |  149|      0|        case EXPRESSION_TYPE_INTEGER: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define EXPRESSION_TYPE_INTEGER    2
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (149:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  150|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  151|      0|              compiler, "wrong type \"integer\" for " op " operator"); \
  |  |  |  |  152|      0|          break; \
  |  |  |  |  153|      0|        case EXPRESSION_TYPE_FLOAT: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   51|      0|#define EXPRESSION_TYPE_FLOAT      32
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  154|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  155|      0|              compiler, "wrong type \"float\" for " op " operator"); \
  |  |  |  |  156|      0|          break; \
  |  |  |  |  157|      0|        case EXPRESSION_TYPE_STRING: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define EXPRESSION_TYPE_STRING     4
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (157:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  158|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  159|      0|              compiler, "wrong type \"string\" for " op " operator"); \
  |  |  |  |  160|      0|          break; \
  |  |  |  |  161|      0|        case EXPRESSION_TYPE_BOOLEAN: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|      0|#define EXPRESSION_TYPE_BOOLEAN    1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (161:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  162|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  163|      0|              compiler, "wrong type \"boolean\" for " op " operator"); \
  |  |  |  |  164|      0|          break; \
  |  |  |  |  165|      0|      } \
  |  |  |  |  166|      0|      cleanup; \
  |  |  |  |  167|      0|      compiler->last_error = ERROR_WRONG_TYPE; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|      0|#define ERROR_WRONG_TYPE                     24
  |  |  |  |  ------------------
  |  |  |  |  168|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  169|      0|      YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  170|      0|    }
  |  |  ------------------
  ------------------
 3472|      0|        check_type((yyvsp[0].expression), EXPRESSION_TYPE_STRING, "iequals");
  ------------------
  |  |  175|      0|    check_type_with_cleanup(expression, expected_type, op, )
  |  |  ------------------
  |  |  |  |  145|      0|    if (((expression.type) & (expected_type)) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (145:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  146|      0|    { \
  |  |  |  |  147|      0|      switch(expression.type) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (147:14): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  148|      0|      { \
  |  |  |  |  149|      0|        case EXPRESSION_TYPE_INTEGER: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define EXPRESSION_TYPE_INTEGER    2
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (149:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  150|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  151|      0|              compiler, "wrong type \"integer\" for " op " operator"); \
  |  |  |  |  152|      0|          break; \
  |  |  |  |  153|      0|        case EXPRESSION_TYPE_FLOAT: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   51|      0|#define EXPRESSION_TYPE_FLOAT      32
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  154|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  155|      0|              compiler, "wrong type \"float\" for " op " operator"); \
  |  |  |  |  156|      0|          break; \
  |  |  |  |  157|      0|        case EXPRESSION_TYPE_STRING: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define EXPRESSION_TYPE_STRING     4
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (157:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  158|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  159|      0|              compiler, "wrong type \"string\" for " op " operator"); \
  |  |  |  |  160|      0|          break; \
  |  |  |  |  161|      0|        case EXPRESSION_TYPE_BOOLEAN: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|      0|#define EXPRESSION_TYPE_BOOLEAN    1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (161:9): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  162|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  163|      0|              compiler, "wrong type \"boolean\" for " op " operator"); \
  |  |  |  |  164|      0|          break; \
  |  |  |  |  165|      0|      } \
  |  |  |  |  166|      0|      cleanup; \
  |  |  |  |  167|      0|      compiler->last_error = ERROR_WRONG_TYPE; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|      0|#define ERROR_WRONG_TYPE                     24
  |  |  |  |  ------------------
  |  |  |  |  168|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  169|      0|      YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  170|      0|    }
  |  |  ------------------
  ------------------
 3473|       |
 3474|      0|        fail_if_error(yr_parser_emit(
  ------------------
  |  |  135|      0|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|      0|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|      0|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 0]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|      0|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3475|      0|            yyscanner, OP_IEQUALS, NULL));
 3476|       |
 3477|      0|        (yyval.expression).type = EXPRESSION_TYPE_BOOLEAN;
  ------------------
  |  |   46|      0|#define EXPRESSION_TYPE_BOOLEAN    1
  ------------------
 3478|      0|        (yyval.expression).required_strings.count = 0;
 3479|      0|      }
 3480|      0|#line 3481 "libyara/grammar.c"
 3481|      0|    break;
 3482|       |
 3483|    943|  case 86: /* expression: "string identifier"  */
  ------------------
  |  Branch (3483:3): [True: 943, False: 1.03M]
  ------------------
 3484|    943|#line 1463 "libyara/grammar.y"
 3485|    943|      {
 3486|    943|        int result = yr_parser_reduce_string_identifier(
 3487|    943|            yyscanner,
 3488|    943|            (yyvsp[0].c_string),
 3489|    943|            OP_FOUND,
  ------------------
  |  |   70|    943|#define OP_FOUND                      22
  ------------------
 3490|    943|            YR_UNDEFINED);
  ------------------
  |  |   38|    943|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  ------------------
 3491|       |
 3492|    943|        yr_free((yyvsp[0].c_string));
 3493|       |
 3494|    943|        fail_if_error(result);
  ------------------
  |  |  135|    943|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  1.88k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  1.10k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 160, False: 783]
  |  |  |  Branch (135:31): [True: 160, False: 0]
  |  |  ------------------
  |  |  136|    943|    { \
  |  |  137|    160|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|    160|    { \
  |  |  |  |  121|    160|      compiler->last_error = e; \
  |  |  |  |  122|    160|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|    160|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|    160|      switch (e) \
  |  |  |  |  124|    160|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 160]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|    160|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 160, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|    160|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|    160|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|    160|      } \
  |  |  |  |  130|    160|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3495|       |
 3496|    783|        (yyval.expression).type = EXPRESSION_TYPE_BOOLEAN;
  ------------------
  |  |   46|    783|#define EXPRESSION_TYPE_BOOLEAN    1
  ------------------
 3497|    783|        (yyval.expression).required_strings.count = 1;
 3498|    783|      }
 3499|      0|#line 3500 "libyara/grammar.c"
 3500|      0|    break;
 3501|       |
 3502|  1.33k|  case 87: /* expression: "string identifier" "<at>" primary_expression  */
  ------------------
  |  Branch (3502:3): [True: 1.33k, False: 1.03M]
  ------------------
 3503|  1.33k|#line 1478 "libyara/grammar.y"
 3504|  1.33k|      {
 3505|  1.33k|        int result;
 3506|       |
 3507|  1.33k|        check_type_with_cleanup((yyvsp[0].expression), EXPRESSION_TYPE_INTEGER, "at", yr_free((yyvsp[-2].c_string)));
  ------------------
  |  |  145|  1.33k|    if (((expression.type) & (expected_type)) == 0) \
  |  |  ------------------
  |  |  |  Branch (145:9): [True: 69, False: 1.27k]
  |  |  ------------------
  |  |  146|  1.33k|    { \
  |  |  147|     69|      switch(expression.type) \
  |  |  ------------------
  |  |  |  Branch (147:14): [True: 43, False: 26]
  |  |  ------------------
  |  |  148|     69|      { \
  |  |  149|      0|        case EXPRESSION_TYPE_INTEGER: \
  |  |  ------------------
  |  |  |  |   47|      0|#define EXPRESSION_TYPE_INTEGER    2
  |  |  ------------------
  |  |  |  Branch (149:9): [True: 0, False: 69]
  |  |  ------------------
  |  |  150|      0|          yr_compiler_set_error_extra_info( \
  |  |  ------------------
  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  ------------------
  |  |  151|      0|              compiler, "wrong type \"integer\" for " op " operator"); \
  |  |  152|      0|          break; \
  |  |  153|     14|        case EXPRESSION_TYPE_FLOAT: \
  |  |  ------------------
  |  |  |  |   51|     14|#define EXPRESSION_TYPE_FLOAT      32
  |  |  ------------------
  |  |  |  Branch (153:9): [True: 14, False: 55]
  |  |  ------------------
  |  |  154|     14|          yr_compiler_set_error_extra_info( \
  |  |  ------------------
  |  |  |  |  320|     14|  strlcpy(                                               \
  |  |  |  |  321|     14|      compiler->last_error_extra_info,                   \
  |  |  |  |  322|     14|      info,                                              \
  |  |  |  |  323|     14|      sizeof(compiler->last_error_extra_info));
  |  |  ------------------
  |  |  155|     14|              compiler, "wrong type \"float\" for " op " operator"); \
  |  |  156|     14|          break; \
  |  |  157|     19|        case EXPRESSION_TYPE_STRING: \
  |  |  ------------------
  |  |  |  |   48|     19|#define EXPRESSION_TYPE_STRING     4
  |  |  ------------------
  |  |  |  Branch (157:9): [True: 19, False: 50]
  |  |  ------------------
  |  |  158|     19|          yr_compiler_set_error_extra_info( \
  |  |  ------------------
  |  |  |  |  320|     19|  strlcpy(                                               \
  |  |  |  |  321|     19|      compiler->last_error_extra_info,                   \
  |  |  |  |  322|     19|      info,                                              \
  |  |  |  |  323|     19|      sizeof(compiler->last_error_extra_info));
  |  |  ------------------
  |  |  159|     19|              compiler, "wrong type \"string\" for " op " operator"); \
  |  |  160|     19|          break; \
  |  |  161|     10|        case EXPRESSION_TYPE_BOOLEAN: \
  |  |  ------------------
  |  |  |  |   46|     10|#define EXPRESSION_TYPE_BOOLEAN    1
  |  |  ------------------
  |  |  |  Branch (161:9): [True: 10, False: 59]
  |  |  ------------------
  |  |  162|     10|          yr_compiler_set_error_extra_info( \
  |  |  ------------------
  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  ------------------
  |  |  163|     10|              compiler, "wrong type \"boolean\" for " op " operator"); \
  |  |  164|     10|          break; \
  |  |  165|     69|      } \
  |  |  166|     69|      cleanup; \
  |  |  167|     69|      compiler->last_error = ERROR_WRONG_TYPE; \
  |  |  ------------------
  |  |  |  |   69|     69|#define ERROR_WRONG_TYPE                     24
  |  |  ------------------
  |  |  168|     69|      yyerror(yyscanner, compiler, NULL); \
  |  |  ------------------
  |  |  |  |   48|     69|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  169|     69|      YYERROR; \
  |  |  ------------------
  |  |  |  | 1314|     69|#define YYERROR         goto yyerrorlab
  |  |  ------------------
  |  |  170|     69|    }
  ------------------
 3508|       |
 3509|  1.27k|        result = yr_parser_reduce_string_identifier(
 3510|  1.27k|            yyscanner, (yyvsp[-2].c_string), OP_FOUND_AT, (yyvsp[0].expression).value.integer);
  ------------------
  |  |   71|  1.27k|#define OP_FOUND_AT                   23
  ------------------
 3511|       |
 3512|  1.27k|        yr_free((yyvsp[-2].c_string));
 3513|       |
 3514|  1.27k|        fail_if_error(result);
  ------------------
  |  |  135|  1.27k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  2.54k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  1.29k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 21, False: 1.24k]
  |  |  |  Branch (135:31): [True: 21, False: 0]
  |  |  ------------------
  |  |  136|  1.27k|    { \
  |  |  137|     21|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     21|    { \
  |  |  |  |  121|     21|      compiler->last_error = e; \
  |  |  |  |  122|     21|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     21|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     21|      switch (e) \
  |  |  |  |  124|     21|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 21]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     21|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 21, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     21|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     21|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     21|      } \
  |  |  |  |  130|     21|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3515|       |
 3516|  1.24k|        (yyval.expression).required_strings.count = 1;
 3517|  1.24k|        (yyval.expression).type = EXPRESSION_TYPE_BOOLEAN;
  ------------------
  |  |   46|  1.24k|#define EXPRESSION_TYPE_BOOLEAN    1
  ------------------
 3518|  1.24k|      }
 3519|      0|#line 3520 "libyara/grammar.c"
 3520|      0|    break;
 3521|       |
 3522|     46|  case 88: /* expression: "string identifier" "<in>" range  */
  ------------------
  |  Branch (3522:3): [True: 46, False: 1.03M]
  ------------------
 3523|     46|#line 1494 "libyara/grammar.y"
 3524|     46|      {
 3525|     46|        int result = yr_parser_reduce_string_identifier(
 3526|     46|            yyscanner, (yyvsp[-2].c_string), OP_FOUND_IN, YR_UNDEFINED);
  ------------------
  |  |   72|     46|#define OP_FOUND_IN                   24
  ------------------
                          yyscanner, (yyvsp[-2].c_string), OP_FOUND_IN, YR_UNDEFINED);
  ------------------
  |  |   38|     46|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  ------------------
 3527|       |
 3528|     46|        yr_free((yyvsp[-2].c_string));
 3529|       |
 3530|     46|        fail_if_error(result);
  ------------------
  |  |  135|     46|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|     92|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|     73|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 27, False: 19]
  |  |  |  Branch (135:31): [True: 27, False: 0]
  |  |  ------------------
  |  |  136|     46|    { \
  |  |  137|     27|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     27|    { \
  |  |  |  |  121|     27|      compiler->last_error = e; \
  |  |  |  |  122|     27|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     27|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     27|      switch (e) \
  |  |  |  |  124|     27|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 27]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     27|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 27, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     27|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     27|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     27|      } \
  |  |  |  |  130|     27|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3531|       |
 3532|     19|        (yyval.expression).required_strings.count = 1;
 3533|     19|        (yyval.expression).type = EXPRESSION_TYPE_BOOLEAN;
  ------------------
  |  |   46|     19|#define EXPRESSION_TYPE_BOOLEAN    1
  ------------------
 3534|     19|      }
 3535|      0|#line 3536 "libyara/grammar.c"
 3536|      0|    break;
 3537|       |
 3538|  4.32k|  case 89: /* expression: "<for>" for_expression error  */
  ------------------
  |  Branch (3538:3): [True: 4.32k, False: 1.03M]
  ------------------
 3539|  4.32k|#line 1506 "libyara/grammar.y"
 3540|  4.32k|      {
 3541|       |        // Free all the loop variable identifiers, including the variables for
 3542|       |        // the current loop (represented by loop_index), and set loop_index to
 3543|       |        // -1. This is OK even if we have nested loops. If an error occurs while
 3544|       |        // parsing the inner loop, it will be propagated to the outer loop
 3545|       |        // anyways, so it's safe to do this cleanup while processing the error
 3546|       |        // for the inner loop.
 3547|       |
 3548|  8.62k|        for (int i = 0; i <= compiler->loop_index; i++)
  ------------------
  |  Branch (3548:25): [True: 4.29k, False: 4.32k]
  ------------------
 3549|  4.29k|        {
 3550|  4.29k|          loop_vars_cleanup(i);
  ------------------
  |  |  179|  4.29k|    {  \
  |  |  180|  4.29k|      YR_LOOP_CONTEXT* loop_ctx = &compiler->loop[loop_index]; \
  |  |  181|  8.60k|      for (int i = 0; i < loop_ctx->vars_count; i++) \
  |  |  ------------------
  |  |  |  Branch (181:23): [True: 4.30k, False: 4.29k]
  |  |  ------------------
  |  |  182|  4.30k|      { \
  |  |  183|  4.30k|        yr_free((void*) loop_ctx->vars[i].identifier.ptr); \
  |  |  184|  4.30k|        loop_ctx->vars[i].identifier.ptr = NULL; \
  |  |  185|  4.30k|        loop_ctx->vars[i].identifier.ref = YR_ARENA_NULL_REF; \
  |  |  ------------------
  |  |  |  |   43|  4.30k|  (YR_ARENA_REF)           \
  |  |  |  |   44|  4.30k|  {                        \
  |  |  |  |   45|  4.30k|    UINT32_MAX, UINT32_MAX \
  |  |  |  |   46|  4.30k|  }
  |  |  ------------------
  |  |  186|  4.30k|      } \
  |  |  187|  4.29k|      loop_ctx->vars_count = 0; \
  |  |  188|  4.29k|    } \
  ------------------
 3551|  4.29k|        }
 3552|       |
 3553|  4.32k|        compiler->loop_index = -1;
 3554|  4.32k|        YYERROR;
  ------------------
  |  | 1314|  4.32k|#define YYERROR         goto yyerrorlab
  ------------------
 3555|     46|      }
 3556|      0|#line 3557 "libyara/grammar.c"
 3557|      0|    break;
 3558|       |
 3559|  4.43k|  case 90: /* $@6: %empty  */
  ------------------
  |  Branch (3559:3): [True: 4.43k, False: 1.03M]
  ------------------
 3560|  4.43k|#line 1580 "libyara/grammar.y"
 3561|  4.43k|      {
 3562|       |        // var_frame is used for accessing local variables used in this loop.
 3563|       |        // All local variables are accessed using var_frame as a reference,
 3564|       |        // like var_frame + 0, var_frame + 1, etc. Here we initialize var_frame
 3565|       |        // with the correct value, which depends on the number of variables
 3566|       |        // defined by any outer loops.
 3567|       |
 3568|  4.43k|        int var_frame;
 3569|  4.43k|        int result = ERROR_SUCCESS;
  ------------------
  |  |   40|  4.43k|#define ERROR_SUCCESS 0
  ------------------
 3570|       |
 3571|  4.43k|        if (compiler->loop_index + 1 == YR_MAX_LOOP_NESTING)
  ------------------
  |  |   95|  4.43k|#define YR_MAX_LOOP_NESTING 4
  ------------------
  |  Branch (3571:13): [True: 12, False: 4.42k]
  ------------------
 3572|     12|          result = ERROR_LOOP_NESTING_LIMIT_EXCEEDED;
  ------------------
  |  |   57|     12|#define ERROR_LOOP_NESTING_LIMIT_EXCEEDED    12
  ------------------
 3573|       |
 3574|  4.43k|        fail_if_error(result);
  ------------------
  |  |  135|  4.43k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  8.87k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  4.44k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 12, False: 4.42k]
  |  |  |  Branch (135:31): [True: 12, False: 0]
  |  |  ------------------
  |  |  136|  4.43k|    { \
  |  |  137|     12|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     12|    { \
  |  |  |  |  121|     12|      compiler->last_error = e; \
  |  |  |  |  122|     12|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     12|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     12|      switch (e) \
  |  |  |  |  124|     12|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 12]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     12|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 12, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     12|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     12|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     12|      } \
  |  |  |  |  130|     12|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3575|       |
 3576|  4.42k|        compiler->loop_index++;
 3577|       |
 3578|       |        // This loop uses internal variables besides the ones explicitly
 3579|       |        // defined by the user.
 3580|  4.42k|        compiler->loop[compiler->loop_index].vars_internal_count = \
 3581|  4.42k|            YR_INTERNAL_LOOP_VARS;
  ------------------
  |  |   76|  4.42k|#define YR_INTERNAL_LOOP_VARS 3
  ------------------
 3582|       |
 3583|       |        // Initialize the number of variables, this number will be incremented
 3584|       |        // as variable declaration are processed by for_variables.
 3585|  4.42k|        compiler->loop[compiler->loop_index].vars_count = 0;
 3586|       |
 3587|  4.42k|        var_frame = _yr_compiler_get_var_frame(compiler);
 3588|       |
 3589|  4.42k|        fail_if_error(yr_parser_emit_with_arg(
  ------------------
  |  |  135|  4.42k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  8.84k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  4.42k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 4.42k]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|  4.42k|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3590|  4.42k|            yyscanner, OP_CLEAR_M, var_frame + 0, NULL, NULL));
 3591|       |
 3592|  4.42k|        fail_if_error(yr_parser_emit_with_arg(
  ------------------
  |  |  135|  4.42k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  8.84k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  4.42k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 4.42k]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|  4.42k|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3593|  4.42k|            yyscanner, OP_CLEAR_M, var_frame + 1, NULL, NULL));
 3594|       |
 3595|  4.42k|        fail_if_error(yr_parser_emit_with_arg(
  ------------------
  |  |  135|  4.42k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  8.84k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  4.42k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 4.42k]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|  4.42k|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3596|  4.42k|            yyscanner, OP_POP_M, var_frame + 2, NULL, NULL));
 3597|  4.42k|      }
 3598|      0|#line 3599 "libyara/grammar.c"
 3599|      0|    break;
 3600|       |
 3601|  1.87k|  case 91: /* $@7: %empty  */
  ------------------
  |  Branch (3601:3): [True: 1.87k, False: 1.03M]
  ------------------
 3602|  1.87k|#line 1618 "libyara/grammar.y"
 3603|  1.87k|      {
 3604|  1.87k|        YR_LOOP_CONTEXT* loop_ctx = &compiler->loop[compiler->loop_index];
 3605|  1.87k|        YR_FIXUP* fixup;
 3606|       |
 3607|  1.87k|        YR_ARENA_REF loop_start_ref;
 3608|  1.87k|        YR_ARENA_REF jmp_offset_ref;
 3609|       |
 3610|  1.87k|        int var_frame = _yr_compiler_get_var_frame(compiler);
 3611|       |
 3612|  1.87k|        fail_if_error(yr_parser_emit(
  ------------------
  |  |  135|  1.87k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  3.75k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  1.87k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 1.87k]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|  1.87k|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3613|  1.87k|            yyscanner, OP_ITER_NEXT, &loop_start_ref));
 3614|       |
 3615|       |        // For each variable generate an instruction that pops the value from
 3616|       |        // the stack and store it into one memory slot starting at var_frame +
 3617|       |        // YR_INTERNAL_LOOP_VARS because the first YR_INTERNAL_LOOP_VARS slots
 3618|       |        // in the frame are for the internal variables.
 3619|       |
 3620|  3.85k|        for (int i = 0; i < loop_ctx->vars_count; i++)
  ------------------
  |  Branch (3620:25): [True: 1.98k, False: 1.87k]
  ------------------
 3621|  1.98k|        {
 3622|  1.98k|          fail_if_error(yr_parser_emit_with_arg(
  ------------------
  |  |  135|  1.98k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  3.96k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  1.98k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 1.98k]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|  1.98k|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3623|  1.98k|              yyscanner,
 3624|  1.98k|              OP_POP_M,
 3625|  1.98k|              var_frame + YR_INTERNAL_LOOP_VARS + i,
 3626|  1.98k|              NULL,
 3627|  1.98k|              NULL));
 3628|  1.98k|        }
 3629|       |
 3630|  1.87k|        fail_if_error(yr_parser_emit_with_arg_int32(
  ------------------
  |  |  135|  1.87k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  3.75k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  1.87k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 1.87k]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|  1.87k|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3631|  1.87k|            yyscanner,
 3632|  1.87k|            OP_JTRUE_P,
 3633|  1.87k|            0,              // still don't know the jump offset, use 0 for now.
 3634|  1.87k|            NULL,
 3635|  1.87k|            &jmp_offset_ref));
 3636|       |
 3637|       |        // We still don't know the jump's target, so we push a fixup entry
 3638|       |        // in the stack, so that the jump's offset can be set once we know it.
 3639|       |
 3640|  1.87k|        fixup = (YR_FIXUP*) yr_malloc(sizeof(YR_FIXUP));
 3641|       |
 3642|  1.87k|        if (fixup == NULL)
  ------------------
  |  Branch (3642:13): [True: 0, False: 1.87k]
  ------------------
 3643|  1.87k|          fail_with_error(ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |  120|      0|    { \
  |  |  121|      0|      compiler->last_error = e; \
  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  ------------------
  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  123|      0|      switch (e) \
  |  |  124|      0|      { \
  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  ------------------
  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  ------------------
  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  126|      0|        YYABORT; \
  |  |  ------------------
  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  127|      0|      default: \
  |  |  ------------------
  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  128|      0|        YYERROR; \
  |  |  ------------------
  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  ------------------
  |  |  129|      0|      } \
  |  |  130|      0|    }
  ------------------
 3644|       |
 3645|  1.87k|        fixup->ref = jmp_offset_ref;
 3646|  1.87k|        fixup->next = compiler->fixup_stack_head;
 3647|  1.87k|        compiler->fixup_stack_head = fixup;
 3648|       |
 3649|  1.87k|        loop_ctx->start_ref = loop_start_ref;
 3650|  1.87k|      }
 3651|      0|#line 3652 "libyara/grammar.c"
 3652|      0|    break;
 3653|       |
 3654|    124|  case 92: /* expression: "<for>" for_expression $@6 for_iteration ':' $@7 '(' boolean_expression ')'  */
  ------------------
  |  Branch (3654:3): [True: 124, False: 1.03M]
  ------------------
 3655|    124|#line 1667 "libyara/grammar.y"
 3656|    124|      {
 3657|    124|        int32_t jmp_offset;
 3658|    124|        YR_FIXUP* fixup;
 3659|    124|        YR_ARENA_REF pop_ref;
 3660|       |
 3661|    124|        int var_frame = _yr_compiler_get_var_frame(compiler);
 3662|       |
 3663|    124|        if ((yyvsp[-5].integer) == FOR_ITERATION_STRING_SET)
  ------------------
  |  |  113|    124|#define FOR_ITERATION_STRING_SET 2
  ------------------
  |  Branch (3663:13): [True: 41, False: 83]
  ------------------
 3664|     41|        {
 3665|     41|          compiler->loop_for_of_var_index = -1;
 3666|     41|        }
 3667|       |
 3668|    124|        fail_if_error(yr_parser_emit_with_arg(
  ------------------
  |  |  135|    124|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    248|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    124|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 124]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|    124|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3669|    124|            yyscanner, OP_INCR_M, var_frame + 1, NULL, NULL));
 3670|       |
 3671|    124|        fail_if_error(yr_parser_emit_with_arg(
  ------------------
  |  |  135|    124|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    248|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    124|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 124]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|    124|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3672|    124|            yyscanner, OP_PUSH_M, var_frame + 0, NULL, NULL));
 3673|       |
 3674|    124|        fail_if_error(yr_parser_emit_with_arg(
  ------------------
  |  |  135|    124|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    248|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    124|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 124]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|    124|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3675|    124|            yyscanner, OP_PUSH_M, var_frame + 2, NULL, NULL));
 3676|       |
 3677|    124|        fail_if_error(yr_parser_emit(yyscanner, OP_ITER_CONDITION, NULL));
  ------------------
  |  |  135|    124|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    248|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    124|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 124]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|    124|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3678|       |
 3679|    124|        fail_if_error(yr_parser_emit_with_arg(
  ------------------
  |  |  135|    124|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    248|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    124|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 124]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|    124|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3680|    124|            yyscanner, OP_ADD_M, var_frame + 0, NULL, NULL));
 3681|       |
 3682|    124|        jmp_offset = \
 3683|    124|            compiler->loop[compiler->loop_index].start_ref.offset -
 3684|    124|            yr_arena_get_current_offset(compiler->arena, YR_CODE_SECTION);
  ------------------
  |  |   63|    124|#define YR_CODE_SECTION             6
  ------------------
 3685|       |
 3686|    124|        fail_if_error(yr_parser_emit_with_arg_int32(
  ------------------
  |  |  135|    124|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    248|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    124|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 124]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|    124|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3687|    124|            yyscanner,
 3688|    124|            OP_JTRUE_P,
 3689|    124|            jmp_offset,
 3690|    124|            NULL,
 3691|    124|            NULL));
 3692|       |
 3693|    124|        fail_if_error(yr_parser_emit(
  ------------------
  |  |  135|    124|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    248|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    124|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 124]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|    124|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3694|    124|            yyscanner, OP_POP, &pop_ref));
 3695|       |
 3696|       |        // Pop from the stack the fixup entry containing the reference to
 3697|       |        // the jump offset that needs to be fixed.
 3698|       |
 3699|    124|        fixup = compiler->fixup_stack_head;
 3700|    124|        compiler->fixup_stack_head = fixup->next;
 3701|       |
 3702|       |        // The fixup entry has a reference to the jump offset that need
 3703|       |        // to be fixed, convert the address into a pointer.
 3704|    124|        void* jmp_offset_addr = yr_arena_ref_to_ptr(
 3705|    124|            compiler->arena, &fixup->ref);
 3706|       |
 3707|       |        // The reference in the fixup entry points to the jump's offset
 3708|       |        // but the jump instruction is one byte before, that's why we add
 3709|       |        // one to the offset.
 3710|    124|        jmp_offset = pop_ref.offset - fixup->ref.offset + 1;
 3711|       |
 3712|       |        // Fix the jump's offset.
 3713|    124|        memcpy(jmp_offset_addr, &jmp_offset, sizeof(jmp_offset));
 3714|       |
 3715|    124|        yr_free(fixup);
 3716|       |
 3717|    124|        fail_if_error(yr_parser_emit_with_arg(
  ------------------
  |  |  135|    124|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    248|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    124|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 124]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|    124|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3718|    124|            yyscanner, OP_PUSH_M, var_frame + 1, NULL, NULL));
 3719|       |
 3720|    124|        fail_if_error(yr_parser_emit_with_arg(
  ------------------
  |  |  135|    124|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    248|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    124|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 124]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|    124|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3721|    124|            yyscanner, OP_PUSH_M, var_frame + 0, NULL, NULL));
 3722|       |
 3723|    124|        fail_if_error(yr_parser_emit_with_arg(
  ------------------
  |  |  135|    124|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    248|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    124|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 124]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|    124|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3724|    124|            yyscanner, OP_PUSH_M, var_frame + 2, NULL, NULL));
 3725|       |
 3726|    124|        fail_if_error(yr_parser_emit(
  ------------------
  |  |  135|    124|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    248|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    124|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 124]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|    124|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3727|    124|            yyscanner, OP_ITER_END, NULL));
 3728|       |
 3729|    124|        loop_vars_cleanup(compiler->loop_index);
  ------------------
  |  |  179|    124|    {  \
  |  |  180|    124|      YR_LOOP_CONTEXT* loop_ctx = &compiler->loop[loop_index]; \
  |  |  181|    329|      for (int i = 0; i < loop_ctx->vars_count; i++) \
  |  |  ------------------
  |  |  |  Branch (181:23): [True: 205, False: 124]
  |  |  ------------------
  |  |  182|    205|      { \
  |  |  183|    205|        yr_free((void*) loop_ctx->vars[i].identifier.ptr); \
  |  |  184|    205|        loop_ctx->vars[i].identifier.ptr = NULL; \
  |  |  185|    205|        loop_ctx->vars[i].identifier.ref = YR_ARENA_NULL_REF; \
  |  |  ------------------
  |  |  |  |   43|    205|  (YR_ARENA_REF)           \
  |  |  |  |   44|    205|  {                        \
  |  |  |  |   45|    205|    UINT32_MAX, UINT32_MAX \
  |  |  |  |   46|    205|  }
  |  |  ------------------
  |  |  186|    205|      } \
  |  |  187|    124|      loop_ctx->vars_count = 0; \
  |  |  188|    124|    } \
  ------------------
 3730|       |
 3731|    124|        compiler->loop_index--;
 3732|       |
 3733|    124|        (yyval.expression).type = EXPRESSION_TYPE_BOOLEAN;
  ------------------
  |  |   46|    124|#define EXPRESSION_TYPE_BOOLEAN    1
  ------------------
 3734|    124|        (yyval.expression).required_strings.count = 0;
 3735|    124|      }
 3736|      0|#line 3737 "libyara/grammar.c"
 3737|      0|    break;
 3738|       |
 3739|  1.74k|  case 93: /* expression: for_expression "<of>" string_set  */
  ------------------
  |  Branch (3739:3): [True: 1.74k, False: 1.03M]
  ------------------
 3740|  1.74k|#line 1748 "libyara/grammar.y"
 3741|  1.74k|      {
 3742|  1.74k|        if ((yyvsp[-2].expression).type == EXPRESSION_TYPE_INTEGER && (yyvsp[-2].expression).value.integer > (yyvsp[0].string_set).count)
  ------------------
  |  |   47|  3.48k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
  |  Branch (3742:13): [True: 1.23k, False: 512]
  |  Branch (3742:71): [True: 519, False: 712]
  ------------------
 3743|    519|        {
 3744|    519|          yywarning(yyscanner,
  ------------------
  |  |   50|    519|#define yywarning    yara_yywarning
  ------------------
 3745|    519|            "expression always false - requesting %" PRId64 " of %" PRId64 ".", (yyvsp[-2].expression).value.integer, (yyvsp[0].string_set).count);
 3746|    519|        }
 3747|       |
 3748|  1.74k|        if (((yyvsp[-2].expression).type == EXPRESSION_TYPE_INTEGER && (yyvsp[-2].expression).value.integer > 0) ||
  ------------------
  |  |   47|  3.48k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
  |  Branch (3748:14): [True: 1.23k, False: 512]
  |  Branch (3748:72): [True: 1.12k, False: 111]
  ------------------
 3749|    623|              ((yyvsp[-2].expression).type == EXPRESSION_TYPE_QUANTIFIER &&
  ------------------
  |  |   52|  1.24k|#define EXPRESSION_TYPE_QUANTIFIER 64
  ------------------
  |  Branch (3749:16): [True: 502, False: 121]
  ------------------
 3750|    502|                  ((yyvsp[-2].expression).value.integer == FOR_EXPRESSION_ALL || (yyvsp[-2].expression).value.integer == FOR_EXPRESSION_ANY)))
  ------------------
  |  |  108|  1.00k|#define FOR_EXPRESSION_ALL  1
  ------------------
                                ((yyvsp[-2].expression).value.integer == FOR_EXPRESSION_ALL || (yyvsp[-2].expression).value.integer == FOR_EXPRESSION_ANY)))
  ------------------
  |  |  109|    352|#define FOR_EXPRESSION_ANY  2
  ------------------
  |  Branch (3750:20): [True: 150, False: 352]
  |  Branch (3750:82): [True: 352, False: 0]
  ------------------
 3751|  1.62k|        {
 3752|  1.62k|          (yyval.expression).required_strings.count = 1;
 3753|  1.62k|        }
 3754|    121|        else
 3755|    121|        {
 3756|    121|          (yyval.expression).required_strings.count = 0;
 3757|    121|        }
 3758|       |
 3759|  1.74k|        yr_parser_emit_with_arg(yyscanner, OP_OF, OF_STRING_SET, NULL, NULL);
  ------------------
  |  |   74|  1.74k|#define OP_OF                         26
  ------------------
                      yr_parser_emit_with_arg(yyscanner, OP_OF, OF_STRING_SET, NULL, NULL);
  ------------------
  |  |   42|  1.74k|#define OF_STRING_SET 0
  ------------------
 3760|       |
 3761|  1.74k|        yr_string_set_destroy((yyvsp[0].string_set));
 3762|  1.74k|        (yyval.expression).type = EXPRESSION_TYPE_BOOLEAN;
  ------------------
  |  |   46|  1.74k|#define EXPRESSION_TYPE_BOOLEAN    1
  ------------------
 3763|  1.74k|      }
 3764|  1.74k|#line 3765 "libyara/grammar.c"
 3765|  1.74k|    break;
 3766|       |
 3767|    253|  case 94: /* expression: for_expression "<of>" rule_set  */
  ------------------
  |  Branch (3767:3): [True: 253, False: 1.03M]
  ------------------
 3768|    253|#line 1772 "libyara/grammar.y"
 3769|    253|      {
 3770|    253|        if ((yyvsp[-2].expression).type == EXPRESSION_TYPE_INTEGER && (yyvsp[-2].expression).value.integer > (yyvsp[0].integer))
  ------------------
  |  |   47|    506|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
  |  Branch (3770:13): [True: 219, False: 34]
  |  Branch (3770:71): [True: 129, False: 90]
  ------------------
 3771|    129|        {
 3772|    129|          yywarning(yyscanner,
  ------------------
  |  |   50|    129|#define yywarning    yara_yywarning
  ------------------
 3773|    129|            "expression always false - requesting %" PRId64 " of %" PRId64 ".", (yyvsp[-2].expression).value.integer, (yyvsp[0].integer));
 3774|    129|        }
 3775|    253|        yr_parser_emit_with_arg(yyscanner, OP_OF, OF_RULE_SET, NULL, NULL);
  ------------------
  |  |   74|    253|#define OP_OF                         26
  ------------------
                      yr_parser_emit_with_arg(yyscanner, OP_OF, OF_RULE_SET, NULL, NULL);
  ------------------
  |  |   43|    253|#define OF_RULE_SET   1
  ------------------
 3776|       |
 3777|    253|        (yyval.expression).type = EXPRESSION_TYPE_BOOLEAN;
  ------------------
  |  |   46|    253|#define EXPRESSION_TYPE_BOOLEAN    1
  ------------------
 3778|    253|        (yyval.expression).required_strings.count = 0;
 3779|    253|      }
 3780|    253|#line 3781 "libyara/grammar.c"
 3781|    253|    break;
 3782|       |
 3783|    169|  case 95: /* expression: primary_expression '%' "<of>" string_set  */
  ------------------
  |  Branch (3783:3): [True: 169, False: 1.03M]
  ------------------
 3784|    169|#line 1784 "libyara/grammar.y"
 3785|    169|      {
 3786|    169|        check_type_with_cleanup((yyvsp[-3].expression), EXPRESSION_TYPE_INTEGER, "%", yr_string_set_destroy((yyvsp[0].string_set)));
  ------------------
  |  |  145|    169|    if (((expression.type) & (expected_type)) == 0) \
  |  |  ------------------
  |  |  |  Branch (145:9): [True: 40, False: 129]
  |  |  ------------------
  |  |  146|    169|    { \
  |  |  147|     40|      switch(expression.type) \
  |  |  ------------------
  |  |  |  Branch (147:14): [True: 30, False: 10]
  |  |  ------------------
  |  |  148|     40|      { \
  |  |  149|      0|        case EXPRESSION_TYPE_INTEGER: \
  |  |  ------------------
  |  |  |  |   47|      0|#define EXPRESSION_TYPE_INTEGER    2
  |  |  ------------------
  |  |  |  Branch (149:9): [True: 0, False: 40]
  |  |  ------------------
  |  |  150|      0|          yr_compiler_set_error_extra_info( \
  |  |  ------------------
  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  ------------------
  |  |  151|      0|              compiler, "wrong type \"integer\" for " op " operator"); \
  |  |  152|      0|          break; \
  |  |  153|     10|        case EXPRESSION_TYPE_FLOAT: \
  |  |  ------------------
  |  |  |  |   51|     10|#define EXPRESSION_TYPE_FLOAT      32
  |  |  ------------------
  |  |  |  Branch (153:9): [True: 10, False: 30]
  |  |  ------------------
  |  |  154|     10|          yr_compiler_set_error_extra_info( \
  |  |  ------------------
  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  ------------------
  |  |  155|     10|              compiler, "wrong type \"float\" for " op " operator"); \
  |  |  156|     10|          break; \
  |  |  157|     10|        case EXPRESSION_TYPE_STRING: \
  |  |  ------------------
  |  |  |  |   48|     10|#define EXPRESSION_TYPE_STRING     4
  |  |  ------------------
  |  |  |  Branch (157:9): [True: 10, False: 30]
  |  |  ------------------
  |  |  158|     10|          yr_compiler_set_error_extra_info( \
  |  |  ------------------
  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  ------------------
  |  |  159|     10|              compiler, "wrong type \"string\" for " op " operator"); \
  |  |  160|     10|          break; \
  |  |  161|     10|        case EXPRESSION_TYPE_BOOLEAN: \
  |  |  ------------------
  |  |  |  |   46|     10|#define EXPRESSION_TYPE_BOOLEAN    1
  |  |  ------------------
  |  |  |  Branch (161:9): [True: 10, False: 30]
  |  |  ------------------
  |  |  162|     10|          yr_compiler_set_error_extra_info( \
  |  |  ------------------
  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  ------------------
  |  |  163|     10|              compiler, "wrong type \"boolean\" for " op " operator"); \
  |  |  164|     10|          break; \
  |  |  165|     40|      } \
  |  |  166|     40|      cleanup; \
  |  |  167|     40|      compiler->last_error = ERROR_WRONG_TYPE; \
  |  |  ------------------
  |  |  |  |   69|     40|#define ERROR_WRONG_TYPE                     24
  |  |  ------------------
  |  |  168|     40|      yyerror(yyscanner, compiler, NULL); \
  |  |  ------------------
  |  |  |  |   48|     40|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  169|     40|      YYERROR; \
  |  |  ------------------
  |  |  |  | 1314|     40|#define YYERROR         goto yyerrorlab
  |  |  ------------------
  |  |  170|     40|    }
  ------------------
 3787|       |
 3788|       |        // The value of primary_expression can be undefined because
 3789|       |        // it could be a variable for which don't know the value during
 3790|       |        // compiling time. However, if the value is defined it should be
 3791|       |        // in the range [1,100].
 3792|    129|        if (!IS_UNDEFINED((yyvsp[-3].expression).value.integer) &&
  ------------------
  |  |   39|    258|#define IS_UNDEFINED(x) ((size_t)(x) == (size_t) YR_UNDEFINED)
  |  |  ------------------
  |  |  |  |   38|    129|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  ------------------
  ------------------
  |  Branch (3792:13): [True: 119, False: 10]
  ------------------
 3793|    119|            ((yyvsp[-3].expression).value.integer < 1 || (yyvsp[-3].expression).value.integer > 100))
  ------------------
  |  Branch (3793:14): [True: 76, False: 43]
  |  Branch (3793:58): [True: 31, False: 12]
  ------------------
 3794|    107|        {
 3795|    107|          yr_compiler_set_error_extra_info(
  ------------------
  |  |  320|    107|  strlcpy(                                               \
  |  |  321|    107|      compiler->last_error_extra_info,                   \
  |  |  322|    107|      info,                                              \
  |  |  323|    107|      sizeof(compiler->last_error_extra_info));
  ------------------
 3796|    107|              compiler, "percentage must be between 1 and 100 (inclusive)");
 3797|       |
 3798|    107|          yr_string_set_destroy((yyvsp[0].string_set));
 3799|    107|          fail_with_error(ERROR_INVALID_PERCENTAGE);
  ------------------
  |  |  120|    107|    { \
  |  |  121|    107|      compiler->last_error = e; \
  |  |  122|    107|      yyerror(yyscanner, compiler, NULL); \
  |  |  ------------------
  |  |  |  |   48|    107|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  123|    107|      switch (e) \
  |  |  124|    107|      { \
  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  ------------------
  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  ------------------
  |  |  |  Branch (125:7): [True: 0, False: 107]
  |  |  ------------------
  |  |  126|      0|        YYABORT; \
  |  |  ------------------
  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  127|    107|      default: \
  |  |  ------------------
  |  |  |  Branch (127:7): [True: 107, False: 0]
  |  |  ------------------
  |  |  128|    107|        YYERROR; \
  |  |  ------------------
  |  |  |  | 1314|    107|#define YYERROR         goto yyerrorlab
  |  |  ------------------
  |  |  129|    107|      } \
  |  |  130|    107|    }
  ------------------
 3800|      0|        }
 3801|       |
 3802|     22|        if (!IS_UNDEFINED((yyvsp[-3].expression).value.integer))
  ------------------
  |  |   39|     22|#define IS_UNDEFINED(x) ((size_t)(x) == (size_t) YR_UNDEFINED)
  |  |  ------------------
  |  |  |  |   38|     22|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  ------------------
  ------------------
  |  Branch (3802:13): [True: 12, False: 10]
  ------------------
 3803|     12|        {
 3804|     12|          (yyval.expression).required_strings.count = 1;
 3805|     12|        }
 3806|     10|        else
 3807|     10|        {
 3808|     10|          (yyval.expression).required_strings.count = 0;
 3809|     10|        }
 3810|       |
 3811|     22|        yr_string_set_destroy((yyvsp[0].string_set));
 3812|     22|        yr_parser_emit_with_arg(yyscanner, OP_OF_PERCENT, OF_STRING_SET, NULL, NULL);
  ------------------
  |  |  122|     22|#define OP_OF_PERCENT                 74
  ------------------
                      yr_parser_emit_with_arg(yyscanner, OP_OF_PERCENT, OF_STRING_SET, NULL, NULL);
  ------------------
  |  |   42|     22|#define OF_STRING_SET 0
  ------------------
 3813|     22|      }
 3814|      0|#line 3815 "libyara/grammar.c"
 3815|      0|    break;
 3816|       |
 3817|    271|  case 96: /* expression: primary_expression '%' "<of>" rule_set  */
  ------------------
  |  Branch (3817:3): [True: 271, False: 1.03M]
  ------------------
 3818|    271|#line 1814 "libyara/grammar.y"
 3819|    271|      {
 3820|    271|        check_type((yyvsp[-3].expression), EXPRESSION_TYPE_INTEGER, "%");
  ------------------
  |  |  175|    271|    check_type_with_cleanup(expression, expected_type, op, )
  |  |  ------------------
  |  |  |  |  145|    271|    if (((expression.type) & (expected_type)) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (145:9): [True: 52, False: 219]
  |  |  |  |  ------------------
  |  |  |  |  146|    271|    { \
  |  |  |  |  147|     52|      switch(expression.type) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (147:14): [True: 42, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  148|     52|      { \
  |  |  |  |  149|      0|        case EXPRESSION_TYPE_INTEGER: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define EXPRESSION_TYPE_INTEGER    2
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (149:9): [True: 0, False: 52]
  |  |  |  |  ------------------
  |  |  |  |  150|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  151|      0|              compiler, "wrong type \"integer\" for " op " operator"); \
  |  |  |  |  152|      0|          break; \
  |  |  |  |  153|     13|        case EXPRESSION_TYPE_FLOAT: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   51|     13|#define EXPRESSION_TYPE_FLOAT      32
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:9): [True: 13, False: 39]
  |  |  |  |  ------------------
  |  |  |  |  154|     13|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     13|  strlcpy(                                               \
  |  |  |  |  |  |  321|     13|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     13|      info,                                              \
  |  |  |  |  |  |  323|     13|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  155|     13|              compiler, "wrong type \"float\" for " op " operator"); \
  |  |  |  |  156|     13|          break; \
  |  |  |  |  157|     19|        case EXPRESSION_TYPE_STRING: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     19|#define EXPRESSION_TYPE_STRING     4
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (157:9): [True: 19, False: 33]
  |  |  |  |  ------------------
  |  |  |  |  158|     19|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     19|  strlcpy(                                               \
  |  |  |  |  |  |  321|     19|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     19|      info,                                              \
  |  |  |  |  |  |  323|     19|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  159|     19|              compiler, "wrong type \"string\" for " op " operator"); \
  |  |  |  |  160|     19|          break; \
  |  |  |  |  161|     10|        case EXPRESSION_TYPE_BOOLEAN: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|     10|#define EXPRESSION_TYPE_BOOLEAN    1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (161:9): [True: 10, False: 42]
  |  |  |  |  ------------------
  |  |  |  |  162|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  163|     10|              compiler, "wrong type \"boolean\" for " op " operator"); \
  |  |  |  |  164|     10|          break; \
  |  |  |  |  165|     52|      } \
  |  |  |  |  166|     52|      cleanup; \
  |  |  |  |  167|     52|      compiler->last_error = ERROR_WRONG_TYPE; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|     52|#define ERROR_WRONG_TYPE                     24
  |  |  |  |  ------------------
  |  |  |  |  168|     52|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     52|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  169|     52|      YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     52|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  170|     52|    }
  |  |  ------------------
  ------------------
 3821|       |
 3822|       |        // The value of primary_expression can be undefined because
 3823|       |        // it could be a variable for which don't know the value during
 3824|       |        // compiling time. However, if the value is defined it should be
 3825|       |        // in the range [1,100].
 3826|    219|        if (!IS_UNDEFINED((yyvsp[-3].expression).value.integer) &&
  ------------------
  |  |   39|    438|#define IS_UNDEFINED(x) ((size_t)(x) == (size_t) YR_UNDEFINED)
  |  |  ------------------
  |  |  |  |   38|    219|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  ------------------
  ------------------
  |  Branch (3826:13): [True: 213, False: 6]
  ------------------
 3827|    213|            ((yyvsp[-3].expression).value.integer < 1 || (yyvsp[-3].expression).value.integer > 100))
  ------------------
  |  Branch (3827:14): [True: 113, False: 100]
  |  Branch (3827:58): [True: 86, False: 14]
  ------------------
 3828|    199|        {
 3829|    199|          yr_compiler_set_error_extra_info(
  ------------------
  |  |  320|    199|  strlcpy(                                               \
  |  |  321|    199|      compiler->last_error_extra_info,                   \
  |  |  322|    199|      info,                                              \
  |  |  323|    199|      sizeof(compiler->last_error_extra_info));
  ------------------
 3830|    199|              compiler, "percentage must be between 1 and 100 (inclusive)");
 3831|       |
 3832|    199|          fail_with_error(ERROR_INVALID_PERCENTAGE);
  ------------------
  |  |  120|    199|    { \
  |  |  121|    199|      compiler->last_error = e; \
  |  |  122|    199|      yyerror(yyscanner, compiler, NULL); \
  |  |  ------------------
  |  |  |  |   48|    199|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  123|    199|      switch (e) \
  |  |  124|    199|      { \
  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  ------------------
  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  ------------------
  |  |  |  Branch (125:7): [True: 0, False: 199]
  |  |  ------------------
  |  |  126|      0|        YYABORT; \
  |  |  ------------------
  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  127|    199|      default: \
  |  |  ------------------
  |  |  |  Branch (127:7): [True: 199, False: 0]
  |  |  ------------------
  |  |  128|    199|        YYERROR; \
  |  |  ------------------
  |  |  |  | 1314|    199|#define YYERROR         goto yyerrorlab
  |  |  ------------------
  |  |  129|    199|      } \
  |  |  130|    199|    }
  ------------------
 3833|      0|        }
 3834|       |
 3835|     20|        yr_parser_emit_with_arg(yyscanner, OP_OF_PERCENT, OF_RULE_SET, NULL, NULL);
  ------------------
  |  |  122|     20|#define OP_OF_PERCENT                 74
  ------------------
                      yr_parser_emit_with_arg(yyscanner, OP_OF_PERCENT, OF_RULE_SET, NULL, NULL);
  ------------------
  |  |   43|     20|#define OF_RULE_SET   1
  ------------------
 3836|     20|      }
 3837|      0|#line 3838 "libyara/grammar.c"
 3838|      0|    break;
 3839|       |
 3840|  1.05k|  case 97: /* expression: for_expression "<of>" string_set "<in>" range  */
  ------------------
  |  Branch (3840:3): [True: 1.05k, False: 1.03M]
  ------------------
 3841|  1.05k|#line 1833 "libyara/grammar.y"
 3842|  1.05k|      {
 3843|  1.05k|        if ((yyvsp[-4].expression).type == EXPRESSION_TYPE_INTEGER && (yyvsp[-4].expression).value.integer > (yyvsp[-2].string_set).count)
  ------------------
  |  |   47|  2.10k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
  |  Branch (3843:13): [True: 705, False: 348]
  |  Branch (3843:71): [True: 166, False: 539]
  ------------------
 3844|    166|        {
 3845|    166|          yywarning(yyscanner,
  ------------------
  |  |   50|    166|#define yywarning    yara_yywarning
  ------------------
 3846|    166|            "expression always false - requesting %" PRId64 " of %" PRId64 ".", (yyvsp[-4].expression).value.integer, (yyvsp[-2].string_set).count);
 3847|    166|        }
 3848|       |
 3849|  1.05k|        if (((yyvsp[-4].expression).type == EXPRESSION_TYPE_INTEGER && (yyvsp[-4].expression).value.integer > 0) ||
  ------------------
  |  |   47|  2.10k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
  |  Branch (3849:14): [True: 705, False: 348]
  |  Branch (3849:72): [True: 168, False: 537]
  ------------------
 3850|    885|              ((yyvsp[-4].expression).type == EXPRESSION_TYPE_QUANTIFIER &&
  ------------------
  |  |   52|  1.77k|#define EXPRESSION_TYPE_QUANTIFIER 64
  ------------------
  |  Branch (3850:16): [True: 141, False: 744]
  ------------------
 3851|    141|                  ((yyvsp[-4].expression).value.integer == FOR_EXPRESSION_ALL || (yyvsp[-4].expression).value.integer == FOR_EXPRESSION_ANY)))
  ------------------
  |  |  108|    282|#define FOR_EXPRESSION_ALL  1
  ------------------
                                ((yyvsp[-4].expression).value.integer == FOR_EXPRESSION_ALL || (yyvsp[-4].expression).value.integer == FOR_EXPRESSION_ANY)))
  ------------------
  |  |  109|     80|#define FOR_EXPRESSION_ANY  2
  ------------------
  |  Branch (3851:20): [True: 61, False: 80]
  |  Branch (3851:82): [True: 80, False: 0]
  ------------------
 3852|    309|        {
 3853|    309|          (yyval.expression).required_strings.count = 1;
 3854|    309|        }
 3855|    744|        else
 3856|    744|        {
 3857|    744|          (yyval.expression).required_strings.count = 0;
 3858|    744|        }
 3859|       |
 3860|  1.05k|        yr_parser_emit(yyscanner, OP_OF_FOUND_IN, NULL);
  ------------------
  |  |  123|  1.05k|#define OP_OF_FOUND_IN                75
  ------------------
 3861|       |
 3862|       |        // Mark strings as non-fast strings (since we need to check all matches whether they are in range)
 3863|  1.05k|        yr_parser_mark_nonfast(yyscanner, (yyvsp[-2].string_set));
 3864|       |
 3865|  1.05k|        yr_string_set_destroy((yyvsp[-2].string_set));
 3866|  1.05k|        (yyval.expression).type = EXPRESSION_TYPE_BOOLEAN;
  ------------------
  |  |   46|  1.05k|#define EXPRESSION_TYPE_BOOLEAN    1
  ------------------
 3867|  1.05k|      }
 3868|  1.05k|#line 3869 "libyara/grammar.c"
 3869|  1.05k|    break;
 3870|       |
 3871|  9.21k|  case 98: /* expression: for_expression "<of>" string_set "<at>" primary_expression  */
  ------------------
  |  Branch (3871:3): [True: 9.21k, False: 1.02M]
  ------------------
 3872|  9.21k|#line 1860 "libyara/grammar.y"
 3873|  9.21k|      {
 3874|  9.21k|        if ((yyvsp[0].expression).type != EXPRESSION_TYPE_INTEGER)
  ------------------
  |  |   47|  9.21k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
  |  Branch (3874:13): [True: 10, False: 9.20k]
  ------------------
 3875|     10|        {
 3876|     10|          yr_compiler_set_error_extra_info(compiler,
  ------------------
  |  |  320|     10|  strlcpy(                                               \
  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  322|     10|      info,                                              \
  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  ------------------
 3877|     10|              "at expression must be an integer");
 3878|       |
 3879|     10|          yr_string_set_destroy((yyvsp[-2].string_set));
 3880|     10|          fail_with_error(ERROR_INVALID_VALUE);
  ------------------
  |  |  120|     10|    { \
  |  |  121|     10|      compiler->last_error = e; \
  |  |  122|     10|      yyerror(yyscanner, compiler, NULL); \
  |  |  ------------------
  |  |  |  |   48|     10|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  123|     10|      switch (e) \
  |  |  124|     10|      { \
  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  ------------------
  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  ------------------
  |  |  |  Branch (125:7): [True: 0, False: 10]
  |  |  ------------------
  |  |  126|      0|        YYABORT; \
  |  |  ------------------
  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  127|     10|      default: \
  |  |  ------------------
  |  |  |  Branch (127:7): [True: 10, False: 0]
  |  |  ------------------
  |  |  128|     10|        YYERROR; \
  |  |  ------------------
  |  |  |  | 1314|     10|#define YYERROR         goto yyerrorlab
  |  |  ------------------
  |  |  129|     10|      } \
  |  |  130|     10|    }
  ------------------
 3881|      0|        }
 3882|       |
 3883|  9.20k|        if ((yyvsp[-4].expression).type == EXPRESSION_TYPE_INTEGER && (yyvsp[-4].expression).value.integer > (yyvsp[-2].string_set).count)
  ------------------
  |  |   47|  18.4k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
  |  Branch (3883:13): [True: 3.54k, False: 5.65k]
  |  Branch (3883:71): [True: 353, False: 3.19k]
  ------------------
 3884|    353|        {
 3885|    353|          yywarning(yyscanner,
  ------------------
  |  |   50|    353|#define yywarning    yara_yywarning
  ------------------
 3886|    353|            "expression always false - requesting %" PRId64 " of %" PRId64 ".", (yyvsp[-4].expression).value.integer, (yyvsp[-2].string_set).count);
 3887|    353|        }
 3888|       |
 3889|       |        // Both of these are warnings:
 3890|       |        //
 3891|       |        // "N of them at 0" where N > 1
 3892|       |        //
 3893|       |        //"all of them at 0" where there is more than 1 in "them".
 3894|       |        //
 3895|       |        // This means you can do "all of them at 0" if you only have one string
 3896|       |        // defined in the set.
 3897|  9.20k|        if (((yyvsp[-4].expression).type == EXPRESSION_TYPE_INTEGER &&
  ------------------
  |  |   47|  18.4k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
  |  Branch (3897:14): [True: 3.54k, False: 5.65k]
  ------------------
 3898|  3.54k|              !IS_UNDEFINED((yyvsp[-4].expression).value.integer) && (yyvsp[-4].expression).value.integer > 1) ||
  ------------------
  |  |   39|  12.7k|#define IS_UNDEFINED(x) ((size_t)(x) == (size_t) YR_UNDEFINED)
  |  |  ------------------
  |  |  |  |   38|  3.54k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  ------------------
  ------------------
  |  Branch (3898:15): [True: 3.33k, False: 210]
  |  Branch (3898:70): [True: 353, False: 2.98k]
  ------------------
 3899|  8.85k|              ((yyvsp[-4].expression).type == EXPRESSION_TYPE_QUANTIFIER &&
  ------------------
  |  |   52|  17.7k|#define EXPRESSION_TYPE_QUANTIFIER 64
  ------------------
  |  Branch (3899:16): [True: 5.36k, False: 3.48k]
  ------------------
 3900|  5.36k|              (yyvsp[-4].expression).value.integer == FOR_EXPRESSION_ALL && (yyvsp[-2].string_set).count > 1))
  ------------------
  |  |  108|  14.2k|#define FOR_EXPRESSION_ALL  1
  ------------------
  |  Branch (3900:15): [True: 3.53k, False: 1.83k]
  |  Branch (3900:77): [True: 2.96k, False: 569]
  ------------------
 3901|  3.31k|        {
 3902|  3.31k|          yywarning(yyscanner,
  ------------------
  |  |   50|  3.31k|#define yywarning    yara_yywarning
  ------------------
 3903|  3.31k|            "multiple strings at an offset is usually false.");
 3904|  3.31k|        }
 3905|       |
 3906|  9.20k|        if (((yyvsp[-4].expression).type == EXPRESSION_TYPE_INTEGER && (yyvsp[-4].expression).value.integer > 0) ||
  ------------------
  |  |   47|  18.4k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
  |  Branch (3906:14): [True: 3.54k, False: 5.65k]
  |  Branch (3906:72): [True: 2.08k, False: 1.45k]
  ------------------
 3907|  7.11k|              ((yyvsp[-4].expression).type == EXPRESSION_TYPE_QUANTIFIER &&
  ------------------
  |  |   52|  14.2k|#define EXPRESSION_TYPE_QUANTIFIER 64
  ------------------
  |  Branch (3907:16): [True: 5.36k, False: 1.75k]
  ------------------
 3908|  5.36k|                  ((yyvsp[-4].expression).value.integer == FOR_EXPRESSION_ALL || (yyvsp[-4].expression).value.integer == FOR_EXPRESSION_ANY)))
  ------------------
  |  |  108|  10.7k|#define FOR_EXPRESSION_ALL  1
  ------------------
                                ((yyvsp[-4].expression).value.integer == FOR_EXPRESSION_ALL || (yyvsp[-4].expression).value.integer == FOR_EXPRESSION_ANY)))
  ------------------
  |  |  109|  1.83k|#define FOR_EXPRESSION_ANY  2
  ------------------
  |  Branch (3908:20): [True: 3.53k, False: 1.83k]
  |  Branch (3908:82): [True: 1.83k, False: 0]
  ------------------
 3909|  7.45k|        {
 3910|  7.45k|          (yyval.expression).required_strings.count = 1;
 3911|  7.45k|        }
 3912|  1.75k|        else
 3913|  1.75k|        {
 3914|  1.75k|          (yyval.expression).required_strings.count = 0;
 3915|  1.75k|        }
 3916|       |
 3917|  9.20k|        yr_parser_emit(yyscanner, OP_OF_FOUND_AT, NULL);
  ------------------
  |  |  127|  9.20k|#define OP_OF_FOUND_AT                79
  ------------------
 3918|       |
 3919|       |        // Mark strings as non-fast strings (since we need to check all matches whether they are at location)
 3920|  9.20k|        yr_parser_mark_nonfast(yyscanner, (yyvsp[-2].string_set));
 3921|       |
 3922|  9.20k|        yr_string_set_destroy((yyvsp[-2].string_set));
 3923|  9.20k|        (yyval.expression).type = EXPRESSION_TYPE_BOOLEAN;
  ------------------
  |  |   46|  9.20k|#define EXPRESSION_TYPE_BOOLEAN    1
  ------------------
 3924|  9.20k|      }
 3925|      0|#line 3926 "libyara/grammar.c"
 3926|      0|    break;
 3927|       |
 3928|    205|  case 99: /* expression: "<not>" boolean_expression  */
  ------------------
  |  Branch (3928:3): [True: 205, False: 1.03M]
  ------------------
 3929|    205|#line 1913 "libyara/grammar.y"
 3930|    205|      {
 3931|    205|        yr_parser_emit(yyscanner, OP_NOT, NULL);
  ------------------
  |  |   51|    205|#define OP_NOT                        3
  ------------------
 3932|       |
 3933|    205|        (yyval.expression).type = EXPRESSION_TYPE_BOOLEAN;
  ------------------
  |  |   46|    205|#define EXPRESSION_TYPE_BOOLEAN    1
  ------------------
 3934|    205|        (yyval.expression).required_strings.count = 0;
 3935|    205|      }
 3936|    205|#line 3937 "libyara/grammar.c"
 3937|    205|    break;
 3938|       |
 3939|     12|  case 100: /* expression: "<defined>" boolean_expression  */
  ------------------
  |  Branch (3939:3): [True: 12, False: 1.03M]
  ------------------
 3940|     12|#line 1920 "libyara/grammar.y"
 3941|     12|      {
 3942|     12|        yr_parser_emit(yyscanner, OP_DEFINED, NULL);
  ------------------
  |  |  125|     12|#define OP_DEFINED                    77
  ------------------
 3943|     12|        (yyval.expression).type = EXPRESSION_TYPE_BOOLEAN;
  ------------------
  |  |   46|     12|#define EXPRESSION_TYPE_BOOLEAN    1
  ------------------
 3944|     12|        (yyval.expression).required_strings.count = 0;
 3945|     12|      }
 3946|     12|#line 3947 "libyara/grammar.c"
 3947|     12|    break;
 3948|       |
 3949|    479|  case 101: /* $@8: %empty  */
  ------------------
  |  Branch (3949:3): [True: 479, False: 1.03M]
  ------------------
 3950|    479|#line 1926 "libyara/grammar.y"
 3951|    479|      {
 3952|    479|        YR_FIXUP* fixup;
 3953|    479|        YR_ARENA_REF jmp_offset_ref;
 3954|       |
 3955|    479|        fail_if_error(yr_parser_emit_with_arg_int32(
  ------------------
  |  |  135|    479|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    958|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    479|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 479]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|    479|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3956|    479|            yyscanner,
 3957|    479|            OP_JFALSE,
 3958|    479|            0,          // still don't know the jump offset, use 0 for now.
 3959|    479|            NULL,
 3960|    479|            &jmp_offset_ref));
 3961|       |
 3962|       |        // Create a fixup entry for the jump and push it in the stack.
 3963|    479|        fixup = (YR_FIXUP*) yr_malloc(sizeof(YR_FIXUP));
 3964|       |
 3965|    479|        if (fixup == NULL)
  ------------------
  |  Branch (3965:13): [True: 0, False: 479]
  ------------------
 3966|    479|          fail_with_error(ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |  120|      0|    { \
  |  |  121|      0|      compiler->last_error = e; \
  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  ------------------
  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  123|      0|      switch (e) \
  |  |  124|      0|      { \
  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  ------------------
  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  ------------------
  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  126|      0|        YYABORT; \
  |  |  ------------------
  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  127|      0|      default: \
  |  |  ------------------
  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  128|      0|        YYERROR; \
  |  |  ------------------
  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  ------------------
  |  |  129|      0|      } \
  |  |  130|      0|    }
  ------------------
 3967|       |
 3968|    479|        fixup->ref = jmp_offset_ref;
 3969|    479|        fixup->next = compiler->fixup_stack_head;
 3970|    479|        compiler->fixup_stack_head = fixup;
 3971|    479|      }
 3972|      0|#line 3973 "libyara/grammar.c"
 3973|      0|    break;
 3974|       |
 3975|    473|  case 102: /* expression: boolean_expression "<and>" $@8 boolean_expression  */
  ------------------
  |  Branch (3975:3): [True: 473, False: 1.03M]
  ------------------
 3976|    473|#line 1948 "libyara/grammar.y"
 3977|    473|      {
 3978|    473|        YR_FIXUP* fixup;
 3979|       |
 3980|    473|        fail_if_error(yr_parser_emit(yyscanner, OP_AND, NULL));
  ------------------
  |  |  135|    473|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    946|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    473|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 473]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|    473|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 3981|       |
 3982|    473|        fixup = compiler->fixup_stack_head;
 3983|       |
 3984|    473|        void* jmp_offset_addr = yr_arena_ref_to_ptr(
 3985|    473|            compiler->arena, &fixup->ref);
 3986|       |
 3987|    473|        int32_t jmp_offset = \
 3988|    473|            yr_arena_get_current_offset(compiler->arena, YR_CODE_SECTION) -
  ------------------
  |  |   63|    473|#define YR_CODE_SECTION             6
  ------------------
 3989|    473|            fixup->ref.offset + 1;
 3990|       |
 3991|    473|        memcpy(jmp_offset_addr, &jmp_offset, sizeof(jmp_offset));
 3992|       |
 3993|       |        // Remove fixup from the stack.
 3994|    473|        compiler->fixup_stack_head = fixup->next;
 3995|    473|        yr_free(fixup);
 3996|       |
 3997|    473|        (yyval.expression).type = EXPRESSION_TYPE_BOOLEAN;
  ------------------
  |  |   46|    473|#define EXPRESSION_TYPE_BOOLEAN    1
  ------------------
 3998|    473|        (yyval.expression).required_strings.count = (yyvsp[0].expression).required_strings.count + (yyvsp[-3].expression).required_strings.count;
 3999|    473|      }
 4000|      0|#line 4001 "libyara/grammar.c"
 4001|      0|    break;
 4002|       |
 4003|  14.3k|  case 103: /* $@9: %empty  */
  ------------------
  |  Branch (4003:3): [True: 14.3k, False: 1.02M]
  ------------------
 4004|  14.3k|#line 1972 "libyara/grammar.y"
 4005|  14.3k|      {
 4006|  14.3k|        YR_FIXUP* fixup;
 4007|  14.3k|        YR_ARENA_REF jmp_offset_ref;
 4008|       |
 4009|  14.3k|        fail_if_error(yr_parser_emit_with_arg_int32(
  ------------------
  |  |  135|  14.3k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  28.6k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  14.3k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 14.3k]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|  14.3k|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4010|  14.3k|            yyscanner,
 4011|  14.3k|            OP_JTRUE,
 4012|  14.3k|            0,         // still don't know the jump destination, use 0 for now.
 4013|  14.3k|            NULL,
 4014|  14.3k|            &jmp_offset_ref));
 4015|       |
 4016|  14.3k|        fixup = (YR_FIXUP*) yr_malloc(sizeof(YR_FIXUP));
 4017|       |
 4018|  14.3k|        if (fixup == NULL)
  ------------------
  |  Branch (4018:13): [True: 0, False: 14.3k]
  ------------------
 4019|  14.3k|          fail_with_error(ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |  120|      0|    { \
  |  |  121|      0|      compiler->last_error = e; \
  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  ------------------
  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  123|      0|      switch (e) \
  |  |  124|      0|      { \
  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  ------------------
  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  ------------------
  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  126|      0|        YYABORT; \
  |  |  ------------------
  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  127|      0|      default: \
  |  |  ------------------
  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  128|      0|        YYERROR; \
  |  |  ------------------
  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  ------------------
  |  |  129|      0|      } \
  |  |  130|      0|    }
  ------------------
 4020|       |
 4021|  14.3k|        fixup->ref = jmp_offset_ref;
 4022|  14.3k|        fixup->next = compiler->fixup_stack_head;
 4023|  14.3k|        compiler->fixup_stack_head = fixup;
 4024|  14.3k|      }
 4025|      0|#line 4026 "libyara/grammar.c"
 4026|      0|    break;
 4027|       |
 4028|  10.4k|  case 104: /* expression: boolean_expression "<or>" $@9 boolean_expression  */
  ------------------
  |  Branch (4028:3): [True: 10.4k, False: 1.02M]
  ------------------
 4029|  10.4k|#line 1993 "libyara/grammar.y"
 4030|  10.4k|      {
 4031|  10.4k|        YR_FIXUP* fixup;
 4032|       |
 4033|  10.4k|        fail_if_error(yr_parser_emit(yyscanner, OP_OR, NULL));
  ------------------
  |  |  135|  10.4k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  20.9k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  10.4k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 10.4k]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|  10.4k|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4034|       |
 4035|  10.4k|        fixup = compiler->fixup_stack_head;
 4036|       |
 4037|  10.4k|        int32_t jmp_offset = \
 4038|  10.4k|            yr_arena_get_current_offset(compiler->arena, YR_CODE_SECTION) -
  ------------------
  |  |   63|  10.4k|#define YR_CODE_SECTION             6
  ------------------
 4039|  10.4k|            fixup->ref.offset + 1;
 4040|       |
 4041|  10.4k|        void* jmp_offset_addr = yr_arena_ref_to_ptr(
 4042|  10.4k|            compiler->arena, &fixup->ref);
 4043|       |
 4044|  10.4k|        memcpy(jmp_offset_addr, &jmp_offset, sizeof(jmp_offset));
 4045|       |
 4046|       |        // Remove fixup from the stack.
 4047|  10.4k|        compiler->fixup_stack_head = fixup->next;
 4048|  10.4k|        yr_free(fixup);
 4049|       |
 4050|  10.4k|        (yyval.expression).type = EXPRESSION_TYPE_BOOLEAN;
  ------------------
  |  |   46|  10.4k|#define EXPRESSION_TYPE_BOOLEAN    1
  ------------------
 4051|       |
 4052|       |        // Set required string count to minimum from both parts
 4053|  10.4k|        if ((yyvsp[-3].expression).required_strings.count > (yyvsp[0].expression).required_strings.count) {
  ------------------
  |  Branch (4053:13): [True: 350, False: 10.1k]
  ------------------
 4054|    350|          (yyval.expression).required_strings.count = (yyvsp[0].expression).required_strings.count;
 4055|  10.1k|        } else {
 4056|  10.1k|          (yyval.expression).required_strings.count = (yyvsp[-3].expression).required_strings.count;
 4057|  10.1k|        }
 4058|  10.4k|      }
 4059|      0|#line 4060 "libyara/grammar.c"
 4060|      0|    break;
 4061|       |
 4062|  1.03k|  case 105: /* expression: primary_expression "<" primary_expression  */
  ------------------
  |  Branch (4062:3): [True: 1.03k, False: 1.03M]
  ------------------
 4063|  1.03k|#line 2023 "libyara/grammar.y"
 4064|  1.03k|      {
 4065|  1.03k|        fail_if_error(yr_parser_reduce_operation(
  ------------------
  |  |  135|  1.03k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  2.07k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  1.04k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 13, False: 1.02k]
  |  |  |  Branch (135:31): [True: 13, False: 0]
  |  |  ------------------
  |  |  136|  1.03k|    { \
  |  |  137|     13|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     13|    { \
  |  |  |  |  121|     13|      compiler->last_error = e; \
  |  |  |  |  122|     13|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     13|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     13|      switch (e) \
  |  |  |  |  124|     13|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 13]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     13|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 13, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     13|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     13|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     13|      } \
  |  |  |  |  130|     13|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4066|  1.03k|            yyscanner, "<", (yyvsp[-2].expression), (yyvsp[0].expression)));
 4067|       |
 4068|  1.02k|        (yyval.expression).type = EXPRESSION_TYPE_BOOLEAN;
  ------------------
  |  |   46|  1.02k|#define EXPRESSION_TYPE_BOOLEAN    1
  ------------------
 4069|  1.02k|        (yyval.expression).required_strings.count = 0;
 4070|  1.02k|      }
 4071|      0|#line 4072 "libyara/grammar.c"
 4072|      0|    break;
 4073|       |
 4074|    774|  case 106: /* expression: primary_expression ">" primary_expression  */
  ------------------
  |  Branch (4074:3): [True: 774, False: 1.03M]
  ------------------
 4075|    774|#line 2031 "libyara/grammar.y"
 4076|    774|      {
 4077|    774|        fail_if_error(yr_parser_reduce_operation(
  ------------------
  |  |  135|    774|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  1.54k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    820|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 46, False: 728]
  |  |  |  Branch (135:31): [True: 46, False: 0]
  |  |  ------------------
  |  |  136|    774|    { \
  |  |  137|     46|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     46|    { \
  |  |  |  |  121|     46|      compiler->last_error = e; \
  |  |  |  |  122|     46|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     46|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     46|      switch (e) \
  |  |  |  |  124|     46|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 46]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     46|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 46, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     46|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     46|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     46|      } \
  |  |  |  |  130|     46|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4078|    774|            yyscanner, ">", (yyvsp[-2].expression), (yyvsp[0].expression)));
 4079|       |
 4080|    728|        (yyval.expression).type = EXPRESSION_TYPE_BOOLEAN;
  ------------------
  |  |   46|    728|#define EXPRESSION_TYPE_BOOLEAN    1
  ------------------
 4081|    728|        (yyval.expression).required_strings.count = 0;
 4082|    728|      }
 4083|      0|#line 4084 "libyara/grammar.c"
 4084|      0|    break;
 4085|       |
 4086|  1.36k|  case 107: /* expression: primary_expression "<=" primary_expression  */
  ------------------
  |  Branch (4086:3): [True: 1.36k, False: 1.03M]
  ------------------
 4087|  1.36k|#line 2039 "libyara/grammar.y"
 4088|  1.36k|      {
 4089|  1.36k|        fail_if_error(yr_parser_reduce_operation(
  ------------------
  |  |  135|  1.36k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  2.73k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  1.37k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 10, False: 1.35k]
  |  |  |  Branch (135:31): [True: 10, False: 0]
  |  |  ------------------
  |  |  136|  1.36k|    { \
  |  |  137|     10|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     10|    { \
  |  |  |  |  121|     10|      compiler->last_error = e; \
  |  |  |  |  122|     10|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     10|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     10|      switch (e) \
  |  |  |  |  124|     10|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     10|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 10, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     10|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     10|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     10|      } \
  |  |  |  |  130|     10|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4090|  1.36k|            yyscanner, "<=", (yyvsp[-2].expression), (yyvsp[0].expression)));
 4091|       |
 4092|  1.35k|        (yyval.expression).type = EXPRESSION_TYPE_BOOLEAN;
  ------------------
  |  |   46|  1.35k|#define EXPRESSION_TYPE_BOOLEAN    1
  ------------------
 4093|  1.35k|        (yyval.expression).required_strings.count = 0;
 4094|  1.35k|      }
 4095|      0|#line 4096 "libyara/grammar.c"
 4096|      0|    break;
 4097|       |
 4098|    680|  case 108: /* expression: primary_expression ">=" primary_expression  */
  ------------------
  |  Branch (4098:3): [True: 680, False: 1.03M]
  ------------------
 4099|    680|#line 2047 "libyara/grammar.y"
 4100|    680|      {
 4101|    680|        fail_if_error(yr_parser_reduce_operation(
  ------------------
  |  |  135|    680|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  1.36k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    690|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 10, False: 670]
  |  |  |  Branch (135:31): [True: 10, False: 0]
  |  |  ------------------
  |  |  136|    680|    { \
  |  |  137|     10|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     10|    { \
  |  |  |  |  121|     10|      compiler->last_error = e; \
  |  |  |  |  122|     10|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     10|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     10|      switch (e) \
  |  |  |  |  124|     10|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     10|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 10, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     10|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     10|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     10|      } \
  |  |  |  |  130|     10|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4102|    680|            yyscanner, ">=", (yyvsp[-2].expression), (yyvsp[0].expression)));
 4103|       |
 4104|    670|        (yyval.expression).type = EXPRESSION_TYPE_BOOLEAN;
  ------------------
  |  |   46|    670|#define EXPRESSION_TYPE_BOOLEAN    1
  ------------------
 4105|    670|        (yyval.expression).required_strings.count = 0;
 4106|    670|      }
 4107|      0|#line 4108 "libyara/grammar.c"
 4108|      0|    break;
 4109|       |
 4110|    657|  case 109: /* expression: primary_expression "==" primary_expression  */
  ------------------
  |  Branch (4110:3): [True: 657, False: 1.03M]
  ------------------
 4111|    657|#line 2055 "libyara/grammar.y"
 4112|    657|      {
 4113|    657|        fail_if_error(yr_parser_reduce_operation(
  ------------------
  |  |  135|    657|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  1.31k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    669|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 12, False: 645]
  |  |  |  Branch (135:31): [True: 12, False: 0]
  |  |  ------------------
  |  |  136|    657|    { \
  |  |  137|     12|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     12|    { \
  |  |  |  |  121|     12|      compiler->last_error = e; \
  |  |  |  |  122|     12|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     12|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     12|      switch (e) \
  |  |  |  |  124|     12|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 12]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     12|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 12, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     12|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     12|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     12|      } \
  |  |  |  |  130|     12|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4114|    657|            yyscanner, "==", (yyvsp[-2].expression), (yyvsp[0].expression)));
 4115|       |
 4116|    645|        (yyval.expression).type = EXPRESSION_TYPE_BOOLEAN;
  ------------------
  |  |   46|    645|#define EXPRESSION_TYPE_BOOLEAN    1
  ------------------
 4117|    645|        (yyval.expression).required_strings.count = 0;
 4118|    645|      }
 4119|      0|#line 4120 "libyara/grammar.c"
 4120|      0|    break;
 4121|       |
 4122|    504|  case 110: /* expression: primary_expression "!=" primary_expression  */
  ------------------
  |  Branch (4122:3): [True: 504, False: 1.03M]
  ------------------
 4123|    504|#line 2063 "libyara/grammar.y"
 4124|    504|      {
 4125|    504|        fail_if_error(yr_parser_reduce_operation(
  ------------------
  |  |  135|    504|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  1.00k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    515|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 11, False: 493]
  |  |  |  Branch (135:31): [True: 11, False: 0]
  |  |  ------------------
  |  |  136|    504|    { \
  |  |  137|     11|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     11|    { \
  |  |  |  |  121|     11|      compiler->last_error = e; \
  |  |  |  |  122|     11|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     11|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     11|      switch (e) \
  |  |  |  |  124|     11|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 11]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     11|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 11, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     11|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     11|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     11|      } \
  |  |  |  |  130|     11|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4126|    504|            yyscanner, "!=", (yyvsp[-2].expression), (yyvsp[0].expression)));
 4127|       |
 4128|    493|        (yyval.expression).type = EXPRESSION_TYPE_BOOLEAN;
  ------------------
  |  |   46|    493|#define EXPRESSION_TYPE_BOOLEAN    1
  ------------------
 4129|    493|        (yyval.expression).required_strings.count = 0;
 4130|    493|      }
 4131|      0|#line 4132 "libyara/grammar.c"
 4132|      0|    break;
 4133|       |
 4134|  13.7k|  case 111: /* expression: primary_expression  */
  ------------------
  |  Branch (4134:3): [True: 13.7k, False: 1.02M]
  ------------------
 4135|  13.7k|#line 2071 "libyara/grammar.y"
 4136|  13.7k|      {
 4137|  13.7k|        (yyval.expression) = (yyvsp[0].expression);
 4138|  13.7k|      }
 4139|  13.7k|#line 4140 "libyara/grammar.c"
 4140|  13.7k|    break;
 4141|       |
 4142|    551|  case 112: /* expression: '(' expression ')'  */
  ------------------
  |  Branch (4142:3): [True: 551, False: 1.03M]
  ------------------
 4143|    551|#line 2075 "libyara/grammar.y"
 4144|    551|      {
 4145|    551|        (yyval.expression) = (yyvsp[-1].expression);
 4146|    551|      }
 4147|    551|#line 4148 "libyara/grammar.c"
 4148|    551|    break;
 4149|       |
 4150|  1.49k|  case 113: /* for_iteration: for_variables "<in>" iterator  */
  ------------------
  |  Branch (4150:3): [True: 1.49k, False: 1.03M]
  ------------------
 4151|  1.49k|#line 2082 "libyara/grammar.y"
 4152|  1.49k|                                  { (yyval.integer) = FOR_ITERATION_ITERATOR; }
  ------------------
  |  |  112|  1.49k|#define FOR_ITERATION_ITERATOR   1
  ------------------
 4153|  1.49k|#line 4154 "libyara/grammar.c"
 4154|  1.49k|    break;
 4155|       |
 4156|    554|  case 114: /* for_iteration: "<of>" string_iterator  */
  ------------------
  |  Branch (4156:3): [True: 554, False: 1.03M]
  ------------------
 4157|    554|#line 2084 "libyara/grammar.y"
 4158|    554|      {
 4159|    554|        int var_frame;
 4160|    554|        int result = ERROR_SUCCESS;
  ------------------
  |  |   40|    554|#define ERROR_SUCCESS 0
  ------------------
 4161|       |
 4162|    554|        if (compiler->loop_for_of_var_index != -1)
  ------------------
  |  Branch (4162:13): [True: 19, False: 535]
  ------------------
 4163|     19|          result = ERROR_NESTED_FOR_OF_LOOP;
  ------------------
  |  |   79|     19|#define ERROR_NESTED_FOR_OF_LOOP             32
  ------------------
 4164|       |
 4165|    554|        fail_if_error(result);
  ------------------
  |  |  135|    554|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  1.10k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    573|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 19, False: 535]
  |  |  |  Branch (135:31): [True: 19, False: 0]
  |  |  ------------------
  |  |  136|    554|    { \
  |  |  137|     19|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     19|    { \
  |  |  |  |  121|     19|      compiler->last_error = e; \
  |  |  |  |  122|     19|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     19|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     19|      switch (e) \
  |  |  |  |  124|     19|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 19]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     19|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 19, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     19|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     19|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     19|      } \
  |  |  |  |  130|     19|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4166|       |
 4167|       |        // Simulate that we have 1 variable with string loops
 4168|    535|        compiler->loop[compiler->loop_index].vars_count = 1;
 4169|       |
 4170|       |        // Set where we can find our string in case $ is in
 4171|       |        // the body of the loop
 4172|    535|        var_frame = _yr_compiler_get_var_frame(compiler);
 4173|    535|        compiler->loop_for_of_var_index = var_frame +
 4174|    535|            compiler->loop[compiler->loop_index].vars_internal_count;
 4175|       |
 4176|    535|        (yyval.integer) = FOR_ITERATION_STRING_SET;
  ------------------
  |  |  113|    535|#define FOR_ITERATION_STRING_SET 2
  ------------------
 4177|    535|      }
 4178|      0|#line 4179 "libyara/grammar.c"
 4179|      0|    break;
 4180|       |
 4181|  3.82k|  case 115: /* for_variables: "identifier"  */
  ------------------
  |  Branch (4181:3): [True: 3.82k, False: 1.03M]
  ------------------
 4182|  3.82k|#line 2109 "libyara/grammar.y"
 4183|  3.82k|      {
 4184|  3.82k|        int result = ERROR_SUCCESS;
  ------------------
  |  |   40|  3.82k|#define ERROR_SUCCESS 0
  ------------------
 4185|       |
 4186|  3.82k|        YR_LOOP_CONTEXT* loop_ctx = &compiler->loop[compiler->loop_index];
 4187|       |
 4188|  3.82k|        if (yr_parser_lookup_loop_variable(yyscanner, (yyvsp[0].c_string), NULL) >= 0)
  ------------------
  |  Branch (4188:13): [True: 326, False: 3.49k]
  ------------------
 4189|    326|        {
 4190|    326|          yr_compiler_set_error_extra_info(compiler, (yyvsp[0].c_string));
  ------------------
  |  |  320|    326|  strlcpy(                                               \
  |  |  321|    326|      compiler->last_error_extra_info,                   \
  |  |  322|    326|      info,                                              \
  |  |  323|    326|      sizeof(compiler->last_error_extra_info));
  ------------------
 4191|    326|          yr_free((yyvsp[0].c_string));
 4192|       |
 4193|    326|          result = ERROR_DUPLICATED_LOOP_IDENTIFIER;
  ------------------
  |  |   58|    326|#define ERROR_DUPLICATED_LOOP_IDENTIFIER     13
  ------------------
 4194|    326|        }
 4195|       |
 4196|  3.82k|        fail_if_error(result);
  ------------------
  |  |  135|  3.82k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  7.65k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  4.15k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 326, False: 3.49k]
  |  |  |  Branch (135:31): [True: 326, False: 0]
  |  |  ------------------
  |  |  136|  3.82k|    { \
  |  |  137|    326|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|    326|    { \
  |  |  |  |  121|    326|      compiler->last_error = e; \
  |  |  |  |  122|    326|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|    326|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|    326|      switch (e) \
  |  |  |  |  124|    326|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 326]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|    326|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 326, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|    326|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|    326|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|    326|      } \
  |  |  |  |  130|    326|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4197|       |
 4198|  3.49k|        loop_ctx->vars[loop_ctx->vars_count++].identifier.ptr = (yyvsp[0].c_string);
 4199|       |
 4200|  3.49k|        assert(loop_ctx->vars_count <= YR_MAX_LOOP_VARS);
  ------------------
  |  Branch (4200:9): [True: 0, False: 3.49k]
  |  Branch (4200:9): [True: 3.49k, False: 0]
  ------------------
 4201|  3.49k|      }
 4202|  3.49k|#line 4203 "libyara/grammar.c"
 4203|  3.49k|    break;
 4204|       |
 4205|  3.49k|  case 116: /* for_variables: for_variables ',' "identifier"  */
  ------------------
  |  Branch (4205:3): [True: 520, False: 1.03M]
  ------------------
 4206|    520|#line 2129 "libyara/grammar.y"
 4207|    520|      {
 4208|    520|        int result = ERROR_SUCCESS;
  ------------------
  |  |   40|    520|#define ERROR_SUCCESS 0
  ------------------
 4209|       |
 4210|    520|        YR_LOOP_CONTEXT* loop_ctx = &compiler->loop[compiler->loop_index];
 4211|       |
 4212|    520|        if (loop_ctx->vars_count == YR_MAX_LOOP_VARS)
  ------------------
  |  |  102|    520|#define YR_MAX_LOOP_VARS 2
  ------------------
  |  Branch (4212:13): [True: 15, False: 505]
  ------------------
 4213|     15|        {
 4214|     15|          yr_compiler_set_error_extra_info(compiler, "too many loop variables");
  ------------------
  |  |  320|     15|  strlcpy(                                               \
  |  |  321|     15|      compiler->last_error_extra_info,                   \
  |  |  322|     15|      info,                                              \
  |  |  323|     15|      sizeof(compiler->last_error_extra_info));
  ------------------
 4215|     15|          yr_free((yyvsp[0].c_string));
 4216|       |
 4217|     15|          result = ERROR_SYNTAX_ERROR;
  ------------------
  |  |   56|     15|#define ERROR_SYNTAX_ERROR                   11
  ------------------
 4218|     15|        }
 4219|    505|        else if (yr_parser_lookup_loop_variable(yyscanner, (yyvsp[0].c_string), NULL) >= 0)
  ------------------
  |  Branch (4219:18): [True: 28, False: 477]
  ------------------
 4220|     28|        {
 4221|     28|          yr_compiler_set_error_extra_info(compiler, (yyvsp[0].c_string));
  ------------------
  |  |  320|     28|  strlcpy(                                               \
  |  |  321|     28|      compiler->last_error_extra_info,                   \
  |  |  322|     28|      info,                                              \
  |  |  323|     28|      sizeof(compiler->last_error_extra_info));
  ------------------
 4222|     28|          yr_free((yyvsp[0].c_string));
 4223|       |
 4224|     28|          result = ERROR_DUPLICATED_LOOP_IDENTIFIER;
  ------------------
  |  |   58|     28|#define ERROR_DUPLICATED_LOOP_IDENTIFIER     13
  ------------------
 4225|     28|        }
 4226|       |
 4227|    520|        fail_if_error(result);
  ------------------
  |  |  135|    520|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  1.04k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    563|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 43, False: 477]
  |  |  |  Branch (135:31): [True: 43, False: 0]
  |  |  ------------------
  |  |  136|    520|    { \
  |  |  137|     43|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     43|    { \
  |  |  |  |  121|     43|      compiler->last_error = e; \
  |  |  |  |  122|     43|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     43|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     43|      switch (e) \
  |  |  |  |  124|     43|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 43]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     43|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 43, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     43|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     43|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     43|      } \
  |  |  |  |  130|     43|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4228|       |
 4229|    477|        loop_ctx->vars[loop_ctx->vars_count++].identifier.ptr = (yyvsp[0].c_string);
 4230|    477|      }
 4231|      0|#line 4232 "libyara/grammar.c"
 4232|      0|    break;
 4233|       |
 4234|    219|  case 117: /* iterator: identifier  */
  ------------------
  |  Branch (4234:3): [True: 219, False: 1.03M]
  ------------------
 4235|    219|#line 2157 "libyara/grammar.y"
 4236|    219|      {
 4237|    219|        YR_LOOP_CONTEXT* loop_ctx = &compiler->loop[compiler->loop_index];
 4238|       |
 4239|       |        // Initially we assume that the identifier is from a non-iterable type,
 4240|       |        // this will change later if it's iterable.
 4241|    219|        int result = ERROR_WRONG_TYPE;
  ------------------
  |  |   69|    219|#define ERROR_WRONG_TYPE                     24
  ------------------
 4242|       |
 4243|    219|        if ((yyvsp[0].expression).type == EXPRESSION_TYPE_OBJECT)
  ------------------
  |  |   50|    219|#define EXPRESSION_TYPE_OBJECT     16
  ------------------
  |  Branch (4243:13): [True: 207, False: 12]
  ------------------
 4244|    207|        {
 4245|    207|          switch((yyvsp[0].expression).value.object->type)
  ------------------
  |  Branch (4245:18): [True: 189, False: 18]
  ------------------
 4246|    207|          {
 4247|     22|            case OBJECT_TYPE_ARRAY:
  ------------------
  |  |   61|     22|#define OBJECT_TYPE_ARRAY      4
  ------------------
  |  Branch (4247:13): [True: 22, False: 185]
  ------------------
 4248|       |              // If iterating an array the loop must define a single variable
 4249|       |              // that will hold the current item. If a different number of
 4250|       |              // variables were defined that's an error.
 4251|     22|              if (loop_ctx->vars_count == 1)
  ------------------
  |  Branch (4251:19): [True: 12, False: 10]
  ------------------
 4252|     12|              {
 4253|     12|                loop_ctx->vars[0].type = EXPRESSION_TYPE_OBJECT;
  ------------------
  |  |   50|     12|#define EXPRESSION_TYPE_OBJECT     16
  ------------------
 4254|     12|                loop_ctx->vars[0].value.object = \
 4255|     12|                    object_as_array((yyvsp[0].expression).value.object)->prototype_item;
  ------------------
  |  |  911|     12|#define object_as_array(obj)      ((YR_OBJECT_ARRAY*) (obj))
  ------------------
 4256|       |
 4257|     12|                result = yr_parser_emit(yyscanner, OP_ITER_START_ARRAY, NULL);
  ------------------
  |  |  102|     12|#define OP_ITER_START_ARRAY           54
  ------------------
 4258|     12|              }
 4259|     10|              else
 4260|     10|              {
 4261|     10|                yr_compiler_set_error_extra_info_fmt(
  ------------------
  |  |  326|     10|  snprintf(                                                      \
  |  |  327|     10|      compiler->last_error_extra_info,                           \
  |  |  328|     10|      sizeof(compiler->last_error_extra_info),                   \
  |  |  329|     10|      fmt,                                                       \
  |  |  330|     20|      __VA_ARGS__);
  |  |  ------------------
  |  |  |  Branch (330:7): [True: 0, False: 10]
  |  |  ------------------
  ------------------
 4262|     10|                    compiler,
 4263|     10|                    "iterator for \"%s\" yields a single item on each iteration"
 4264|     10|                    ", but the loop expects %d",
 4265|     10|                    expression_identifier((yyvsp[0].expression)),
 4266|     10|                    loop_ctx->vars_count);
 4267|       |
 4268|     10|                result = ERROR_SYNTAX_ERROR;
  ------------------
  |  |   56|     10|#define ERROR_SYNTAX_ERROR                   11
  ------------------
 4269|     10|              }
 4270|     22|              break;
 4271|       |
 4272|    167|            case OBJECT_TYPE_DICTIONARY:
  ------------------
  |  |   63|    167|#define OBJECT_TYPE_DICTIONARY 6
  ------------------
  |  Branch (4272:13): [True: 167, False: 40]
  ------------------
 4273|       |              // If iterating a dictionary the loop must define exactly two
 4274|       |              // variables, one for the key and another for the value . If a
 4275|       |              // different number of variables were defined that's an error.
 4276|    167|              if (loop_ctx->vars_count == 2)
  ------------------
  |  Branch (4276:19): [True: 161, False: 6]
  ------------------
 4277|    161|              {
 4278|    161|                loop_ctx->vars[0].type = EXPRESSION_TYPE_STRING;
  ------------------
  |  |   48|    161|#define EXPRESSION_TYPE_STRING     4
  ------------------
 4279|    161|                loop_ctx->vars[0].value.sized_string_ref = YR_ARENA_NULL_REF;
  ------------------
  |  |   43|    161|  (YR_ARENA_REF)           \
  |  |   44|    161|  {                        \
  |  |   45|    161|    UINT32_MAX, UINT32_MAX \
  |  |   46|    161|  }
  ------------------
 4280|    161|                loop_ctx->vars[1].type = EXPRESSION_TYPE_OBJECT;
  ------------------
  |  |   50|    161|#define EXPRESSION_TYPE_OBJECT     16
  ------------------
 4281|    161|                loop_ctx->vars[1].value.object = \
 4282|    161|                    object_as_array((yyvsp[0].expression).value.object)->prototype_item;
  ------------------
  |  |  911|    161|#define object_as_array(obj)      ((YR_OBJECT_ARRAY*) (obj))
  ------------------
 4283|       |
 4284|    161|                result = yr_parser_emit(yyscanner, OP_ITER_START_DICT, NULL);
  ------------------
  |  |  103|    161|#define OP_ITER_START_DICT            55
  ------------------
 4285|    161|              }
 4286|      6|              else
 4287|      6|              {
 4288|      6|                yr_compiler_set_error_extra_info_fmt(
  ------------------
  |  |  326|      6|  snprintf(                                                      \
  |  |  327|      6|      compiler->last_error_extra_info,                           \
  |  |  328|      6|      sizeof(compiler->last_error_extra_info),                   \
  |  |  329|      6|      fmt,                                                       \
  |  |  330|     12|      __VA_ARGS__);
  |  |  ------------------
  |  |  |  Branch (330:7): [True: 0, False: 6]
  |  |  ------------------
  ------------------
 4289|      6|                    compiler,
 4290|      6|                    "iterator for \"%s\" yields a key,value pair item on each iteration",
 4291|      6|                    expression_identifier((yyvsp[0].expression)));
 4292|       |
 4293|      6|                result = ERROR_SYNTAX_ERROR;
  ------------------
  |  |   56|      6|#define ERROR_SYNTAX_ERROR                   11
  ------------------
 4294|      6|              }
 4295|    167|              break;
 4296|    207|          }
 4297|    207|        }
 4298|       |
 4299|    219|        if (result == ERROR_WRONG_TYPE)
  ------------------
  |  |   69|    219|#define ERROR_WRONG_TYPE                     24
  ------------------
  |  Branch (4299:13): [True: 30, False: 189]
  ------------------
 4300|     30|        {
 4301|     30|          yr_compiler_set_error_extra_info_fmt(
  ------------------
  |  |  326|     30|  snprintf(                                                      \
  |  |  327|     30|      compiler->last_error_extra_info,                           \
  |  |  328|     30|      sizeof(compiler->last_error_extra_info),                   \
  |  |  329|     30|      fmt,                                                       \
  |  |  330|     60|      __VA_ARGS__);
  |  |  ------------------
  |  |  |  Branch (330:7): [True: 19, False: 11]
  |  |  ------------------
  ------------------
 4302|     30|              compiler,
 4303|     30|              "identifier \"%s\" is not iterable",
 4304|     30|              expression_identifier((yyvsp[0].expression)));
 4305|     30|        }
 4306|       |
 4307|    219|        fail_if_error(result);
  ------------------
  |  |  135|    219|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    438|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    265|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 46, False: 173]
  |  |  |  Branch (135:31): [True: 46, False: 0]
  |  |  ------------------
  |  |  136|    219|    { \
  |  |  137|     46|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     46|    { \
  |  |  |  |  121|     46|      compiler->last_error = e; \
  |  |  |  |  122|     46|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     46|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     46|      switch (e) \
  |  |  |  |  124|     46|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 46]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     46|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 46, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     46|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     46|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     46|      } \
  |  |  |  |  130|     46|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4308|    173|      }
 4309|      0|#line 4310 "libyara/grammar.c"
 4310|      0|    break;
 4311|       |
 4312|  1.33k|  case 118: /* iterator: set  */
  ------------------
  |  Branch (4312:3): [True: 1.33k, False: 1.03M]
  ------------------
 4313|  1.33k|#line 2231 "libyara/grammar.y"
 4314|  1.33k|      {
 4315|  1.33k|        int result = ERROR_SUCCESS;
  ------------------
  |  |   40|  1.33k|#define ERROR_SUCCESS 0
  ------------------
 4316|       |
 4317|  1.33k|        YR_LOOP_CONTEXT* loop_ctx = &compiler->loop[compiler->loop_index];
 4318|       |
 4319|  1.33k|        if (loop_ctx->vars_count == 1)
  ------------------
  |  Branch (4319:13): [True: 1.32k, False: 10]
  ------------------
 4320|  1.32k|        {
 4321|  1.32k|          loop_ctx->vars[0].type = (yyvsp[0].enumeration).type;
 4322|       |
 4323|  1.32k|          if ((yyvsp[0].enumeration).type == EXPRESSION_TYPE_STRING)
  ------------------
  |  |   48|  1.32k|#define EXPRESSION_TYPE_STRING     4
  ------------------
  |  Branch (4323:15): [True: 24, False: 1.30k]
  ------------------
 4324|     24|            loop_ctx->vars[0].value.sized_string_ref = YR_ARENA_NULL_REF;
  ------------------
  |  |   43|     24|  (YR_ARENA_REF)           \
  |  |   44|     24|  {                        \
  |  |   45|     24|    UINT32_MAX, UINT32_MAX \
  |  |   46|     24|  }
  ------------------
 4325|  1.30k|          else
 4326|  1.30k|            loop_ctx->vars[0].value.integer = YR_UNDEFINED;
  ------------------
  |  |   38|  1.30k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  ------------------
 4327|  1.32k|        }
 4328|     10|        else
 4329|     10|        {
 4330|     10|          yr_compiler_set_error_extra_info_fmt(
  ------------------
  |  |  326|     10|  snprintf(                                                      \
  |  |  327|     10|      compiler->last_error_extra_info,                           \
  |  |  328|     10|      sizeof(compiler->last_error_extra_info),                   \
  |  |  329|     10|      fmt,                                                       \
  |  |  330|     10|      __VA_ARGS__);
  ------------------
 4331|     10|              compiler,
 4332|     10|              "iterator yields one value on each iteration "
 4333|     10|              ", but the loop expects %d",
 4334|     10|              loop_ctx->vars_count);
 4335|       |
 4336|     10|          result = ERROR_SYNTAX_ERROR;
  ------------------
  |  |   56|     10|#define ERROR_SYNTAX_ERROR                   11
  ------------------
 4337|     10|        }
 4338|       |
 4339|  1.33k|        fail_if_error(result);
  ------------------
  |  |  135|  1.33k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  2.67k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  1.34k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 10, False: 1.32k]
  |  |  |  Branch (135:31): [True: 10, False: 0]
  |  |  ------------------
  |  |  136|  1.33k|    { \
  |  |  137|     10|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     10|    { \
  |  |  |  |  121|     10|      compiler->last_error = e; \
  |  |  |  |  122|     10|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     10|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     10|      switch (e) \
  |  |  |  |  124|     10|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     10|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 10, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     10|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     10|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     10|      } \
  |  |  |  |  130|     10|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4340|  1.32k|      }
 4341|      0|#line 4342 "libyara/grammar.c"
 4342|      0|    break;
 4343|       |
 4344|  1.30k|  case 119: /* set: '(' enumeration ')'  */
  ------------------
  |  Branch (4344:3): [True: 1.30k, False: 1.03M]
  ------------------
 4345|  1.30k|#line 2263 "libyara/grammar.y"
 4346|  1.30k|      {
 4347|       |        // $2.count contains the number of items in the enumeration
 4348|  1.30k|        fail_if_error(yr_parser_emit_push_const(yyscanner, (yyvsp[-1].enumeration).count));
  ------------------
  |  |  135|  1.30k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  2.61k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  1.30k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 1.30k]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|  1.30k|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4349|       |
 4350|  1.30k|        if ((yyvsp[-1].enumeration).type == EXPRESSION_TYPE_INTEGER)
  ------------------
  |  |   47|  1.30k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
  |  Branch (4350:13): [True: 1.27k, False: 34]
  ------------------
 4351|  1.27k|        {
 4352|  1.27k|          fail_if_error(yr_parser_emit(
  ------------------
  |  |  135|  1.27k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  2.54k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  1.27k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 1.27k]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|  1.27k|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4353|  1.27k|              yyscanner, OP_ITER_START_INT_ENUM, NULL));
 4354|  1.27k|        }
 4355|     34|        else
 4356|     34|        {
 4357|     34|          fail_if_error(yr_parser_emit(
  ------------------
  |  |  135|     34|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|     68|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|     34|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 34]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|     34|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4358|     34|              yyscanner, OP_ITER_START_TEXT_STRING_SET, NULL));
 4359|     34|        }
 4360|       |
 4361|  1.30k|        (yyval.enumeration).type = (yyvsp[-1].enumeration).type;
 4362|  1.30k|      }
 4363|      0|#line 4364 "libyara/grammar.c"
 4364|      0|    break;
 4365|       |
 4366|     29|  case 120: /* set: range  */
  ------------------
  |  Branch (4366:3): [True: 29, False: 1.03M]
  ------------------
 4367|     29|#line 2281 "libyara/grammar.y"
 4368|     29|      {
 4369|     29|        fail_if_error(yr_parser_emit(
  ------------------
  |  |  135|     29|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|     58|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|     29|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 29]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|     29|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4370|     29|            yyscanner, OP_ITER_START_INT_RANGE, NULL));
 4371|       |
 4372|     29|        (yyval.enumeration).type = EXPRESSION_TYPE_INTEGER;
  ------------------
  |  |   47|     29|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
 4373|     29|      }
 4374|      0|#line 4375 "libyara/grammar.c"
 4375|      0|    break;
 4376|       |
 4377|  1.50k|  case 121: /* range: '(' primary_expression ".." primary_expression ')'  */
  ------------------
  |  Branch (4377:3): [True: 1.50k, False: 1.03M]
  ------------------
 4378|  1.50k|#line 2292 "libyara/grammar.y"
 4379|  1.50k|      {
 4380|  1.50k|        int result = ERROR_SUCCESS;
  ------------------
  |  |   40|  1.50k|#define ERROR_SUCCESS 0
  ------------------
 4381|       |
 4382|  1.50k|        if ((yyvsp[-3].expression).type != EXPRESSION_TYPE_INTEGER)
  ------------------
  |  |   47|  1.50k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
  |  Branch (4382:13): [True: 94, False: 1.40k]
  ------------------
 4383|     94|        {
 4384|     94|          yr_compiler_set_error_extra_info(
  ------------------
  |  |  320|     94|  strlcpy(                                               \
  |  |  321|     94|      compiler->last_error_extra_info,                   \
  |  |  322|     94|      info,                                              \
  |  |  323|     94|      sizeof(compiler->last_error_extra_info));
  ------------------
 4385|     94|              compiler, "wrong type for range's lower bound");
 4386|     94|          result = ERROR_WRONG_TYPE;
  ------------------
  |  |   69|     94|#define ERROR_WRONG_TYPE                     24
  ------------------
 4387|     94|        }
 4388|       |
 4389|  1.50k|        if ((yyvsp[-1].expression).type != EXPRESSION_TYPE_INTEGER)
  ------------------
  |  |   47|  1.50k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
  |  Branch (4389:13): [True: 50, False: 1.45k]
  ------------------
 4390|     50|        {
 4391|     50|          yr_compiler_set_error_extra_info(
  ------------------
  |  |  320|     50|  strlcpy(                                               \
  |  |  321|     50|      compiler->last_error_extra_info,                   \
  |  |  322|     50|      info,                                              \
  |  |  323|     50|      sizeof(compiler->last_error_extra_info));
  ------------------
 4392|     50|              compiler, "wrong type for range's upper bound");
 4393|     50|          result = ERROR_WRONG_TYPE;
  ------------------
  |  |   69|     50|#define ERROR_WRONG_TYPE                     24
  ------------------
 4394|     50|        }
 4395|       |
 4396|       |        // If we can statically determine lower and upper bounds, ensure
 4397|       |        // lower < upper. Check for upper bound here because some things (like
 4398|       |        // string count) are EXPRESSION_TYPE_INTEGER.
 4399|  1.50k|        if ((yyvsp[-3].expression).value.integer != YR_UNDEFINED && (yyvsp[-1].expression).value.integer != YR_UNDEFINED)
  ------------------
  |  |   38|  3.00k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  ------------------
                      if ((yyvsp[-3].expression).value.integer != YR_UNDEFINED && (yyvsp[-1].expression).value.integer != YR_UNDEFINED)
  ------------------
  |  |   38|  1.47k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  ------------------
  |  Branch (4399:13): [True: 1.47k, False: 22]
  |  Branch (4399:69): [True: 1.46k, False: 11]
  ------------------
 4400|  1.46k|        {
 4401|  1.46k|          if ((yyvsp[-3].expression).value.integer > (yyvsp[-1].expression).value.integer)
  ------------------
  |  Branch (4401:15): [True: 113, False: 1.35k]
  ------------------
 4402|    113|          {
 4403|    113|            yr_compiler_set_error_extra_info(
  ------------------
  |  |  320|    113|  strlcpy(                                               \
  |  |  321|    113|      compiler->last_error_extra_info,                   \
  |  |  322|    113|      info,                                              \
  |  |  323|    113|      sizeof(compiler->last_error_extra_info));
  ------------------
 4404|    113|                compiler, "range lower bound must be less than upper bound");
 4405|    113|            result = ERROR_INVALID_VALUE;
  ------------------
  |  |  111|    113|#define ERROR_INVALID_VALUE                  64
  ------------------
 4406|    113|          }
 4407|  1.35k|          else if ((yyvsp[-3].expression).value.integer < 0)
  ------------------
  |  Branch (4407:20): [True: 169, False: 1.18k]
  ------------------
 4408|    169|          {
 4409|    169|            yr_compiler_set_error_extra_info(
  ------------------
  |  |  320|    169|  strlcpy(                                               \
  |  |  321|    169|      compiler->last_error_extra_info,                   \
  |  |  322|    169|      info,                                              \
  |  |  323|    169|      sizeof(compiler->last_error_extra_info));
  ------------------
 4410|    169|                compiler, "range lower bound can not be negative");
 4411|    169|            result = ERROR_INVALID_VALUE;
  ------------------
  |  |  111|    169|#define ERROR_INVALID_VALUE                  64
  ------------------
 4412|    169|          }
 4413|  1.46k|        }
 4414|       |
 4415|  1.50k|        fail_if_error(result);
  ------------------
  |  |  135|  1.50k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  3.00k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  1.81k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 316, False: 1.18k]
  |  |  |  Branch (135:31): [True: 316, False: 0]
  |  |  ------------------
  |  |  136|  1.50k|    { \
  |  |  137|    316|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|    316|    { \
  |  |  |  |  121|    316|      compiler->last_error = e; \
  |  |  |  |  122|    316|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|    316|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|    316|      switch (e) \
  |  |  |  |  124|    316|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 316]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|    316|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 316, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|    316|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|    316|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|    316|      } \
  |  |  |  |  130|    316|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4416|  1.18k|      }
 4417|      0|#line 4418 "libyara/grammar.c"
 4418|      0|    break;
 4419|       |
 4420|  1.47k|  case 122: /* enumeration: primary_expression  */
  ------------------
  |  Branch (4420:3): [True: 1.47k, False: 1.03M]
  ------------------
 4421|  1.47k|#line 2335 "libyara/grammar.y"
 4422|  1.47k|      {
 4423|  1.47k|        int result = ERROR_SUCCESS;
  ------------------
  |  |   40|  1.47k|#define ERROR_SUCCESS 0
  ------------------
 4424|       |
 4425|  1.47k|        if ((yyvsp[0].expression).type != EXPRESSION_TYPE_INTEGER && (yyvsp[0].expression).type != EXPRESSION_TYPE_STRING)
  ------------------
  |  |   47|  2.95k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
                      if ((yyvsp[0].expression).type != EXPRESSION_TYPE_INTEGER && (yyvsp[0].expression).type != EXPRESSION_TYPE_STRING)
  ------------------
  |  |   48|     73|#define EXPRESSION_TYPE_STRING     4
  ------------------
  |  Branch (4425:13): [True: 73, False: 1.40k]
  |  Branch (4425:70): [True: 27, False: 46]
  ------------------
 4426|     27|        {
 4427|     27|          yr_compiler_set_error_extra_info(
  ------------------
  |  |  320|     27|  strlcpy(                                               \
  |  |  321|     27|      compiler->last_error_extra_info,                   \
  |  |  322|     27|      info,                                              \
  |  |  323|     27|      sizeof(compiler->last_error_extra_info));
  ------------------
 4428|     27|              compiler, "wrong type for enumeration item");
 4429|     27|          result = ERROR_WRONG_TYPE;
  ------------------
  |  |   69|     27|#define ERROR_WRONG_TYPE                     24
  ------------------
 4430|     27|        }
 4431|       |
 4432|  1.47k|        fail_if_error(result);
  ------------------
  |  |  135|  1.47k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  2.95k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  1.50k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 27, False: 1.45k]
  |  |  |  Branch (135:31): [True: 27, False: 0]
  |  |  ------------------
  |  |  136|  1.47k|    { \
  |  |  137|     27|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     27|    { \
  |  |  |  |  121|     27|      compiler->last_error = e; \
  |  |  |  |  122|     27|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     27|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     27|      switch (e) \
  |  |  |  |  124|     27|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 27]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     27|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 27, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     27|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     27|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     27|      } \
  |  |  |  |  130|     27|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4433|       |
 4434|  1.45k|        (yyval.enumeration).type = (yyvsp[0].expression).type;
 4435|  1.45k|        (yyval.enumeration).count = 1;
 4436|  1.45k|      }
 4437|      0|#line 4438 "libyara/grammar.c"
 4438|      0|    break;
 4439|       |
 4440|    248|  case 123: /* enumeration: enumeration ',' primary_expression  */
  ------------------
  |  Branch (4440:3): [True: 248, False: 1.03M]
  ------------------
 4441|    248|#line 2351 "libyara/grammar.y"
 4442|    248|      {
 4443|    248|        int result = ERROR_SUCCESS;
  ------------------
  |  |   40|    248|#define ERROR_SUCCESS 0
  ------------------
 4444|       |
 4445|    248|        if ((yyvsp[0].expression).type != (yyvsp[-2].enumeration).type)
  ------------------
  |  Branch (4445:13): [True: 12, False: 236]
  ------------------
 4446|     12|        {
 4447|     12|          yr_compiler_set_error_extra_info(
  ------------------
  |  |  320|     12|  strlcpy(                                               \
  |  |  321|     12|      compiler->last_error_extra_info,                   \
  |  |  322|     12|      info,                                              \
  |  |  323|     12|      sizeof(compiler->last_error_extra_info));
  ------------------
 4448|     12|              compiler, "enumerations must be all the same type");
 4449|     12|          result = ERROR_WRONG_TYPE;
  ------------------
  |  |   69|     12|#define ERROR_WRONG_TYPE                     24
  ------------------
 4450|     12|        }
 4451|       |
 4452|    248|        fail_if_error(result);
  ------------------
  |  |  135|    248|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    496|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    260|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 12, False: 236]
  |  |  |  Branch (135:31): [True: 12, False: 0]
  |  |  ------------------
  |  |  136|    248|    { \
  |  |  137|     12|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     12|    { \
  |  |  |  |  121|     12|      compiler->last_error = e; \
  |  |  |  |  122|     12|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     12|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     12|      switch (e) \
  |  |  |  |  124|     12|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 12]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     12|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 12, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     12|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     12|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     12|      } \
  |  |  |  |  130|     12|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4453|       |
 4454|    236|        (yyval.enumeration).type = (yyvsp[-2].enumeration).type;
 4455|    236|        (yyval.enumeration).count = (yyvsp[-2].enumeration).count + 1;
 4456|    236|      }
 4457|      0|#line 4458 "libyara/grammar.c"
 4458|      0|    break;
 4459|       |
 4460|    554|  case 124: /* string_iterator: string_set  */
  ------------------
  |  Branch (4460:3): [True: 554, False: 1.03M]
  ------------------
 4461|    554|#line 2371 "libyara/grammar.y"
 4462|    554|      {
 4463|    554|        fail_if_error(yr_parser_emit_push_const(yyscanner, (yyvsp[0].string_set).count));
  ------------------
  |  |  135|    554|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  1.10k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    554|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 554]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|    554|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4464|    554|        fail_if_error(yr_parser_emit(yyscanner, OP_ITER_START_STRING_SET,
  ------------------
  |  |  135|    554|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  1.10k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    554|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 554]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|    554|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4465|    554|            NULL));
 4466|    554|        fail_if_error(yr_string_set_destroy((yyvsp[0].string_set)));
  ------------------
  |  |  135|    554|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  1.10k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    554|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 554]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|    554|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4467|    554|      }
 4468|      0|#line 4469 "libyara/grammar.c"
 4469|      0|    break;
 4470|       |
 4471|  12.9k|  case 125: /* $@10: %empty  */
  ------------------
  |  Branch (4471:3): [True: 12.9k, False: 1.02M]
  ------------------
 4472|  12.9k|#line 2381 "libyara/grammar.y"
 4473|  12.9k|      {
 4474|       |        // Push end-of-list marker
 4475|  12.9k|        yr_parser_emit_push_const(yyscanner, YR_UNDEFINED);
  ------------------
  |  |   38|  12.9k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  ------------------
 4476|  12.9k|      }
 4477|  12.9k|#line 4478 "libyara/grammar.c"
 4478|  12.9k|    break;
 4479|       |
 4480|  12.7k|  case 126: /* string_set: '(' $@10 string_enumeration ')'  */
  ------------------
  |  Branch (4480:3): [True: 12.7k, False: 1.02M]
  ------------------
 4481|  12.7k|#line 2386 "libyara/grammar.y"
 4482|  12.7k|      {
 4483|  12.7k|        (yyval.string_set) = (yyvsp[-1].string_set);
 4484|  12.7k|      }
 4485|  12.7k|#line 4486 "libyara/grammar.c"
 4486|  12.7k|    break;
 4487|       |
 4488|     82|  case 127: /* string_set: "<them>"  */
  ------------------
  |  Branch (4488:3): [True: 82, False: 1.03M]
  ------------------
 4489|     82|#line 2390 "libyara/grammar.y"
 4490|     82|      {
 4491|     82|        fail_if_error(yr_parser_emit_push_const(yyscanner, YR_UNDEFINED));
  ------------------
  |  |  135|     82|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    164|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|     82|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 82]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|     82|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4492|       |
 4493|     82|        YR_STRING_SET strings;
 4494|     82|        fail_if_error(yr_parser_emit_pushes_for_strings(
  ------------------
  |  |  135|     82|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    164|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|     99|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 17, False: 65]
  |  |  |  Branch (135:31): [True: 17, False: 0]
  |  |  ------------------
  |  |  136|     82|    { \
  |  |  137|     17|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     17|    { \
  |  |  |  |  121|     17|      compiler->last_error = e; \
  |  |  |  |  122|     17|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     17|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     17|      switch (e) \
  |  |  |  |  124|     17|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 17]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     17|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 17, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     17|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     17|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     17|      } \
  |  |  |  |  130|     17|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4495|     82|            yyscanner, "$*", &strings));
 4496|       |
 4497|     65|        (yyval.string_set) = strings;
 4498|     65|      }
 4499|      0|#line 4500 "libyara/grammar.c"
 4500|      0|    break;
 4501|       |
 4502|  12.8k|  case 128: /* string_enumeration: string_enumeration_item  */
  ------------------
  |  Branch (4502:3): [True: 12.8k, False: 1.02M]
  ------------------
 4503|  12.8k|#line 2403 "libyara/grammar.y"
 4504|  12.8k|                              { (yyval.string_set) = (yyvsp[0].string_set); }
 4505|  12.8k|#line 4506 "libyara/grammar.c"
 4506|  12.8k|    break;
 4507|       |
 4508|  1.42k|  case 129: /* string_enumeration: string_enumeration ',' string_enumeration_item  */
  ------------------
  |  Branch (4508:3): [True: 1.42k, False: 1.03M]
  ------------------
 4509|  1.42k|#line 2405 "libyara/grammar.y"
 4510|  1.42k|    {
 4511|  1.42k|      YR_STRING_SET_ELEMENT* tail = (yyvsp[-2].string_set).head;
 4512|   150k|      while (tail->next != NULL) {
  ------------------
  |  Branch (4512:14): [True: 148k, False: 1.42k]
  ------------------
 4513|   148k|        tail = tail->next;
 4514|   148k|      }
 4515|       |      // Combine the linked lists by linking the tail of $1 to the head of $3
 4516|  1.42k|      tail->next = (yyvsp[0].string_set).head;
 4517|  1.42k|      (yyvsp[-2].string_set).count += (yyvsp[0].string_set).count;
 4518|  1.42k|      (yyval.string_set) = (yyvsp[-2].string_set);
 4519|  1.42k|    }
 4520|  1.42k|#line 4521 "libyara/grammar.c"
 4521|  1.42k|    break;
 4522|       |
 4523|  13.9k|  case 130: /* string_enumeration_item: "string identifier"  */
  ------------------
  |  Branch (4523:3): [True: 13.9k, False: 1.02M]
  ------------------
 4524|  13.9k|#line 2420 "libyara/grammar.y"
 4525|  13.9k|      {
 4526|  13.9k|        YR_STRING_SET strings;
 4527|  13.9k|        int result = yr_parser_emit_pushes_for_strings(yyscanner, (yyvsp[0].c_string), &strings);
 4528|  13.9k|        yr_free((yyvsp[0].c_string));
 4529|       |
 4530|  13.9k|        fail_if_error(result);
  ------------------
  |  |  135|  13.9k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  27.9k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  14.0k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 76, False: 13.8k]
  |  |  |  Branch (135:31): [True: 76, False: 0]
  |  |  ------------------
  |  |  136|  13.9k|    { \
  |  |  137|     76|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     76|    { \
  |  |  |  |  121|     76|      compiler->last_error = e; \
  |  |  |  |  122|     76|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     76|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     76|      switch (e) \
  |  |  |  |  124|     76|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 76]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     76|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 76, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     76|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     76|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     76|      } \
  |  |  |  |  130|     76|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4531|       |
 4532|  13.8k|        (yyval.string_set) = strings;
 4533|  13.8k|      }
 4534|      0|#line 4535 "libyara/grammar.c"
 4535|      0|    break;
 4536|       |
 4537|    371|  case 131: /* string_enumeration_item: "string identifier with wildcard"  */
  ------------------
  |  Branch (4537:3): [True: 371, False: 1.03M]
  ------------------
 4538|    371|#line 2430 "libyara/grammar.y"
 4539|    371|      {
 4540|    371|        YR_STRING_SET strings;
 4541|    371|        int result = yr_parser_emit_pushes_for_strings(yyscanner, (yyvsp[0].c_string), &strings);
 4542|    371|        yr_free((yyvsp[0].c_string));
 4543|       |
 4544|    371|        fail_if_error(result);
  ------------------
  |  |  135|    371|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    742|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    397|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 26, False: 345]
  |  |  |  Branch (135:31): [True: 26, False: 0]
  |  |  ------------------
  |  |  136|    371|    { \
  |  |  137|     26|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     26|    { \
  |  |  |  |  121|     26|      compiler->last_error = e; \
  |  |  |  |  122|     26|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     26|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     26|      switch (e) \
  |  |  |  |  124|     26|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 26]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     26|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 26, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     26|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     26|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     26|      } \
  |  |  |  |  130|     26|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4545|       |
 4546|    345|        (yyval.string_set) = strings;
 4547|    345|      }
 4548|      0|#line 4549 "libyara/grammar.c"
 4549|      0|    break;
 4550|       |
 4551|    941|  case 132: /* $@11: %empty  */
  ------------------
  |  Branch (4551:3): [True: 941, False: 1.03M]
  ------------------
 4552|    941|#line 2444 "libyara/grammar.y"
 4553|    941|      {
 4554|       |        // Push end-of-list marker
 4555|    941|        yr_parser_emit_push_const(yyscanner, YR_UNDEFINED);
  ------------------
  |  |   38|    941|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  ------------------
 4556|    941|      }
 4557|    941|#line 4558 "libyara/grammar.c"
 4558|    941|    break;
 4559|       |
 4560|    524|  case 133: /* rule_set: '(' $@11 rule_enumeration ')'  */
  ------------------
  |  Branch (4560:3): [True: 524, False: 1.03M]
  ------------------
 4561|    524|#line 2449 "libyara/grammar.y"
 4562|    524|      {
 4563|    524|        (yyval.integer) = (yyvsp[-1].integer);
 4564|    524|      }
 4565|    524|#line 4566 "libyara/grammar.c"
 4566|    524|    break;
 4567|       |
 4568|    592|  case 134: /* rule_enumeration: rule_enumeration_item  */
  ------------------
  |  Branch (4568:3): [True: 592, False: 1.03M]
  ------------------
 4569|    592|#line 2456 "libyara/grammar.y"
 4570|    592|                            { (yyval.integer) = (yyvsp[0].integer); }
 4571|    592|#line 4572 "libyara/grammar.c"
 4572|    592|    break;
 4573|       |
 4574|  1.24k|  case 135: /* rule_enumeration: rule_enumeration ',' rule_enumeration_item  */
  ------------------
  |  Branch (4574:3): [True: 1.24k, False: 1.03M]
  ------------------
 4575|  1.24k|#line 2457 "libyara/grammar.y"
 4576|  1.24k|                                                 { (yyval.integer) = (yyvsp[-2].integer) + (yyvsp[0].integer); }
 4577|  1.24k|#line 4578 "libyara/grammar.c"
 4578|  1.24k|    break;
 4579|       |
 4580|    844|  case 136: /* rule_enumeration_item: "identifier"  */
  ------------------
  |  Branch (4580:3): [True: 844, False: 1.03M]
  ------------------
 4581|    844|#line 2463 "libyara/grammar.y"
 4582|    844|      {
 4583|    844|        int result = ERROR_SUCCESS;
  ------------------
  |  |   40|    844|#define ERROR_SUCCESS 0
  ------------------
 4584|       |
 4585|    844|        YR_NAMESPACE* ns = (YR_NAMESPACE*) yr_arena_get_ptr(
 4586|    844|            compiler->arena,
 4587|    844|            YR_NAMESPACES_TABLE,
  ------------------
  |  |   57|    844|#define YR_NAMESPACES_TABLE         0
  ------------------
 4588|    844|            compiler->current_namespace_idx * sizeof(struct YR_NAMESPACE));
 4589|       |
 4590|    844|        uint32_t rule_idx = yr_hash_table_lookup_uint32(
 4591|    844|            compiler->rules_table, (yyvsp[0].c_string), ns->name);
 4592|       |
 4593|    844|        if (rule_idx != UINT32_MAX)
  ------------------
  |  Branch (4593:13): [True: 769, False: 75]
  ------------------
 4594|    769|        {
 4595|    769|          result = yr_parser_emit_with_arg(
 4596|    769|              yyscanner,
 4597|    769|              OP_PUSH_RULE,
  ------------------
  |  |   75|    769|#define OP_PUSH_RULE                  27
  ------------------
 4598|    769|              rule_idx,
 4599|    769|              NULL,
 4600|    769|              NULL);
 4601|    769|        }
 4602|     75|        else
 4603|     75|        {
 4604|     75|          yr_compiler_set_error_extra_info(compiler, (yyvsp[0].c_string));
  ------------------
  |  |  320|     75|  strlcpy(                                               \
  |  |  321|     75|      compiler->last_error_extra_info,                   \
  |  |  322|     75|      info,                                              \
  |  |  323|     75|      sizeof(compiler->last_error_extra_info));
  ------------------
 4605|     75|          result = ERROR_UNDEFINED_IDENTIFIER;
  ------------------
  |  |   65|     75|#define ERROR_UNDEFINED_IDENTIFIER           20
  ------------------
 4606|     75|        }
 4607|       |
 4608|    844|        yr_free((yyvsp[0].c_string));
 4609|       |
 4610|    844|        fail_if_error(result);
  ------------------
  |  |  135|    844|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  1.68k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    919|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 75, False: 769]
  |  |  |  Branch (135:31): [True: 75, False: 0]
  |  |  ------------------
  |  |  136|    844|    { \
  |  |  137|     75|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     75|    { \
  |  |  |  |  121|     75|      compiler->last_error = e; \
  |  |  |  |  122|     75|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     75|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     75|      switch (e) \
  |  |  |  |  124|     75|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 75]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     75|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 75, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     75|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     75|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     75|      } \
  |  |  |  |  130|     75|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4611|       |
 4612|    769|        (yyval.integer) = 1;
 4613|    769|      }
 4614|      0|#line 4615 "libyara/grammar.c"
 4615|      0|    break;
 4616|       |
 4617|  1.35k|  case 137: /* rule_enumeration_item: "identifier" '*'  */
  ------------------
  |  Branch (4617:3): [True: 1.35k, False: 1.03M]
  ------------------
 4618|  1.35k|#line 2496 "libyara/grammar.y"
 4619|  1.35k|      {
 4620|  1.35k|        int count = 0;
 4621|  1.35k|        YR_NAMESPACE* ns = (YR_NAMESPACE*) yr_arena_get_ptr(
 4622|  1.35k|            compiler->arena,
 4623|  1.35k|            YR_NAMESPACES_TABLE,
  ------------------
  |  |   57|  1.35k|#define YR_NAMESPACES_TABLE         0
  ------------------
 4624|  1.35k|            compiler->current_namespace_idx * sizeof(struct YR_NAMESPACE));
 4625|       |
 4626|  1.35k|        yr_hash_table_add_uint32(
 4627|  1.35k|            compiler->wildcard_identifiers_table,
 4628|  1.35k|            (yyvsp[-1].c_string),
 4629|  1.35k|            ns->name,
 4630|  1.35k|            1);
 4631|       |
 4632|  1.35k|        int result = yr_parser_emit_pushes_for_rules(yyscanner, (yyvsp[-1].c_string), &count);
 4633|  1.35k|        yr_free((yyvsp[-1].c_string));
 4634|       |
 4635|  1.35k|        fail_if_error(result);
  ------------------
  |  |  135|  1.35k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  2.70k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  1.64k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 289, False: 1.06k]
  |  |  |  Branch (135:31): [True: 289, False: 0]
  |  |  ------------------
  |  |  136|  1.35k|    { \
  |  |  137|    289|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|    289|    { \
  |  |  |  |  121|    289|      compiler->last_error = e; \
  |  |  |  |  122|    289|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|    289|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|    289|      switch (e) \
  |  |  |  |  124|    289|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 289]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|    289|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 289, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|    289|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|    289|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|    289|      } \
  |  |  |  |  130|    289|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4636|       |
 4637|  1.06k|        (yyval.integer) = count;
 4638|  1.06k|      }
 4639|      0|#line 4640 "libyara/grammar.c"
 4640|      0|    break;
 4641|       |
 4642|  10.2k|  case 138: /* for_expression: primary_expression  */
  ------------------
  |  Branch (4642:3): [True: 10.2k, False: 1.02M]
  ------------------
 4643|  10.2k|#line 2521 "libyara/grammar.y"
 4644|  10.2k|      {
 4645|  10.2k|        if ((yyvsp[0].expression).type == EXPRESSION_TYPE_INTEGER && !IS_UNDEFINED((yyvsp[0].expression).value.integer))
  ------------------
  |  |   47|  20.5k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
                      if ((yyvsp[0].expression).type == EXPRESSION_TYPE_INTEGER && !IS_UNDEFINED((yyvsp[0].expression).value.integer))
  ------------------
  |  |   39|  9.60k|#define IS_UNDEFINED(x) ((size_t)(x) == (size_t) YR_UNDEFINED)
  |  |  ------------------
  |  |  |  |   38|  9.60k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  ------------------
  ------------------
  |  Branch (4645:13): [True: 9.60k, False: 694]
  |  Branch (4645:70): [True: 8.67k, False: 931]
  ------------------
 4646|  8.67k|        {
 4647|  8.67k|          if ((yyvsp[0].expression).value.integer == 0)
  ------------------
  |  Branch (4647:15): [True: 2.21k, False: 6.45k]
  ------------------
 4648|  2.21k|          {
 4649|  2.21k|            yywarning(yyscanner,
  ------------------
  |  |   50|  2.21k|#define yywarning    yara_yywarning
  ------------------
 4650|  2.21k|                "consider using \"none\" keyword, it is less ambiguous.");
 4651|  2.21k|          }
 4652|       |
 4653|  8.67k|          if ((yyvsp[0].expression).value.integer < 0)
  ------------------
  |  Branch (4653:15): [True: 148, False: 8.52k]
  ------------------
 4654|    148|          {
 4655|    148|            yr_compiler_set_error_extra_info_fmt(compiler,
  ------------------
  |  |  326|    148|  snprintf(                                                      \
  |  |  327|    148|      compiler->last_error_extra_info,                           \
  |  |  328|    148|      sizeof(compiler->last_error_extra_info),                   \
  |  |  329|    148|      fmt,                                                       \
  |  |  330|    148|      __VA_ARGS__);
  ------------------
 4656|    148|                "%" PRId64, (yyvsp[0].expression).value.integer);
 4657|       |
 4658|    148|            fail_with_error(ERROR_INVALID_VALUE);
  ------------------
  |  |  120|    148|    { \
  |  |  121|    148|      compiler->last_error = e; \
  |  |  122|    148|      yyerror(yyscanner, compiler, NULL); \
  |  |  ------------------
  |  |  |  |   48|    148|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  123|    148|      switch (e) \
  |  |  124|    148|      { \
  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  ------------------
  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  ------------------
  |  |  |  Branch (125:7): [True: 0, False: 148]
  |  |  ------------------
  |  |  126|      0|        YYABORT; \
  |  |  ------------------
  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  127|    148|      default: \
  |  |  ------------------
  |  |  |  Branch (127:7): [True: 148, False: 0]
  |  |  ------------------
  |  |  128|    148|        YYERROR; \
  |  |  ------------------
  |  |  |  | 1314|    148|#define YYERROR         goto yyerrorlab
  |  |  ------------------
  |  |  129|    148|      } \
  |  |  130|    148|    }
  ------------------
 4659|      0|          }
 4660|  8.67k|        }
 4661|       |
 4662|  10.1k|        if ((yyvsp[0].expression).type == EXPRESSION_TYPE_FLOAT)
  ------------------
  |  |   51|  10.1k|#define EXPRESSION_TYPE_FLOAT      32
  ------------------
  |  Branch (4662:13): [True: 11, False: 10.1k]
  ------------------
 4663|     11|        {
 4664|     11|          yr_compiler_set_error_extra_info_fmt(compiler,
  ------------------
  |  |  326|     11|  snprintf(                                                      \
  |  |  327|     11|      compiler->last_error_extra_info,                           \
  |  |  328|     11|      sizeof(compiler->last_error_extra_info),                   \
  |  |  329|     11|      fmt,                                                       \
  |  |  330|     11|      __VA_ARGS__);
  ------------------
 4665|     11|              "%a", (yyvsp[0].expression).value.double_);
 4666|       |
 4667|     11|          fail_with_error(ERROR_INVALID_VALUE);
  ------------------
  |  |  120|     11|    { \
  |  |  121|     11|      compiler->last_error = e; \
  |  |  122|     11|      yyerror(yyscanner, compiler, NULL); \
  |  |  ------------------
  |  |  |  |   48|     11|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  123|     11|      switch (e) \
  |  |  124|     11|      { \
  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  ------------------
  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  ------------------
  |  |  |  Branch (125:7): [True: 0, False: 11]
  |  |  ------------------
  |  |  126|      0|        YYABORT; \
  |  |  ------------------
  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  127|     11|      default: \
  |  |  ------------------
  |  |  |  Branch (127:7): [True: 11, False: 0]
  |  |  ------------------
  |  |  128|     11|        YYERROR; \
  |  |  ------------------
  |  |  |  | 1314|     11|#define YYERROR         goto yyerrorlab
  |  |  ------------------
  |  |  129|     11|      } \
  |  |  130|     11|    }
  ------------------
 4668|      0|        }
 4669|       |
 4670|  10.1k|        if ((yyvsp[0].expression).type == EXPRESSION_TYPE_STRING)
  ------------------
  |  |   48|  10.1k|#define EXPRESSION_TYPE_STRING     4
  ------------------
  |  Branch (4670:13): [True: 53, False: 10.0k]
  ------------------
 4671|     53|        {
 4672|     53|          SIZED_STRING* ss = yr_arena_ref_to_ptr(compiler->arena,
 4673|     53|              &(yyvsp[0].expression).value.sized_string_ref);
 4674|       |          // If the expression is an external string variable we need to get
 4675|       |          // it some other way.
 4676|     53|          if (ss != NULL)
  ------------------
  |  Branch (4676:15): [True: 11, False: 42]
  ------------------
 4677|     11|          {
 4678|     11|            yr_compiler_set_error_extra_info_fmt(compiler, "%s", ss->c_string);
  ------------------
  |  |  326|     11|  snprintf(                                                      \
  |  |  327|     11|      compiler->last_error_extra_info,                           \
  |  |  328|     11|      sizeof(compiler->last_error_extra_info),                   \
  |  |  329|     11|      fmt,                                                       \
  |  |  330|     11|      __VA_ARGS__);
  ------------------
 4679|     11|          }
 4680|     42|          else
 4681|     42|          {
 4682|     42|            yr_compiler_set_error_extra_info(compiler,
  ------------------
  |  |  320|     42|  strlcpy(                                               \
  |  |  321|     42|      compiler->last_error_extra_info,                   \
  |  |  322|     42|      info,                                              \
  |  |  323|     42|      sizeof(compiler->last_error_extra_info));
  ------------------
 4683|     42|                "string in for_expression is invalid");
 4684|     42|          }
 4685|       |
 4686|     53|          fail_with_error(ERROR_INVALID_VALUE);
  ------------------
  |  |  120|     53|    { \
  |  |  121|     53|      compiler->last_error = e; \
  |  |  122|     53|      yyerror(yyscanner, compiler, NULL); \
  |  |  ------------------
  |  |  |  |   48|     53|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  123|     53|      switch (e) \
  |  |  124|     53|      { \
  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  ------------------
  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  ------------------
  |  |  |  Branch (125:7): [True: 0, False: 53]
  |  |  ------------------
  |  |  126|      0|        YYABORT; \
  |  |  ------------------
  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  127|     53|      default: \
  |  |  ------------------
  |  |  |  Branch (127:7): [True: 53, False: 0]
  |  |  ------------------
  |  |  128|     53|        YYERROR; \
  |  |  ------------------
  |  |  |  | 1314|     53|#define YYERROR         goto yyerrorlab
  |  |  ------------------
  |  |  129|     53|      } \
  |  |  130|     53|    }
  ------------------
 4687|      0|        }
 4688|       |
 4689|  10.0k|        if ((yyvsp[0].expression).type == EXPRESSION_TYPE_REGEXP)
  ------------------
  |  |   49|  10.0k|#define EXPRESSION_TYPE_REGEXP     8
  ------------------
  |  Branch (4689:13): [True: 26, False: 10.0k]
  ------------------
 4690|     26|        {
 4691|     26|          yr_compiler_set_error_extra_info(compiler,
  ------------------
  |  |  320|     26|  strlcpy(                                               \
  |  |  321|     26|      compiler->last_error_extra_info,                   \
  |  |  322|     26|      info,                                              \
  |  |  323|     26|      sizeof(compiler->last_error_extra_info));
  ------------------
 4692|     26|              "regexp in for_expression is invalid");
 4693|       |
 4694|     26|          fail_with_error(ERROR_INVALID_VALUE);
  ------------------
  |  |  120|     26|    { \
  |  |  121|     26|      compiler->last_error = e; \
  |  |  122|     26|      yyerror(yyscanner, compiler, NULL); \
  |  |  ------------------
  |  |  |  |   48|     26|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  123|     26|      switch (e) \
  |  |  124|     26|      { \
  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  ------------------
  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  ------------------
  |  |  |  Branch (125:7): [True: 0, False: 26]
  |  |  ------------------
  |  |  126|      0|        YYABORT; \
  |  |  ------------------
  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  127|     26|      default: \
  |  |  ------------------
  |  |  |  Branch (127:7): [True: 26, False: 0]
  |  |  ------------------
  |  |  128|     26|        YYERROR; \
  |  |  ------------------
  |  |  |  | 1314|     26|#define YYERROR         goto yyerrorlab
  |  |  ------------------
  |  |  129|     26|      } \
  |  |  130|     26|    }
  ------------------
 4695|      0|        }
 4696|       |
 4697|  10.0k|        (yyval.expression).value.integer = (yyvsp[0].expression).value.integer;
 4698|  10.0k|      }
 4699|      0|#line 4700 "libyara/grammar.c"
 4700|      0|    break;
 4701|       |
 4702|  7.34k|  case 139: /* for_expression: for_quantifier  */
  ------------------
  |  Branch (4702:3): [True: 7.34k, False: 1.02M]
  ------------------
 4703|  7.34k|#line 2577 "libyara/grammar.y"
 4704|  7.34k|      {
 4705|  7.34k|        (yyval.expression).value.integer = (yyvsp[0].expression).value.integer;
 4706|  7.34k|      }
 4707|  7.34k|#line 4708 "libyara/grammar.c"
 4708|  7.34k|    break;
 4709|       |
 4710|  5.00k|  case 140: /* for_quantifier: "<all>"  */
  ------------------
  |  Branch (4710:3): [True: 5.00k, False: 1.03M]
  ------------------
 4711|  5.00k|#line 2584 "libyara/grammar.y"
 4712|  5.00k|      {
 4713|  5.00k|        yr_parser_emit_push_const(yyscanner, YR_UNDEFINED);
  ------------------
  |  |   38|  5.00k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  ------------------
 4714|  5.00k|        (yyval.expression).type = EXPRESSION_TYPE_QUANTIFIER;
  ------------------
  |  |   52|  5.00k|#define EXPRESSION_TYPE_QUANTIFIER 64
  ------------------
 4715|  5.00k|        (yyval.expression).value.integer = FOR_EXPRESSION_ALL;
  ------------------
  |  |  108|  5.00k|#define FOR_EXPRESSION_ALL  1
  ------------------
 4716|  5.00k|     }
 4717|  5.00k|#line 4718 "libyara/grammar.c"
 4718|  5.00k|    break;
 4719|       |
 4720|  2.30k|  case 141: /* for_quantifier: "<any>"  */
  ------------------
  |  Branch (4720:3): [True: 2.30k, False: 1.03M]
  ------------------
 4721|  2.30k|#line 2590 "libyara/grammar.y"
 4722|  2.30k|      {
 4723|  2.30k|        yr_parser_emit_push_const(yyscanner, 1);
 4724|  2.30k|        (yyval.expression).type = EXPRESSION_TYPE_QUANTIFIER;
  ------------------
  |  |   52|  2.30k|#define EXPRESSION_TYPE_QUANTIFIER 64
  ------------------
 4725|  2.30k|        (yyval.expression).value.integer = FOR_EXPRESSION_ANY;
  ------------------
  |  |  109|  2.30k|#define FOR_EXPRESSION_ANY  2
  ------------------
 4726|  2.30k|      }
 4727|  2.30k|#line 4728 "libyara/grammar.c"
 4728|  2.30k|    break;
 4729|       |
 4730|     39|  case 142: /* for_quantifier: "<none>"  */
  ------------------
  |  Branch (4730:3): [True: 39, False: 1.03M]
  ------------------
 4731|     39|#line 2596 "libyara/grammar.y"
 4732|     39|      {
 4733|     39|        yr_parser_emit_push_const(yyscanner, 0);
 4734|     39|        (yyval.expression).type = EXPRESSION_TYPE_QUANTIFIER;
  ------------------
  |  |   52|     39|#define EXPRESSION_TYPE_QUANTIFIER 64
  ------------------
 4735|     39|        (yyval.expression).value.integer = FOR_EXPRESSION_NONE;
  ------------------
  |  |  110|     39|#define FOR_EXPRESSION_NONE 3
  ------------------
 4736|     39|      }
 4737|     39|#line 4738 "libyara/grammar.c"
 4738|     39|    break;
 4739|       |
 4740|    593|  case 143: /* primary_expression: '(' primary_expression ')'  */
  ------------------
  |  Branch (4740:3): [True: 593, False: 1.03M]
  ------------------
 4741|    593|#line 2606 "libyara/grammar.y"
 4742|    593|      {
 4743|    593|        (yyval.expression) = (yyvsp[-1].expression);
 4744|    593|      }
 4745|    593|#line 4746 "libyara/grammar.c"
 4746|    593|    break;
 4747|       |
 4748|    285|  case 144: /* primary_expression: "<filesize>"  */
  ------------------
  |  Branch (4748:3): [True: 285, False: 1.03M]
  ------------------
 4749|    285|#line 2610 "libyara/grammar.y"
 4750|    285|      {
 4751|    285|        fail_if_error(yr_parser_emit(
  ------------------
  |  |  135|    285|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    570|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    285|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 285]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|    285|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4752|    285|            yyscanner, OP_FILESIZE, NULL));
 4753|       |
 4754|    285|        (yyval.expression).type = EXPRESSION_TYPE_INTEGER;
  ------------------
  |  |   47|    285|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
 4755|    285|        (yyval.expression).value.integer = YR_UNDEFINED;
  ------------------
  |  |   38|    285|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  ------------------
 4756|    285|      }
 4757|      0|#line 4758 "libyara/grammar.c"
 4758|      0|    break;
 4759|       |
 4760|    506|  case 145: /* primary_expression: "<entrypoint>"  */
  ------------------
  |  Branch (4760:3): [True: 506, False: 1.03M]
  ------------------
 4761|    506|#line 2618 "libyara/grammar.y"
 4762|    506|      {
 4763|    506|        yywarning(yyscanner,
  ------------------
  |  |   50|    506|#define yywarning    yara_yywarning
  ------------------
 4764|    506|            "using deprecated \"entrypoint\" keyword. Use the \"entry_point\" "
 4765|    506|            "function from PE module instead.");
 4766|       |
 4767|    506|        fail_if_error(yr_parser_emit(
  ------------------
  |  |  135|    506|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  1.01k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    506|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 506]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|    506|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4768|    506|            yyscanner, OP_ENTRYPOINT, NULL));
 4769|       |
 4770|    506|        (yyval.expression).type = EXPRESSION_TYPE_INTEGER;
  ------------------
  |  |   47|    506|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
 4771|    506|        (yyval.expression).value.integer = YR_UNDEFINED;
  ------------------
  |  |   38|    506|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  ------------------
 4772|    506|      }
 4773|      0|#line 4774 "libyara/grammar.c"
 4774|      0|    break;
 4775|       |
 4776|    321|  case 146: /* primary_expression: "integer function" '(' primary_expression ')'  */
  ------------------
  |  Branch (4776:3): [True: 321, False: 1.03M]
  ------------------
 4777|    321|#line 2630 "libyara/grammar.y"
 4778|    321|      {
 4779|    321|        check_type((yyvsp[-1].expression), EXPRESSION_TYPE_INTEGER, "intXXXX or uintXXXX");
  ------------------
  |  |  175|    321|    check_type_with_cleanup(expression, expected_type, op, )
  |  |  ------------------
  |  |  |  |  145|    321|    if (((expression.type) & (expected_type)) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (145:9): [True: 106, False: 215]
  |  |  |  |  ------------------
  |  |  |  |  146|    321|    { \
  |  |  |  |  147|    106|      switch(expression.type) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (147:14): [True: 69, False: 37]
  |  |  |  |  ------------------
  |  |  |  |  148|    106|      { \
  |  |  |  |  149|      0|        case EXPRESSION_TYPE_INTEGER: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define EXPRESSION_TYPE_INTEGER    2
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (149:9): [True: 0, False: 106]
  |  |  |  |  ------------------
  |  |  |  |  150|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  151|      0|              compiler, "wrong type \"integer\" for " op " operator"); \
  |  |  |  |  152|      0|          break; \
  |  |  |  |  153|     18|        case EXPRESSION_TYPE_FLOAT: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   51|     18|#define EXPRESSION_TYPE_FLOAT      32
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:9): [True: 18, False: 88]
  |  |  |  |  ------------------
  |  |  |  |  154|     18|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     18|  strlcpy(                                               \
  |  |  |  |  |  |  321|     18|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     18|      info,                                              \
  |  |  |  |  |  |  323|     18|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  155|     18|              compiler, "wrong type \"float\" for " op " operator"); \
  |  |  |  |  156|     18|          break; \
  |  |  |  |  157|     41|        case EXPRESSION_TYPE_STRING: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     41|#define EXPRESSION_TYPE_STRING     4
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (157:9): [True: 41, False: 65]
  |  |  |  |  ------------------
  |  |  |  |  158|     41|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     41|  strlcpy(                                               \
  |  |  |  |  |  |  321|     41|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     41|      info,                                              \
  |  |  |  |  |  |  323|     41|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  159|     41|              compiler, "wrong type \"string\" for " op " operator"); \
  |  |  |  |  160|     41|          break; \
  |  |  |  |  161|     10|        case EXPRESSION_TYPE_BOOLEAN: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|     10|#define EXPRESSION_TYPE_BOOLEAN    1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (161:9): [True: 10, False: 96]
  |  |  |  |  ------------------
  |  |  |  |  162|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  163|     10|              compiler, "wrong type \"boolean\" for " op " operator"); \
  |  |  |  |  164|     10|          break; \
  |  |  |  |  165|    106|      } \
  |  |  |  |  166|    106|      cleanup; \
  |  |  |  |  167|    106|      compiler->last_error = ERROR_WRONG_TYPE; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|    106|#define ERROR_WRONG_TYPE                     24
  |  |  |  |  ------------------
  |  |  |  |  168|    106|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|    106|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  169|    106|      YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|    106|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  170|    106|    }
  |  |  ------------------
  ------------------
 4780|       |
 4781|       |        // _INTEGER_FUNCTION_ could be any of int8, int16, int32, uint8,
 4782|       |        // uint32, etc. $1 contains an index that added to OP_READ_INT results
 4783|       |        // in the proper OP_INTXX opcode.
 4784|       |
 4785|    215|        fail_if_error(yr_parser_emit(
  ------------------
  |  |  135|    215|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    430|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    215|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 215]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|    215|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4786|    215|            yyscanner, (uint8_t) (OP_READ_INT + (yyvsp[-3].integer)), NULL));
 4787|       |
 4788|    215|        (yyval.expression).type = EXPRESSION_TYPE_INTEGER;
  ------------------
  |  |   47|    215|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
 4789|    215|        (yyval.expression).value.integer = YR_UNDEFINED;
  ------------------
  |  |   38|    215|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  ------------------
 4790|    215|      }
 4791|      0|#line 4792 "libyara/grammar.c"
 4792|      0|    break;
 4793|       |
 4794|  59.2k|  case 147: /* primary_expression: "integer number"  */
  ------------------
  |  Branch (4794:3): [True: 59.2k, False: 977k]
  ------------------
 4795|  59.2k|#line 2644 "libyara/grammar.y"
 4796|  59.2k|      {
 4797|  59.2k|        fail_if_error(yr_parser_emit_push_const(yyscanner, (yyvsp[0].integer)));
  ------------------
  |  |  135|  59.2k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|   118k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  59.2k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 59.2k]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|  59.2k|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4798|       |
 4799|  59.2k|        (yyval.expression).type = EXPRESSION_TYPE_INTEGER;
  ------------------
  |  |   47|  59.2k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
 4800|  59.2k|        (yyval.expression).value.integer = (yyvsp[0].integer);
 4801|  59.2k|      }
 4802|      0|#line 4803 "libyara/grammar.c"
 4803|      0|    break;
 4804|       |
 4805|  2.99k|  case 148: /* primary_expression: "floating point number"  */
  ------------------
  |  Branch (4805:3): [True: 2.99k, False: 1.03M]
  ------------------
 4806|  2.99k|#line 2651 "libyara/grammar.y"
 4807|  2.99k|      {
 4808|  2.99k|        fail_if_error(yr_parser_emit_with_arg_double(
  ------------------
  |  |  135|  2.99k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  5.98k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  2.99k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 2.99k]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|  2.99k|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4809|  2.99k|            yyscanner, OP_PUSH, (yyvsp[0].double_), NULL, NULL));
 4810|       |
 4811|  2.99k|        (yyval.expression).type = EXPRESSION_TYPE_FLOAT;
  ------------------
  |  |   51|  2.99k|#define EXPRESSION_TYPE_FLOAT      32
  ------------------
 4812|  2.99k|      }
 4813|      0|#line 4814 "libyara/grammar.c"
 4814|      0|    break;
 4815|       |
 4816|  6.56k|  case 149: /* primary_expression: "text string"  */
  ------------------
  |  Branch (4816:3): [True: 6.56k, False: 1.03M]
  ------------------
 4817|  6.56k|#line 2658 "libyara/grammar.y"
 4818|  6.56k|      {
 4819|  6.56k|        YR_ARENA_REF ref;
 4820|       |
 4821|  6.56k|        int result = _yr_compiler_store_data(
 4822|  6.56k|            compiler,
 4823|  6.56k|            (yyvsp[0].sized_string),
 4824|  6.56k|            (yyvsp[0].sized_string)->length + sizeof(SIZED_STRING),
 4825|  6.56k|            &ref);
 4826|       |
 4827|  6.56k|        yr_free((yyvsp[0].sized_string));
 4828|       |
 4829|  6.56k|        if (result == ERROR_SUCCESS)
  ------------------
  |  |   40|  6.56k|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (4829:13): [True: 6.56k, False: 0]
  ------------------
 4830|  6.56k|          result = yr_parser_emit_with_arg_reloc(
 4831|  6.56k|              yyscanner,
 4832|  6.56k|              OP_PUSH,
  ------------------
  |  |   61|  6.56k|#define OP_PUSH                       13
  ------------------
 4833|  6.56k|              yr_arena_ref_to_ptr(compiler->arena, &ref),
 4834|  6.56k|              NULL,
 4835|  6.56k|              NULL);
 4836|       |
 4837|  6.56k|        fail_if_error(result);
  ------------------
  |  |  135|  6.56k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  13.1k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  6.56k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 6.56k]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|  6.56k|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4838|       |
 4839|  6.56k|        (yyval.expression).type = EXPRESSION_TYPE_STRING;
  ------------------
  |  |   48|  6.56k|#define EXPRESSION_TYPE_STRING     4
  ------------------
 4840|  6.56k|        (yyval.expression).value.sized_string_ref = ref;
 4841|  6.56k|      }
 4842|      0|#line 4843 "libyara/grammar.c"
 4843|      0|    break;
 4844|       |
 4845|     56|  case 150: /* primary_expression: "string count" "<in>" range  */
  ------------------
  |  Branch (4845:3): [True: 56, False: 1.03M]
  ------------------
 4846|     56|#line 2683 "libyara/grammar.y"
 4847|     56|      {
 4848|     56|        int result = yr_parser_reduce_string_identifier(
 4849|     56|            yyscanner, (yyvsp[-2].c_string), OP_COUNT_IN, YR_UNDEFINED);
  ------------------
  |  |  124|     56|#define OP_COUNT_IN                   76
  ------------------
                          yyscanner, (yyvsp[-2].c_string), OP_COUNT_IN, YR_UNDEFINED);
  ------------------
  |  |   38|     56|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  ------------------
 4850|       |
 4851|     56|        yr_free((yyvsp[-2].c_string));
 4852|       |
 4853|     56|        fail_if_error(result);
  ------------------
  |  |  135|     56|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|    112|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|     94|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 38, False: 18]
  |  |  |  Branch (135:31): [True: 38, False: 0]
  |  |  ------------------
  |  |  136|     56|    { \
  |  |  137|     38|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     38|    { \
  |  |  |  |  121|     38|      compiler->last_error = e; \
  |  |  |  |  122|     38|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     38|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     38|      switch (e) \
  |  |  |  |  124|     38|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 38]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     38|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 38, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     38|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     38|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     38|      } \
  |  |  |  |  130|     38|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4854|       |
 4855|     18|        (yyval.expression).type = EXPRESSION_TYPE_INTEGER;
  ------------------
  |  |   47|     18|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
 4856|     18|        (yyval.expression).value.integer = YR_UNDEFINED;
  ------------------
  |  |   38|     18|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  ------------------
 4857|     18|      }
 4858|      0|#line 4859 "libyara/grammar.c"
 4859|      0|    break;
 4860|       |
 4861|  3.90k|  case 151: /* primary_expression: "string count"  */
  ------------------
  |  Branch (4861:3): [True: 3.90k, False: 1.03M]
  ------------------
 4862|  3.90k|#line 2695 "libyara/grammar.y"
 4863|  3.90k|      {
 4864|  3.90k|        int result = yr_parser_reduce_string_identifier(
 4865|  3.90k|            yyscanner, (yyvsp[0].c_string), OP_COUNT, YR_UNDEFINED);
  ------------------
  |  |   68|  3.90k|#define OP_COUNT                      20
  ------------------
                          yyscanner, (yyvsp[0].c_string), OP_COUNT, YR_UNDEFINED);
  ------------------
  |  |   38|  3.90k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  ------------------
 4866|       |
 4867|  3.90k|        yr_free((yyvsp[0].c_string));
 4868|       |
 4869|  3.90k|        fail_if_error(result);
  ------------------
  |  |  135|  3.90k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  7.81k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  3.93k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 22, False: 3.88k]
  |  |  |  Branch (135:31): [True: 22, False: 0]
  |  |  ------------------
  |  |  136|  3.90k|    { \
  |  |  137|     22|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     22|    { \
  |  |  |  |  121|     22|      compiler->last_error = e; \
  |  |  |  |  122|     22|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     22|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     22|      switch (e) \
  |  |  |  |  124|     22|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 22]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     22|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 22, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     22|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     22|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     22|      } \
  |  |  |  |  130|     22|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4870|       |
 4871|  3.88k|        (yyval.expression).type = EXPRESSION_TYPE_INTEGER;
  ------------------
  |  |   47|  3.88k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
 4872|  3.88k|        (yyval.expression).value.integer = YR_UNDEFINED;
  ------------------
  |  |   38|  3.88k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  ------------------
 4873|  3.88k|      }
 4874|      0|#line 4875 "libyara/grammar.c"
 4875|      0|    break;
 4876|       |
 4877|    576|  case 152: /* primary_expression: "string offset" '[' primary_expression ']'  */
  ------------------
  |  Branch (4877:3): [True: 576, False: 1.03M]
  ------------------
 4878|    576|#line 2707 "libyara/grammar.y"
 4879|    576|      {
 4880|    576|        int result = yr_parser_reduce_string_identifier(
 4881|    576|            yyscanner, (yyvsp[-3].c_string), OP_OFFSET, YR_UNDEFINED);
  ------------------
  |  |   73|    576|#define OP_OFFSET                     25
  ------------------
                          yyscanner, (yyvsp[-3].c_string), OP_OFFSET, YR_UNDEFINED);
  ------------------
  |  |   38|    576|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  ------------------
 4882|       |
 4883|    576|        yr_free((yyvsp[-3].c_string));
 4884|       |
 4885|    576|        fail_if_error(result);
  ------------------
  |  |  135|    576|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  1.15k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    588|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 12, False: 564]
  |  |  |  Branch (135:31): [True: 12, False: 0]
  |  |  ------------------
  |  |  136|    576|    { \
  |  |  137|     12|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     12|    { \
  |  |  |  |  121|     12|      compiler->last_error = e; \
  |  |  |  |  122|     12|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     12|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     12|      switch (e) \
  |  |  |  |  124|     12|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 12]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     12|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 12, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     12|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     12|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     12|      } \
  |  |  |  |  130|     12|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4886|       |
 4887|    564|        (yyval.expression).type = EXPRESSION_TYPE_INTEGER;
  ------------------
  |  |   47|    564|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
 4888|    564|        (yyval.expression).value.integer = YR_UNDEFINED;
  ------------------
  |  |   38|    564|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  ------------------
 4889|    564|      }
 4890|      0|#line 4891 "libyara/grammar.c"
 4891|      0|    break;
 4892|       |
 4893|  3.65k|  case 153: /* primary_expression: "string offset"  */
  ------------------
  |  Branch (4893:3): [True: 3.65k, False: 1.03M]
  ------------------
 4894|  3.65k|#line 2719 "libyara/grammar.y"
 4895|  3.65k|      {
 4896|  3.65k|        int result = yr_parser_emit_push_const(yyscanner, 1);
 4897|       |
 4898|  3.65k|        if (result == ERROR_SUCCESS)
  ------------------
  |  |   40|  3.65k|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (4898:13): [True: 3.65k, False: 0]
  ------------------
 4899|  3.65k|          result = yr_parser_reduce_string_identifier(
 4900|  3.65k|              yyscanner, (yyvsp[0].c_string), OP_OFFSET, YR_UNDEFINED);
  ------------------
  |  |   73|  3.65k|#define OP_OFFSET                     25
  ------------------
                            yyscanner, (yyvsp[0].c_string), OP_OFFSET, YR_UNDEFINED);
  ------------------
  |  |   38|  3.65k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  ------------------
 4901|       |
 4902|  3.65k|        yr_free((yyvsp[0].c_string));
 4903|       |
 4904|  3.65k|        fail_if_error(result);
  ------------------
  |  |  135|  3.65k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  7.30k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  3.71k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 61, False: 3.59k]
  |  |  |  Branch (135:31): [True: 61, False: 0]
  |  |  ------------------
  |  |  136|  3.65k|    { \
  |  |  137|     61|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     61|    { \
  |  |  |  |  121|     61|      compiler->last_error = e; \
  |  |  |  |  122|     61|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     61|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     61|      switch (e) \
  |  |  |  |  124|     61|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 61]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     61|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 61, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     61|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     61|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     61|      } \
  |  |  |  |  130|     61|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4905|       |
 4906|  3.59k|        (yyval.expression).type = EXPRESSION_TYPE_INTEGER;
  ------------------
  |  |   47|  3.59k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
 4907|  3.59k|        (yyval.expression).value.integer = YR_UNDEFINED;
  ------------------
  |  |   38|  3.59k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  ------------------
 4908|  3.59k|      }
 4909|      0|#line 4910 "libyara/grammar.c"
 4910|      0|    break;
 4911|       |
 4912|    653|  case 154: /* primary_expression: "string length" '[' primary_expression ']'  */
  ------------------
  |  Branch (4912:3): [True: 653, False: 1.03M]
  ------------------
 4913|    653|#line 2734 "libyara/grammar.y"
 4914|    653|      {
 4915|    653|        int result = yr_parser_reduce_string_identifier(
 4916|    653|            yyscanner, (yyvsp[-3].c_string), OP_LENGTH, YR_UNDEFINED);
  ------------------
  |  |   69|    653|#define OP_LENGTH                     21
  ------------------
                          yyscanner, (yyvsp[-3].c_string), OP_LENGTH, YR_UNDEFINED);
  ------------------
  |  |   38|    653|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  ------------------
 4917|       |
 4918|    653|        yr_free((yyvsp[-3].c_string));
 4919|       |
 4920|    653|        fail_if_error(result);
  ------------------
  |  |  135|    653|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  1.30k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|    672|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 19, False: 634]
  |  |  |  Branch (135:31): [True: 19, False: 0]
  |  |  ------------------
  |  |  136|    653|    { \
  |  |  137|     19|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     19|    { \
  |  |  |  |  121|     19|      compiler->last_error = e; \
  |  |  |  |  122|     19|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     19|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     19|      switch (e) \
  |  |  |  |  124|     19|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 19]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     19|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 19, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     19|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     19|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     19|      } \
  |  |  |  |  130|     19|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4921|       |
 4922|    634|        (yyval.expression).type = EXPRESSION_TYPE_INTEGER;
  ------------------
  |  |   47|    634|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
 4923|    634|        (yyval.expression).value.integer = YR_UNDEFINED;
  ------------------
  |  |   38|    634|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  ------------------
 4924|    634|      }
 4925|      0|#line 4926 "libyara/grammar.c"
 4926|      0|    break;
 4927|       |
 4928|  11.0k|  case 155: /* primary_expression: "string length"  */
  ------------------
  |  Branch (4928:3): [True: 11.0k, False: 1.02M]
  ------------------
 4929|  11.0k|#line 2746 "libyara/grammar.y"
 4930|  11.0k|      {
 4931|  11.0k|        int result = yr_parser_emit_push_const(yyscanner, 1);
 4932|       |
 4933|  11.0k|        if (result == ERROR_SUCCESS)
  ------------------
  |  |   40|  11.0k|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (4933:13): [True: 11.0k, False: 0]
  ------------------
 4934|  11.0k|          result = yr_parser_reduce_string_identifier(
 4935|  11.0k|              yyscanner, (yyvsp[0].c_string), OP_LENGTH, YR_UNDEFINED);
  ------------------
  |  |   69|  11.0k|#define OP_LENGTH                     21
  ------------------
                            yyscanner, (yyvsp[0].c_string), OP_LENGTH, YR_UNDEFINED);
  ------------------
  |  |   38|  11.0k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  ------------------
 4936|       |
 4937|  11.0k|        yr_free((yyvsp[0].c_string));
 4938|       |
 4939|  11.0k|        fail_if_error(result);
  ------------------
  |  |  135|  11.0k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  22.1k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  11.0k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 32, False: 11.0k]
  |  |  |  Branch (135:31): [True: 32, False: 0]
  |  |  ------------------
  |  |  136|  11.0k|    { \
  |  |  137|     32|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     32|    { \
  |  |  |  |  121|     32|      compiler->last_error = e; \
  |  |  |  |  122|     32|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     32|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     32|      switch (e) \
  |  |  |  |  124|     32|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 32]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     32|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 32, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     32|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     32|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     32|      } \
  |  |  |  |  130|     32|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4940|       |
 4941|  11.0k|        (yyval.expression).type = EXPRESSION_TYPE_INTEGER;
  ------------------
  |  |   47|  11.0k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
 4942|  11.0k|        (yyval.expression).value.integer = YR_UNDEFINED;
  ------------------
  |  |   38|  11.0k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  ------------------
 4943|  11.0k|      }
 4944|      0|#line 4945 "libyara/grammar.c"
 4945|      0|    break;
 4946|       |
 4947|  9.64k|  case 156: /* primary_expression: identifier  */
  ------------------
  |  Branch (4947:3): [True: 9.64k, False: 1.02M]
  ------------------
 4948|  9.64k|#line 2761 "libyara/grammar.y"
 4949|  9.64k|      {
 4950|  9.64k|        int result = ERROR_SUCCESS;
  ------------------
  |  |   40|  9.64k|#define ERROR_SUCCESS 0
  ------------------
 4951|       |
 4952|  9.64k|        if ((yyvsp[0].expression).type == EXPRESSION_TYPE_OBJECT)
  ------------------
  |  |   50|  9.64k|#define EXPRESSION_TYPE_OBJECT     16
  ------------------
  |  Branch (4952:13): [True: 3.26k, False: 6.38k]
  ------------------
 4953|  3.26k|        {
 4954|  3.26k|          result = yr_parser_emit(
 4955|  3.26k|              yyscanner, OP_OBJ_VALUE, NULL);
  ------------------
  |  |   65|  3.26k|#define OP_OBJ_VALUE                  17
  ------------------
 4956|       |
 4957|  3.26k|          switch((yyvsp[0].expression).value.object->type)
 4958|  3.26k|          {
 4959|    608|            case OBJECT_TYPE_INTEGER:
  ------------------
  |  |   58|    608|#define OBJECT_TYPE_INTEGER    1
  ------------------
  |  Branch (4959:13): [True: 608, False: 2.65k]
  ------------------
 4960|    608|              (yyval.expression).type = EXPRESSION_TYPE_INTEGER;
  ------------------
  |  |   47|    608|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
 4961|    608|              (yyval.expression).value.integer = (yyvsp[0].expression).value.object->value.i;
 4962|    608|              break;
 4963|      0|            case OBJECT_TYPE_FLOAT:
  ------------------
  |  |   64|      0|#define OBJECT_TYPE_FLOAT      7
  ------------------
  |  Branch (4963:13): [True: 0, False: 3.26k]
  ------------------
 4964|      0|              (yyval.expression).type = EXPRESSION_TYPE_FLOAT;
  ------------------
  |  |   51|      0|#define EXPRESSION_TYPE_FLOAT      32
  ------------------
 4965|      0|              break;
 4966|  2.58k|            case OBJECT_TYPE_STRING:
  ------------------
  |  |   59|  2.58k|#define OBJECT_TYPE_STRING     2
  ------------------
  |  Branch (4966:13): [True: 2.58k, False: 678]
  ------------------
 4967|  2.58k|              (yyval.expression).type = EXPRESSION_TYPE_STRING;
  ------------------
  |  |   48|  2.58k|#define EXPRESSION_TYPE_STRING     4
  ------------------
 4968|  2.58k|              (yyval.expression).value.sized_string_ref = YR_ARENA_NULL_REF;
  ------------------
  |  |   43|  2.58k|  (YR_ARENA_REF)           \
  |  |   44|  2.58k|  {                        \
  |  |   45|  2.58k|    UINT32_MAX, UINT32_MAX \
  |  |   46|  2.58k|  }
  ------------------
 4969|  2.58k|              break;
 4970|     70|            default:
  ------------------
  |  Branch (4970:13): [True: 70, False: 3.19k]
  ------------------
 4971|       |              // In a primary expression any identifier that corresponds to an
 4972|       |              // object must be of type integer, float or string. If "foobar" is
 4973|       |              // either a function, structure, dictionary or array you can not
 4974|       |              // use it as:
 4975|       |              //   condition: foobar
 4976|     70|              yr_compiler_set_error_extra_info_fmt(
  ------------------
  |  |  326|     70|  snprintf(                                                      \
  |  |  327|     70|      compiler->last_error_extra_info,                           \
  |  |  328|     70|      sizeof(compiler->last_error_extra_info),                   \
  |  |  329|     70|      fmt,                                                       \
  |  |  330|    140|      __VA_ARGS__);
  |  |  ------------------
  |  |  |  Branch (330:7): [True: 35, False: 35]
  |  |  ------------------
  ------------------
 4977|     70|                  compiler,
 4978|     70|                  "wrong usage of identifier \"%s\"",
 4979|     70|                  expression_identifier((yyvsp[0].expression)));
 4980|       |
 4981|     70|              result = ERROR_WRONG_TYPE;
  ------------------
  |  |   69|     70|#define ERROR_WRONG_TYPE                     24
  ------------------
 4982|  3.26k|          }
 4983|  3.26k|        }
 4984|  6.38k|        else
 4985|  6.38k|        {
 4986|  6.38k|          (yyval.expression) = (yyvsp[0].expression);
 4987|  6.38k|        }
 4988|       |
 4989|  9.64k|        fail_if_error(result);
  ------------------
  |  |  135|  9.64k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  19.2k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  9.71k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 70, False: 9.57k]
  |  |  |  Branch (135:31): [True: 70, False: 0]
  |  |  ------------------
  |  |  136|  9.64k|    { \
  |  |  137|     70|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     70|    { \
  |  |  |  |  121|     70|      compiler->last_error = e; \
  |  |  |  |  122|     70|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     70|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     70|      switch (e) \
  |  |  |  |  124|     70|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 70]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     70|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 70, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     70|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     70|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     70|      } \
  |  |  |  |  130|     70|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 4990|  9.57k|      }
 4991|      0|#line 4992 "libyara/grammar.c"
 4992|      0|    break;
 4993|       |
 4994|  33.8k|  case 157: /* primary_expression: '-' primary_expression  */
  ------------------
  |  Branch (4994:3): [True: 33.8k, False: 1.00M]
  ------------------
 4995|  33.8k|#line 2804 "libyara/grammar.y"
 4996|  33.8k|      {
 4997|  33.8k|        int result = ERROR_SUCCESS;
  ------------------
  |  |   40|  33.8k|#define ERROR_SUCCESS 0
  ------------------
 4998|       |
 4999|  33.8k|        check_type((yyvsp[0].expression), EXPRESSION_TYPE_INTEGER | EXPRESSION_TYPE_FLOAT, "-");
  ------------------
  |  |  175|  33.8k|    check_type_with_cleanup(expression, expected_type, op, )
  |  |  ------------------
  |  |  |  |  145|  33.8k|    if (((expression.type) & (expected_type)) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (145:9): [True: 41, False: 33.7k]
  |  |  |  |  ------------------
  |  |  |  |  146|  33.8k|    { \
  |  |  |  |  147|     41|      switch(expression.type) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (147:14): [True: 29, False: 12]
  |  |  |  |  ------------------
  |  |  |  |  148|     41|      { \
  |  |  |  |  149|      0|        case EXPRESSION_TYPE_INTEGER: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define EXPRESSION_TYPE_INTEGER    2
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (149:9): [True: 0, False: 41]
  |  |  |  |  ------------------
  |  |  |  |  150|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  151|      0|              compiler, "wrong type \"integer\" for " op " operator"); \
  |  |  |  |  152|      0|          break; \
  |  |  |  |  153|      0|        case EXPRESSION_TYPE_FLOAT: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   51|      0|#define EXPRESSION_TYPE_FLOAT      32
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:9): [True: 0, False: 41]
  |  |  |  |  ------------------
  |  |  |  |  154|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  155|      0|              compiler, "wrong type \"float\" for " op " operator"); \
  |  |  |  |  156|      0|          break; \
  |  |  |  |  157|     10|        case EXPRESSION_TYPE_STRING: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     10|#define EXPRESSION_TYPE_STRING     4
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (157:9): [True: 10, False: 31]
  |  |  |  |  ------------------
  |  |  |  |  158|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  159|     10|              compiler, "wrong type \"string\" for " op " operator"); \
  |  |  |  |  160|     10|          break; \
  |  |  |  |  161|     19|        case EXPRESSION_TYPE_BOOLEAN: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|     19|#define EXPRESSION_TYPE_BOOLEAN    1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (161:9): [True: 19, False: 22]
  |  |  |  |  ------------------
  |  |  |  |  162|     19|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     19|  strlcpy(                                               \
  |  |  |  |  |  |  321|     19|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     19|      info,                                              \
  |  |  |  |  |  |  323|     19|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  163|     19|              compiler, "wrong type \"boolean\" for " op " operator"); \
  |  |  |  |  164|     19|          break; \
  |  |  |  |  165|     41|      } \
  |  |  |  |  166|     41|      cleanup; \
  |  |  |  |  167|     41|      compiler->last_error = ERROR_WRONG_TYPE; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|     41|#define ERROR_WRONG_TYPE                     24
  |  |  |  |  ------------------
  |  |  |  |  168|     41|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     41|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  169|     41|      YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     41|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  170|     41|    }
  |  |  ------------------
  ------------------
 5000|       |
 5001|  33.7k|        if ((yyvsp[0].expression).type == EXPRESSION_TYPE_INTEGER)
  ------------------
  |  |   47|  33.7k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
  |  Branch (5001:13): [True: 32.2k, False: 1.51k]
  ------------------
 5002|  32.2k|        {
 5003|  32.2k|          (yyval.expression).type = EXPRESSION_TYPE_INTEGER;
  ------------------
  |  |   47|  32.2k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
 5004|  32.2k|          (yyval.expression).value.integer = ((yyvsp[0].expression).value.integer == YR_UNDEFINED) ?
  ------------------
  |  |   38|  32.2k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  ------------------
  |  Branch (5004:46): [True: 6.32k, False: 25.9k]
  ------------------
 5005|  25.9k|              YR_UNDEFINED : (int64_t) (0 - (uint64_t) (yyvsp[0].expression).value.integer);
  ------------------
  |  |   38|  6.32k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  ------------------
 5006|  32.2k|          result = yr_parser_emit(yyscanner, OP_INT_MINUS, NULL);
  ------------------
  |  |  152|  32.2k|#define OP_INT_MINUS (OP_INT_BEGIN + _OP_MINUS)
  |  |  ------------------
  |  |  |  |  141|  32.2k|#define OP_INT_BEGIN 100
  |  |  ------------------
  |  |               #define OP_INT_MINUS (OP_INT_BEGIN + _OP_MINUS)
  |  |  ------------------
  |  |  |  |  139|  32.2k|#define _OP_MINUS 10
  |  |  ------------------
  ------------------
 5007|  32.2k|        }
 5008|  1.51k|        else if ((yyvsp[0].expression).type == EXPRESSION_TYPE_FLOAT)
  ------------------
  |  |   51|  1.51k|#define EXPRESSION_TYPE_FLOAT      32
  ------------------
  |  Branch (5008:18): [True: 1.51k, False: 0]
  ------------------
 5009|  1.51k|        {
 5010|  1.51k|          (yyval.expression).type = EXPRESSION_TYPE_FLOAT;
  ------------------
  |  |   51|  1.51k|#define EXPRESSION_TYPE_FLOAT      32
  ------------------
 5011|  1.51k|          result = yr_parser_emit(yyscanner, OP_DBL_MINUS, NULL);
  ------------------
  |  |  166|  1.51k|#define OP_DBL_MINUS (OP_DBL_BEGIN + _OP_MINUS)
  |  |  ------------------
  |  |  |  |  155|  1.51k|#define OP_DBL_BEGIN 120
  |  |  ------------------
  |  |               #define OP_DBL_MINUS (OP_DBL_BEGIN + _OP_MINUS)
  |  |  ------------------
  |  |  |  |  139|  1.51k|#define _OP_MINUS 10
  |  |  ------------------
  ------------------
 5012|  1.51k|        }
 5013|       |
 5014|  33.7k|        fail_if_error(result);
  ------------------
  |  |  135|  33.7k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  67.5k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  33.7k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 33.7k]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|  33.7k|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 5015|  33.7k|      }
 5016|      0|#line 5017 "libyara/grammar.c"
 5017|      0|    break;
 5018|       |
 5019|  5.49k|  case 158: /* primary_expression: primary_expression '+' primary_expression  */
  ------------------
  |  Branch (5019:3): [True: 5.49k, False: 1.03M]
  ------------------
 5020|  5.49k|#line 2825 "libyara/grammar.y"
 5021|  5.49k|      {
 5022|  5.49k|        int result = yr_parser_reduce_operation(
 5023|  5.49k|            yyscanner, "+", (yyvsp[-2].expression), (yyvsp[0].expression));
 5024|       |
 5025|  5.49k|        if ((yyvsp[-2].expression).type == EXPRESSION_TYPE_INTEGER &&
  ------------------
  |  |   47|  10.9k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
  |  Branch (5025:13): [True: 4.55k, False: 946]
  ------------------
 5026|  4.55k|            (yyvsp[0].expression).type == EXPRESSION_TYPE_INTEGER)
  ------------------
  |  |   47|  4.55k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
  |  Branch (5026:13): [True: 3.93k, False: 617]
  ------------------
 5027|  3.93k|        {
 5028|  3.93k|          int64_t i1 = (yyvsp[-2].expression).value.integer;
 5029|  3.93k|          int64_t i2 = (yyvsp[0].expression).value.integer;
 5030|       |
 5031|  3.93k|          if (!IS_UNDEFINED(i1) && !IS_UNDEFINED(i2) &&
  ------------------
  |  |   39|  7.86k|#define IS_UNDEFINED(x) ((size_t)(x) == (size_t) YR_UNDEFINED)
  |  |  ------------------
  |  |  |  |   38|  3.93k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  ------------------
  ------------------
                        if (!IS_UNDEFINED(i1) && !IS_UNDEFINED(i2) &&
  ------------------
  |  |   39|  6.06k|#define IS_UNDEFINED(x) ((size_t)(x) == (size_t) YR_UNDEFINED)
  |  |  ------------------
  |  |  |  |   38|  2.13k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  ------------------
  ------------------
  |  Branch (5031:15): [True: 2.13k, False: 1.80k]
  |  Branch (5031:36): [True: 1.48k, False: 642]
  ------------------
 5032|  1.48k|              (
 5033|  1.48k|                (i2 > 0 && i1 > INT64_MAX - i2) ||
  ------------------
  |  Branch (5033:18): [True: 739, False: 750]
  |  Branch (5033:28): [True: 24, False: 715]
  ------------------
 5034|  1.46k|                (i2 < 0 && i1 < INT64_MIN - i2)
  ------------------
  |  Branch (5034:18): [True: 610, False: 855]
  |  Branch (5034:28): [True: 10, False: 600]
  ------------------
 5035|  1.48k|              ))
 5036|     34|          {
 5037|     34|            yr_compiler_set_error_extra_info_fmt(
  ------------------
  |  |  326|     34|  snprintf(                                                      \
  |  |  327|     34|      compiler->last_error_extra_info,                           \
  |  |  328|     34|      sizeof(compiler->last_error_extra_info),                   \
  |  |  329|     34|      fmt,                                                       \
  |  |  330|     34|      __VA_ARGS__);
  ------------------
 5038|     34|                compiler, "%" PRId64 " + %" PRId64, i1, i2);
 5039|       |
 5040|     34|            result = ERROR_INTEGER_OVERFLOW;
  ------------------
  |  |   99|     34|#define ERROR_INTEGER_OVERFLOW               52
  ------------------
 5041|     34|          }
 5042|  3.90k|          else
 5043|  3.90k|          {
 5044|  3.90k|            (yyval.expression).value.integer = OPERATION(+, i1, i2);
  ------------------
  |  |  197|  3.90k|  (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2)
  |  |  ------------------
  |  |  |  |   39|  7.80k|#define IS_UNDEFINED(x) ((size_t)(x) == (size_t) YR_UNDEFINED)
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|  3.90k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:25): [True: 1.80k, False: 2.09k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                 (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2)
  |  |  ------------------
  |  |  |  |   39|  2.09k|#define IS_UNDEFINED(x) ((size_t)(x) == (size_t) YR_UNDEFINED)
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|  2.09k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:25): [True: 642, False: 1.45k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                 (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2)
  |  |  ------------------
  |  |  |  |   38|  2.44k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  ------------------
  ------------------
 5045|  3.90k|            (yyval.expression).type = EXPRESSION_TYPE_INTEGER;
  ------------------
  |  |   47|  3.90k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
 5046|  3.90k|          }
 5047|  3.93k|        }
 5048|  1.56k|        else
 5049|  1.56k|        {
 5050|  1.56k|          (yyval.expression).type = EXPRESSION_TYPE_FLOAT;
  ------------------
  |  |   51|  1.56k|#define EXPRESSION_TYPE_FLOAT      32
  ------------------
 5051|  1.56k|        }
 5052|       |
 5053|  5.49k|        fail_if_error(result);
  ------------------
  |  |  135|  5.49k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  10.9k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  5.54k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 50, False: 5.44k]
  |  |  |  Branch (135:31): [True: 50, False: 0]
  |  |  ------------------
  |  |  136|  5.49k|    { \
  |  |  137|     50|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     50|    { \
  |  |  |  |  121|     50|      compiler->last_error = e; \
  |  |  |  |  122|     50|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     50|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     50|      switch (e) \
  |  |  |  |  124|     50|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 50]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     50|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 50, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     50|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     50|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     50|      } \
  |  |  |  |  130|     50|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 5054|  5.44k|      }
 5055|      0|#line 5056 "libyara/grammar.c"
 5056|      0|    break;
 5057|       |
 5058|  10.6k|  case 159: /* primary_expression: primary_expression '-' primary_expression  */
  ------------------
  |  Branch (5058:3): [True: 10.6k, False: 1.02M]
  ------------------
 5059|  10.6k|#line 2860 "libyara/grammar.y"
 5060|  10.6k|      {
 5061|  10.6k|        int result = yr_parser_reduce_operation(
 5062|  10.6k|            yyscanner, "-", (yyvsp[-2].expression), (yyvsp[0].expression));
 5063|       |
 5064|  10.6k|        if ((yyvsp[-2].expression).type == EXPRESSION_TYPE_INTEGER &&
  ------------------
  |  |   47|  21.2k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
  |  Branch (5064:13): [True: 10.1k, False: 491]
  ------------------
 5065|  10.1k|            (yyvsp[0].expression).type == EXPRESSION_TYPE_INTEGER)
  ------------------
  |  |   47|  10.1k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
  |  Branch (5065:13): [True: 9.58k, False: 522]
  ------------------
 5066|  9.58k|        {
 5067|  9.58k|          int64_t i1 = (yyvsp[-2].expression).value.integer;
 5068|  9.58k|          int64_t i2 = (yyvsp[0].expression).value.integer;
 5069|       |
 5070|  9.58k|          if (!IS_UNDEFINED(i1) && !IS_UNDEFINED(i2) &&
  ------------------
  |  |   39|  19.1k|#define IS_UNDEFINED(x) ((size_t)(x) == (size_t) YR_UNDEFINED)
  |  |  ------------------
  |  |  |  |   38|  9.58k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  ------------------
  ------------------
                        if (!IS_UNDEFINED(i1) && !IS_UNDEFINED(i2) &&
  ------------------
  |  |   39|  14.8k|#define IS_UNDEFINED(x) ((size_t)(x) == (size_t) YR_UNDEFINED)
  |  |  ------------------
  |  |  |  |   38|  5.21k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  ------------------
  ------------------
  |  Branch (5070:15): [True: 5.21k, False: 4.36k]
  |  Branch (5070:36): [True: 4.54k, False: 676]
  ------------------
 5071|  4.54k|              (
 5072|  4.54k|                (i2 < 0 && i1 > INT64_MAX + i2) ||
  ------------------
  |  Branch (5072:18): [True: 1.20k, False: 3.33k]
  |  Branch (5072:28): [True: 93, False: 1.11k]
  ------------------
 5073|  4.44k|                (i2 > 0 && i1 < INT64_MIN + i2)
  ------------------
  |  Branch (5073:18): [True: 2.91k, False: 1.53k]
  |  Branch (5073:28): [True: 12, False: 2.90k]
  ------------------
 5074|  4.54k|              ))
 5075|    105|          {
 5076|    105|            yr_compiler_set_error_extra_info_fmt(
  ------------------
  |  |  326|    105|  snprintf(                                                      \
  |  |  327|    105|      compiler->last_error_extra_info,                           \
  |  |  328|    105|      sizeof(compiler->last_error_extra_info),                   \
  |  |  329|    105|      fmt,                                                       \
  |  |  330|    105|      __VA_ARGS__);
  ------------------
 5077|    105|                compiler, "%" PRId64 " - %" PRId64, i1, i2);
 5078|       |
 5079|    105|            result = ERROR_INTEGER_OVERFLOW;
  ------------------
  |  |   99|    105|#define ERROR_INTEGER_OVERFLOW               52
  ------------------
 5080|    105|          }
 5081|  9.48k|          else
 5082|  9.48k|          {
 5083|  9.48k|            (yyval.expression).value.integer = OPERATION(-, i1, i2);
  ------------------
  |  |  197|  9.48k|  (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2)
  |  |  ------------------
  |  |  |  |   39|  18.9k|#define IS_UNDEFINED(x) ((size_t)(x) == (size_t) YR_UNDEFINED)
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|  9.48k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:25): [True: 4.36k, False: 5.11k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                 (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2)
  |  |  ------------------
  |  |  |  |   39|  5.11k|#define IS_UNDEFINED(x) ((size_t)(x) == (size_t) YR_UNDEFINED)
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|  5.11k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:25): [True: 676, False: 4.43k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                 (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2)
  |  |  ------------------
  |  |  |  |   38|  5.04k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  ------------------
  ------------------
 5084|  9.48k|            (yyval.expression).type = EXPRESSION_TYPE_INTEGER;
  ------------------
  |  |   47|  9.48k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
 5085|  9.48k|          }
 5086|  9.58k|        }
 5087|  1.01k|        else
 5088|  1.01k|        {
 5089|  1.01k|          (yyval.expression).type = EXPRESSION_TYPE_FLOAT;
  ------------------
  |  |   51|  1.01k|#define EXPRESSION_TYPE_FLOAT      32
  ------------------
 5090|  1.01k|        }
 5091|       |
 5092|  10.6k|        fail_if_error(result);
  ------------------
  |  |  135|  10.6k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  21.2k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  10.7k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 154, False: 10.4k]
  |  |  |  Branch (135:31): [True: 154, False: 0]
  |  |  ------------------
  |  |  136|  10.6k|    { \
  |  |  137|    154|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|    154|    { \
  |  |  |  |  121|    154|      compiler->last_error = e; \
  |  |  |  |  122|    154|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|    154|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|    154|      switch (e) \
  |  |  |  |  124|    154|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 154]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|    154|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 154, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|    154|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|    154|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|    154|      } \
  |  |  |  |  130|    154|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 5093|  10.4k|      }
 5094|      0|#line 5095 "libyara/grammar.c"
 5095|      0|    break;
 5096|       |
 5097|  4.37k|  case 160: /* primary_expression: primary_expression '*' primary_expression  */
  ------------------
  |  Branch (5097:3): [True: 4.37k, False: 1.03M]
  ------------------
 5098|  4.37k|#line 2895 "libyara/grammar.y"
 5099|  4.37k|      {
 5100|  4.37k|        int result = yr_parser_reduce_operation(
 5101|  4.37k|            yyscanner, "*", (yyvsp[-2].expression), (yyvsp[0].expression));
 5102|       |
 5103|  4.37k|        if ((yyvsp[-2].expression).type == EXPRESSION_TYPE_INTEGER &&
  ------------------
  |  |   47|  8.75k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
  |  Branch (5103:13): [True: 4.07k, False: 308]
  ------------------
 5104|  4.07k|            (yyvsp[0].expression).type == EXPRESSION_TYPE_INTEGER)
  ------------------
  |  |   47|  4.07k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
  |  Branch (5104:13): [True: 3.75k, False: 312]
  ------------------
 5105|  3.75k|        {
 5106|  3.75k|          int64_t i1 = (yyvsp[-2].expression).value.integer;
 5107|  3.75k|          int64_t i2 = (yyvsp[0].expression).value.integer;
 5108|       |
 5109|  3.75k|          uint64_t m1 = (i1 < 0) ? 0 - (uint64_t) i1 : (uint64_t) i1;
  ------------------
  |  Branch (5109:25): [True: 1.52k, False: 2.23k]
  ------------------
 5110|  3.75k|          uint64_t m2 = (i2 < 0) ? 0 - (uint64_t) i2 : (uint64_t) i2;
  ------------------
  |  Branch (5110:25): [True: 1.37k, False: 2.38k]
  ------------------
 5111|       |
 5112|  3.75k|          if (!IS_UNDEFINED(i1) && !IS_UNDEFINED(i2) &&
  ------------------
  |  |   39|  7.51k|#define IS_UNDEFINED(x) ((size_t)(x) == (size_t) YR_UNDEFINED)
  |  |  ------------------
  |  |  |  |   38|  3.75k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  ------------------
  ------------------
                        if (!IS_UNDEFINED(i1) && !IS_UNDEFINED(i2) &&
  ------------------
  |  |   39|  7.28k|#define IS_UNDEFINED(x) ((size_t)(x) == (size_t) YR_UNDEFINED)
  |  |  ------------------
  |  |  |  |   38|  3.52k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  ------------------
  ------------------
  |  Branch (5112:15): [True: 3.52k, False: 231]
  |  Branch (5112:36): [True: 2.53k, False: 993]
  ------------------
 5113|  2.53k|              i2 != 0 && m1 > (uint64_t) INT64_MAX / m2)
  ------------------
  |  Branch (5113:15): [True: 1.99k, False: 536]
  |  Branch (5113:26): [True: 84, False: 1.91k]
  ------------------
 5114|     84|          {
 5115|     84|            yr_compiler_set_error_extra_info_fmt(
  ------------------
  |  |  326|     84|  snprintf(                                                      \
  |  |  327|     84|      compiler->last_error_extra_info,                           \
  |  |  328|     84|      sizeof(compiler->last_error_extra_info),                   \
  |  |  329|     84|      fmt,                                                       \
  |  |  330|     84|      __VA_ARGS__);
  ------------------
 5116|     84|                compiler, "%" PRId64 " * %" PRId64, i1, i2);
 5117|       |
 5118|     84|            result = ERROR_INTEGER_OVERFLOW;
  ------------------
  |  |   99|     84|#define ERROR_INTEGER_OVERFLOW               52
  ------------------
 5119|     84|          }
 5120|  3.67k|          else
 5121|  3.67k|          {
 5122|  3.67k|            (yyval.expression).value.integer = OPERATION(*, i1, i2);
  ------------------
  |  |  197|  3.67k|  (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2)
  |  |  ------------------
  |  |  |  |   39|  7.35k|#define IS_UNDEFINED(x) ((size_t)(x) == (size_t) YR_UNDEFINED)
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|  3.67k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:25): [True: 231, False: 3.44k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                 (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2)
  |  |  ------------------
  |  |  |  |   39|  3.44k|#define IS_UNDEFINED(x) ((size_t)(x) == (size_t) YR_UNDEFINED)
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|  3.44k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:25): [True: 993, False: 2.45k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                 (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2)
  |  |  ------------------
  |  |  |  |   38|  1.22k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  ------------------
  ------------------
 5123|  3.67k|            (yyval.expression).type = EXPRESSION_TYPE_INTEGER;
  ------------------
  |  |   47|  3.67k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
 5124|  3.67k|          }
 5125|  3.75k|        }
 5126|    620|        else
 5127|    620|        {
 5128|    620|          (yyval.expression).type = EXPRESSION_TYPE_FLOAT;
  ------------------
  |  |   51|    620|#define EXPRESSION_TYPE_FLOAT      32
  ------------------
 5129|    620|        }
 5130|       |
 5131|  4.37k|        fail_if_error(result);
  ------------------
  |  |  135|  4.37k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  8.75k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  4.50k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 123, False: 4.25k]
  |  |  |  Branch (135:31): [True: 123, False: 0]
  |  |  ------------------
  |  |  136|  4.37k|    { \
  |  |  137|    123|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|    123|    { \
  |  |  |  |  121|    123|      compiler->last_error = e; \
  |  |  |  |  122|    123|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|    123|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|    123|      switch (e) \
  |  |  |  |  124|    123|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 123]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|    123|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 123, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|    123|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|    123|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|    123|      } \
  |  |  |  |  130|    123|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 5132|  4.25k|      }
 5133|      0|#line 5134 "libyara/grammar.c"
 5134|      0|    break;
 5135|       |
 5136|  4.64k|  case 161: /* primary_expression: primary_expression '\\' primary_expression  */
  ------------------
  |  Branch (5136:3): [True: 4.64k, False: 1.03M]
  ------------------
 5137|  4.64k|#line 2930 "libyara/grammar.y"
 5138|  4.64k|      {
 5139|  4.64k|        int result = yr_parser_reduce_operation(
 5140|  4.64k|            yyscanner, "\\", (yyvsp[-2].expression), (yyvsp[0].expression));
 5141|       |
 5142|  4.64k|        if ((yyvsp[-2].expression).type == EXPRESSION_TYPE_INTEGER &&
  ------------------
  |  |   47|  9.29k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
  |  Branch (5142:13): [True: 4.40k, False: 243]
  ------------------
 5143|  4.40k|            (yyvsp[0].expression).type == EXPRESSION_TYPE_INTEGER)
  ------------------
  |  |   47|  4.40k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
  |  Branch (5143:13): [True: 4.17k, False: 228]
  ------------------
 5144|  4.17k|        {
 5145|  4.17k|          int64_t i1 = (yyvsp[-2].expression).value.integer;
 5146|  4.17k|          int64_t i2 = (yyvsp[0].expression).value.integer;
 5147|       |
 5148|  4.17k|          if (i2 == 0)
  ------------------
  |  Branch (5148:15): [True: 14, False: 4.16k]
  ------------------
 5149|     14|          {
 5150|     14|            result = ERROR_DIVISION_BY_ZERO;
  ------------------
  |  |   91|     14|#define ERROR_DIVISION_BY_ZERO               44
  ------------------
 5151|     14|          }
 5152|  4.16k|          else if (i1 == INT64_MIN && i2 == -1)
  ------------------
  |  Branch (5152:20): [True: 182, False: 3.97k]
  |  Branch (5152:39): [True: 10, False: 172]
  ------------------
 5153|     10|          {
 5154|     10|            yr_compiler_set_error_extra_info_fmt(
  ------------------
  |  |  326|     10|  snprintf(                                                      \
  |  |  327|     10|      compiler->last_error_extra_info,                           \
  |  |  328|     10|      sizeof(compiler->last_error_extra_info),                   \
  |  |  329|     10|      fmt,                                                       \
  |  |  330|     10|      __VA_ARGS__);
  ------------------
 5155|     10|                compiler, "%" PRId64 " \\ %" PRId64, i1, i2);
 5156|       |
 5157|     10|            result = ERROR_INTEGER_OVERFLOW;
  ------------------
  |  |   99|     10|#define ERROR_INTEGER_OVERFLOW               52
  ------------------
 5158|     10|          }
 5159|  4.15k|          else
 5160|  4.15k|          {
 5161|  4.15k|            (yyval.expression).value.integer = OPERATION(/, i1, i2);
  ------------------
  |  |  197|  4.15k|  (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2)
  |  |  ------------------
  |  |  |  |   39|  8.30k|#define IS_UNDEFINED(x) ((size_t)(x) == (size_t) YR_UNDEFINED)
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|  4.15k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:25): [True: 814, False: 3.33k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                 (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2)
  |  |  ------------------
  |  |  |  |   39|  3.33k|#define IS_UNDEFINED(x) ((size_t)(x) == (size_t) YR_UNDEFINED)
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|  3.33k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:25): [True: 2.33k, False: 1.00k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                 (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2)
  |  |  ------------------
  |  |  |  |   38|  3.14k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  ------------------
  ------------------
 5162|  4.15k|            (yyval.expression).type = EXPRESSION_TYPE_INTEGER;
  ------------------
  |  |   47|  4.15k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
 5163|  4.15k|          }
 5164|  4.17k|        }
 5165|    471|        else
 5166|    471|        {
 5167|    471|          (yyval.expression).type = EXPRESSION_TYPE_FLOAT;
  ------------------
  |  |   51|    471|#define EXPRESSION_TYPE_FLOAT      32
  ------------------
 5168|    471|        }
 5169|       |
 5170|  4.64k|        fail_if_error(result);
  ------------------
  |  |  135|  4.64k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  9.29k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  4.68k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 42, False: 4.60k]
  |  |  |  Branch (135:31): [True: 42, False: 0]
  |  |  ------------------
  |  |  136|  4.64k|    { \
  |  |  137|     42|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     42|    { \
  |  |  |  |  121|     42|      compiler->last_error = e; \
  |  |  |  |  122|     42|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     42|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     42|      switch (e) \
  |  |  |  |  124|     42|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 42]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     42|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 42, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     42|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     42|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     42|      } \
  |  |  |  |  130|     42|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 5171|  4.60k|      }
 5172|      0|#line 5173 "libyara/grammar.c"
 5173|      0|    break;
 5174|       |
 5175|  2.28k|  case 162: /* primary_expression: primary_expression '%' primary_expression  */
  ------------------
  |  Branch (5175:3): [True: 2.28k, False: 1.03M]
  ------------------
 5176|  2.28k|#line 2965 "libyara/grammar.y"
 5177|  2.28k|      {
 5178|  2.28k|        check_type((yyvsp[-2].expression), EXPRESSION_TYPE_INTEGER, "%");
  ------------------
  |  |  175|  2.28k|    check_type_with_cleanup(expression, expected_type, op, )
  |  |  ------------------
  |  |  |  |  145|  2.28k|    if (((expression.type) & (expected_type)) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (145:9): [True: 62, False: 2.22k]
  |  |  |  |  ------------------
  |  |  |  |  146|  2.28k|    { \
  |  |  |  |  147|     62|      switch(expression.type) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (147:14): [True: 40, False: 22]
  |  |  |  |  ------------------
  |  |  |  |  148|     62|      { \
  |  |  |  |  149|      0|        case EXPRESSION_TYPE_INTEGER: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define EXPRESSION_TYPE_INTEGER    2
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (149:9): [True: 0, False: 62]
  |  |  |  |  ------------------
  |  |  |  |  150|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  151|      0|              compiler, "wrong type \"integer\" for " op " operator"); \
  |  |  |  |  152|      0|          break; \
  |  |  |  |  153|     10|        case EXPRESSION_TYPE_FLOAT: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   51|     10|#define EXPRESSION_TYPE_FLOAT      32
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:9): [True: 10, False: 52]
  |  |  |  |  ------------------
  |  |  |  |  154|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  155|     10|              compiler, "wrong type \"float\" for " op " operator"); \
  |  |  |  |  156|     10|          break; \
  |  |  |  |  157|     19|        case EXPRESSION_TYPE_STRING: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     19|#define EXPRESSION_TYPE_STRING     4
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (157:9): [True: 19, False: 43]
  |  |  |  |  ------------------
  |  |  |  |  158|     19|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     19|  strlcpy(                                               \
  |  |  |  |  |  |  321|     19|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     19|      info,                                              \
  |  |  |  |  |  |  323|     19|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  159|     19|              compiler, "wrong type \"string\" for " op " operator"); \
  |  |  |  |  160|     19|          break; \
  |  |  |  |  161|     11|        case EXPRESSION_TYPE_BOOLEAN: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|     11|#define EXPRESSION_TYPE_BOOLEAN    1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (161:9): [True: 11, False: 51]
  |  |  |  |  ------------------
  |  |  |  |  162|     11|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     11|  strlcpy(                                               \
  |  |  |  |  |  |  321|     11|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     11|      info,                                              \
  |  |  |  |  |  |  323|     11|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  163|     11|              compiler, "wrong type \"boolean\" for " op " operator"); \
  |  |  |  |  164|     11|          break; \
  |  |  |  |  165|     62|      } \
  |  |  |  |  166|     62|      cleanup; \
  |  |  |  |  167|     62|      compiler->last_error = ERROR_WRONG_TYPE; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|     62|#define ERROR_WRONG_TYPE                     24
  |  |  |  |  ------------------
  |  |  |  |  168|     62|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     62|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  169|     62|      YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     62|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  170|     62|    }
  |  |  ------------------
  ------------------
 5179|  2.22k|        check_type((yyvsp[0].expression), EXPRESSION_TYPE_INTEGER, "%");
  ------------------
  |  |  175|  2.22k|    check_type_with_cleanup(expression, expected_type, op, )
  |  |  ------------------
  |  |  |  |  145|  2.22k|    if (((expression.type) & (expected_type)) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (145:9): [True: 74, False: 2.15k]
  |  |  |  |  ------------------
  |  |  |  |  146|  2.22k|    { \
  |  |  |  |  147|     74|      switch(expression.type) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (147:14): [True: 56, False: 18]
  |  |  |  |  ------------------
  |  |  |  |  148|     74|      { \
  |  |  |  |  149|      0|        case EXPRESSION_TYPE_INTEGER: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define EXPRESSION_TYPE_INTEGER    2
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (149:9): [True: 0, False: 74]
  |  |  |  |  ------------------
  |  |  |  |  150|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  151|      0|              compiler, "wrong type \"integer\" for " op " operator"); \
  |  |  |  |  152|      0|          break; \
  |  |  |  |  153|     10|        case EXPRESSION_TYPE_FLOAT: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   51|     10|#define EXPRESSION_TYPE_FLOAT      32
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:9): [True: 10, False: 64]
  |  |  |  |  ------------------
  |  |  |  |  154|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  155|     10|              compiler, "wrong type \"float\" for " op " operator"); \
  |  |  |  |  156|     10|          break; \
  |  |  |  |  157|     18|        case EXPRESSION_TYPE_STRING: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     18|#define EXPRESSION_TYPE_STRING     4
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (157:9): [True: 18, False: 56]
  |  |  |  |  ------------------
  |  |  |  |  158|     18|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     18|  strlcpy(                                               \
  |  |  |  |  |  |  321|     18|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     18|      info,                                              \
  |  |  |  |  |  |  323|     18|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  159|     18|              compiler, "wrong type \"string\" for " op " operator"); \
  |  |  |  |  160|     18|          break; \
  |  |  |  |  161|     28|        case EXPRESSION_TYPE_BOOLEAN: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|     28|#define EXPRESSION_TYPE_BOOLEAN    1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (161:9): [True: 28, False: 46]
  |  |  |  |  ------------------
  |  |  |  |  162|     28|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     28|  strlcpy(                                               \
  |  |  |  |  |  |  321|     28|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     28|      info,                                              \
  |  |  |  |  |  |  323|     28|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  163|     28|              compiler, "wrong type \"boolean\" for " op " operator"); \
  |  |  |  |  164|     28|          break; \
  |  |  |  |  165|     74|      } \
  |  |  |  |  166|     74|      cleanup; \
  |  |  |  |  167|     74|      compiler->last_error = ERROR_WRONG_TYPE; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|     74|#define ERROR_WRONG_TYPE                     24
  |  |  |  |  ------------------
  |  |  |  |  168|     74|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     74|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  169|     74|      YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     74|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  170|     74|    }
  |  |  ------------------
  ------------------
 5180|       |
 5181|  2.15k|        fail_if_error(yr_parser_emit(yyscanner, OP_MOD, NULL));
  ------------------
  |  |  135|  2.15k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  4.30k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  2.15k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 2.15k]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|  2.15k|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 5182|       |
 5183|  2.15k|        if ((yyvsp[0].expression).value.integer != 0)
  ------------------
  |  Branch (5183:13): [True: 2.14k, False: 12]
  ------------------
 5184|  2.14k|        {
 5185|  2.14k|          (yyval.expression).value.integer = OPERATION(%, (yyvsp[-2].expression).value.integer, (yyvsp[0].expression).value.integer);
  ------------------
  |  |  197|  2.14k|  (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2)
  |  |  ------------------
  |  |  |  |   39|  4.28k|#define IS_UNDEFINED(x) ((size_t)(x) == (size_t) YR_UNDEFINED)
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|  2.14k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:25): [True: 204, False: 1.93k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                 (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2)
  |  |  ------------------
  |  |  |  |   39|  1.93k|#define IS_UNDEFINED(x) ((size_t)(x) == (size_t) YR_UNDEFINED)
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|  1.93k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:25): [True: 400, False: 1.53k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                 (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2)
  |  |  ------------------
  |  |  |  |   38|    604|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  ------------------
  ------------------
 5186|  2.14k|          (yyval.expression).type = EXPRESSION_TYPE_INTEGER;
  ------------------
  |  |   47|  2.14k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
 5187|  2.14k|        }
 5188|     12|        else
 5189|     12|        {
 5190|     12|          fail_if_error(ERROR_DIVISION_BY_ZERO);
  ------------------
  |  |  135|     12|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|     12|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, Folded]
  |  |  |  Branch (135:31): [True: 0, Folded]
  |  |  ------------------
  |  |  136|     12|    { \
  |  |  137|     12|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|     12|    { \
  |  |  |  |  121|     12|      compiler->last_error = e; \
  |  |  |  |  122|     12|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     12|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|     12|      switch (e) \
  |  |  |  |  124|     12|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 12]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|     12|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 12, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|     12|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     12|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|     12|      } \
  |  |  |  |  130|     12|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 5191|      0|        }
 5192|  2.15k|      }
 5193|  2.14k|#line 5194 "libyara/grammar.c"
 5194|  2.14k|    break;
 5195|       |
 5196|  4.86k|  case 163: /* primary_expression: primary_expression '^' primary_expression  */
  ------------------
  |  Branch (5196:3): [True: 4.86k, False: 1.03M]
  ------------------
 5197|  4.86k|#line 2982 "libyara/grammar.y"
 5198|  4.86k|      {
 5199|  4.86k|        check_type((yyvsp[-2].expression), EXPRESSION_TYPE_INTEGER, "^");
  ------------------
  |  |  175|  4.86k|    check_type_with_cleanup(expression, expected_type, op, )
  |  |  ------------------
  |  |  |  |  145|  4.86k|    if (((expression.type) & (expected_type)) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (145:9): [True: 58, False: 4.80k]
  |  |  |  |  ------------------
  |  |  |  |  146|  4.86k|    { \
  |  |  |  |  147|     58|      switch(expression.type) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (147:14): [True: 39, False: 19]
  |  |  |  |  ------------------
  |  |  |  |  148|     58|      { \
  |  |  |  |  149|      0|        case EXPRESSION_TYPE_INTEGER: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define EXPRESSION_TYPE_INTEGER    2
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (149:9): [True: 0, False: 58]
  |  |  |  |  ------------------
  |  |  |  |  150|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  151|      0|              compiler, "wrong type \"integer\" for " op " operator"); \
  |  |  |  |  152|      0|          break; \
  |  |  |  |  153|     11|        case EXPRESSION_TYPE_FLOAT: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   51|     11|#define EXPRESSION_TYPE_FLOAT      32
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:9): [True: 11, False: 47]
  |  |  |  |  ------------------
  |  |  |  |  154|     11|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     11|  strlcpy(                                               \
  |  |  |  |  |  |  321|     11|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     11|      info,                                              \
  |  |  |  |  |  |  323|     11|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  155|     11|              compiler, "wrong type \"float\" for " op " operator"); \
  |  |  |  |  156|     11|          break; \
  |  |  |  |  157|     18|        case EXPRESSION_TYPE_STRING: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     18|#define EXPRESSION_TYPE_STRING     4
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (157:9): [True: 18, False: 40]
  |  |  |  |  ------------------
  |  |  |  |  158|     18|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     18|  strlcpy(                                               \
  |  |  |  |  |  |  321|     18|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     18|      info,                                              \
  |  |  |  |  |  |  323|     18|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  159|     18|              compiler, "wrong type \"string\" for " op " operator"); \
  |  |  |  |  160|     18|          break; \
  |  |  |  |  161|     10|        case EXPRESSION_TYPE_BOOLEAN: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|     10|#define EXPRESSION_TYPE_BOOLEAN    1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (161:9): [True: 10, False: 48]
  |  |  |  |  ------------------
  |  |  |  |  162|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  163|     10|              compiler, "wrong type \"boolean\" for " op " operator"); \
  |  |  |  |  164|     10|          break; \
  |  |  |  |  165|     58|      } \
  |  |  |  |  166|     58|      cleanup; \
  |  |  |  |  167|     58|      compiler->last_error = ERROR_WRONG_TYPE; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|     58|#define ERROR_WRONG_TYPE                     24
  |  |  |  |  ------------------
  |  |  |  |  168|     58|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     58|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  169|     58|      YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     58|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  170|     58|    }
  |  |  ------------------
  ------------------
 5200|  4.80k|        check_type((yyvsp[0].expression), EXPRESSION_TYPE_INTEGER, "^");
  ------------------
  |  |  175|  4.80k|    check_type_with_cleanup(expression, expected_type, op, )
  |  |  ------------------
  |  |  |  |  145|  4.80k|    if (((expression.type) & (expected_type)) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (145:9): [True: 67, False: 4.73k]
  |  |  |  |  ------------------
  |  |  |  |  146|  4.80k|    { \
  |  |  |  |  147|     67|      switch(expression.type) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (147:14): [True: 47, False: 20]
  |  |  |  |  ------------------
  |  |  |  |  148|     67|      { \
  |  |  |  |  149|      0|        case EXPRESSION_TYPE_INTEGER: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define EXPRESSION_TYPE_INTEGER    2
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (149:9): [True: 0, False: 67]
  |  |  |  |  ------------------
  |  |  |  |  150|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  151|      0|              compiler, "wrong type \"integer\" for " op " operator"); \
  |  |  |  |  152|      0|          break; \
  |  |  |  |  153|     18|        case EXPRESSION_TYPE_FLOAT: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   51|     18|#define EXPRESSION_TYPE_FLOAT      32
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:9): [True: 18, False: 49]
  |  |  |  |  ------------------
  |  |  |  |  154|     18|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     18|  strlcpy(                                               \
  |  |  |  |  |  |  321|     18|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     18|      info,                                              \
  |  |  |  |  |  |  323|     18|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  155|     18|              compiler, "wrong type \"float\" for " op " operator"); \
  |  |  |  |  156|     18|          break; \
  |  |  |  |  157|     19|        case EXPRESSION_TYPE_STRING: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     19|#define EXPRESSION_TYPE_STRING     4
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (157:9): [True: 19, False: 48]
  |  |  |  |  ------------------
  |  |  |  |  158|     19|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     19|  strlcpy(                                               \
  |  |  |  |  |  |  321|     19|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     19|      info,                                              \
  |  |  |  |  |  |  323|     19|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  159|     19|              compiler, "wrong type \"string\" for " op " operator"); \
  |  |  |  |  160|     19|          break; \
  |  |  |  |  161|     10|        case EXPRESSION_TYPE_BOOLEAN: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|     10|#define EXPRESSION_TYPE_BOOLEAN    1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (161:9): [True: 10, False: 57]
  |  |  |  |  ------------------
  |  |  |  |  162|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  163|     10|              compiler, "wrong type \"boolean\" for " op " operator"); \
  |  |  |  |  164|     10|          break; \
  |  |  |  |  165|     67|      } \
  |  |  |  |  166|     67|      cleanup; \
  |  |  |  |  167|     67|      compiler->last_error = ERROR_WRONG_TYPE; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|     67|#define ERROR_WRONG_TYPE                     24
  |  |  |  |  ------------------
  |  |  |  |  168|     67|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     67|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  169|     67|      YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     67|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  170|     67|    }
  |  |  ------------------
  ------------------
 5201|       |
 5202|  4.73k|        fail_if_error(yr_parser_emit(yyscanner, OP_BITWISE_XOR, NULL));
  ------------------
  |  |  135|  4.73k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  9.47k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  4.73k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 4.73k]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|  4.73k|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 5203|       |
 5204|  4.73k|        (yyval.expression).type = EXPRESSION_TYPE_INTEGER;
  ------------------
  |  |   47|  4.73k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
 5205|  4.73k|        (yyval.expression).value.integer = OPERATION(^, (yyvsp[-2].expression).value.integer, (yyvsp[0].expression).value.integer);
  ------------------
  |  |  197|  4.73k|  (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2)
  |  |  ------------------
  |  |  |  |   39|  9.47k|#define IS_UNDEFINED(x) ((size_t)(x) == (size_t) YR_UNDEFINED)
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|  4.73k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:25): [True: 3.95k, False: 785]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                 (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2)
  |  |  ------------------
  |  |  |  |   39|    785|#define IS_UNDEFINED(x) ((size_t)(x) == (size_t) YR_UNDEFINED)
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|    785|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:25): [True: 311, False: 474]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                 (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2)
  |  |  ------------------
  |  |  |  |   38|  4.26k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  ------------------
  ------------------
 5206|  4.73k|      }
 5207|      0|#line 5208 "libyara/grammar.c"
 5208|      0|    break;
 5209|       |
 5210|  2.19k|  case 164: /* primary_expression: primary_expression '&' primary_expression  */
  ------------------
  |  Branch (5210:3): [True: 2.19k, False: 1.03M]
  ------------------
 5211|  2.19k|#line 2992 "libyara/grammar.y"
 5212|  2.19k|      {
 5213|  2.19k|        check_type((yyvsp[-2].expression), EXPRESSION_TYPE_INTEGER, "^");
  ------------------
  |  |  175|  2.19k|    check_type_with_cleanup(expression, expected_type, op, )
  |  |  ------------------
  |  |  |  |  145|  2.19k|    if (((expression.type) & (expected_type)) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (145:9): [True: 59, False: 2.13k]
  |  |  |  |  ------------------
  |  |  |  |  146|  2.19k|    { \
  |  |  |  |  147|     59|      switch(expression.type) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (147:14): [True: 49, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  148|     59|      { \
  |  |  |  |  149|      0|        case EXPRESSION_TYPE_INTEGER: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define EXPRESSION_TYPE_INTEGER    2
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (149:9): [True: 0, False: 59]
  |  |  |  |  ------------------
  |  |  |  |  150|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  151|      0|              compiler, "wrong type \"integer\" for " op " operator"); \
  |  |  |  |  152|      0|          break; \
  |  |  |  |  153|     18|        case EXPRESSION_TYPE_FLOAT: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   51|     18|#define EXPRESSION_TYPE_FLOAT      32
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:9): [True: 18, False: 41]
  |  |  |  |  ------------------
  |  |  |  |  154|     18|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     18|  strlcpy(                                               \
  |  |  |  |  |  |  321|     18|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     18|      info,                                              \
  |  |  |  |  |  |  323|     18|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  155|     18|              compiler, "wrong type \"float\" for " op " operator"); \
  |  |  |  |  156|     18|          break; \
  |  |  |  |  157|     13|        case EXPRESSION_TYPE_STRING: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     13|#define EXPRESSION_TYPE_STRING     4
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (157:9): [True: 13, False: 46]
  |  |  |  |  ------------------
  |  |  |  |  158|     13|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     13|  strlcpy(                                               \
  |  |  |  |  |  |  321|     13|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     13|      info,                                              \
  |  |  |  |  |  |  323|     13|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  159|     13|              compiler, "wrong type \"string\" for " op " operator"); \
  |  |  |  |  160|     13|          break; \
  |  |  |  |  161|     18|        case EXPRESSION_TYPE_BOOLEAN: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|     18|#define EXPRESSION_TYPE_BOOLEAN    1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (161:9): [True: 18, False: 41]
  |  |  |  |  ------------------
  |  |  |  |  162|     18|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     18|  strlcpy(                                               \
  |  |  |  |  |  |  321|     18|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     18|      info,                                              \
  |  |  |  |  |  |  323|     18|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  163|     18|              compiler, "wrong type \"boolean\" for " op " operator"); \
  |  |  |  |  164|     18|          break; \
  |  |  |  |  165|     59|      } \
  |  |  |  |  166|     59|      cleanup; \
  |  |  |  |  167|     59|      compiler->last_error = ERROR_WRONG_TYPE; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|     59|#define ERROR_WRONG_TYPE                     24
  |  |  |  |  ------------------
  |  |  |  |  168|     59|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     59|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  169|     59|      YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     59|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  170|     59|    }
  |  |  ------------------
  ------------------
 5214|  2.13k|        check_type((yyvsp[0].expression), EXPRESSION_TYPE_INTEGER, "^");
  ------------------
  |  |  175|  2.13k|    check_type_with_cleanup(expression, expected_type, op, )
  |  |  ------------------
  |  |  |  |  145|  2.13k|    if (((expression.type) & (expected_type)) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (145:9): [True: 43, False: 2.09k]
  |  |  |  |  ------------------
  |  |  |  |  146|  2.13k|    { \
  |  |  |  |  147|     43|      switch(expression.type) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (147:14): [True: 32, False: 11]
  |  |  |  |  ------------------
  |  |  |  |  148|     43|      { \
  |  |  |  |  149|      0|        case EXPRESSION_TYPE_INTEGER: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define EXPRESSION_TYPE_INTEGER    2
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (149:9): [True: 0, False: 43]
  |  |  |  |  ------------------
  |  |  |  |  150|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  151|      0|              compiler, "wrong type \"integer\" for " op " operator"); \
  |  |  |  |  152|      0|          break; \
  |  |  |  |  153|     10|        case EXPRESSION_TYPE_FLOAT: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   51|     10|#define EXPRESSION_TYPE_FLOAT      32
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:9): [True: 10, False: 33]
  |  |  |  |  ------------------
  |  |  |  |  154|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  155|     10|              compiler, "wrong type \"float\" for " op " operator"); \
  |  |  |  |  156|     10|          break; \
  |  |  |  |  157|     10|        case EXPRESSION_TYPE_STRING: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     10|#define EXPRESSION_TYPE_STRING     4
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (157:9): [True: 10, False: 33]
  |  |  |  |  ------------------
  |  |  |  |  158|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  159|     10|              compiler, "wrong type \"string\" for " op " operator"); \
  |  |  |  |  160|     10|          break; \
  |  |  |  |  161|     12|        case EXPRESSION_TYPE_BOOLEAN: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|     12|#define EXPRESSION_TYPE_BOOLEAN    1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (161:9): [True: 12, False: 31]
  |  |  |  |  ------------------
  |  |  |  |  162|     12|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     12|  strlcpy(                                               \
  |  |  |  |  |  |  321|     12|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     12|      info,                                              \
  |  |  |  |  |  |  323|     12|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  163|     12|              compiler, "wrong type \"boolean\" for " op " operator"); \
  |  |  |  |  164|     12|          break; \
  |  |  |  |  165|     43|      } \
  |  |  |  |  166|     43|      cleanup; \
  |  |  |  |  167|     43|      compiler->last_error = ERROR_WRONG_TYPE; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|     43|#define ERROR_WRONG_TYPE                     24
  |  |  |  |  ------------------
  |  |  |  |  168|     43|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     43|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  169|     43|      YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     43|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  170|     43|    }
  |  |  ------------------
  ------------------
 5215|       |
 5216|  2.09k|        fail_if_error(yr_parser_emit(yyscanner, OP_BITWISE_AND, NULL));
  ------------------
  |  |  135|  2.09k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  4.18k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  2.09k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 2.09k]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|  2.09k|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 5217|       |
 5218|  2.09k|        (yyval.expression).type = EXPRESSION_TYPE_INTEGER;
  ------------------
  |  |   47|  2.09k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
 5219|  2.09k|        (yyval.expression).value.integer = OPERATION(&, (yyvsp[-2].expression).value.integer, (yyvsp[0].expression).value.integer);
  ------------------
  |  |  197|  2.09k|  (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2)
  |  |  ------------------
  |  |  |  |   39|  4.18k|#define IS_UNDEFINED(x) ((size_t)(x) == (size_t) YR_UNDEFINED)
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|  2.09k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:25): [True: 801, False: 1.29k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                 (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2)
  |  |  ------------------
  |  |  |  |   39|  1.29k|#define IS_UNDEFINED(x) ((size_t)(x) == (size_t) YR_UNDEFINED)
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|  1.29k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:25): [True: 717, False: 573]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                 (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2)
  |  |  ------------------
  |  |  |  |   38|  1.51k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  ------------------
  ------------------
 5220|  2.09k|      }
 5221|      0|#line 5222 "libyara/grammar.c"
 5222|      0|    break;
 5223|       |
 5224|  2.20k|  case 165: /* primary_expression: primary_expression '|' primary_expression  */
  ------------------
  |  Branch (5224:3): [True: 2.20k, False: 1.03M]
  ------------------
 5225|  2.20k|#line 3002 "libyara/grammar.y"
 5226|  2.20k|      {
 5227|  2.20k|        check_type((yyvsp[-2].expression), EXPRESSION_TYPE_INTEGER, "|");
  ------------------
  |  |  175|  2.20k|    check_type_with_cleanup(expression, expected_type, op, )
  |  |  ------------------
  |  |  |  |  145|  2.20k|    if (((expression.type) & (expected_type)) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (145:9): [True: 61, False: 2.14k]
  |  |  |  |  ------------------
  |  |  |  |  146|  2.20k|    { \
  |  |  |  |  147|     61|      switch(expression.type) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (147:14): [True: 43, False: 18]
  |  |  |  |  ------------------
  |  |  |  |  148|     61|      { \
  |  |  |  |  149|      0|        case EXPRESSION_TYPE_INTEGER: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define EXPRESSION_TYPE_INTEGER    2
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (149:9): [True: 0, False: 61]
  |  |  |  |  ------------------
  |  |  |  |  150|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  151|      0|              compiler, "wrong type \"integer\" for " op " operator"); \
  |  |  |  |  152|      0|          break; \
  |  |  |  |  153|     11|        case EXPRESSION_TYPE_FLOAT: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   51|     11|#define EXPRESSION_TYPE_FLOAT      32
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:9): [True: 11, False: 50]
  |  |  |  |  ------------------
  |  |  |  |  154|     11|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     11|  strlcpy(                                               \
  |  |  |  |  |  |  321|     11|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     11|      info,                                              \
  |  |  |  |  |  |  323|     11|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  155|     11|              compiler, "wrong type \"float\" for " op " operator"); \
  |  |  |  |  156|     11|          break; \
  |  |  |  |  157|     19|        case EXPRESSION_TYPE_STRING: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     19|#define EXPRESSION_TYPE_STRING     4
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (157:9): [True: 19, False: 42]
  |  |  |  |  ------------------
  |  |  |  |  158|     19|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     19|  strlcpy(                                               \
  |  |  |  |  |  |  321|     19|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     19|      info,                                              \
  |  |  |  |  |  |  323|     19|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  159|     19|              compiler, "wrong type \"string\" for " op " operator"); \
  |  |  |  |  160|     19|          break; \
  |  |  |  |  161|     13|        case EXPRESSION_TYPE_BOOLEAN: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|     13|#define EXPRESSION_TYPE_BOOLEAN    1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (161:9): [True: 13, False: 48]
  |  |  |  |  ------------------
  |  |  |  |  162|     13|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     13|  strlcpy(                                               \
  |  |  |  |  |  |  321|     13|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     13|      info,                                              \
  |  |  |  |  |  |  323|     13|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  163|     13|              compiler, "wrong type \"boolean\" for " op " operator"); \
  |  |  |  |  164|     13|          break; \
  |  |  |  |  165|     61|      } \
  |  |  |  |  166|     61|      cleanup; \
  |  |  |  |  167|     61|      compiler->last_error = ERROR_WRONG_TYPE; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|     61|#define ERROR_WRONG_TYPE                     24
  |  |  |  |  ------------------
  |  |  |  |  168|     61|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     61|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  169|     61|      YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     61|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  170|     61|    }
  |  |  ------------------
  ------------------
 5228|  2.14k|        check_type((yyvsp[0].expression), EXPRESSION_TYPE_INTEGER, "|");
  ------------------
  |  |  175|  2.14k|    check_type_with_cleanup(expression, expected_type, op, )
  |  |  ------------------
  |  |  |  |  145|  2.14k|    if (((expression.type) & (expected_type)) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (145:9): [True: 56, False: 2.09k]
  |  |  |  |  ------------------
  |  |  |  |  146|  2.14k|    { \
  |  |  |  |  147|     56|      switch(expression.type) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (147:14): [True: 38, False: 18]
  |  |  |  |  ------------------
  |  |  |  |  148|     56|      { \
  |  |  |  |  149|      0|        case EXPRESSION_TYPE_INTEGER: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define EXPRESSION_TYPE_INTEGER    2
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (149:9): [True: 0, False: 56]
  |  |  |  |  ------------------
  |  |  |  |  150|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  151|      0|              compiler, "wrong type \"integer\" for " op " operator"); \
  |  |  |  |  152|      0|          break; \
  |  |  |  |  153|     10|        case EXPRESSION_TYPE_FLOAT: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   51|     10|#define EXPRESSION_TYPE_FLOAT      32
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:9): [True: 10, False: 46]
  |  |  |  |  ------------------
  |  |  |  |  154|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  155|     10|              compiler, "wrong type \"float\" for " op " operator"); \
  |  |  |  |  156|     10|          break; \
  |  |  |  |  157|     18|        case EXPRESSION_TYPE_STRING: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     18|#define EXPRESSION_TYPE_STRING     4
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (157:9): [True: 18, False: 38]
  |  |  |  |  ------------------
  |  |  |  |  158|     18|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     18|  strlcpy(                                               \
  |  |  |  |  |  |  321|     18|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     18|      info,                                              \
  |  |  |  |  |  |  323|     18|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  159|     18|              compiler, "wrong type \"string\" for " op " operator"); \
  |  |  |  |  160|     18|          break; \
  |  |  |  |  161|     10|        case EXPRESSION_TYPE_BOOLEAN: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|     10|#define EXPRESSION_TYPE_BOOLEAN    1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (161:9): [True: 10, False: 46]
  |  |  |  |  ------------------
  |  |  |  |  162|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  163|     10|              compiler, "wrong type \"boolean\" for " op " operator"); \
  |  |  |  |  164|     10|          break; \
  |  |  |  |  165|     56|      } \
  |  |  |  |  166|     56|      cleanup; \
  |  |  |  |  167|     56|      compiler->last_error = ERROR_WRONG_TYPE; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|     56|#define ERROR_WRONG_TYPE                     24
  |  |  |  |  ------------------
  |  |  |  |  168|     56|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     56|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  169|     56|      YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     56|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  170|     56|    }
  |  |  ------------------
  ------------------
 5229|       |
 5230|  2.09k|        fail_if_error(yr_parser_emit(yyscanner, OP_BITWISE_OR, NULL));
  ------------------
  |  |  135|  2.09k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  4.18k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  2.09k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 2.09k]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|  2.09k|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 5231|       |
 5232|  2.09k|        (yyval.expression).type = EXPRESSION_TYPE_INTEGER;
  ------------------
  |  |   47|  2.09k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
 5233|  2.09k|        (yyval.expression).value.integer = OPERATION(|, (yyvsp[-2].expression).value.integer, (yyvsp[0].expression).value.integer);
  ------------------
  |  |  197|  2.09k|  (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2)
  |  |  ------------------
  |  |  |  |   39|  4.18k|#define IS_UNDEFINED(x) ((size_t)(x) == (size_t) YR_UNDEFINED)
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|  2.09k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:25): [True: 1.33k, False: 755]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                 (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2)
  |  |  ------------------
  |  |  |  |   39|    755|#define IS_UNDEFINED(x) ((size_t)(x) == (size_t) YR_UNDEFINED)
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|    755|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:25): [True: 232, False: 523]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                 (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2)
  |  |  ------------------
  |  |  |  |   38|  1.56k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  ------------------
  ------------------
 5234|  2.09k|      }
 5235|      0|#line 5236 "libyara/grammar.c"
 5236|      0|    break;
 5237|       |
 5238|  6.43k|  case 166: /* primary_expression: '~' primary_expression  */
  ------------------
  |  Branch (5238:3): [True: 6.43k, False: 1.03M]
  ------------------
 5239|  6.43k|#line 3012 "libyara/grammar.y"
 5240|  6.43k|      {
 5241|  6.43k|        check_type((yyvsp[0].expression), EXPRESSION_TYPE_INTEGER, "~");
  ------------------
  |  |  175|  6.43k|    check_type_with_cleanup(expression, expected_type, op, )
  |  |  ------------------
  |  |  |  |  145|  6.43k|    if (((expression.type) & (expected_type)) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (145:9): [True: 64, False: 6.36k]
  |  |  |  |  ------------------
  |  |  |  |  146|  6.43k|    { \
  |  |  |  |  147|     64|      switch(expression.type) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (147:14): [True: 46, False: 18]
  |  |  |  |  ------------------
  |  |  |  |  148|     64|      { \
  |  |  |  |  149|      0|        case EXPRESSION_TYPE_INTEGER: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define EXPRESSION_TYPE_INTEGER    2
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (149:9): [True: 0, False: 64]
  |  |  |  |  ------------------
  |  |  |  |  150|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  151|      0|              compiler, "wrong type \"integer\" for " op " operator"); \
  |  |  |  |  152|      0|          break; \
  |  |  |  |  153|     18|        case EXPRESSION_TYPE_FLOAT: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   51|     18|#define EXPRESSION_TYPE_FLOAT      32
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:9): [True: 18, False: 46]
  |  |  |  |  ------------------
  |  |  |  |  154|     18|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     18|  strlcpy(                                               \
  |  |  |  |  |  |  321|     18|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     18|      info,                                              \
  |  |  |  |  |  |  323|     18|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  155|     18|              compiler, "wrong type \"float\" for " op " operator"); \
  |  |  |  |  156|     18|          break; \
  |  |  |  |  157|     18|        case EXPRESSION_TYPE_STRING: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     18|#define EXPRESSION_TYPE_STRING     4
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (157:9): [True: 18, False: 46]
  |  |  |  |  ------------------
  |  |  |  |  158|     18|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     18|  strlcpy(                                               \
  |  |  |  |  |  |  321|     18|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     18|      info,                                              \
  |  |  |  |  |  |  323|     18|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  159|     18|              compiler, "wrong type \"string\" for " op " operator"); \
  |  |  |  |  160|     18|          break; \
  |  |  |  |  161|     10|        case EXPRESSION_TYPE_BOOLEAN: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|     10|#define EXPRESSION_TYPE_BOOLEAN    1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (161:9): [True: 10, False: 54]
  |  |  |  |  ------------------
  |  |  |  |  162|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  163|     10|              compiler, "wrong type \"boolean\" for " op " operator"); \
  |  |  |  |  164|     10|          break; \
  |  |  |  |  165|     64|      } \
  |  |  |  |  166|     64|      cleanup; \
  |  |  |  |  167|     64|      compiler->last_error = ERROR_WRONG_TYPE; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|     64|#define ERROR_WRONG_TYPE                     24
  |  |  |  |  ------------------
  |  |  |  |  168|     64|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     64|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  169|     64|      YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     64|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  170|     64|    }
  |  |  ------------------
  ------------------
 5242|       |
 5243|  6.36k|        fail_if_error(yr_parser_emit(yyscanner, OP_BITWISE_NOT, NULL));
  ------------------
  |  |  135|  6.36k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  12.7k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  6.36k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 0, False: 6.36k]
  |  |  |  Branch (135:31): [True: 0, False: 0]
  |  |  ------------------
  |  |  136|  6.36k|    { \
  |  |  137|      0|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|      0|    { \
  |  |  |  |  121|      0|      compiler->last_error = e; \
  |  |  |  |  122|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|      0|      switch (e) \
  |  |  |  |  124|      0|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|      0|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|      0|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|      0|      } \
  |  |  |  |  130|      0|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 5244|       |
 5245|  6.36k|        (yyval.expression).type = EXPRESSION_TYPE_INTEGER;
  ------------------
  |  |   47|  6.36k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
 5246|  6.36k|        (yyval.expression).value.integer = ((yyvsp[0].expression).value.integer == YR_UNDEFINED) ?
  ------------------
  |  |   38|  6.36k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  ------------------
  |  Branch (5246:44): [True: 230, False: 6.13k]
  ------------------
 5247|  6.13k|            YR_UNDEFINED : ~((yyvsp[0].expression).value.integer);
  ------------------
  |  |   38|    230|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  ------------------
 5248|  6.36k|      }
 5249|      0|#line 5250 "libyara/grammar.c"
 5250|      0|    break;
 5251|       |
 5252|  2.72k|  case 167: /* primary_expression: primary_expression "<<" primary_expression  */
  ------------------
  |  Branch (5252:3): [True: 2.72k, False: 1.03M]
  ------------------
 5253|  2.72k|#line 3022 "libyara/grammar.y"
 5254|  2.72k|      {
 5255|  2.72k|        int result;
 5256|       |
 5257|  2.72k|        check_type((yyvsp[-2].expression), EXPRESSION_TYPE_INTEGER, "<<");
  ------------------
  |  |  175|  2.72k|    check_type_with_cleanup(expression, expected_type, op, )
  |  |  ------------------
  |  |  |  |  145|  2.72k|    if (((expression.type) & (expected_type)) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (145:9): [True: 60, False: 2.66k]
  |  |  |  |  ------------------
  |  |  |  |  146|  2.72k|    { \
  |  |  |  |  147|     60|      switch(expression.type) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (147:14): [True: 39, False: 21]
  |  |  |  |  ------------------
  |  |  |  |  148|     60|      { \
  |  |  |  |  149|      0|        case EXPRESSION_TYPE_INTEGER: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define EXPRESSION_TYPE_INTEGER    2
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (149:9): [True: 0, False: 60]
  |  |  |  |  ------------------
  |  |  |  |  150|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  151|      0|              compiler, "wrong type \"integer\" for " op " operator"); \
  |  |  |  |  152|      0|          break; \
  |  |  |  |  153|     10|        case EXPRESSION_TYPE_FLOAT: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   51|     10|#define EXPRESSION_TYPE_FLOAT      32
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:9): [True: 10, False: 50]
  |  |  |  |  ------------------
  |  |  |  |  154|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  155|     10|              compiler, "wrong type \"float\" for " op " operator"); \
  |  |  |  |  156|     10|          break; \
  |  |  |  |  157|     19|        case EXPRESSION_TYPE_STRING: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     19|#define EXPRESSION_TYPE_STRING     4
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (157:9): [True: 19, False: 41]
  |  |  |  |  ------------------
  |  |  |  |  158|     19|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     19|  strlcpy(                                               \
  |  |  |  |  |  |  321|     19|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     19|      info,                                              \
  |  |  |  |  |  |  323|     19|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  159|     19|              compiler, "wrong type \"string\" for " op " operator"); \
  |  |  |  |  160|     19|          break; \
  |  |  |  |  161|     10|        case EXPRESSION_TYPE_BOOLEAN: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|     10|#define EXPRESSION_TYPE_BOOLEAN    1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (161:9): [True: 10, False: 50]
  |  |  |  |  ------------------
  |  |  |  |  162|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  163|     10|              compiler, "wrong type \"boolean\" for " op " operator"); \
  |  |  |  |  164|     10|          break; \
  |  |  |  |  165|     60|      } \
  |  |  |  |  166|     60|      cleanup; \
  |  |  |  |  167|     60|      compiler->last_error = ERROR_WRONG_TYPE; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|     60|#define ERROR_WRONG_TYPE                     24
  |  |  |  |  ------------------
  |  |  |  |  168|     60|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     60|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  169|     60|      YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     60|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  170|     60|    }
  |  |  ------------------
  ------------------
 5258|  2.66k|        check_type((yyvsp[0].expression), EXPRESSION_TYPE_INTEGER, "<<");
  ------------------
  |  |  175|  2.66k|    check_type_with_cleanup(expression, expected_type, op, )
  |  |  ------------------
  |  |  |  |  145|  2.66k|    if (((expression.type) & (expected_type)) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (145:9): [True: 47, False: 2.61k]
  |  |  |  |  ------------------
  |  |  |  |  146|  2.66k|    { \
  |  |  |  |  147|     47|      switch(expression.type) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (147:14): [True: 37, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  148|     47|      { \
  |  |  |  |  149|      0|        case EXPRESSION_TYPE_INTEGER: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define EXPRESSION_TYPE_INTEGER    2
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (149:9): [True: 0, False: 47]
  |  |  |  |  ------------------
  |  |  |  |  150|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  151|      0|              compiler, "wrong type \"integer\" for " op " operator"); \
  |  |  |  |  152|      0|          break; \
  |  |  |  |  153|     17|        case EXPRESSION_TYPE_FLOAT: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   51|     17|#define EXPRESSION_TYPE_FLOAT      32
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:9): [True: 17, False: 30]
  |  |  |  |  ------------------
  |  |  |  |  154|     17|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     17|  strlcpy(                                               \
  |  |  |  |  |  |  321|     17|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     17|      info,                                              \
  |  |  |  |  |  |  323|     17|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  155|     17|              compiler, "wrong type \"float\" for " op " operator"); \
  |  |  |  |  156|     17|          break; \
  |  |  |  |  157|     10|        case EXPRESSION_TYPE_STRING: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     10|#define EXPRESSION_TYPE_STRING     4
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (157:9): [True: 10, False: 37]
  |  |  |  |  ------------------
  |  |  |  |  158|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  159|     10|              compiler, "wrong type \"string\" for " op " operator"); \
  |  |  |  |  160|     10|          break; \
  |  |  |  |  161|     10|        case EXPRESSION_TYPE_BOOLEAN: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|     10|#define EXPRESSION_TYPE_BOOLEAN    1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (161:9): [True: 10, False: 37]
  |  |  |  |  ------------------
  |  |  |  |  162|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  163|     10|              compiler, "wrong type \"boolean\" for " op " operator"); \
  |  |  |  |  164|     10|          break; \
  |  |  |  |  165|     47|      } \
  |  |  |  |  166|     47|      cleanup; \
  |  |  |  |  167|     47|      compiler->last_error = ERROR_WRONG_TYPE; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|     47|#define ERROR_WRONG_TYPE                     24
  |  |  |  |  ------------------
  |  |  |  |  168|     47|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     47|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  169|     47|      YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     47|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  170|     47|    }
  |  |  ------------------
  ------------------
 5259|       |
 5260|  2.61k|        result = yr_parser_emit(yyscanner, OP_SHL, NULL);
  ------------------
  |  |   56|  2.61k|#define OP_SHL                        8
  ------------------
 5261|       |
 5262|  2.61k|        if (!IS_UNDEFINED((yyvsp[0].expression).value.integer) && (yyvsp[0].expression).value.integer < 0)
  ------------------
  |  |   39|  5.23k|#define IS_UNDEFINED(x) ((size_t)(x) == (size_t) YR_UNDEFINED)
  |  |  ------------------
  |  |  |  |   38|  2.61k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  ------------------
  ------------------
  |  Branch (5262:13): [True: 1.53k, False: 1.08k]
  |  Branch (5262:67): [True: 157, False: 1.37k]
  ------------------
 5263|    157|          result = ERROR_INVALID_OPERAND;
  ------------------
  |  |  101|    157|#define ERROR_INVALID_OPERAND                54
  ------------------
 5264|  2.46k|        else if (!IS_UNDEFINED((yyvsp[0].expression).value.integer) && (yyvsp[0].expression).value.integer >= 64)
  ------------------
  |  |   39|  4.92k|#define IS_UNDEFINED(x) ((size_t)(x) == (size_t) YR_UNDEFINED)
  |  |  ------------------
  |  |  |  |   38|  2.46k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  ------------------
  ------------------
  |  Branch (5264:18): [True: 1.37k, False: 1.08k]
  |  Branch (5264:72): [True: 686, False: 692]
  ------------------
 5265|    686|          (yyval.expression).value.integer = 0;
 5266|  1.77k|        else
 5267|  1.77k|          (yyval.expression).value.integer = OPERATION(<<, (yyvsp[-2].expression).value.integer, (yyvsp[0].expression).value.integer);
  ------------------
  |  |  197|  1.77k|  (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2)
  |  |  ------------------
  |  |  |  |   39|  3.54k|#define IS_UNDEFINED(x) ((size_t)(x) == (size_t) YR_UNDEFINED)
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|  1.77k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:25): [True: 913, False: 861]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                 (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2)
  |  |  ------------------
  |  |  |  |   39|    861|#define IS_UNDEFINED(x) ((size_t)(x) == (size_t) YR_UNDEFINED)
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|    861|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:25): [True: 184, False: 677]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                 (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2)
  |  |  ------------------
  |  |  |  |   38|  1.09k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  ------------------
  ------------------
 5268|       |
 5269|  2.61k|        (yyval.expression).type = EXPRESSION_TYPE_INTEGER;
  ------------------
  |  |   47|  2.61k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
 5270|       |
 5271|  2.61k|        fail_if_error(result);
  ------------------
  |  |  135|  2.61k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  5.23k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  2.77k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 157, False: 2.46k]
  |  |  |  Branch (135:31): [True: 157, False: 0]
  |  |  ------------------
  |  |  136|  2.61k|    { \
  |  |  137|    157|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|    157|    { \
  |  |  |  |  121|    157|      compiler->last_error = e; \
  |  |  |  |  122|    157|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|    157|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|    157|      switch (e) \
  |  |  |  |  124|    157|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 157]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|    157|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 157, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|    157|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|    157|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|    157|      } \
  |  |  |  |  130|    157|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 5272|  2.46k|      }
 5273|      0|#line 5274 "libyara/grammar.c"
 5274|      0|    break;
 5275|       |
 5276|  2.60k|  case 168: /* primary_expression: primary_expression ">>" primary_expression  */
  ------------------
  |  Branch (5276:3): [True: 2.60k, False: 1.03M]
  ------------------
 5277|  2.60k|#line 3042 "libyara/grammar.y"
 5278|  2.60k|      {
 5279|  2.60k|        int result;
 5280|       |
 5281|  2.60k|        check_type((yyvsp[-2].expression), EXPRESSION_TYPE_INTEGER, ">>");
  ------------------
  |  |  175|  2.60k|    check_type_with_cleanup(expression, expected_type, op, )
  |  |  ------------------
  |  |  |  |  145|  2.60k|    if (((expression.type) & (expected_type)) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (145:9): [True: 66, False: 2.53k]
  |  |  |  |  ------------------
  |  |  |  |  146|  2.60k|    { \
  |  |  |  |  147|     66|      switch(expression.type) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (147:14): [True: 32, False: 34]
  |  |  |  |  ------------------
  |  |  |  |  148|     66|      { \
  |  |  |  |  149|      0|        case EXPRESSION_TYPE_INTEGER: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define EXPRESSION_TYPE_INTEGER    2
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (149:9): [True: 0, False: 66]
  |  |  |  |  ------------------
  |  |  |  |  150|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  151|      0|              compiler, "wrong type \"integer\" for " op " operator"); \
  |  |  |  |  152|      0|          break; \
  |  |  |  |  153|     12|        case EXPRESSION_TYPE_FLOAT: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   51|     12|#define EXPRESSION_TYPE_FLOAT      32
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:9): [True: 12, False: 54]
  |  |  |  |  ------------------
  |  |  |  |  154|     12|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     12|  strlcpy(                                               \
  |  |  |  |  |  |  321|     12|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     12|      info,                                              \
  |  |  |  |  |  |  323|     12|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  155|     12|              compiler, "wrong type \"float\" for " op " operator"); \
  |  |  |  |  156|     12|          break; \
  |  |  |  |  157|     10|        case EXPRESSION_TYPE_STRING: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     10|#define EXPRESSION_TYPE_STRING     4
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (157:9): [True: 10, False: 56]
  |  |  |  |  ------------------
  |  |  |  |  158|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  159|     10|              compiler, "wrong type \"string\" for " op " operator"); \
  |  |  |  |  160|     10|          break; \
  |  |  |  |  161|     10|        case EXPRESSION_TYPE_BOOLEAN: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|     10|#define EXPRESSION_TYPE_BOOLEAN    1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (161:9): [True: 10, False: 56]
  |  |  |  |  ------------------
  |  |  |  |  162|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  163|     10|              compiler, "wrong type \"boolean\" for " op " operator"); \
  |  |  |  |  164|     10|          break; \
  |  |  |  |  165|     66|      } \
  |  |  |  |  166|     66|      cleanup; \
  |  |  |  |  167|     66|      compiler->last_error = ERROR_WRONG_TYPE; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|     66|#define ERROR_WRONG_TYPE                     24
  |  |  |  |  ------------------
  |  |  |  |  168|     66|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     66|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  169|     66|      YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     66|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  170|     66|    }
  |  |  ------------------
  ------------------
 5282|  2.53k|        check_type((yyvsp[0].expression), EXPRESSION_TYPE_INTEGER, ">>");
  ------------------
  |  |  175|  2.53k|    check_type_with_cleanup(expression, expected_type, op, )
  |  |  ------------------
  |  |  |  |  145|  2.53k|    if (((expression.type) & (expected_type)) == 0) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (145:9): [True: 61, False: 2.47k]
  |  |  |  |  ------------------
  |  |  |  |  146|  2.53k|    { \
  |  |  |  |  147|     61|      switch(expression.type) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (147:14): [True: 51, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  148|     61|      { \
  |  |  |  |  149|      0|        case EXPRESSION_TYPE_INTEGER: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define EXPRESSION_TYPE_INTEGER    2
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (149:9): [True: 0, False: 61]
  |  |  |  |  ------------------
  |  |  |  |  150|      0|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  151|      0|              compiler, "wrong type \"integer\" for " op " operator"); \
  |  |  |  |  152|      0|          break; \
  |  |  |  |  153|     31|        case EXPRESSION_TYPE_FLOAT: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   51|     31|#define EXPRESSION_TYPE_FLOAT      32
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (153:9): [True: 31, False: 30]
  |  |  |  |  ------------------
  |  |  |  |  154|     31|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     31|  strlcpy(                                               \
  |  |  |  |  |  |  321|     31|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     31|      info,                                              \
  |  |  |  |  |  |  323|     31|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  155|     31|              compiler, "wrong type \"float\" for " op " operator"); \
  |  |  |  |  156|     31|          break; \
  |  |  |  |  157|     10|        case EXPRESSION_TYPE_STRING: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     10|#define EXPRESSION_TYPE_STRING     4
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (157:9): [True: 10, False: 51]
  |  |  |  |  ------------------
  |  |  |  |  158|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  159|     10|              compiler, "wrong type \"string\" for " op " operator"); \
  |  |  |  |  160|     10|          break; \
  |  |  |  |  161|     10|        case EXPRESSION_TYPE_BOOLEAN: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|     10|#define EXPRESSION_TYPE_BOOLEAN    1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (161:9): [True: 10, False: 51]
  |  |  |  |  ------------------
  |  |  |  |  162|     10|          yr_compiler_set_error_extra_info( \
  |  |  |  |  ------------------
  |  |  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  |  |  ------------------
  |  |  |  |  163|     10|              compiler, "wrong type \"boolean\" for " op " operator"); \
  |  |  |  |  164|     10|          break; \
  |  |  |  |  165|     61|      } \
  |  |  |  |  166|     61|      cleanup; \
  |  |  |  |  167|     61|      compiler->last_error = ERROR_WRONG_TYPE; \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|     61|#define ERROR_WRONG_TYPE                     24
  |  |  |  |  ------------------
  |  |  |  |  168|     61|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     61|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  169|     61|      YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|     61|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  170|     61|    }
  |  |  ------------------
  ------------------
 5283|       |
 5284|  2.47k|        result = yr_parser_emit(yyscanner, OP_SHR, NULL);
  ------------------
  |  |   57|  2.47k|#define OP_SHR                        9
  ------------------
 5285|       |
 5286|  2.47k|        if (!IS_UNDEFINED((yyvsp[0].expression).value.integer) && (yyvsp[0].expression).value.integer < 0)
  ------------------
  |  |   39|  4.94k|#define IS_UNDEFINED(x) ((size_t)(x) == (size_t) YR_UNDEFINED)
  |  |  ------------------
  |  |  |  |   38|  2.47k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  ------------------
  ------------------
  |  Branch (5286:13): [True: 1.01k, False: 1.45k]
  |  Branch (5286:67): [True: 140, False: 877]
  ------------------
 5287|    140|          result = ERROR_INVALID_OPERAND;
  ------------------
  |  |  101|    140|#define ERROR_INVALID_OPERAND                54
  ------------------
 5288|  2.33k|        else if (!IS_UNDEFINED((yyvsp[0].expression).value.integer) && (yyvsp[0].expression).value.integer >= 64)
  ------------------
  |  |   39|  4.66k|#define IS_UNDEFINED(x) ((size_t)(x) == (size_t) YR_UNDEFINED)
  |  |  ------------------
  |  |  |  |   38|  2.33k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  ------------------
  ------------------
  |  Branch (5288:18): [True: 877, False: 1.45k]
  |  Branch (5288:72): [True: 191, False: 686]
  ------------------
 5289|    191|          (yyval.expression).value.integer = 0;
 5290|  2.14k|        else
 5291|  2.14k|          (yyval.expression).value.integer = OPERATION(<<, (yyvsp[-2].expression).value.integer, (yyvsp[0].expression).value.integer);
  ------------------
  |  |  197|  2.14k|  (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2)
  |  |  ------------------
  |  |  |  |   39|  4.28k|#define IS_UNDEFINED(x) ((size_t)(x) == (size_t) YR_UNDEFINED)
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|  2.14k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:25): [True: 1.05k, False: 1.08k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                 (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2)
  |  |  ------------------
  |  |  |  |   39|  1.08k|#define IS_UNDEFINED(x) ((size_t)(x) == (size_t) YR_UNDEFINED)
  |  |  |  |  ------------------
  |  |  |  |  |  |   38|  1.08k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (39:25): [True: 405, False: 680]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                 (IS_UNDEFINED(op1) || IS_UNDEFINED(op2)) ? (YR_UNDEFINED) : (op1 operator op2)
  |  |  ------------------
  |  |  |  |   38|  1.46k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  |  |  ------------------
  ------------------
 5292|       |
 5293|  2.47k|        (yyval.expression).type = EXPRESSION_TYPE_INTEGER;
  ------------------
  |  |   47|  2.47k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
 5294|       |
 5295|  2.47k|        fail_if_error(result);
  ------------------
  |  |  135|  2.47k|    if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |   40|  4.94k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |                   if (e != ERROR_SUCCESS && e != ERROR_UNKNOWN_ESCAPE_SEQUENCE) \
  |  |  ------------------
  |  |  |  |  113|  2.61k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  |  |  ------------------
  |  |  |  Branch (135:9): [True: 140, False: 2.33k]
  |  |  |  Branch (135:31): [True: 140, False: 0]
  |  |  ------------------
  |  |  136|  2.47k|    { \
  |  |  137|    140|      fail_with_error(e); \
  |  |  ------------------
  |  |  |  |  120|    140|    { \
  |  |  |  |  121|    140|      compiler->last_error = e; \
  |  |  |  |  122|    140|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|    140|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  123|    140|      switch (e) \
  |  |  |  |  124|    140|      { \
  |  |  |  |  125|      0|      case ERROR_INSUFFICIENT_MEMORY: \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (125:7): [True: 0, False: 140]
  |  |  |  |  ------------------
  |  |  |  |  126|      0|        YYABORT; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1313|      0|#define YYABORT         goto yyabortlab
  |  |  |  |  ------------------
  |  |  |  |  127|    140|      default: \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (127:7): [True: 140, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  128|    140|        YYERROR; \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1314|    140|#define YYERROR         goto yyerrorlab
  |  |  |  |  ------------------
  |  |  |  |  129|    140|      } \
  |  |  |  |  130|    140|    }
  |  |  ------------------
  |  |  138|      0|    }
  ------------------
 5296|  2.33k|      }
 5297|      0|#line 5298 "libyara/grammar.c"
 5298|      0|    break;
 5299|       |
 5300|  1.62k|  case 169: /* primary_expression: regexp  */
  ------------------
  |  Branch (5300:3): [True: 1.62k, False: 1.03M]
  ------------------
 5301|  1.62k|#line 3062 "libyara/grammar.y"
 5302|  1.62k|      {
 5303|  1.62k|        (yyval.expression) = (yyvsp[0].expression);
 5304|  1.62k|      }
 5305|  1.62k|#line 5306 "libyara/grammar.c"
 5306|  1.62k|    break;
 5307|       |
 5308|       |
 5309|      0|#line 5310 "libyara/grammar.c"
 5310|       |
 5311|  16.9k|      default: break;
  ------------------
  |  Branch (5311:7): [True: 16.9k, False: 1.02M]
  ------------------
 5312|  1.03M|    }
 5313|       |  /* User semantic actions sometimes alter yychar, and that requires
 5314|       |     that yytoken be updated with the new translation.  We take the
 5315|       |     approach of translating immediately before every use of yytoken.
 5316|       |     One alternative is translating here after every semantic action,
 5317|       |     but that translation would be missed if the semantic action invokes
 5318|       |     YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or
 5319|       |     if it invokes YYBACKUP.  In the case of YYABORT or YYACCEPT, an
 5320|       |     incorrect destructor might then be invoked immediately.  In the
 5321|       |     case of YYERROR or YYBACKUP, subsequent parser actions might lead
 5322|       |     to an incorrect destructor call or verbose syntax error message
 5323|       |     before the lookahead is translated.  */
 5324|  1.01M|  YY_SYMBOL_PRINT ("-> $$ =", YY_CAST (yysymbol_kind_t, yyr1[yyn]), &yyval, &yyloc);
 5325|       |
 5326|  1.01M|  YYPOPSTACK (yylen);
  ------------------
  |  | 1950|  1.01M|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
 5327|  1.01M|  yylen = 0;
 5328|       |
 5329|  1.01M|  *++yyvsp = yyval;
 5330|       |
 5331|       |  /* Now 'shift' the result of the reduction.  Determine what state
 5332|       |     that goes to, based on the state we popped back to and the rule
 5333|       |     number reduced by.  */
 5334|  1.01M|  {
 5335|  1.01M|    const int yylhs = yyr1[yyn] - YYNTOKENS;
  ------------------
  |  |  885|  1.01M|#define YYNTOKENS  84
  ------------------
 5336|  1.01M|    const int yyi = yypgoto[yylhs] + *yyssp;
 5337|  1.01M|    yystate = (0 <= yyi && yyi <= YYLAST && yycheck[yyi] == *yyssp
  ------------------
  |  |  882|  1.36M|#define YYLAST   480
  ------------------
  |  Branch (5337:16): [True: 355k, False: 655k]
  |  Branch (5337:28): [True: 355k, False: 86]
  |  Branch (5337:45): [True: 232k, False: 123k]
  ------------------
 5338|  1.01M|               ? yytable[yyi]
 5339|  1.01M|               : yydefgoto[yylhs]);
 5340|  1.01M|  }
 5341|       |
 5342|  1.01M|  goto yynewstate;
 5343|       |
 5344|       |
 5345|       |/*--------------------------------------.
 5346|       || yyerrlab -- here on detecting error.  |
 5347|       |`--------------------------------------*/
 5348|   269k|yyerrlab:
 5349|       |  /* Make sure we have latest lookahead translation.  See comments at
 5350|       |     user semantic actions for why this is necessary.  */
 5351|   269k|  yytoken = yychar == YYEMPTY ? YYSYMBOL_YYEMPTY : YYTRANSLATE (yychar);
  ------------------
  |  |   51|   269k|#define yychar       yara_yychar
  ------------------
                yytoken = yychar == YYEMPTY ? YYSYMBOL_YYEMPTY : YYTRANSLATE (yychar);
  ------------------
  |  |  312|   269k|#define YYEMPTY -2
  ------------------
                yytoken = yychar == YYEMPTY ? YYSYMBOL_YYEMPTY : YYTRANSLATE (yychar);
  ------------------
  |  |  900|   539k|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  |  894|   269k|#define YYMAXUTOK   319
  |  |  ------------------
  |  |  |  Branch (900:4): [True: 269k, False: 0]
  |  |  |  Branch (900:18): [True: 269k, False: 0]
  |  |  ------------------
  |  |  901|   539k|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  210|   269k|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  ------------------
  |  |  902|   539k|   : YYSYMBOL_YYUNDEF)
  ------------------
  |  Branch (5351:13): [True: 0, False: 269k]
  ------------------
 5352|       |  /* If not already recovering from an error, report this error.  */
 5353|   269k|  if (!yyerrstatus)
  ------------------
  |  Branch (5353:7): [True: 16.5k, False: 253k]
  ------------------
 5354|  16.5k|    {
 5355|  16.5k|      ++yynerrs;
  ------------------
  |  |   53|  16.5k|#define yynerrs      yara_yynerrs
  ------------------
 5356|  16.5k|      {
 5357|  16.5k|        yypcontext_t yyctx
 5358|  16.5k|          = {yyssp, yytoken};
 5359|  16.5k|        char const *yymsgp = YY_("syntax error");
  ------------------
  |  |  684|  16.5k|#  define YY_(Msgid) Msgid
  ------------------
 5360|  16.5k|        int yysyntax_error_status;
 5361|  16.5k|        yysyntax_error_status = yysyntax_error (&yymsg_alloc, &yymsg, &yyctx);
 5362|  16.5k|        if (yysyntax_error_status == 0)
  ------------------
  |  Branch (5362:13): [True: 16.5k, False: 0]
  ------------------
 5363|  16.5k|          yymsgp = yymsg;
 5364|      0|        else if (yysyntax_error_status == -1)
  ------------------
  |  Branch (5364:18): [True: 0, False: 0]
  ------------------
 5365|      0|          {
 5366|      0|            if (yymsg != yymsgbuf)
  ------------------
  |  Branch (5366:17): [True: 0, False: 0]
  ------------------
 5367|      0|              YYSTACK_FREE (yymsg);
  ------------------
  |  |  792|      0|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  |  106|      0|#define YYFREE yr_free
  |  |  ------------------
  ------------------
 5368|      0|            yymsg = YY_CAST (char *,
  ------------------
  |  |  210|      0|#   define YY_CAST(Type, Val) ((Type) (Val))
  ------------------
 5369|      0|                             YYSTACK_ALLOC (YY_CAST (YYSIZE_T, yymsg_alloc)));
 5370|      0|            if (yymsg)
  ------------------
  |  Branch (5370:17): [True: 0, False: 0]
  ------------------
 5371|      0|              {
 5372|      0|                yysyntax_error_status
 5373|      0|                  = yysyntax_error (&yymsg_alloc, &yymsg, &yyctx);
 5374|      0|                yymsgp = yymsg;
 5375|      0|              }
 5376|      0|            else
 5377|      0|              {
 5378|      0|                yymsg = yymsgbuf;
 5379|      0|                yymsg_alloc = sizeof yymsgbuf;
 5380|      0|                yysyntax_error_status = YYENOMEM;
 5381|      0|              }
 5382|      0|          }
 5383|  16.5k|        yyerror (yyscanner, compiler, yymsgp);
  ------------------
  |  |   48|  16.5k|#define yyerror      yara_yyerror
  ------------------
 5384|  16.5k|        if (yysyntax_error_status == YYENOMEM)
  ------------------
  |  Branch (5384:13): [True: 0, False: 16.5k]
  ------------------
 5385|      0|          YYNOMEM;
  ------------------
  |  | 1315|      0|#define YYNOMEM         goto yyexhaustedlab
  ------------------
 5386|  16.5k|      }
 5387|  16.5k|    }
 5388|       |
 5389|   269k|  if (yyerrstatus == 3)
  ------------------
  |  Branch (5389:7): [True: 247k, False: 22.2k]
  ------------------
 5390|   247k|    {
 5391|       |      /* If just tried and failed to reuse lookahead token after an
 5392|       |         error, discard it.  */
 5393|       |
 5394|   247k|      if (yychar <= _END_OF_FILE_)
  ------------------
  |  |   51|   247k|#define yychar       yara_yychar
  ------------------
                    if (yychar <= _END_OF_FILE_)
  ------------------
  |  |  313|   247k|#define _END_OF_FILE_ 0
  ------------------
  |  Branch (5394:11): [True: 13.5k, False: 234k]
  ------------------
 5395|  13.5k|        {
 5396|       |          /* Return failure if at end of input.  */
 5397|  13.5k|          if (yychar == _END_OF_FILE_)
  ------------------
  |  |   51|  13.5k|#define yychar       yara_yychar
  ------------------
                        if (yychar == _END_OF_FILE_)
  ------------------
  |  |  313|  13.5k|#define _END_OF_FILE_ 0
  ------------------
  |  Branch (5397:15): [True: 13.5k, False: 0]
  ------------------
 5398|  13.5k|            YYABORT;
  ------------------
  |  | 1313|  13.5k|#define YYABORT         goto yyabortlab
  ------------------
 5399|  13.5k|        }
 5400|   234k|      else
 5401|   234k|        {
 5402|   234k|          yydestruct ("Error: discarding",
 5403|   234k|                      yytoken, &yylval, yyscanner, compiler);
 5404|   234k|          yychar = YYEMPTY;
  ------------------
  |  |   51|   234k|#define yychar       yara_yychar
  ------------------
                        yychar = YYEMPTY;
  ------------------
  |  |  312|   234k|#define YYEMPTY -2
  ------------------
 5405|   234k|        }
 5406|   247k|    }
 5407|       |
 5408|       |  /* Else will try to reuse lookahead token after shifting the error
 5409|       |     token.  */
 5410|   256k|  goto yyerrlab1;
 5411|       |
 5412|       |
 5413|       |/*---------------------------------------------------.
 5414|       || yyerrorlab -- error raised explicitly by YYERROR.  |
 5415|       |`---------------------------------------------------*/
 5416|   256k|yyerrorlab:
 5417|       |  /* Pacify compilers when the user code never invokes YYERROR and the
 5418|       |     label yyerrorlab therefore never appears in user code.  */
 5419|  25.9k|  if (0)
  ------------------
  |  Branch (5419:7): [Folded, False: 25.9k]
  ------------------
 5420|      0|    YYERROR;
  ------------------
  |  | 1314|      0|#define YYERROR         goto yyerrorlab
  ------------------
 5421|  25.9k|  ++yynerrs;
  ------------------
  |  |   53|  25.9k|#define yynerrs      yara_yynerrs
  ------------------
 5422|       |
 5423|       |  /* Do not reclaim the symbols of the rule whose action triggered
 5424|       |     this YYERROR.  */
 5425|  25.9k|  YYPOPSTACK (yylen);
  ------------------
  |  | 1950|  25.9k|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
 5426|  25.9k|  yylen = 0;
 5427|  25.9k|  YY_STACK_PRINT (yyss, yyssp);
 5428|  25.9k|  yystate = *yyssp;
 5429|  25.9k|  goto yyerrlab1;
 5430|       |
 5431|       |
 5432|       |/*-------------------------------------------------------------.
 5433|       || yyerrlab1 -- common code for both syntax error and YYERROR.  |
 5434|       |`-------------------------------------------------------------*/
 5435|   282k|yyerrlab1:
 5436|   282k|  yyerrstatus = 3;      /* Each real token shifted decrements this.  */
 5437|       |
 5438|       |  /* Pop stack until we find a state that shifts the error token.  */
 5439|   282k|  for (;;)
 5440|  1.10M|    {
 5441|  1.10M|      yyn = yypact[yystate];
 5442|  1.10M|      if (!yypact_value_is_default (yyn))
  ------------------
  |  | 1021|  1.10M|  ((Yyn) == YYPACT_NINF)
  |  |  ------------------
  |  |  |  | 1018|  1.10M|#define YYPACT_NINF (-170)
  |  |  ------------------
  ------------------
  |  Branch (5442:11): [True: 1.05M, False: 52.9k]
  ------------------
 5443|  1.05M|        {
 5444|  1.05M|          yyn += YYSYMBOL_YYerror;
 5445|  1.05M|          if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror)
  ------------------
  |  |  882|  2.07M|#define YYLAST   480
  ------------------
  |  Branch (5445:15): [True: 1.02M, False: 30.1k]
  |  Branch (5445:27): [True: 1.02M, False: 0]
  |  Branch (5445:44): [True: 282k, False: 738k]
  ------------------
 5446|   282k|            {
 5447|   282k|              yyn = yytable[yyn];
 5448|   282k|              if (0 < yyn)
  ------------------
  |  Branch (5448:19): [True: 282k, False: 0]
  ------------------
 5449|   282k|                break;
 5450|   282k|            }
 5451|  1.05M|        }
 5452|       |
 5453|       |      /* Pop the current state because it cannot handle the error token.  */
 5454|   821k|      if (yyssp == yyss)
  ------------------
  |  Branch (5454:11): [True: 0, False: 821k]
  ------------------
 5455|      0|        YYABORT;
  ------------------
  |  | 1313|      0|#define YYABORT         goto yyabortlab
  ------------------
 5456|       |
 5457|       |
 5458|   821k|      yydestruct ("Error: popping",
 5459|   821k|                  YY_ACCESSING_SYMBOL (yystate), yyvsp, yyscanner, compiler);
  ------------------
  |  |  967|   821k|#define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State])
  |  |  ------------------
  |  |  |  |  210|   821k|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  ------------------
  ------------------
 5460|   821k|      YYPOPSTACK (1);
  ------------------
  |  | 1950|   821k|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
 5461|   821k|      yystate = *yyssp;
 5462|   821k|      YY_STACK_PRINT (yyss, yyssp);
 5463|   821k|    }
 5464|       |
 5465|   282k|  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 5466|   282k|  *++yyvsp = yylval;
 5467|   282k|  YY_IGNORE_MAYBE_UNINITIALIZED_END
 5468|       |
 5469|       |
 5470|       |  /* Shift the error token.  */
 5471|   282k|  YY_SYMBOL_PRINT ("Shifting", YY_ACCESSING_SYMBOL (yyn), yyvsp, yylsp);
 5472|       |
 5473|   282k|  yystate = yyn;
 5474|   282k|  goto yynewstate;
 5475|       |
 5476|       |
 5477|       |/*-------------------------------------.
 5478|       || yyacceptlab -- YYACCEPT comes here.  |
 5479|       |`-------------------------------------*/
 5480|    625|yyacceptlab:
 5481|    625|  yyresult = 0;
 5482|    625|  goto yyreturnlab;
 5483|       |
 5484|       |
 5485|       |/*-----------------------------------.
 5486|       || yyabortlab -- YYABORT comes here.  |
 5487|       |`-----------------------------------*/
 5488|  13.5k|yyabortlab:
 5489|  13.5k|  yyresult = 1;
 5490|  13.5k|  goto yyreturnlab;
 5491|       |
 5492|       |
 5493|       |/*-----------------------------------------------------------.
 5494|       || yyexhaustedlab -- YYNOMEM (memory exhaustion) comes here.  |
 5495|       |`-----------------------------------------------------------*/
 5496|      2|yyexhaustedlab:
 5497|      2|  yyerror (yyscanner, compiler, YY_("memory exhausted"));
  ------------------
  |  |   48|      2|#define yyerror      yara_yyerror
  ------------------
                yyerror (yyscanner, compiler, YY_("memory exhausted"));
  ------------------
  |  |  684|      2|#  define YY_(Msgid) Msgid
  ------------------
 5498|      2|  yyresult = 2;
 5499|      2|  goto yyreturnlab;
 5500|       |
 5501|       |
 5502|       |/*----------------------------------------------------------.
 5503|       || yyreturnlab -- parsing is finished, clean up and return.  |
 5504|       |`----------------------------------------------------------*/
 5505|  14.1k|yyreturnlab:
 5506|  14.1k|  if (yychar != YYEMPTY)
  ------------------
  |  |   51|  14.1k|#define yychar       yara_yychar
  ------------------
                if (yychar != YYEMPTY)
  ------------------
  |  |  312|  14.1k|#define YYEMPTY -2
  ------------------
  |  Branch (5506:7): [True: 13.5k, False: 626]
  ------------------
 5507|  13.5k|    {
 5508|       |      /* Make sure we have latest lookahead translation.  See comments at
 5509|       |         user semantic actions for why this is necessary.  */
 5510|  13.5k|      yytoken = YYTRANSLATE (yychar);
  ------------------
  |  |  900|  13.5k|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  |  894|  13.5k|#define YYMAXUTOK   319
  |  |  ------------------
  |  |  |  Branch (900:4): [True: 13.5k, False: 0]
  |  |  |  Branch (900:18): [True: 13.5k, False: 0]
  |  |  ------------------
  |  |  901|  13.5k|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  210|  13.5k|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  ------------------
  |  |  902|  13.5k|   : YYSYMBOL_YYUNDEF)
  ------------------
 5511|  13.5k|      yydestruct ("Cleanup: discarding lookahead",
 5512|  13.5k|                  yytoken, &yylval, yyscanner, compiler);
 5513|  13.5k|    }
 5514|       |  /* Do not reclaim the symbols of the rule whose action triggered
 5515|       |     this YYABORT or YYACCEPT.  */
 5516|  14.1k|  YYPOPSTACK (yylen);
  ------------------
  |  | 1950|  14.1k|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
 5517|  14.1k|  YY_STACK_PRINT (yyss, yyssp);
 5518|  76.0k|  while (yyssp != yyss)
  ------------------
  |  Branch (5518:10): [True: 61.8k, False: 14.1k]
  ------------------
 5519|  61.8k|    {
 5520|  61.8k|      yydestruct ("Cleanup: popping",
 5521|  61.8k|                  YY_ACCESSING_SYMBOL (+*yyssp), yyvsp, yyscanner, compiler);
  ------------------
  |  |  967|  61.8k|#define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State])
  |  |  ------------------
  |  |  |  |  210|  61.8k|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  ------------------
  ------------------
 5522|  61.8k|      YYPOPSTACK (1);
  ------------------
  |  | 1950|  61.8k|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
 5523|  61.8k|    }
 5524|  14.1k|#ifndef yyoverflow
 5525|  14.1k|  if (yyss != yyssa)
  ------------------
  |  Branch (5525:7): [True: 44, False: 14.1k]
  ------------------
 5526|     44|    YYSTACK_FREE (yyss);
  ------------------
  |  |  792|     44|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  |  106|     44|#define YYFREE yr_free
  |  |  ------------------
  ------------------
 5527|  14.1k|#endif
 5528|  14.1k|  if (yymsg != yymsgbuf)
  ------------------
  |  Branch (5528:7): [True: 0, False: 14.1k]
  ------------------
 5529|      0|    YYSTACK_FREE (yymsg);
  ------------------
  |  |  792|      0|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  |  106|      0|#define YYFREE yr_free
  |  |  ------------------
  ------------------
 5530|  14.1k|  return yyresult;
 5531|   282k|}
grammar.c:yysyntax_error:
 1681|  16.5k|{
 1682|  16.5k|  enum { YYARGS_MAX = 5 };
 1683|       |  /* Internationalized format string. */
 1684|  16.5k|  const char *yyformat = YY_NULLPTR;
  ------------------
  |  |  222|  16.5k|#   define YY_NULLPTR ((void*)0)
  ------------------
 1685|       |  /* Arguments of yyformat: reported tokens (one for the "unexpected",
 1686|       |     one per "expected"). */
 1687|  16.5k|  yysymbol_kind_t yyarg[YYARGS_MAX];
 1688|       |  /* Cumulated lengths of YYARG.  */
 1689|  16.5k|  YYPTRDIFF_T yysize = 0;
  ------------------
  |  |  634|  16.5k|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 1690|       |
 1691|       |  /* Actual size of YYARG. */
 1692|  16.5k|  int yycount = yy_syntax_error_arguments (yyctx, yyarg, YYARGS_MAX);
 1693|  16.5k|  if (yycount == YYENOMEM)
  ------------------
  |  Branch (1693:7): [True: 0, False: 16.5k]
  ------------------
 1694|      0|    return YYENOMEM;
 1695|       |
 1696|  16.5k|  switch (yycount)
 1697|  16.5k|    {
 1698|      0|#define YYCASE_(N, S)                       \
 1699|      0|      case N:                               \
 1700|      0|        yyformat = S;                       \
 1701|      0|        break
 1702|      0|    default: /* Avoid compiler warnings. */
  ------------------
  |  Branch (1702:5): [True: 0, False: 16.5k]
  ------------------
 1703|      0|      YYCASE_(0, YY_("syntax error"));
  ------------------
  |  | 1699|      0|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (1699:7): [True: 0, False: 16.5k]
  |  |  ------------------
  |  | 1700|      0|        yyformat = S;                       \
  |  | 1701|      0|        break
  ------------------
 1704|  3.61k|      YYCASE_(1, YY_("syntax error, unexpected %s"));
  ------------------
  |  | 1699|  3.61k|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (1699:7): [True: 3.61k, False: 12.9k]
  |  |  ------------------
  |  | 1700|  3.61k|        yyformat = S;                       \
  |  | 1701|  3.61k|        break
  ------------------
 1705|  11.3k|      YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s"));
  ------------------
  |  | 1699|  11.3k|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (1699:7): [True: 11.3k, False: 5.22k]
  |  |  ------------------
  |  | 1700|  11.3k|        yyformat = S;                       \
  |  | 1701|  11.3k|        break
  ------------------
 1706|    836|      YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s"));
  ------------------
  |  | 1699|    836|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (1699:7): [True: 836, False: 15.7k]
  |  |  ------------------
  |  | 1700|    836|        yyformat = S;                       \
  |  | 1701|    836|        break
  ------------------
 1707|    774|      YYCASE_(4, YY_("syntax error, unexpected %s, expecting %s or %s or %s"));
  ------------------
  |  | 1699|    774|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (1699:7): [True: 774, False: 15.7k]
  |  |  ------------------
  |  | 1700|    774|        yyformat = S;                       \
  |  | 1701|    774|        break
  ------------------
 1708|  16.5k|      YYCASE_(5, YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"));
  ------------------
  |  | 1699|      0|      case N:                               \
  |  |  ------------------
  |  |  |  Branch (1699:7): [True: 0, False: 16.5k]
  |  |  ------------------
  |  | 1700|      0|        yyformat = S;                       \
  |  | 1701|      0|        break
  ------------------
 1709|  16.5k|#undef YYCASE_
 1710|  16.5k|    }
 1711|       |
 1712|       |  /* Compute error message size.  Don't count the "%s"s, but reserve
 1713|       |     room for the terminator.  */
 1714|  16.5k|  yysize = yystrlen (yyformat) - 2 * yycount + 1;
  ------------------
  |  | 1540|  16.5k|#  define yystrlen(S) (YY_CAST (YYPTRDIFF_T, strlen (S)))
  |  |  ------------------
  |  |  |  |  210|  16.5k|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  ------------------
  ------------------
 1715|  16.5k|  {
 1716|  16.5k|    int yyi;
 1717|  48.4k|    for (yyi = 0; yyi < yycount; ++yyi)
  ------------------
  |  Branch (1717:19): [True: 31.8k, False: 16.5k]
  ------------------
 1718|  31.8k|      {
 1719|  31.8k|        YYPTRDIFF_T yysize1
  ------------------
  |  |  634|  31.8k|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 1720|  31.8k|          = yysize + yytnamerr (YY_NULLPTR, yytname[yyarg[yyi]]);
  ------------------
  |  |  222|  31.8k|#   define YY_NULLPTR ((void*)0)
  ------------------
 1721|  31.8k|        if (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM)
  ------------------
  |  |  794|  31.8k|#   define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
  |  |  ------------------
  |  |  |  |  662|  31.8k|  YY_CAST (YYPTRDIFF_T,                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  210|  63.7k|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (210:40): [True: 31.8k, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1721:13): [True: 31.8k, False: 0]
  |  Branch (1721:34): [True: 31.8k, False: 0]
  ------------------
 1722|  31.8k|          yysize = yysize1;
 1723|      0|        else
 1724|      0|          return YYENOMEM;
 1725|  31.8k|      }
 1726|  16.5k|  }
 1727|       |
 1728|  16.5k|  if (*yymsg_alloc < yysize)
  ------------------
  |  Branch (1728:7): [True: 0, False: 16.5k]
  ------------------
 1729|      0|    {
 1730|      0|      *yymsg_alloc = 2 * yysize;
 1731|      0|      if (! (yysize <= *yymsg_alloc
  ------------------
  |  Branch (1731:14): [True: 0, False: 0]
  ------------------
 1732|      0|             && *yymsg_alloc <= YYSTACK_ALLOC_MAXIMUM))
  ------------------
  |  |  794|      0|#   define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
  |  |  ------------------
  |  |  |  |  662|      0|  YY_CAST (YYPTRDIFF_T,                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  210|      0|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (210:40): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1732:17): [True: 0, False: 0]
  ------------------
 1733|      0|        *yymsg_alloc = YYSTACK_ALLOC_MAXIMUM;
  ------------------
  |  |  794|      0|#   define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
  |  |  ------------------
  |  |  |  |  662|      0|  YY_CAST (YYPTRDIFF_T,                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  210|      0|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (210:40): [True: 0, Folded]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1734|      0|      return -1;
 1735|      0|    }
 1736|       |
 1737|       |  /* Avoid sprintf, as that infringes on the user's name space.
 1738|       |     Don't have undefined behavior even if the translation
 1739|       |     produced a string with the wrong number of "%s"s.  */
 1740|  16.5k|  {
 1741|  16.5k|    char *yyp = *yymsg;
 1742|  16.5k|    int yyi = 0;
 1743|   627k|    while ((*yyp = *yyformat) != '\0')
  ------------------
  |  Branch (1743:12): [True: 610k, False: 16.5k]
  ------------------
 1744|   610k|      if (*yyp == '%' && yyformat[1] == 's' && yyi < yycount)
  ------------------
  |  Branch (1744:11): [True: 31.8k, False: 578k]
  |  Branch (1744:26): [True: 31.8k, False: 0]
  |  Branch (1744:48): [True: 31.8k, False: 0]
  ------------------
 1745|  31.8k|        {
 1746|  31.8k|          yyp += yytnamerr (yyp, yytname[yyarg[yyi++]]);
 1747|  31.8k|          yyformat += 2;
 1748|  31.8k|        }
 1749|   578k|      else
 1750|   578k|        {
 1751|   578k|          ++yyp;
 1752|   578k|          ++yyformat;
 1753|   578k|        }
 1754|  16.5k|  }
 1755|  16.5k|  return 0;
 1756|  16.5k|}
grammar.c:yy_syntax_error_arguments:
 1628|  16.5k|{
 1629|       |  /* Actual size of YYARG. */
 1630|  16.5k|  int yycount = 0;
 1631|       |  /* There are many possibilities here to consider:
 1632|       |     - If this state is a consistent state with a default action, then
 1633|       |       the only way this function was invoked is if the default action
 1634|       |       is an error action.  In that case, don't check for expected
 1635|       |       tokens because there are none.
 1636|       |     - The only way there can be no lookahead present (in yychar) is if
 1637|       |       this state is a consistent state with a default action.  Thus,
 1638|       |       detecting the absence of a lookahead is sufficient to determine
 1639|       |       that there is no unexpected or expected token to report.  In that
 1640|       |       case, just report a simple "syntax error".
 1641|       |     - Don't assume there isn't a lookahead just because this state is a
 1642|       |       consistent state with a default action.  There might have been a
 1643|       |       previous inconsistent state, consistent state with a non-default
 1644|       |       action, or user semantic action that manipulated yychar.
 1645|       |     - Of course, the expected token list depends on states to have
 1646|       |       correct lookahead information, and it depends on the parser not
 1647|       |       to perform extra reductions after fetching a lookahead from the
 1648|       |       scanner and before detecting a syntax error.  Thus, state merging
 1649|       |       (from LALR or IELR) and default reductions corrupt the expected
 1650|       |       token list.  However, the list is correct for canonical LR with
 1651|       |       one exception: it will still contain any token that will not be
 1652|       |       accepted due to an error action in a later state.
 1653|       |  */
 1654|  16.5k|  if (yyctx->yytoken != YYSYMBOL_YYEMPTY)
  ------------------
  |  Branch (1654:7): [True: 16.5k, False: 0]
  ------------------
 1655|  16.5k|    {
 1656|  16.5k|      int yyn;
 1657|  16.5k|      if (yyarg)
  ------------------
  |  Branch (1657:11): [True: 16.5k, False: 0]
  ------------------
 1658|  16.5k|        yyarg[yycount] = yyctx->yytoken;
 1659|  16.5k|      ++yycount;
 1660|  16.5k|      yyn = yypcontext_expected_tokens (yyctx,
 1661|  16.5k|                                        yyarg ? yyarg + 1 : yyarg, yyargn - 1);
  ------------------
  |  Branch (1661:41): [True: 16.5k, False: 0]
  ------------------
 1662|  16.5k|      if (yyn == YYENOMEM)
  ------------------
  |  Branch (1662:11): [True: 0, False: 16.5k]
  ------------------
 1663|      0|        return YYENOMEM;
 1664|  16.5k|      else
 1665|  16.5k|        yycount += yyn;
 1666|  16.5k|    }
 1667|  16.5k|  return yycount;
 1668|  16.5k|}
grammar.c:yypcontext_expected_tokens:
 1504|  16.5k|{
 1505|       |  /* Actual size of YYARG. */
 1506|  16.5k|  int yycount = 0;
 1507|  16.5k|  int yyn = yypact[+*yyctx->yyssp];
 1508|  16.5k|  if (!yypact_value_is_default (yyn))
  ------------------
  |  | 1021|  16.5k|  ((Yyn) == YYPACT_NINF)
  |  |  ------------------
  |  |  |  | 1018|  16.5k|#define YYPACT_NINF (-170)
  |  |  ------------------
  ------------------
  |  Branch (1508:7): [True: 16.5k, False: 0]
  ------------------
 1509|  16.5k|    {
 1510|       |      /* Start YYX at -YYN if negative to avoid negative indexes in
 1511|       |         YYCHECK.  In other words, skip the first -YYN actions for
 1512|       |         this state because they are default actions.  */
 1513|  16.5k|      int yyxbegin = yyn < 0 ? -yyn : 0;
  ------------------
  |  Branch (1513:22): [True: 1.02k, False: 15.5k]
  ------------------
 1514|       |      /* Stay within bounds of both yycheck and yytname.  */
 1515|  16.5k|      int yychecklim = YYLAST - yyn + 1;
  ------------------
  |  |  882|  16.5k|#define YYLAST   480
  ------------------
 1516|  16.5k|      int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
  ------------------
  |  |  885|  16.5k|#define YYNTOKENS  84
  ------------------
                    int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
  ------------------
  |  |  885|  16.5k|#define YYNTOKENS  84
  ------------------
  |  Branch (1516:20): [True: 0, False: 16.5k]
  ------------------
 1517|  16.5k|      int yyx;
 1518|  1.11M|      for (yyx = yyxbegin; yyx < yyxend; ++yyx)
  ------------------
  |  Branch (1518:28): [True: 1.10M, False: 12.9k]
  ------------------
 1519|  1.10M|        if (yycheck[yyx + yyn] == yyx && yyx != YYSYMBOL_YYerror
  ------------------
  |  Branch (1519:13): [True: 36.6k, False: 1.06M]
  |  Branch (1519:42): [True: 33.4k, False: 3.20k]
  ------------------
 1520|      0|            && !yytable_value_is_error (yytable[yyx + yyn]))
  ------------------
  |  | 1026|      0|  0
  ------------------
  |  Branch (1520:16): [True: 0, Folded]
  ------------------
 1521|  33.4k|          {
 1522|  33.4k|            if (!yyarg)
  ------------------
  |  Branch (1522:17): [True: 0, False: 33.4k]
  ------------------
 1523|      0|              ++yycount;
 1524|  33.4k|            else if (yycount == yyargn)
  ------------------
  |  Branch (1524:22): [True: 3.61k, False: 29.7k]
  ------------------
 1525|  3.61k|              return 0;
 1526|  29.7k|            else
 1527|  29.7k|              yyarg[yycount++] = YY_CAST (yysymbol_kind_t, yyx);
  ------------------
  |  |  210|  29.7k|#   define YY_CAST(Type, Val) ((Type) (Val))
  ------------------
 1528|  33.4k|          }
 1529|  16.5k|    }
 1530|  12.9k|  if (yyarg && yycount == 0 && 0 < yyargn)
  ------------------
  |  Branch (1530:7): [True: 12.9k, False: 0]
  |  Branch (1530:16): [True: 0, False: 12.9k]
  |  Branch (1530:32): [True: 0, False: 0]
  ------------------
 1531|      0|    yyarg[0] = YYSYMBOL_YYEMPTY;
 1532|  12.9k|  return yycount;
 1533|  16.5k|}
grammar.c:yytnamerr:
 1584|  63.7k|{
 1585|  63.7k|  if (*yystr == '"')
  ------------------
  |  Branch (1585:7): [True: 46.6k, False: 17.1k]
  ------------------
 1586|  46.6k|    {
 1587|  46.6k|      YYPTRDIFF_T yyn = 0;
  ------------------
  |  |  634|  46.6k|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 1588|  46.6k|      char const *yyp = yystr;
 1589|  46.6k|      for (;;)
 1590|   513k|        switch (*++yyp)
 1591|   513k|          {
 1592|      0|          case '\'':
  ------------------
  |  Branch (1592:11): [True: 0, False: 513k]
  ------------------
 1593|      0|          case ',':
  ------------------
  |  Branch (1593:11): [True: 0, False: 513k]
  ------------------
 1594|      0|            goto do_not_strip_quotes;
 1595|       |
 1596|      0|          case '\\':
  ------------------
  |  Branch (1596:11): [True: 0, False: 513k]
  ------------------
 1597|      0|            if (*++yyp != '\\')
  ------------------
  |  Branch (1597:17): [True: 0, False: 0]
  ------------------
 1598|      0|              goto do_not_strip_quotes;
 1599|      0|            else
 1600|      0|              goto append;
 1601|       |
 1602|      0|          append:
 1603|   466k|          default:
  ------------------
  |  Branch (1603:11): [True: 466k, False: 46.6k]
  ------------------
 1604|   466k|            if (yyres)
  ------------------
  |  Branch (1604:17): [True: 233k, False: 233k]
  ------------------
 1605|   233k|              yyres[yyn] = *yyp;
 1606|   466k|            yyn++;
 1607|   466k|            break;
 1608|       |
 1609|  46.6k|          case '"':
  ------------------
  |  Branch (1609:11): [True: 46.6k, False: 466k]
  ------------------
 1610|  46.6k|            if (yyres)
  ------------------
  |  Branch (1610:17): [True: 23.3k, False: 23.3k]
  ------------------
 1611|  23.3k|              yyres[yyn] = '\0';
 1612|  46.6k|            return yyn;
 1613|   513k|          }
 1614|      0|    do_not_strip_quotes: ;
 1615|      0|    }
 1616|       |
 1617|  17.1k|  if (yyres)
  ------------------
  |  Branch (1617:7): [True: 8.56k, False: 8.56k]
  ------------------
 1618|  8.56k|    return yystpcpy (yyres, yystr) - yyres;
  ------------------
  |  | 1556|  8.56k|#  define yystpcpy stpcpy
  ------------------
 1619|  8.56k|  else
 1620|  8.56k|    return yystrlen (yystr);
  ------------------
  |  | 1540|  8.56k|#  define yystrlen(S) (YY_CAST (YYPTRDIFF_T, strlen (S)))
  |  |  ------------------
  |  |  |  |  210|  8.56k|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  ------------------
  ------------------
 1621|  17.1k|}
grammar.c:yydestruct:
 1766|  1.13M|{
 1767|  1.13M|  YY_USE (yyvaluep);
  ------------------
  |  |  707|  1.13M|# define YY_USE(E) ((void) (E))
  ------------------
 1768|  1.13M|  YY_USE (yyscanner);
  ------------------
  |  |  707|  1.13M|# define YY_USE(E) ((void) (E))
  ------------------
 1769|  1.13M|  YY_USE (compiler);
  ------------------
  |  |  707|  1.13M|# define YY_USE(E) ((void) (E))
  ------------------
 1770|  1.13M|  if (!yymsg)
  ------------------
  |  Branch (1770:7): [True: 0, False: 1.13M]
  ------------------
 1771|      0|    yymsg = "Deleting";
 1772|  1.13M|  YY_SYMBOL_PRINT (yymsg, yykind, yyvaluep, yylocationp);
 1773|       |
 1774|  1.13M|  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 1775|  1.13M|  switch (yykind)
 1776|  1.13M|    {
 1777|  84.5k|    case YYSYMBOL__IDENTIFIER_: /* "identifier"  */
  ------------------
  |  Branch (1777:5): [True: 84.5k, False: 1.04M]
  ------------------
 1778|  84.5k|#line 313 "libyara/grammar.y"
 1779|  84.5k|            { yr_free(((*yyvaluep).c_string)); ((*yyvaluep).c_string) = NULL; }
 1780|  84.5k|#line 1781 "libyara/grammar.c"
 1781|  84.5k|        break;
 1782|       |
 1783|  7.15k|    case YYSYMBOL__STRING_IDENTIFIER_: /* "string identifier"  */
  ------------------
  |  Branch (1783:5): [True: 7.15k, False: 1.12M]
  ------------------
 1784|  7.15k|#line 317 "libyara/grammar.y"
 1785|  7.15k|            { yr_free(((*yyvaluep).c_string)); ((*yyvaluep).c_string) = NULL; }
 1786|  7.15k|#line 1787 "libyara/grammar.c"
 1787|  7.15k|        break;
 1788|       |
 1789|    966|    case YYSYMBOL__STRING_COUNT_: /* "string count"  */
  ------------------
  |  Branch (1789:5): [True: 966, False: 1.12M]
  ------------------
 1790|    966|#line 314 "libyara/grammar.y"
 1791|    966|            { yr_free(((*yyvaluep).c_string)); ((*yyvaluep).c_string) = NULL; }
 1792|    966|#line 1793 "libyara/grammar.c"
 1793|    966|        break;
 1794|       |
 1795|  1.52k|    case YYSYMBOL__STRING_OFFSET_: /* "string offset"  */
  ------------------
  |  Branch (1795:5): [True: 1.52k, False: 1.12M]
  ------------------
 1796|  1.52k|#line 315 "libyara/grammar.y"
 1797|  1.52k|            { yr_free(((*yyvaluep).c_string)); ((*yyvaluep).c_string) = NULL; }
 1798|  1.52k|#line 1799 "libyara/grammar.c"
 1799|  1.52k|        break;
 1800|       |
 1801|  2.95k|    case YYSYMBOL__STRING_LENGTH_: /* "string length"  */
  ------------------
  |  Branch (1801:5): [True: 2.95k, False: 1.12M]
  ------------------
 1802|  2.95k|#line 316 "libyara/grammar.y"
 1803|  2.95k|            { yr_free(((*yyvaluep).c_string)); ((*yyvaluep).c_string) = NULL; }
 1804|  2.95k|#line 1805 "libyara/grammar.c"
 1805|  2.95k|        break;
 1806|       |
 1807|    339|    case YYSYMBOL__STRING_IDENTIFIER_WITH_WILDCARD_: /* "string identifier with wildcard"  */
  ------------------
  |  Branch (1807:5): [True: 339, False: 1.13M]
  ------------------
 1808|    339|#line 318 "libyara/grammar.y"
 1809|    339|            { yr_free(((*yyvaluep).c_string)); ((*yyvaluep).c_string) = NULL; }
 1810|    339|#line 1811 "libyara/grammar.c"
 1811|    339|        break;
 1812|       |
 1813|  8.62k|    case YYSYMBOL__TEXT_STRING_: /* "text string"  */
  ------------------
  |  Branch (1813:5): [True: 8.62k, False: 1.12M]
  ------------------
 1814|  8.62k|#line 319 "libyara/grammar.y"
 1815|  8.62k|            { yr_free(((*yyvaluep).sized_string)); ((*yyvaluep).sized_string) = NULL; }
 1816|  8.62k|#line 1817 "libyara/grammar.c"
 1817|  8.62k|        break;
 1818|       |
 1819|    895|    case YYSYMBOL__HEX_STRING_: /* "hex string"  */
  ------------------
  |  Branch (1819:5): [True: 895, False: 1.12M]
  ------------------
 1820|    895|#line 320 "libyara/grammar.y"
 1821|    895|            { yr_free(((*yyvaluep).sized_string)); ((*yyvaluep).sized_string) = NULL; }
 1822|    895|#line 1823 "libyara/grammar.c"
 1823|    895|        break;
 1824|       |
 1825|  3.61k|    case YYSYMBOL__REGEXP_: /* "regular expression"  */
  ------------------
  |  Branch (1825:5): [True: 3.61k, False: 1.12M]
  ------------------
 1826|  3.61k|#line 321 "libyara/grammar.y"
 1827|  3.61k|            { yr_free(((*yyvaluep).sized_string)); ((*yyvaluep).sized_string) = NULL; }
 1828|  3.61k|#line 1829 "libyara/grammar.c"
 1829|  3.61k|        break;
 1830|       |
 1831|    366|    case YYSYMBOL_string_modifiers: /* string_modifiers  */
  ------------------
  |  Branch (1831:5): [True: 366, False: 1.13M]
  ------------------
 1832|    366|#line 337 "libyara/grammar.y"
 1833|    366|            {
 1834|    366|  if (((*yyvaluep).modifier).alphabet != NULL)
  ------------------
  |  Branch (1834:7): [True: 14, False: 352]
  ------------------
 1835|     14|  {
 1836|     14|    yr_free(((*yyvaluep).modifier).alphabet);
 1837|     14|    ((*yyvaluep).modifier).alphabet = NULL;
 1838|     14|  }
 1839|    366|}
 1840|    366|#line 1841 "libyara/grammar.c"
 1841|    366|        break;
 1842|       |
 1843|      0|    case YYSYMBOL_string_modifier: /* string_modifier  */
  ------------------
  |  Branch (1843:5): [True: 0, False: 1.13M]
  ------------------
 1844|      0|#line 329 "libyara/grammar.y"
 1845|      0|            {
 1846|      0|  if (((*yyvaluep).modifier).alphabet != NULL)
  ------------------
  |  Branch (1846:7): [True: 0, False: 0]
  ------------------
 1847|      0|  {
 1848|      0|    yr_free(((*yyvaluep).modifier).alphabet);
 1849|      0|    ((*yyvaluep).modifier).alphabet = NULL;
 1850|      0|  }
 1851|      0|}
 1852|      0|#line 1853 "libyara/grammar.c"
 1853|      0|        break;
 1854|       |
 1855|    316|    case YYSYMBOL_arguments: /* arguments  */
  ------------------
  |  Branch (1855:5): [True: 316, False: 1.13M]
  ------------------
 1856|    316|#line 326 "libyara/grammar.y"
 1857|    316|            { yr_free(((*yyvaluep).c_string)); ((*yyvaluep).c_string) = NULL; }
 1858|    316|#line 1859 "libyara/grammar.c"
 1859|    316|        break;
 1860|       |
 1861|  1.62k|    case YYSYMBOL_arguments_list: /* arguments_list  */
  ------------------
  |  Branch (1861:5): [True: 1.62k, False: 1.12M]
  ------------------
 1862|  1.62k|#line 327 "libyara/grammar.y"
 1863|  1.62k|            { yr_free(((*yyvaluep).c_string)); ((*yyvaluep).c_string) = NULL; }
 1864|  1.62k|#line 1865 "libyara/grammar.c"
 1865|  1.62k|        break;
 1866|       |
 1867|     48|    case YYSYMBOL_string_set: /* string_set  */
  ------------------
  |  Branch (1867:5): [True: 48, False: 1.13M]
  ------------------
 1868|     48|#line 325 "libyara/grammar.y"
 1869|     48|            { yr_string_set_destroy(((*yyvaluep).string_set)); ((*yyvaluep).string_set).head = NULL; }
 1870|     48|#line 1871 "libyara/grammar.c"
 1871|     48|        break;
 1872|       |
 1873|     85|    case YYSYMBOL_string_enumeration: /* string_enumeration  */
  ------------------
  |  Branch (1873:5): [True: 85, False: 1.13M]
  ------------------
 1874|     85|#line 323 "libyara/grammar.y"
 1875|     85|            { yr_string_set_destroy(((*yyvaluep).string_set)); ((*yyvaluep).string_set).head = NULL; }
 1876|     85|#line 1877 "libyara/grammar.c"
 1877|     85|        break;
 1878|       |
 1879|      0|    case YYSYMBOL_string_enumeration_item: /* string_enumeration_item  */
  ------------------
  |  Branch (1879:5): [True: 0, False: 1.13M]
  ------------------
 1880|      0|#line 324 "libyara/grammar.y"
 1881|      0|            { yr_string_set_destroy(((*yyvaluep).string_set)); ((*yyvaluep).string_set).head = NULL; }
 1882|      0|#line 1883 "libyara/grammar.c"
 1883|      0|        break;
 1884|       |
 1885|  1.01M|      default:
  ------------------
  |  Branch (1885:7): [True: 1.01M, False: 113k]
  ------------------
 1886|  1.01M|        break;
 1887|  1.13M|    }
 1888|  1.13M|  YY_IGNORE_MAYBE_UNINITIALIZED_END
 1889|  1.13M|}

yr_hash:
   94|   474k|{
   95|   474k|  const uint8_t* b = (uint8_t*) buffer;
   96|       |
   97|   474k|  uint32_t result = seed;
   98|   474k|  size_t i;
   99|       |
  100|   474k|  if (len == 0)
  ------------------
  |  Branch (100:7): [True: 0, False: 474k]
  ------------------
  101|      0|    return result;
  102|       |
  103|  2.91M|  for (i = len - 1; i > 0; i--)
  ------------------
  |  Branch (103:21): [True: 2.44M, False: 474k]
  ------------------
  104|  2.44M|  {
  105|  2.44M|    result ^= ROTATE_INT32(byte_to_int32[*b], i);
  ------------------
  |  |   46|  2.44M|#define ROTATE_INT32(x, shift) rotl32(x, shift % 32)
  ------------------
  106|  2.44M|    b++;
  107|  2.44M|  }
  108|       |
  109|   474k|  result ^= byte_to_int32[*b];
  110|   474k|  return result;
  111|   474k|}
yr_hash_table_create:
  178|  70.8k|{
  179|  70.8k|  YR_HASH_TABLE* new_table;
  180|  70.8k|  int i;
  181|       |
  182|  70.8k|  new_table = (YR_HASH_TABLE*) yr_malloc(
  183|  70.8k|      sizeof(YR_HASH_TABLE) + size * sizeof(YR_HASH_TABLE_ENTRY*));
  184|       |
  185|  70.8k|  if (new_table == NULL)
  ------------------
  |  Branch (185:7): [True: 0, False: 70.8k]
  ------------------
  186|      0|    return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
  187|       |
  188|  70.8k|  new_table->size = size;
  189|       |
  190|   382M|  for (i = 0; i < size; i++) new_table->buckets[i] = NULL;
  ------------------
  |  Branch (190:15): [True: 382M, False: 70.8k]
  ------------------
  191|       |
  192|  70.8k|  *table = new_table;
  193|       |
  194|  70.8k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  70.8k|#define ERROR_SUCCESS 0
  ------------------
  195|  70.8k|}
yr_hash_table_clean:
  200|  96.6k|{
  201|  96.6k|  YR_HASH_TABLE_ENTRY* entry;
  202|  96.6k|  YR_HASH_TABLE_ENTRY* next_entry;
  203|       |
  204|  96.6k|  int i;
  205|       |
  206|  96.6k|  if (table == NULL)
  ------------------
  |  Branch (206:7): [True: 0, False: 96.6k]
  ------------------
  207|      0|    return;
  208|       |
  209|   641M|  for (i = 0; i < table->size; i++)
  ------------------
  |  Branch (209:15): [True: 641M, False: 96.6k]
  ------------------
  210|   641M|  {
  211|   641M|    entry = table->buckets[i];
  212|       |
  213|   641M|    while (entry != NULL)
  ------------------
  |  Branch (213:12): [True: 82.3k, False: 641M]
  ------------------
  214|  82.3k|    {
  215|  82.3k|      next_entry = entry->next;
  216|       |
  217|  82.3k|      if (free_value != NULL)
  ------------------
  |  Branch (217:11): [True: 832, False: 81.4k]
  ------------------
  218|    832|        free_value(entry->value);
  219|       |
  220|  82.3k|      if (entry->ns != NULL)
  ------------------
  |  Branch (220:11): [True: 28.0k, False: 54.2k]
  ------------------
  221|  28.0k|        yr_free(entry->ns);
  222|       |
  223|  82.3k|      yr_free(entry->key);
  224|  82.3k|      yr_free(entry);
  225|       |
  226|  82.3k|      entry = next_entry;
  227|  82.3k|    }
  228|       |
  229|       |    table->buckets[i] = NULL;
  230|   641M|  }
  231|  96.6k|}
yr_hash_table_destroy:
  236|  70.8k|{
  237|  70.8k|  yr_hash_table_clean(table, free_value);
  238|  70.8k|  yr_free(table);
  239|  70.8k|}
yr_hash_table_iterate:
  246|  26.1k|{
  247|  26.1k|  int result;
  248|  26.1k|  YR_HASH_TABLE_ENTRY* entry;
  249|       |
  250|  26.1k|  if (table == NULL)
  ------------------
  |  Branch (250:7): [True: 0, False: 26.1k]
  ------------------
  251|      0|    return ERROR_INTERNAL_FATAL_ERROR;
  ------------------
  |  |   78|      0|#define ERROR_INTERNAL_FATAL_ERROR           31
  ------------------
  252|       |
  253|  26.0M|  for (int i = 0; i < table->size; i++)
  ------------------
  |  Branch (253:19): [True: 26.0M, False: 25.8k]
  ------------------
  254|  26.0M|  {
  255|  26.0M|    entry = table->buckets[i];
  256|  26.0M|    while (entry != NULL)
  ------------------
  |  Branch (256:12): [True: 3.53k, False: 26.0M]
  ------------------
  257|  3.53k|    {
  258|  3.53k|      if ((entry->ns == NULL && ns == NULL)
  ------------------
  |  Branch (258:12): [True: 0, False: 3.53k]
  |  Branch (258:33): [True: 0, False: 0]
  ------------------
  259|  3.53k|          || (entry->ns != NULL && ns != NULL && !strcmp(entry->ns, ns)))
  ------------------
  |  Branch (259:15): [True: 3.53k, False: 0]
  |  Branch (259:36): [True: 3.53k, False: 0]
  |  Branch (259:50): [True: 3.53k, False: 0]
  ------------------
  260|  3.53k|      {
  261|  3.53k|        result = iterate_func(
  262|  3.53k|            entry->key, entry->key_length, entry->value, data);
  263|       |
  264|  3.53k|        if (result != ERROR_SUCCESS)
  ------------------
  |  |   40|  3.53k|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (264:13): [True: 260, False: 3.27k]
  ------------------
  265|    260|          return result;
  266|  3.53k|      }
  267|  3.27k|      entry = entry->next;
  268|  3.27k|    }
  269|  26.0M|  }
  270|  25.8k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  25.8k|#define ERROR_SUCCESS 0
  ------------------
  271|  26.1k|}
yr_hash_table_lookup_raw_key:
  278|   294k|{
  279|       |  return _yr_hash_table_lookup(table, key, key_length, ns, false);
  280|   294k|}
yr_hash_table_add_raw_key:
  297|  82.3k|{
  298|  82.3k|  YR_HASH_TABLE_ENTRY* entry;
  299|  82.3k|  uint32_t bucket_index;
  300|       |
  301|  82.3k|  entry = (YR_HASH_TABLE_ENTRY*) yr_malloc(sizeof(YR_HASH_TABLE_ENTRY));
  302|       |
  303|  82.3k|  if (entry == NULL)
  ------------------
  |  Branch (303:7): [True: 0, False: 82.3k]
  ------------------
  304|      0|    return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
  305|       |
  306|  82.3k|  entry->key = yr_malloc(key_length);
  307|       |
  308|  82.3k|  if (entry->key == NULL)
  ------------------
  |  Branch (308:7): [True: 0, False: 82.3k]
  ------------------
  309|      0|  {
  310|      0|    yr_free(entry);
  311|      0|    return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
  312|      0|  }
  313|       |
  314|  82.3k|  if (ns != NULL)
  ------------------
  |  Branch (314:7): [True: 28.0k, False: 54.2k]
  ------------------
  315|  28.0k|  {
  316|  28.0k|    entry->ns = yr_strdup(ns);
  317|       |
  318|  28.0k|    if (entry->ns == NULL)
  ------------------
  |  Branch (318:9): [True: 0, False: 28.0k]
  ------------------
  319|      0|    {
  320|      0|      yr_free(entry->key);
  321|      0|      yr_free(entry);
  322|       |
  323|      0|      return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
  324|      0|    }
  325|  28.0k|  }
  326|  54.2k|  else
  327|  54.2k|  {
  328|  54.2k|    entry->ns = NULL;
  329|  54.2k|  }
  330|       |
  331|  82.3k|  entry->key_length = key_length;
  332|  82.3k|  entry->value = value;
  333|       |
  334|  82.3k|  memcpy(entry->key, key, key_length);
  335|       |
  336|  82.3k|  bucket_index = yr_hash(0, key, key_length);
  337|       |
  338|  82.3k|  if (ns != NULL)
  ------------------
  |  Branch (338:7): [True: 28.0k, False: 54.2k]
  ------------------
  339|  28.0k|    bucket_index = yr_hash(bucket_index, (uint8_t*) ns, strlen(ns));
  340|       |
  341|  82.3k|  bucket_index = bucket_index % table->size;
  342|       |
  343|  82.3k|  entry->next = table->buckets[bucket_index];
  344|  82.3k|  table->buckets[bucket_index] = entry;
  345|       |
  346|  82.3k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  82.3k|#define ERROR_SUCCESS 0
  ------------------
  347|  82.3k|}
yr_hash_table_lookup:
  353|  45.0k|{
  354|  45.0k|  return yr_hash_table_lookup_raw_key(table, (void*) key, strlen(key), ns);
  355|  45.0k|}
yr_hash_table_add:
  370|    832|{
  371|    832|  return yr_hash_table_add_raw_key(table, (void*) key, strlen(key), ns, value);
  372|    832|}
yr_hash_table_add_uint32:
  379|  29.1k|{
  380|  29.1k|  return yr_hash_table_add_uint32_raw_key(
  381|  29.1k|      table, (void*) key, strlen(key), ns, value);
  382|  29.1k|}
yr_hash_table_lookup_uint32:
  388|   100k|{
  389|   100k|  return yr_hash_table_lookup_uint32_raw_key(
  390|   100k|      table, (void*) key, strlen(key), ns);
  391|   100k|}
yr_hash_table_add_uint32_raw_key:
  399|  81.4k|{
  400|       |  // Don't allow values equal to UINT32_MAX or UINT32_MAX - 1.
  401|  81.4k|  if (value >= UINT32_MAX - 1)
  ------------------
  |  Branch (401:7): [True: 0, False: 81.4k]
  ------------------
  402|      0|    return ERROR_INVALID_ARGUMENT;
  ------------------
  |  |   76|      0|#define ERROR_INVALID_ARGUMENT               29
  ------------------
  403|       |
  404|       |  // Add +1 to the value in order to avoid putting a NULL pointer in the
  405|       |  // hash table once the integer is casted to a pointer. This is undone
  406|       |  // by yr_hash_table_lookup_uint32.
  407|  81.4k|  return yr_hash_table_add_raw_key(
  408|  81.4k|      table, key, key_length, ns, (void*) (size_t) (value + 1));
  409|  81.4k|}
yr_hash_table_lookup_uint32_raw_key:
  416|   249k|{
  417|   249k|  void* ptr = yr_hash_table_lookup_raw_key(table, key, key_length, ns);
  418|       |
  419|   249k|  if (ptr == NULL)
  ------------------
  |  Branch (419:7): [True: 120k, False: 129k]
  ------------------
  420|   120k|    return UINT32_MAX;
  421|       |
  422|       |  // Remove one from the pointe in order to get the original value.
  423|       |  // See comment in yr_hash_table_add_uint32_raw_key.
  424|   129k|  return ((uint32_t) (size_t) (uint8_t*) ptr) - 1;
  425|   249k|}
hash.c:rotl32:
   41|  2.44M|{
   42|  2.44M|  assert(shift < 32);
  ------------------
  |  Branch (42:3): [True: 0, False: 2.44M]
  |  Branch (42:3): [True: 2.44M, False: 0]
  ------------------
   43|  2.44M|  return (x << shift) | (x >> (-shift & 31));
   44|  2.44M|}
hash.c:_yr_hash_table_lookup:
  124|   294k|{
  125|   294k|  YR_HASH_TABLE_ENTRY* entry;
  126|   294k|  YR_HASH_TABLE_ENTRY* prev_entry;
  127|       |
  128|   294k|  void* result;
  129|       |
  130|   294k|  uint32_t bucket_index = yr_hash(0, key, key_length);
  131|       |
  132|   294k|  if (ns != NULL)
  ------------------
  |  Branch (132:7): [True: 69.0k, False: 225k]
  ------------------
  133|  69.0k|    bucket_index = yr_hash(bucket_index, (uint8_t*) ns, strlen(ns));
  134|       |
  135|   294k|  bucket_index = bucket_index % table->size;
  136|   294k|  prev_entry = NULL;
  137|   294k|  entry = table->buckets[bucket_index];
  138|       |
  139|   296k|  while (entry != NULL)
  ------------------
  |  Branch (139:10): [True: 134k, False: 162k]
  ------------------
  140|   134k|  {
  141|   134k|    int key_match =
  142|   134k|        ((entry->key_length == key_length) &&
  ------------------
  |  Branch (142:10): [True: 133k, False: 837]
  ------------------
  143|   133k|         (memcmp(entry->key, key, key_length) == 0));
  ------------------
  |  Branch (143:10): [True: 132k, False: 586]
  ------------------
  144|       |
  145|   134k|    int ns_match =
  146|   134k|        ((entry->ns == ns) ||
  ------------------
  |  Branch (146:10): [True: 97.9k, False: 36.1k]
  ------------------
  147|  36.1k|         (entry->ns != NULL && ns != NULL && strcmp(entry->ns, ns) == 0));
  ------------------
  |  Branch (147:11): [True: 36.1k, False: 0]
  |  Branch (147:32): [True: 35.7k, False: 477]
  |  Branch (147:46): [True: 35.7k, False: 0]
  ------------------
  148|       |
  149|   134k|    if (key_match && ns_match)
  ------------------
  |  Branch (149:9): [True: 132k, False: 1.42k]
  |  Branch (149:22): [True: 132k, False: 0]
  ------------------
  150|   132k|    {
  151|   132k|      result = entry->value;
  152|       |
  153|   132k|      if (remove)
  ------------------
  |  Branch (153:11): [True: 0, False: 132k]
  ------------------
  154|      0|      {
  155|      0|        if (prev_entry == NULL)
  ------------------
  |  Branch (155:13): [True: 0, False: 0]
  ------------------
  156|      0|          table->buckets[bucket_index] = entry->next;
  157|      0|        else
  158|      0|          prev_entry->next = entry->next;
  159|       |
  160|      0|        if (entry->ns != NULL)
  ------------------
  |  Branch (160:13): [True: 0, False: 0]
  ------------------
  161|      0|          yr_free(entry->ns);
  162|       |
  163|      0|        yr_free(entry->key);
  164|      0|        yr_free(entry);
  165|      0|      }
  166|       |
  167|   132k|      return result;
  168|   132k|    }
  169|       |
  170|  1.42k|    prev_entry = entry;
  171|  1.42k|    entry = entry->next;
  172|  1.42k|  }
  173|       |
  174|   162k|  return NULL;
  175|   294k|}

hex_yyparse:
 1008|  2.27k|{
 1009|       |/* Lookahead token kind.  */
 1010|  2.27k|int yychar;
 1011|       |
 1012|       |
 1013|       |/* The semantic value of the lookahead symbol.  */
 1014|       |/* Default value used for initialization, for pacifying older GCCs
 1015|       |   or non-GCC compilers.  */
 1016|  2.27k|YY_INITIAL_VALUE (static YYSTYPE yyval_default;)
  ------------------
  |  |  411|  2.27k|# define YY_INITIAL_VALUE(Value) Value
  ------------------
 1017|  2.27k|YYSTYPE yylval YY_INITIAL_VALUE (= yyval_default);
  ------------------
  |  |  411|  2.27k|# define YY_INITIAL_VALUE(Value) Value
  ------------------
 1018|       |
 1019|       |    /* Number of syntax errors so far.  */
 1020|  2.27k|    int yynerrs = 0;
 1021|       |
 1022|  2.27k|    yy_state_fast_t yystate = 0;
 1023|       |    /* Number of tokens to shift before error messages enabled.  */
 1024|  2.27k|    int yyerrstatus = 0;
 1025|       |
 1026|       |    /* Refer to the stacks through separate pointers, to allow yyoverflow
 1027|       |       to reallocate them elsewhere.  */
 1028|       |
 1029|       |    /* Their size.  */
 1030|  2.27k|    YYPTRDIFF_T yystacksize = YYINITDEPTH;
  ------------------
  |  |  318|  2.27k|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
                  YYPTRDIFF_T yystacksize = YYINITDEPTH;
  ------------------
  |  |  912|  2.27k|# define YYINITDEPTH 200
  ------------------
 1031|       |
 1032|       |    /* The state stack: array, bottom, top.  */
 1033|  2.27k|    yy_state_t yyssa[YYINITDEPTH];
 1034|  2.27k|    yy_state_t *yyss = yyssa;
 1035|  2.27k|    yy_state_t *yyssp = yyss;
 1036|       |
 1037|       |    /* The semantic value stack: array, bottom, top.  */
 1038|  2.27k|    YYSTYPE yyvsa[YYINITDEPTH];
 1039|  2.27k|    YYSTYPE *yyvs = yyvsa;
 1040|  2.27k|    YYSTYPE *yyvsp = yyvs;
 1041|       |
 1042|  2.27k|  int yyn;
 1043|       |  /* The return value of yyparse.  */
 1044|  2.27k|  int yyresult;
 1045|       |  /* Lookahead symbol kind.  */
 1046|  2.27k|  yysymbol_kind_t yytoken = YYSYMBOL_YYEMPTY;
 1047|       |  /* The variables used to return semantic value and location from the
 1048|       |     action routines.  */
 1049|  2.27k|  YYSTYPE yyval;
 1050|       |
 1051|       |
 1052|       |
 1053|  2.27k|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
 1054|       |
 1055|       |  /* The number of symbols on the RHS of the reduced rule.
 1056|       |     Keep to zero when no symbol should be popped.  */
 1057|  2.27k|  int yylen = 0;
 1058|       |
 1059|  2.27k|  YYDPRINTF ((stderr, "Starting parse\n"));
  ------------------
  |  |  903|  2.27k|# define YYDPRINTF(Args) ((void) 0)
  ------------------
 1060|       |
 1061|  2.27k|  yychar = YYEMPTY; /* Cause a token to be read.  */
  ------------------
  |  |   50|  2.27k|#define yychar       hex_yychar
  ------------------
                yychar = YYEMPTY; /* Cause a token to be read.  */
  ------------------
  |  |   66|  2.27k|#define YYEMPTY -2
  ------------------
 1062|       |
 1063|  2.27k|  goto yysetstate;
 1064|       |
 1065|       |
 1066|       |/*------------------------------------------------------------.
 1067|       || yynewstate -- push a new state, which is found in yystate.  |
 1068|       |`------------------------------------------------------------*/
 1069|   811k|yynewstate:
 1070|       |  /* In all cases, when you get here, the value and location stacks
 1071|       |     have just been pushed.  So pushing a state here evens the stacks.  */
 1072|   811k|  yyssp++;
 1073|       |
 1074|       |
 1075|       |/*--------------------------------------------------------------------.
 1076|       || yysetstate -- set current state (the top of the stack) to yystate.  |
 1077|       |`--------------------------------------------------------------------*/
 1078|   813k|yysetstate:
 1079|   813k|  YYDPRINTF ((stderr, "Entering state %d\n", yystate));
  ------------------
  |  |  903|   813k|# define YYDPRINTF(Args) ((void) 0)
  ------------------
 1080|   813k|  YY_ASSERT (0 <= yystate && yystate < YYNSTATES);
  ------------------
  |  |  434|   813k|#define YY_ASSERT(E) ((void) (0 && (E)))
  |  |  ------------------
  |  |  |  Branch (434:31): [Folded, False: 813k]
  |  |  |  Branch (434:37): [True: 0, False: 0]
  |  |  |  Branch (434:37): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1081|   813k|  YY_IGNORE_USELESS_CAST_BEGIN
 1082|   813k|  *yyssp = YY_CAST (yy_state_t, yystate);
  ------------------
  |  |  129|   813k|#   define YY_CAST(Type, Val) ((Type) (Val))
  ------------------
 1083|   813k|  YY_IGNORE_USELESS_CAST_END
 1084|   813k|  YY_STACK_PRINT (yyss, yyssp);
 1085|       |
 1086|   813k|  if (yyss + yystacksize - 1 <= yyssp)
  ------------------
  |  Branch (1086:7): [True: 415, False: 813k]
  ------------------
 1087|       |#if !defined yyoverflow && !defined YYSTACK_RELOCATE
 1088|       |    YYNOMEM;
 1089|       |#else
 1090|    415|    {
 1091|       |      /* Get the current used size of the three stacks, in elements.  */
 1092|    415|      YYPTRDIFF_T yysize = yyssp - yyss + 1;
  ------------------
  |  |  318|    415|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 1093|       |
 1094|       |# if defined yyoverflow
 1095|       |      {
 1096|       |        /* Give user a chance to reallocate the stack.  Use copies of
 1097|       |           these so that the &'s don't force the real ones into
 1098|       |           memory.  */
 1099|       |        yy_state_t *yyss1 = yyss;
 1100|       |        YYSTYPE *yyvs1 = yyvs;
 1101|       |
 1102|       |        /* Each stack pointer address is followed by the size of the
 1103|       |           data in use in that stack, in bytes.  This used to be a
 1104|       |           conditional around just the two extra args, but that might
 1105|       |           be undefined if yyoverflow is a macro.  */
 1106|       |        yyoverflow (YY_("memory exhausted"),
 1107|       |                    &yyss1, yysize * YYSIZEOF (*yyssp),
 1108|       |                    &yyvs1, yysize * YYSIZEOF (*yyvsp),
 1109|       |                    &yystacksize);
 1110|       |        yyss = yyss1;
 1111|       |        yyvs = yyvs1;
 1112|       |      }
 1113|       |# else /* defined YYSTACK_RELOCATE */
 1114|       |      /* Extend the stack our own way.  */
 1115|    415|      if (YYMAXDEPTH <= yystacksize)
  ------------------
  |  |  923|    415|# define YYMAXDEPTH 10000
  ------------------
  |  Branch (1115:11): [True: 10, False: 405]
  ------------------
 1116|     10|        YYNOMEM;
  ------------------
  |  |  754|     10|#define YYNOMEM         goto yyexhaustedlab
  ------------------
 1117|    405|      yystacksize *= 2;
 1118|    405|      if (YYMAXDEPTH < yystacksize)
  ------------------
  |  |  923|    405|# define YYMAXDEPTH 10000
  ------------------
  |  Branch (1118:11): [True: 24, False: 381]
  ------------------
 1119|     24|        yystacksize = YYMAXDEPTH;
  ------------------
  |  |  923|     24|# define YYMAXDEPTH 10000
  ------------------
 1120|       |
 1121|    405|      {
 1122|    405|        yy_state_t *yyss1 = yyss;
 1123|    405|        union yyalloc *yyptr =
 1124|    405|          YY_CAST (union yyalloc *,
  ------------------
  |  |  129|    405|#   define YY_CAST(Type, Val) ((Type) (Val))
  ------------------
 1125|    405|                   YYSTACK_ALLOC (YY_CAST (YYSIZE_T, YYSTACK_BYTES (yystacksize))));
 1126|    405|        if (! yyptr)
  ------------------
  |  Branch (1126:13): [True: 0, False: 405]
  ------------------
 1127|      0|          YYNOMEM;
  ------------------
  |  |  754|      0|#define YYNOMEM         goto yyexhaustedlab
  ------------------
 1128|    405|        YYSTACK_RELOCATE (yyss_alloc, yyss);
  ------------------
  |  |  531|    405|    do                                                                  \
  |  |  532|    405|      {                                                                 \
  |  |  533|    405|        YYPTRDIFF_T yynewbytes;                                         \
  |  |  ------------------
  |  |  |  |  318|    405|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  |  |  ------------------
  |  |  534|    405|        YYCOPY (&yyptr->Stack_alloc, Stack, yysize);                    \
  |  |  ------------------
  |  |  |  |  549|    405|      __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  129|    405|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  535|    405|        Stack = &yyptr->Stack_alloc;                                    \
  |  |  536|    405|        yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  |  351|    405|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  129|    405|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  |  515|    405|# define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|    405|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  129|    405|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  537|    405|        yyptr += yynewbytes / YYSIZEOF (*yyptr);                        \
  |  |  ------------------
  |  |  |  |  351|    405|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  129|    405|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  538|    405|      }                                                                 \
  |  |  539|    405|    while (0)
  |  |  ------------------
  |  |  |  Branch (539:12): [Folded, False: 405]
  |  |  ------------------
  ------------------
 1129|    405|        YYSTACK_RELOCATE (yyvs_alloc, yyvs);
  ------------------
  |  |  531|    405|    do                                                                  \
  |  |  532|    405|      {                                                                 \
  |  |  533|    405|        YYPTRDIFF_T yynewbytes;                                         \
  |  |  ------------------
  |  |  |  |  318|    405|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  |  |  ------------------
  |  |  534|    405|        YYCOPY (&yyptr->Stack_alloc, Stack, yysize);                    \
  |  |  ------------------
  |  |  |  |  549|    405|      __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  129|    405|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  535|    405|        Stack = &yyptr->Stack_alloc;                                    \
  |  |  536|    405|        yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  |  351|    405|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  129|    405|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  |  515|    405|# define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  351|    405|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  129|    405|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  537|    405|        yyptr += yynewbytes / YYSIZEOF (*yyptr);                        \
  |  |  ------------------
  |  |  |  |  351|    405|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  129|    405|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  538|    405|      }                                                                 \
  |  |  539|    405|    while (0)
  |  |  ------------------
  |  |  |  Branch (539:12): [Folded, False: 405]
  |  |  ------------------
  ------------------
 1130|    405|#  undef YYSTACK_RELOCATE
 1131|    405|        if (yyss1 != yyssa)
  ------------------
  |  Branch (1131:13): [True: 284, False: 121]
  ------------------
 1132|    284|          YYSTACK_FREE (yyss1);
  ------------------
  |  |  476|    284|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  |   95|    284|#define YYFREE yr_free
  |  |  ------------------
  ------------------
 1133|    405|      }
 1134|      0|# endif
 1135|       |
 1136|      0|      yyssp = yyss + yysize - 1;
 1137|    405|      yyvsp = yyvs + yysize - 1;
 1138|       |
 1139|    405|      YY_IGNORE_USELESS_CAST_BEGIN
 1140|    405|      YYDPRINTF ((stderr, "Stack size increased to %ld\n",
  ------------------
  |  |  903|    405|# define YYDPRINTF(Args) ((void) 0)
  ------------------
 1141|    405|                  YY_CAST (long, yystacksize)));
 1142|    405|      YY_IGNORE_USELESS_CAST_END
 1143|       |
 1144|    405|      if (yyss + yystacksize - 1 <= yyssp)
  ------------------
  |  Branch (1144:11): [True: 0, False: 405]
  ------------------
 1145|      0|        YYABORT;
  ------------------
  |  |  752|      0|#define YYABORT         goto yyabortlab
  ------------------
 1146|    405|    }
 1147|   813k|#endif /* !defined yyoverflow && !defined YYSTACK_RELOCATE */
 1148|       |
 1149|       |
 1150|   813k|  if (yystate == YYFINAL)
  ------------------
  |  |  564|   813k|#define YYFINAL  11
  ------------------
  |  Branch (1150:7): [True: 1.29k, False: 812k]
  ------------------
 1151|  1.29k|    YYACCEPT;
  ------------------
  |  |  751|  1.29k|#define YYACCEPT        goto yyacceptlab
  ------------------
 1152|       |
 1153|   812k|  goto yybackup;
 1154|       |
 1155|       |
 1156|       |/*-----------.
 1157|       || yybackup.  |
 1158|       |`-----------*/
 1159|   812k|yybackup:
 1160|       |  /* Do appropriate processing given the current state.  Read a
 1161|       |     lookahead token if we need one and don't already have one.  */
 1162|       |
 1163|       |  /* First try to decide what to do without reference to lookahead token.  */
 1164|   812k|  yyn = yypact[yystate];
 1165|   812k|  if (yypact_value_is_default (yyn))
  ------------------
  |  |  660|   812k|  ((Yyn) == YYPACT_NINF)
  |  |  ------------------
  |  |  |  |  657|   812k|#define YYPACT_NINF (-13)
  |  |  ------------------
  |  |  |  Branch (660:3): [True: 443k, False: 369k]
  |  |  ------------------
  ------------------
 1166|   443k|    goto yydefault;
 1167|       |
 1168|       |  /* Not known => get a lookahead token if don't already have one.  */
 1169|       |
 1170|       |  /* YYCHAR is either empty, or end-of-input, or a valid lookahead.  */
 1171|   369k|  if (yychar == YYEMPTY)
  ------------------
  |  |   50|   369k|#define yychar       hex_yychar
  ------------------
                if (yychar == YYEMPTY)
  ------------------
  |  |   66|   369k|#define YYEMPTY -2
  ------------------
  |  Branch (1171:7): [True: 285k, False: 84.1k]
  ------------------
 1172|   285k|    {
 1173|   285k|      YYDPRINTF ((stderr, "Reading a token\n"));
  ------------------
  |  |  903|   285k|# define YYDPRINTF(Args) ((void) 0)
  ------------------
 1174|   285k|      yychar = yylex (&yylval, yyscanner, lex_env);
  ------------------
  |  |   50|   285k|#define yychar       hex_yychar
  ------------------
                    yychar = yylex (&yylval, yyscanner, lex_env);
  ------------------
  |  |   47|   285k|#define yylex        hex_yylex
  ------------------
 1175|   285k|    }
 1176|       |
 1177|   369k|  if (yychar <= YYEOF)
  ------------------
  |  |   50|   369k|#define yychar       hex_yychar
  ------------------
                if (yychar <= YYEOF)
  ------------------
  |  |   67|   369k|#define YYEOF 0
  ------------------
  |  Branch (1177:7): [True: 1.86k, False: 367k]
  ------------------
 1178|  1.86k|    {
 1179|  1.86k|      yychar = YYEOF;
  ------------------
  |  |   50|  1.86k|#define yychar       hex_yychar
  ------------------
                    yychar = YYEOF;
  ------------------
  |  |   67|  1.86k|#define YYEOF 0
  ------------------
 1180|  1.86k|      yytoken = YYSYMBOL_YYEOF;
 1181|  1.86k|      YYDPRINTF ((stderr, "Now at end of input.\n"));
  ------------------
  |  |  903|  1.86k|# define YYDPRINTF(Args) ((void) 0)
  ------------------
 1182|  1.86k|    }
 1183|   367k|  else if (yychar == YYerror)
  ------------------
  |  |   50|   367k|#define yychar       hex_yychar
  ------------------
                else if (yychar == YYerror)
  ------------------
  |  |   68|   367k|#define YYerror 256
  ------------------
  |  Branch (1183:12): [True: 0, False: 367k]
  ------------------
 1184|      0|    {
 1185|       |      /* The scanner already issued an error message, process directly
 1186|       |         to error recovery.  But do not keep the error token as
 1187|       |         lookahead, it is too special and may lead us to an endless
 1188|       |         loop in error recovery. */
 1189|      0|      yychar = YYUNDEF;
  ------------------
  |  |   50|      0|#define yychar       hex_yychar
  ------------------
                    yychar = YYUNDEF;
  ------------------
  |  |   69|      0|#define YYUNDEF 257
  ------------------
 1190|      0|      yytoken = YYSYMBOL_YYerror;
 1191|      0|      goto yyerrlab1;
 1192|      0|    }
 1193|   367k|  else
 1194|   367k|    {
 1195|   367k|      yytoken = YYTRANSLATE (yychar);
  ------------------
  |  |  584|   367k|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  |  578|   367k|#define YYMAXUTOK   262
  |  |  ------------------
  |  |  |  Branch (584:4): [True: 367k, False: 0]
  |  |  |  Branch (584:18): [True: 367k, False: 0]
  |  |  ------------------
  |  |  585|   367k|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  129|   367k|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  ------------------
  |  |  586|   367k|   : YYSYMBOL_YYUNDEF)
  ------------------
 1196|   367k|      YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
 1197|   367k|    }
 1198|       |
 1199|       |  /* If the proper action on seeing token YYTOKEN is to reduce or to
 1200|       |     detect an error, take that action.  */
 1201|   369k|  yyn += yytoken;
 1202|   369k|  if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
  ------------------
  |  |  566|   365k|#define YYLAST   35
  ------------------
  |  Branch (1202:7): [True: 3.34k, False: 365k]
  |  Branch (1202:18): [True: 0, False: 365k]
  |  Branch (1202:34): [True: 71.6k, False: 294k]
  ------------------
 1203|  75.0k|    goto yydefault;
 1204|   294k|  yyn = yytable[yyn];
 1205|   294k|  if (yyn <= 0)
  ------------------
  |  Branch (1205:7): [True: 9.87k, False: 284k]
  ------------------
 1206|  9.87k|    {
 1207|  9.87k|      if (yytable_value_is_error (yyn))
  ------------------
  |  |  665|  9.87k|  0
  |  |  ------------------
  |  |  |  Branch (665:3): [Folded, False: 9.87k]
  |  |  ------------------
  ------------------
 1208|      0|        goto yyerrlab;
 1209|  9.87k|      yyn = -yyn;
 1210|  9.87k|      goto yyreduce;
 1211|  9.87k|    }
 1212|       |
 1213|       |  /* Count tokens shifted since error; after three, turn off error
 1214|       |     status.  */
 1215|   284k|  if (yyerrstatus)
  ------------------
  |  Branch (1215:7): [True: 0, False: 284k]
  ------------------
 1216|      0|    yyerrstatus--;
 1217|       |
 1218|       |  /* Shift the lookahead token.  */
 1219|   284k|  YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
 1220|   284k|  yystate = yyn;
 1221|   284k|  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 1222|   284k|  *++yyvsp = yylval;
 1223|   284k|  YY_IGNORE_MAYBE_UNINITIALIZED_END
 1224|       |
 1225|       |  /* Discard the shifted token.  */
 1226|   284k|  yychar = YYEMPTY;
  ------------------
  |  |   50|   284k|#define yychar       hex_yychar
  ------------------
                yychar = YYEMPTY;
  ------------------
  |  |   66|   284k|#define YYEMPTY -2
  ------------------
 1227|   284k|  goto yynewstate;
 1228|       |
 1229|       |
 1230|       |/*-----------------------------------------------------------.
 1231|       || yydefault -- do the default action for the current state.  |
 1232|       |`-----------------------------------------------------------*/
 1233|   518k|yydefault:
 1234|   518k|  yyn = yydefact[yystate];
 1235|   518k|  if (yyn == 0)
  ------------------
  |  Branch (1235:7): [True: 719, False: 517k]
  ------------------
 1236|    719|    goto yyerrlab;
 1237|   517k|  goto yyreduce;
 1238|       |
 1239|       |
 1240|       |/*-----------------------------.
 1241|       || yyreduce -- do a reduction.  |
 1242|       |`-----------------------------*/
 1243|   527k|yyreduce:
 1244|       |  /* yyn is the number of a rule to reduce with.  */
 1245|   527k|  yylen = yyr2[yyn];
 1246|       |
 1247|       |  /* If YYLEN is nonzero, implement the default value of the action:
 1248|       |     '$$ = $1'.
 1249|       |
 1250|       |     Otherwise, the following line sets YYVAL to garbage.
 1251|       |     This behavior is undocumented and Bison
 1252|       |     users should not rely upon it.  Assigning to YYVAL
 1253|       |     unconditionally makes the parser a bit smaller, and it avoids a
 1254|       |     GCC warning that YYVAL may be used uninitialized.  */
 1255|   527k|  yyval = yyvsp[1-yylen];
 1256|       |
 1257|       |
 1258|   527k|  YY_REDUCE_PRINT (yyn);
 1259|   527k|  switch (yyn)
 1260|   527k|    {
 1261|  1.29k|  case 2: /* hex_string: '{' tokens '}'  */
  ------------------
  |  Branch (1261:3): [True: 1.29k, False: 526k]
  ------------------
 1262|  1.29k|#line 108 "hex_grammar.y"
 1263|  1.29k|      {
 1264|  1.29k|        RE_AST* re_ast = yyget_extra(yyscanner);
  ------------------
  |  |   53|  1.29k|#define yyget_extra  hex_yyget_extra
  ------------------
 1265|  1.29k|        re_ast->root_node = (yyvsp[-1].re_node);
 1266|  1.29k|      }
 1267|  1.29k|#line 1260 "hex_grammar.c"
 1268|  1.29k|    break;
 1269|       |
 1270|  4.40k|  case 3: /* tokens: token  */
  ------------------
  |  Branch (1270:3): [True: 4.40k, False: 523k]
  ------------------
 1271|  4.40k|#line 117 "hex_grammar.y"
 1272|  4.40k|      {
 1273|  4.40k|        (yyval.re_node) = (yyvsp[0].re_node);
 1274|  4.40k|      }
 1275|  4.40k|#line 1268 "hex_grammar.c"
 1276|  4.40k|    break;
 1277|       |
 1278|  2.08k|  case 4: /* tokens: token token  */
  ------------------
  |  Branch (1278:3): [True: 2.08k, False: 525k]
  ------------------
 1279|  2.08k|#line 121 "hex_grammar.y"
 1280|  2.08k|      {
 1281|  2.08k|        (yyval.re_node) = yr_re_node_create(RE_NODE_CONCAT);
  ------------------
  |  |   44|  2.08k|#define RE_NODE_CONCAT             4
  ------------------
 1282|       |
 1283|  2.08k|        destroy_node_if((yyval.re_node) == NULL, (yyvsp[-1].re_node));
  ------------------
  |  |  108|  2.08k|    if (x) \
  |  |  ------------------
  |  |  |  Branch (108:9): [True: 0, False: 2.08k]
  |  |  ------------------
  |  |  109|  2.08k|    { \
  |  |  110|      0|      yr_re_node_destroy(node); \
  |  |  111|      0|    } \
  ------------------
 1284|  2.08k|        destroy_node_if((yyval.re_node) == NULL, (yyvsp[0].re_node));
  ------------------
  |  |  108|  2.08k|    if (x) \
  |  |  ------------------
  |  |  |  Branch (108:9): [True: 0, False: 2.08k]
  |  |  ------------------
  |  |  109|  2.08k|    { \
  |  |  110|      0|      yr_re_node_destroy(node); \
  |  |  111|      0|    } \
  ------------------
 1285|       |
 1286|  2.08k|        fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |  101|  2.08k|    if (x) \
  |  |  ------------------
  |  |  |  Branch (101:9): [True: 0, False: 2.08k]
  |  |  ------------------
  |  |  102|  2.08k|    { \
  |  |  103|      0|      lex_env->last_error = error; \
  |  |  104|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  752|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  105|      0|    } \
  ------------------
 1287|       |
 1288|  2.08k|        yr_re_node_append_child((yyval.re_node), (yyvsp[-1].re_node));
 1289|  2.08k|        yr_re_node_append_child((yyval.re_node), (yyvsp[0].re_node));
 1290|  2.08k|      }
 1291|      0|#line 1284 "hex_grammar.c"
 1292|      0|    break;
 1293|       |
 1294|  7.78k|  case 5: /* tokens: token token_sequence token  */
  ------------------
  |  Branch (1294:3): [True: 7.78k, False: 519k]
  ------------------
 1295|  7.78k|#line 133 "hex_grammar.y"
 1296|  7.78k|      {
 1297|  7.78k|        yr_re_node_append_child((yyvsp[-1].re_node), (yyvsp[0].re_node));
 1298|  7.78k|        yr_re_node_prepend_child((yyvsp[-1].re_node), (yyvsp[-2].re_node));
 1299|       |
 1300|  7.78k|        (yyval.re_node) = (yyvsp[-1].re_node);
 1301|  7.78k|      }
 1302|  7.78k|#line 1295 "hex_grammar.c"
 1303|  7.78k|    break;
 1304|       |
 1305|  8.62k|  case 6: /* token_sequence: token_or_range  */
  ------------------
  |  Branch (1305:3): [True: 8.62k, False: 518k]
  ------------------
 1306|  8.62k|#line 144 "hex_grammar.y"
 1307|  8.62k|      {
 1308|  8.62k|        (yyval.re_node) = yr_re_node_create(RE_NODE_CONCAT);
  ------------------
  |  |   44|  8.62k|#define RE_NODE_CONCAT             4
  ------------------
 1309|       |
 1310|  8.62k|        destroy_node_if((yyval.re_node) == NULL, (yyvsp[0].re_node));
  ------------------
  |  |  108|  8.62k|    if (x) \
  |  |  ------------------
  |  |  |  Branch (108:9): [True: 0, False: 8.62k]
  |  |  ------------------
  |  |  109|  8.62k|    { \
  |  |  110|      0|      yr_re_node_destroy(node); \
  |  |  111|      0|    } \
  ------------------
 1311|  8.62k|        fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |  101|  8.62k|    if (x) \
  |  |  ------------------
  |  |  |  Branch (101:9): [True: 0, False: 8.62k]
  |  |  ------------------
  |  |  102|  8.62k|    { \
  |  |  103|      0|      lex_env->last_error = error; \
  |  |  104|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  752|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  105|      0|    } \
  ------------------
 1312|       |
 1313|  8.62k|        yr_re_node_append_child((yyval.re_node), (yyvsp[0].re_node));
 1314|  8.62k|      }
 1315|      0|#line 1308 "hex_grammar.c"
 1316|      0|    break;
 1317|       |
 1318|  63.9k|  case 7: /* token_sequence: token_sequence token_or_range  */
  ------------------
  |  Branch (1318:3): [True: 63.9k, False: 463k]
  ------------------
 1319|  63.9k|#line 153 "hex_grammar.y"
 1320|  63.9k|      {
 1321|  63.9k|        yr_re_node_append_child((yyvsp[-1].re_node), (yyvsp[0].re_node));
 1322|  63.9k|        (yyval.re_node) = (yyvsp[-1].re_node);
 1323|  63.9k|      }
 1324|  63.9k|#line 1317 "hex_grammar.c"
 1325|  63.9k|    break;
 1326|       |
 1327|  69.8k|  case 8: /* token_or_range: token  */
  ------------------
  |  Branch (1327:3): [True: 69.8k, False: 457k]
  ------------------
 1328|  69.8k|#line 162 "hex_grammar.y"
 1329|  69.8k|      {
 1330|  69.8k|        (yyval.re_node) = (yyvsp[0].re_node);
 1331|  69.8k|      }
 1332|  69.8k|#line 1325 "hex_grammar.c"
 1333|  69.8k|    break;
 1334|       |
 1335|  2.69k|  case 9: /* token_or_range: range  */
  ------------------
  |  Branch (1335:3): [True: 2.69k, False: 524k]
  ------------------
 1336|  2.69k|#line 166 "hex_grammar.y"
 1337|  2.69k|      {
 1338|  2.69k|        (yyval.re_node) = (yyvsp[0].re_node);
 1339|  2.69k|        (yyval.re_node)->greedy = false;
 1340|  2.69k|      }
 1341|  2.69k|#line 1334 "hex_grammar.c"
 1342|  2.69k|    break;
 1343|       |
 1344|  92.1k|  case 10: /* token: byte  */
  ------------------
  |  Branch (1344:3): [True: 92.1k, False: 435k]
  ------------------
 1345|  92.1k|#line 175 "hex_grammar.y"
 1346|  92.1k|      {
 1347|  92.1k|        (yyval.re_node) = (yyvsp[0].re_node);
 1348|  92.1k|      }
 1349|  92.1k|#line 1342 "hex_grammar.c"
 1350|  92.1k|    break;
 1351|       |
 1352|   163k|  case 11: /* $@1: %empty  */
  ------------------
  |  Branch (1352:3): [True: 163k, False: 364k]
  ------------------
 1353|   163k|#line 179 "hex_grammar.y"
 1354|   163k|      {
 1355|   163k|        lex_env->inside_or++;
 1356|   163k|      }
 1357|   163k|#line 1350 "hex_grammar.c"
 1358|   163k|    break;
 1359|       |
 1360|  3.32k|  case 12: /* token: '(' $@1 alternatives ')'  */
  ------------------
  |  Branch (1360:3): [True: 3.32k, False: 524k]
  ------------------
 1361|  3.32k|#line 191 "hex_grammar.y"
 1362|  3.32k|      {
 1363|  3.32k|        fail_if_too_many_ast_levels({
  ------------------
  |  |  114|  3.32k|    if (((RE_AST*) yyget_extra(yyscanner))->levels++ > RE_MAX_AST_LEVELS) \
  |  |  ------------------
  |  |  |  |   53|  3.32k|#define yyget_extra  hex_yyget_extra
  |  |  ------------------
  |  |                   if (((RE_AST*) yyget_extra(yyscanner))->levels++ > RE_MAX_AST_LEVELS) \
  |  |  ------------------
  |  |  |  |  195|  3.32k|#define RE_MAX_AST_LEVELS 2000
  |  |  ------------------
  |  |  |  Branch (114:9): [True: 1, False: 3.32k]
  |  |  ------------------
  |  |  115|  3.32k|    { \
  |  |  116|      1|      { cleanup_code } \
  |  |  117|      1|      lex_env->last_error = ERROR_REGULAR_EXPRESSION_TOO_COMPLEX; \
  |  |  ------------------
  |  |  |  |   96|      1|#define ERROR_REGULAR_EXPRESSION_TOO_COMPLEX 49
  |  |  ------------------
  |  |  118|      1|      YYABORT; \
  |  |  ------------------
  |  |  |  |  752|      1|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  119|      1|    }
  ------------------
 1364|  3.32k|          yr_re_node_destroy((yyvsp[-1].re_node));
 1365|  3.32k|        });
 1366|       |
 1367|  3.32k|        (yyval.re_node) = (yyvsp[-1].re_node);
 1368|  3.32k|        lex_env->inside_or--;
 1369|  3.32k|      }
 1370|      0|#line 1371 "hex_grammar.c"
 1371|      0|    break;
 1372|       |
 1373|  1.29k|  case 13: /* range: '[' _NUMBER_ ']'  */
  ------------------
  |  Branch (1373:3): [True: 1.29k, False: 526k]
  ------------------
 1374|  1.29k|#line 192 "hex_grammar.y"
 1375|  1.29k|      {
 1376|  1.29k|        if ((yyvsp[-1].integer) <= 0)
  ------------------
  |  Branch (1376:13): [True: 13, False: 1.28k]
  ------------------
 1377|     13|        {
 1378|     13|          yyerror(yyscanner, lex_env, "invalid jump length");
  ------------------
  |  |   48|     13|#define yyerror      hex_yyerror
  ------------------
 1379|     13|          YYABORT;
  ------------------
  |  |  752|     13|#define YYABORT         goto yyabortlab
  ------------------
 1380|     13|        }
 1381|       |
 1382|  1.28k|        if (lex_env->inside_or && (yyvsp[-1].integer) > YR_STRING_CHAINING_THRESHOLD)
  ------------------
  |  |  142|    111|#define YR_STRING_CHAINING_THRESHOLD 200
  ------------------
  |  Branch (1382:13): [True: 111, False: 1.16k]
  |  Branch (1382:35): [True: 18, False: 93]
  ------------------
 1383|     18|        {
 1384|     18|          yyerror(yyscanner, lex_env, "jumps over "
  ------------------
  |  |   48|     18|#define yyerror      hex_yyerror
  ------------------
 1385|     18|              STR(YR_STRING_CHAINING_THRESHOLD)
 1386|     18|              " not allowed inside alternation (|)");
 1387|     18|          YYABORT;
  ------------------
  |  |  752|     18|#define YYABORT         goto yyabortlab
  ------------------
 1388|     18|        }
 1389|       |
 1390|       |        // A jump of one is equivalent to ??
 1391|  1.26k|        if ((yyvsp[-1].integer) == 1)
  ------------------
  |  Branch (1391:13): [True: 381, False: 881]
  ------------------
 1392|    381|        {
 1393|    381|          (yyval.re_node) = yr_re_node_create(RE_NODE_MASKED_LITERAL);
  ------------------
  |  |   42|    381|#define RE_NODE_MASKED_LITERAL     2
  ------------------
 1394|       |
 1395|    381|          fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |  101|    381|    if (x) \
  |  |  ------------------
  |  |  |  Branch (101:9): [True: 0, False: 381]
  |  |  ------------------
  |  |  102|    381|    { \
  |  |  103|      0|      lex_env->last_error = error; \
  |  |  104|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  752|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  105|      0|    } \
  ------------------
 1396|       |
 1397|    381|          (yyval.re_node)->value = 0x00;
 1398|    381|          (yyval.re_node)->mask = 0x00;
 1399|    381|        }
 1400|    881|        else
 1401|    881|        {
 1402|    881|          (yyval.re_node) = yr_re_node_create(RE_NODE_RANGE_ANY);
  ------------------
  |  |   61|    881|#define RE_NODE_RANGE_ANY          21
  ------------------
 1403|       |
 1404|    881|          fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |  101|    881|    if (x) \
  |  |  ------------------
  |  |  |  Branch (101:9): [True: 0, False: 881]
  |  |  ------------------
  |  |  102|    881|    { \
  |  |  103|      0|      lex_env->last_error = error; \
  |  |  104|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  752|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  105|      0|    } \
  ------------------
 1405|       |
 1406|    881|          (yyval.re_node)->start = (int) (yyvsp[-1].integer);
 1407|    881|          (yyval.re_node)->end = (int) (yyvsp[-1].integer);
 1408|    881|        }
 1409|  1.26k|      }
 1410|  1.26k|#line 1399 "hex_grammar.c"
 1411|  1.26k|    break;
 1412|       |
 1413|  1.26k|  case 14: /* range: '[' _NUMBER_ '-' _NUMBER_ ']'  */
  ------------------
  |  Branch (1413:3): [True: 743, False: 526k]
  ------------------
 1414|    743|#line 228 "hex_grammar.y"
 1415|    743|      {
 1416|    743|        if (lex_env->inside_or &&
  ------------------
  |  Branch (1416:13): [True: 394, False: 349]
  ------------------
 1417|    394|            ((yyvsp[-3].integer) > YR_STRING_CHAINING_THRESHOLD ||
  ------------------
  |  |  142|    788|#define YR_STRING_CHAINING_THRESHOLD 200
  ------------------
  |  Branch (1417:14): [True: 66, False: 328]
  ------------------
 1418|    328|             (yyvsp[-1].integer) > YR_STRING_CHAINING_THRESHOLD) )
  ------------------
  |  |  142|    328|#define YR_STRING_CHAINING_THRESHOLD 200
  ------------------
  |  Branch (1418:14): [True: 64, False: 264]
  ------------------
 1419|    130|        {
 1420|    130|          yyerror(yyscanner, lex_env, "jumps over "
  ------------------
  |  |   48|    130|#define yyerror      hex_yyerror
  ------------------
 1421|    130|              STR(YR_STRING_CHAINING_THRESHOLD)
 1422|    130|              " not allowed inside alternation (|)");
 1423|       |
 1424|    130|          YYABORT;
  ------------------
  |  |  752|    130|#define YYABORT         goto yyabortlab
  ------------------
 1425|    130|        }
 1426|       |
 1427|    613|        if ((yyvsp[-3].integer) < 0 || (yyvsp[-1].integer) < 0)
  ------------------
  |  Branch (1427:13): [True: 0, False: 613]
  |  Branch (1427:40): [True: 0, False: 613]
  ------------------
 1428|      0|        {
 1429|      0|          yyerror(yyscanner, lex_env, "invalid negative jump length");
  ------------------
  |  |   48|      0|#define yyerror      hex_yyerror
  ------------------
 1430|      0|          YYABORT;
  ------------------
  |  |  752|      0|#define YYABORT         goto yyabortlab
  ------------------
 1431|      0|        }
 1432|       |
 1433|    613|        if ((yyvsp[-3].integer) > (yyvsp[-1].integer))
  ------------------
  |  Branch (1433:13): [True: 45, False: 568]
  ------------------
 1434|     45|        {
 1435|     45|          yyerror(yyscanner, lex_env, "invalid jump range");
  ------------------
  |  |   48|     45|#define yyerror      hex_yyerror
  ------------------
 1436|     45|          YYABORT;
  ------------------
  |  |  752|     45|#define YYABORT         goto yyabortlab
  ------------------
 1437|     45|        }
 1438|       |
 1439|    568|        (yyval.re_node) = yr_re_node_create(RE_NODE_RANGE_ANY);
  ------------------
  |  |   61|    568|#define RE_NODE_RANGE_ANY          21
  ------------------
 1440|       |
 1441|    568|        fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |  101|    568|    if (x) \
  |  |  ------------------
  |  |  |  Branch (101:9): [True: 0, False: 568]
  |  |  ------------------
  |  |  102|    568|    { \
  |  |  103|      0|      lex_env->last_error = error; \
  |  |  104|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  752|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  105|      0|    } \
  ------------------
 1442|       |
 1443|    568|        (yyval.re_node)->start = (int) (yyvsp[-3].integer);
 1444|    568|        (yyval.re_node)->end = (int) (yyvsp[-1].integer);
 1445|    568|      }
 1446|      0|#line 1435 "hex_grammar.c"
 1447|      0|    break;
 1448|       |
 1449|    377|  case 15: /* range: '[' _NUMBER_ '-' ']'  */
  ------------------
  |  Branch (1449:3): [True: 377, False: 527k]
  ------------------
 1450|    377|#line 260 "hex_grammar.y"
 1451|    377|      {
 1452|    377|        if (lex_env->inside_or)
  ------------------
  |  Branch (1452:13): [True: 21, False: 356]
  ------------------
 1453|     21|        {
 1454|     21|          yyerror(yyscanner, lex_env,
  ------------------
  |  |   48|     21|#define yyerror      hex_yyerror
  ------------------
 1455|     21|              "unbounded jumps not allowed inside alternation (|)");
 1456|     21|          YYABORT;
  ------------------
  |  |  752|     21|#define YYABORT         goto yyabortlab
  ------------------
 1457|     21|        }
 1458|       |
 1459|    356|        if ((yyvsp[-2].integer) < 0)
  ------------------
  |  Branch (1459:13): [True: 0, False: 356]
  ------------------
 1460|      0|        {
 1461|      0|          yyerror(yyscanner, lex_env, "invalid negative jump length");
  ------------------
  |  |   48|      0|#define yyerror      hex_yyerror
  ------------------
 1462|      0|          YYABORT;
  ------------------
  |  |  752|      0|#define YYABORT         goto yyabortlab
  ------------------
 1463|      0|        }
 1464|       |
 1465|    356|        (yyval.re_node) = yr_re_node_create(RE_NODE_RANGE_ANY);
  ------------------
  |  |   61|    356|#define RE_NODE_RANGE_ANY          21
  ------------------
 1466|       |
 1467|    356|        fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |  101|    356|    if (x) \
  |  |  ------------------
  |  |  |  Branch (101:9): [True: 0, False: 356]
  |  |  ------------------
  |  |  102|    356|    { \
  |  |  103|      0|      lex_env->last_error = error; \
  |  |  104|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  752|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  105|      0|    } \
  ------------------
 1468|       |
 1469|    356|        (yyval.re_node)->start = (int) (yyvsp[-2].integer);
 1470|    356|        (yyval.re_node)->end = INT_MAX;
 1471|    356|      }
 1472|      0|#line 1461 "hex_grammar.c"
 1473|      0|    break;
 1474|       |
 1475|    532|  case 16: /* range: '[' '-' ']'  */
  ------------------
  |  Branch (1475:3): [True: 532, False: 527k]
  ------------------
 1476|    532|#line 282 "hex_grammar.y"
 1477|    532|      {
 1478|    532|        if (lex_env->inside_or)
  ------------------
  |  Branch (1478:13): [True: 22, False: 510]
  ------------------
 1479|     22|        {
 1480|     22|          yyerror(yyscanner, lex_env,
  ------------------
  |  |   48|     22|#define yyerror      hex_yyerror
  ------------------
 1481|     22|              "unbounded jumps not allowed inside alternation (|)");
 1482|     22|          YYABORT;
  ------------------
  |  |  752|     22|#define YYABORT         goto yyabortlab
  ------------------
 1483|     22|        }
 1484|       |
 1485|    510|        (yyval.re_node) = yr_re_node_create(RE_NODE_RANGE_ANY);
  ------------------
  |  |   61|    510|#define RE_NODE_RANGE_ANY          21
  ------------------
 1486|       |
 1487|    510|        fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |  101|    510|    if (x) \
  |  |  ------------------
  |  |  |  Branch (101:9): [True: 0, False: 510]
  |  |  ------------------
  |  |  102|    510|    { \
  |  |  103|      0|      lex_env->last_error = error; \
  |  |  104|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  752|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  105|      0|    } \
  ------------------
 1488|       |
 1489|    510|        (yyval.re_node)->start = 0;
 1490|    510|        (yyval.re_node)->end = INT_MAX;
 1491|    510|      }
 1492|      0|#line 1481 "hex_grammar.c"
 1493|      0|    break;
 1494|       |
 1495|  3.65k|  case 17: /* alternatives: tokens  */
  ------------------
  |  Branch (1495:3): [True: 3.65k, False: 523k]
  ------------------
 1496|  3.65k|#line 302 "hex_grammar.y"
 1497|  3.65k|      {
 1498|  3.65k|          (yyval.re_node) = (yyvsp[0].re_node);
 1499|  3.65k|      }
 1500|  3.65k|#line 1489 "hex_grammar.c"
 1501|  3.65k|    break;
 1502|       |
 1503|  9.23k|  case 18: /* alternatives: alternatives '|' tokens  */
  ------------------
  |  Branch (1503:3): [True: 9.23k, False: 518k]
  ------------------
 1504|  9.23k|#line 318 "hex_grammar.y"
 1505|  9.23k|      {
 1506|  9.23k|        mark_as_not_fast_regexp();
  ------------------
  |  |   98|  9.23k|    ((RE_AST*) yyget_extra(yyscanner))->flags &= ~RE_FLAGS_FAST_REGEXP
  |  |  ------------------
  |  |  |  |   53|  9.23k|#define yyget_extra  hex_yyget_extra
  |  |  ------------------
  |  |                   ((RE_AST*) yyget_extra(yyscanner))->flags &= ~RE_FLAGS_FAST_REGEXP
  |  |  ------------------
  |  |  |  |   94|  9.23k|#define RE_FLAGS_FAST_REGEXP 0x02
  |  |  ------------------
  ------------------
 1507|       |
 1508|  9.23k|        fail_if_too_many_ast_levels({
  ------------------
  |  |  114|  9.23k|    if (((RE_AST*) yyget_extra(yyscanner))->levels++ > RE_MAX_AST_LEVELS) \
  |  |  ------------------
  |  |  |  |   53|  9.23k|#define yyget_extra  hex_yyget_extra
  |  |  ------------------
  |  |                   if (((RE_AST*) yyget_extra(yyscanner))->levels++ > RE_MAX_AST_LEVELS) \
  |  |  ------------------
  |  |  |  |  195|  9.23k|#define RE_MAX_AST_LEVELS 2000
  |  |  ------------------
  |  |  |  Branch (114:9): [True: 2, False: 9.23k]
  |  |  ------------------
  |  |  115|  9.23k|    { \
  |  |  116|      2|      { cleanup_code } \
  |  |  117|      2|      lex_env->last_error = ERROR_REGULAR_EXPRESSION_TOO_COMPLEX; \
  |  |  ------------------
  |  |  |  |   96|      2|#define ERROR_REGULAR_EXPRESSION_TOO_COMPLEX 49
  |  |  ------------------
  |  |  118|      2|      YYABORT; \
  |  |  ------------------
  |  |  |  |  752|      2|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  119|      2|    }
  ------------------
 1509|  9.23k|          yr_re_node_destroy((yyvsp[-2].re_node));
 1510|  9.23k|          yr_re_node_destroy((yyvsp[0].re_node));
 1511|  9.23k|        });
 1512|       |
 1513|  9.23k|        (yyval.re_node) = yr_re_node_create(RE_NODE_ALT);
  ------------------
  |  |   45|  9.23k|#define RE_NODE_ALT                5
  ------------------
 1514|       |
 1515|  9.23k|        destroy_node_if((yyval.re_node) == NULL, (yyvsp[-2].re_node));
  ------------------
  |  |  108|  9.23k|    if (x) \
  |  |  ------------------
  |  |  |  Branch (108:9): [True: 0, False: 9.23k]
  |  |  ------------------
  |  |  109|  9.23k|    { \
  |  |  110|      0|      yr_re_node_destroy(node); \
  |  |  111|      0|    } \
  ------------------
 1516|  9.23k|        destroy_node_if((yyval.re_node) == NULL, (yyvsp[0].re_node));
  ------------------
  |  |  108|  9.23k|    if (x) \
  |  |  ------------------
  |  |  |  Branch (108:9): [True: 0, False: 9.23k]
  |  |  ------------------
  |  |  109|  9.23k|    { \
  |  |  110|      0|      yr_re_node_destroy(node); \
  |  |  111|      0|    } \
  ------------------
 1517|       |
 1518|  9.23k|        fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |  101|  9.23k|    if (x) \
  |  |  ------------------
  |  |  |  Branch (101:9): [True: 0, False: 9.23k]
  |  |  ------------------
  |  |  102|  9.23k|    { \
  |  |  103|      0|      lex_env->last_error = error; \
  |  |  104|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  752|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  105|      0|    } \
  ------------------
 1519|       |
 1520|  9.23k|        yr_re_node_append_child((yyval.re_node), (yyvsp[-2].re_node));
 1521|  9.23k|        yr_re_node_append_child((yyval.re_node), (yyvsp[0].re_node));
 1522|  9.23k|      }
 1523|      0|#line 1524 "hex_grammar.c"
 1524|      0|    break;
 1525|       |
 1526|  68.8k|  case 19: /* byte: _BYTE_  */
  ------------------
  |  Branch (1526:3): [True: 68.8k, False: 458k]
  ------------------
 1527|  68.8k|#line 323 "hex_grammar.y"
 1528|  68.8k|      {
 1529|  68.8k|        (yyval.re_node) = yr_re_node_create(RE_NODE_LITERAL);
  ------------------
  |  |   41|  68.8k|#define RE_NODE_LITERAL            1
  ------------------
 1530|       |
 1531|  68.8k|        fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |  101|  68.8k|    if (x) \
  |  |  ------------------
  |  |  |  Branch (101:9): [True: 0, False: 68.8k]
  |  |  ------------------
  |  |  102|  68.8k|    { \
  |  |  103|      0|      lex_env->last_error = error; \
  |  |  104|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  752|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  105|      0|    } \
  ------------------
 1532|       |
 1533|  68.8k|        (yyval.re_node)->value = (int) (yyvsp[0].integer);
 1534|  68.8k|        (yyval.re_node)->mask = 0xFF;
 1535|  68.8k|      }
 1536|      0|#line 1520 "hex_grammar.c"
 1537|      0|    break;
 1538|       |
 1539|    556|  case 20: /* byte: _NOT_BYTE_  */
  ------------------
  |  Branch (1539:3): [True: 556, False: 527k]
  ------------------
 1540|    556|#line 332 "hex_grammar.y"
 1541|    556|      {
 1542|    556|        (yyval.re_node) = yr_re_node_create(RE_NODE_NOT_LITERAL);
  ------------------
  |  |   62|    556|#define RE_NODE_NOT_LITERAL        22
  ------------------
 1543|       |
 1544|    556|        fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |  101|    556|    if (x) \
  |  |  ------------------
  |  |  |  Branch (101:9): [True: 0, False: 556]
  |  |  ------------------
  |  |  102|    556|    { \
  |  |  103|      0|      lex_env->last_error = error; \
  |  |  104|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  752|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  105|      0|    } \
  ------------------
 1545|       |
 1546|    556|        (yyval.re_node)->value = (int) (yyvsp[0].integer);
 1547|    556|        (yyval.re_node)->mask = 0xFF;
 1548|    556|      }
 1549|      0|#line 1533 "hex_grammar.c"
 1550|      0|    break;
 1551|       |
 1552|  22.1k|  case 21: /* byte: _MASKED_BYTE_  */
  ------------------
  |  Branch (1552:3): [True: 22.1k, False: 505k]
  ------------------
 1553|  22.1k|#line 341 "hex_grammar.y"
 1554|  22.1k|      {
 1555|  22.1k|        uint8_t mask = (uint8_t) ((yyvsp[0].integer) >> 8);
 1556|       |
 1557|  22.1k|        if (mask == 0x00)
  ------------------
  |  Branch (1557:13): [True: 1.59k, False: 20.5k]
  ------------------
 1558|  1.59k|        {
 1559|  1.59k|          (yyval.re_node) = yr_re_node_create(RE_NODE_ANY);
  ------------------
  |  |   43|  1.59k|#define RE_NODE_ANY                3
  ------------------
 1560|       |
 1561|  1.59k|          fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |  101|  1.59k|    if (x) \
  |  |  ------------------
  |  |  |  Branch (101:9): [True: 0, False: 1.59k]
  |  |  ------------------
  |  |  102|  1.59k|    { \
  |  |  103|      0|      lex_env->last_error = error; \
  |  |  104|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  752|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  105|      0|    } \
  ------------------
 1562|       |
 1563|  1.59k|          (yyval.re_node)->value = 0x00;
 1564|  1.59k|          (yyval.re_node)->mask = 0x00;
 1565|  1.59k|        }
 1566|  20.5k|        else
 1567|  20.5k|        {
 1568|  20.5k|          (yyval.re_node) = yr_re_node_create(RE_NODE_MASKED_LITERAL);
  ------------------
  |  |   42|  20.5k|#define RE_NODE_MASKED_LITERAL     2
  ------------------
 1569|       |
 1570|  20.5k|          fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |  101|  20.5k|    if (x) \
  |  |  ------------------
  |  |  |  Branch (101:9): [True: 0, False: 20.5k]
  |  |  ------------------
  |  |  102|  20.5k|    { \
  |  |  103|      0|      lex_env->last_error = error; \
  |  |  104|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  752|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  105|      0|    } \
  ------------------
 1571|       |
 1572|  20.5k|          (yyval.re_node)->value = (yyvsp[0].integer) & 0xFF;
 1573|  20.5k|          (yyval.re_node)->mask = mask;
 1574|  20.5k|        }
 1575|  22.1k|      }
 1576|  22.1k|#line 1560 "hex_grammar.c"
 1577|  22.1k|    break;
 1578|       |
 1579|  22.1k|  case 22: /* byte: _MASKED_NOT_BYTE_  */
  ------------------
  |  Branch (1579:3): [True: 620, False: 526k]
  ------------------
 1580|    620|#line 364 "hex_grammar.y"
 1581|    620|      {
 1582|    620|        uint8_t mask = (uint8_t) ((yyvsp[0].integer) >> 8);
 1583|       |
 1584|    620|        (yyval.re_node) = yr_re_node_create(RE_NODE_MASKED_NOT_LITERAL);
  ------------------
  |  |   63|    620|#define RE_NODE_MASKED_NOT_LITERAL 23
  ------------------
 1585|       |
 1586|    620|        fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |  101|    620|    if (x) \
  |  |  ------------------
  |  |  |  Branch (101:9): [True: 0, False: 620]
  |  |  ------------------
  |  |  102|    620|    { \
  |  |  103|      0|      lex_env->last_error = error; \
  |  |  104|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  752|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  105|      0|    } \
  ------------------
 1587|       |
 1588|    620|        (yyval.re_node)->value = (yyvsp[0].integer) & 0xFF;
 1589|    620|        (yyval.re_node)->mask = mask;
 1590|    620|      }
 1591|      0|#line 1575 "hex_grammar.c"
 1592|      0|    break;
 1593|       |
 1594|       |
 1595|      0|#line 1579 "hex_grammar.c"
 1596|       |
 1597|      0|      default: break;
  ------------------
  |  Branch (1597:7): [True: 0, False: 527k]
  ------------------
 1598|   527k|    }
 1599|       |  /* User semantic actions sometimes alter yychar, and that requires
 1600|       |     that yytoken be updated with the new translation.  We take the
 1601|       |     approach of translating immediately before every use of yytoken.
 1602|       |     One alternative is translating here after every semantic action,
 1603|       |     but that translation would be missed if the semantic action invokes
 1604|       |     YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or
 1605|       |     if it invokes YYBACKUP.  In the case of YYABORT or YYACCEPT, an
 1606|       |     incorrect destructor might then be invoked immediately.  In the
 1607|       |     case of YYERROR or YYBACKUP, subsequent parser actions might lead
 1608|       |     to an incorrect destructor call or verbose syntax error message
 1609|       |     before the lookahead is translated.  */
 1610|   527k|  YY_SYMBOL_PRINT ("-> $$ =", YY_CAST (yysymbol_kind_t, yyr1[yyn]), &yyval, &yyloc);
 1611|       |
 1612|   527k|  YYPOPSTACK (yylen);
  ------------------
  |  | 1053|   527k|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
 1613|   527k|  yylen = 0;
 1614|       |
 1615|   527k|  *++yyvsp = yyval;
 1616|       |
 1617|       |  /* Now 'shift' the result of the reduction.  Determine what state
 1618|       |     that goes to, based on the state we popped back to and the rule
 1619|       |     number reduced by.  */
 1620|   527k|  {
 1621|   527k|    const int yylhs = yyr1[yyn] - YYNTOKENS;
  ------------------
  |  |  569|   527k|#define YYNTOKENS  16
  ------------------
 1622|   527k|    const int yyi = yypgoto[yylhs] + *yyssp;
 1623|   527k|    yystate = (0 <= yyi && yyi <= YYLAST && yycheck[yyi] == *yyssp
  ------------------
  |  |  566|   788k|#define YYLAST   35
  ------------------
  |  Branch (1623:16): [True: 261k, False: 266k]
  |  Branch (1623:28): [True: 251k, False: 9.33k]
  |  Branch (1623:45): [True: 156k, False: 95.2k]
  ------------------
 1624|   527k|               ? yytable[yyi]
 1625|   527k|               : yydefgoto[yylhs]);
 1626|   527k|  }
 1627|       |
 1628|   527k|  goto yynewstate;
 1629|       |
 1630|       |
 1631|       |/*--------------------------------------.
 1632|       || yyerrlab -- here on detecting error.  |
 1633|       |`--------------------------------------*/
 1634|    719|yyerrlab:
 1635|       |  /* Make sure we have latest lookahead translation.  See comments at
 1636|       |     user semantic actions for why this is necessary.  */
 1637|    719|  yytoken = yychar == YYEMPTY ? YYSYMBOL_YYEMPTY : YYTRANSLATE (yychar);
  ------------------
  |  |   50|    719|#define yychar       hex_yychar
  ------------------
                yytoken = yychar == YYEMPTY ? YYSYMBOL_YYEMPTY : YYTRANSLATE (yychar);
  ------------------
  |  |   66|    719|#define YYEMPTY -2
  ------------------
                yytoken = yychar == YYEMPTY ? YYSYMBOL_YYEMPTY : YYTRANSLATE (yychar);
  ------------------
  |  |  584|  1.43k|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  |  578|    719|#define YYMAXUTOK   262
  |  |  ------------------
  |  |  |  Branch (584:4): [True: 719, False: 0]
  |  |  |  Branch (584:18): [True: 719, False: 0]
  |  |  ------------------
  |  |  585|  1.43k|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  129|    719|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  ------------------
  |  |  586|  1.43k|   : YYSYMBOL_YYUNDEF)
  ------------------
  |  Branch (1637:13): [True: 0, False: 719]
  ------------------
 1638|       |  /* If not already recovering from an error, report this error.  */
 1639|    719|  if (!yyerrstatus)
  ------------------
  |  Branch (1639:7): [True: 719, False: 0]
  ------------------
 1640|    719|    {
 1641|    719|      ++yynerrs;
  ------------------
  |  |   52|    719|#define yynerrs      hex_yynerrs
  ------------------
 1642|    719|      yyerror (yyscanner, lex_env, YY_("syntax error"));
  ------------------
  |  |   48|    719|#define yyerror      hex_yyerror
  ------------------
                    yyerror (yyscanner, lex_env, YY_("syntax error"));
  ------------------
  |  |  368|    719|#  define YY_(Msgid) Msgid
  ------------------
 1643|    719|    }
 1644|       |
 1645|    719|  if (yyerrstatus == 3)
  ------------------
  |  Branch (1645:7): [True: 0, False: 719]
  ------------------
 1646|      0|    {
 1647|       |      /* If just tried and failed to reuse lookahead token after an
 1648|       |         error, discard it.  */
 1649|       |
 1650|      0|      if (yychar <= YYEOF)
  ------------------
  |  |   50|      0|#define yychar       hex_yychar
  ------------------
                    if (yychar <= YYEOF)
  ------------------
  |  |   67|      0|#define YYEOF 0
  ------------------
  |  Branch (1650:11): [True: 0, False: 0]
  ------------------
 1651|      0|        {
 1652|       |          /* Return failure if at end of input.  */
 1653|      0|          if (yychar == YYEOF)
  ------------------
  |  |   50|      0|#define yychar       hex_yychar
  ------------------
                        if (yychar == YYEOF)
  ------------------
  |  |   67|      0|#define YYEOF 0
  ------------------
  |  Branch (1653:15): [True: 0, False: 0]
  ------------------
 1654|      0|            YYABORT;
  ------------------
  |  |  752|      0|#define YYABORT         goto yyabortlab
  ------------------
 1655|      0|        }
 1656|      0|      else
 1657|      0|        {
 1658|      0|          yydestruct ("Error: discarding",
 1659|      0|                      yytoken, &yylval, yyscanner, lex_env);
 1660|      0|          yychar = YYEMPTY;
  ------------------
  |  |   50|      0|#define yychar       hex_yychar
  ------------------
                        yychar = YYEMPTY;
  ------------------
  |  |   66|      0|#define YYEMPTY -2
  ------------------
 1661|      0|        }
 1662|      0|    }
 1663|       |
 1664|       |  /* Else will try to reuse lookahead token after shifting the error
 1665|       |     token.  */
 1666|    719|  goto yyerrlab1;
 1667|       |
 1668|       |
 1669|       |/*---------------------------------------------------.
 1670|       || yyerrorlab -- error raised explicitly by YYERROR.  |
 1671|       |`---------------------------------------------------*/
 1672|    719|yyerrorlab:
 1673|       |  /* Pacify compilers when the user code never invokes YYERROR and the
 1674|       |     label yyerrorlab therefore never appears in user code.  */
 1675|      0|  if (0)
  ------------------
  |  Branch (1675:7): [Folded, False: 0]
  ------------------
 1676|      0|    YYERROR;
  ------------------
  |  |  753|      0|#define YYERROR         goto yyerrorlab
  ------------------
 1677|      0|  ++yynerrs;
  ------------------
  |  |   52|      0|#define yynerrs      hex_yynerrs
  ------------------
 1678|       |
 1679|       |  /* Do not reclaim the symbols of the rule whose action triggered
 1680|       |     this YYERROR.  */
 1681|      0|  YYPOPSTACK (yylen);
  ------------------
  |  | 1053|      0|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
 1682|      0|  yylen = 0;
 1683|      0|  YY_STACK_PRINT (yyss, yyssp);
 1684|      0|  yystate = *yyssp;
 1685|      0|  goto yyerrlab1;
 1686|       |
 1687|       |
 1688|       |/*-------------------------------------------------------------.
 1689|       || yyerrlab1 -- common code for both syntax error and YYERROR.  |
 1690|       |`-------------------------------------------------------------*/
 1691|    719|yyerrlab1:
 1692|    719|  yyerrstatus = 3;      /* Each real token shifted decrements this.  */
 1693|       |
 1694|       |  /* Pop stack until we find a state that shifts the error token.  */
 1695|    719|  for (;;)
 1696|   166k|    {
 1697|   166k|      yyn = yypact[yystate];
 1698|   166k|      if (!yypact_value_is_default (yyn))
  ------------------
  |  |  660|   166k|  ((Yyn) == YYPACT_NINF)
  |  |  ------------------
  |  |  |  |  657|   166k|#define YYPACT_NINF (-13)
  |  |  ------------------
  ------------------
  |  Branch (1698:11): [True: 85.3k, False: 81.0k]
  ------------------
 1699|  85.3k|        {
 1700|  85.3k|          yyn += YYSYMBOL_YYerror;
 1701|  85.3k|          if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror)
  ------------------
  |  |  566|   168k|#define YYLAST   35
  ------------------
  |  Branch (1701:15): [True: 83.4k, False: 1.88k]
  |  Branch (1701:27): [True: 83.4k, False: 0]
  |  Branch (1701:44): [True: 0, False: 83.4k]
  ------------------
 1702|      0|            {
 1703|      0|              yyn = yytable[yyn];
 1704|      0|              if (0 < yyn)
  ------------------
  |  Branch (1704:19): [True: 0, False: 0]
  ------------------
 1705|      0|                break;
 1706|      0|            }
 1707|  85.3k|        }
 1708|       |
 1709|       |      /* Pop the current state because it cannot handle the error token.  */
 1710|   166k|      if (yyssp == yyss)
  ------------------
  |  Branch (1710:11): [True: 719, False: 165k]
  ------------------
 1711|    719|        YYABORT;
  ------------------
  |  |  752|    719|#define YYABORT         goto yyabortlab
  ------------------
 1712|       |
 1713|       |
 1714|   165k|      yydestruct ("Error: popping",
 1715|   165k|                  YY_ACCESSING_SYMBOL (yystate), yyvsp, yyscanner, lex_env);
  ------------------
  |  |  632|   165k|#define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State])
  |  |  ------------------
  |  |  |  |  129|   165k|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  ------------------
  ------------------
 1716|   165k|      YYPOPSTACK (1);
  ------------------
  |  | 1053|   165k|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
 1717|   165k|      yystate = *yyssp;
 1718|   165k|      YY_STACK_PRINT (yyss, yyssp);
 1719|   165k|    }
 1720|       |
 1721|      0|  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 1722|      0|  *++yyvsp = yylval;
 1723|      0|  YY_IGNORE_MAYBE_UNINITIALIZED_END
 1724|       |
 1725|       |
 1726|       |  /* Shift the error token.  */
 1727|      0|  YY_SYMBOL_PRINT ("Shifting", YY_ACCESSING_SYMBOL (yyn), yyvsp, yylsp);
 1728|       |
 1729|      0|  yystate = yyn;
 1730|      0|  goto yynewstate;
 1731|       |
 1732|       |
 1733|       |/*-------------------------------------.
 1734|       || yyacceptlab -- YYACCEPT comes here.  |
 1735|       |`-------------------------------------*/
 1736|  1.29k|yyacceptlab:
 1737|  1.29k|  yyresult = 0;
 1738|  1.29k|  goto yyreturnlab;
 1739|       |
 1740|       |
 1741|       |/*-----------------------------------.
 1742|       || yyabortlab -- YYABORT comes here.  |
 1743|       |`-----------------------------------*/
 1744|    971|yyabortlab:
 1745|    971|  yyresult = 1;
 1746|    971|  goto yyreturnlab;
 1747|       |
 1748|       |
 1749|       |/*-----------------------------------------------------------.
 1750|       || yyexhaustedlab -- YYNOMEM (memory exhaustion) comes here.  |
 1751|       |`-----------------------------------------------------------*/
 1752|     10|yyexhaustedlab:
 1753|     10|  yyerror (yyscanner, lex_env, YY_("memory exhausted"));
  ------------------
  |  |   48|     10|#define yyerror      hex_yyerror
  ------------------
                yyerror (yyscanner, lex_env, YY_("memory exhausted"));
  ------------------
  |  |  368|     10|#  define YY_(Msgid) Msgid
  ------------------
 1754|     10|  yyresult = 2;
 1755|     10|  goto yyreturnlab;
 1756|       |
 1757|       |
 1758|       |/*----------------------------------------------------------.
 1759|       || yyreturnlab -- parsing is finished, clean up and return.  |
 1760|       |`----------------------------------------------------------*/
 1761|  2.27k|yyreturnlab:
 1762|  2.27k|  if (yychar != YYEMPTY)
  ------------------
  |  |   50|  2.27k|#define yychar       hex_yychar
  ------------------
                if (yychar != YYEMPTY)
  ------------------
  |  |   66|  2.27k|#define YYEMPTY -2
  ------------------
  |  Branch (1762:7): [True: 721, False: 1.55k]
  ------------------
 1763|    721|    {
 1764|       |      /* Make sure we have latest lookahead translation.  See comments at
 1765|       |         user semantic actions for why this is necessary.  */
 1766|    721|      yytoken = YYTRANSLATE (yychar);
  ------------------
  |  |  584|    721|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  |  578|    721|#define YYMAXUTOK   262
  |  |  ------------------
  |  |  |  Branch (584:4): [True: 721, False: 0]
  |  |  |  Branch (584:18): [True: 721, False: 0]
  |  |  ------------------
  |  |  585|    721|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  129|    721|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  ------------------
  |  |  586|    721|   : YYSYMBOL_YYUNDEF)
  ------------------
 1767|    721|      yydestruct ("Cleanup: discarding lookahead",
 1768|    721|                  yytoken, &yylval, yyscanner, lex_env);
 1769|    721|    }
 1770|       |  /* Do not reclaim the symbols of the rule whose action triggered
 1771|       |     this YYABORT or YYACCEPT.  */
 1772|  2.27k|  YYPOPSTACK (yylen);
  ------------------
  |  | 1053|  2.27k|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
 1773|  2.27k|  YY_STACK_PRINT (yyss, yyssp);
 1774|   163k|  while (yyssp != yyss)
  ------------------
  |  Branch (1774:10): [True: 161k, False: 2.27k]
  ------------------
 1775|   161k|    {
 1776|   161k|      yydestruct ("Cleanup: popping",
 1777|   161k|                  YY_ACCESSING_SYMBOL (+*yyssp), yyvsp, yyscanner, lex_env);
  ------------------
  |  |  632|   161k|#define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State])
  |  |  ------------------
  |  |  |  |  129|   161k|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  ------------------
  ------------------
 1778|   161k|      YYPOPSTACK (1);
  ------------------
  |  | 1053|   161k|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
 1779|   161k|    }
 1780|  2.27k|#ifndef yyoverflow
 1781|  2.27k|  if (yyss != yyssa)
  ------------------
  |  Branch (1781:7): [True: 121, False: 2.15k]
  ------------------
 1782|    121|    YYSTACK_FREE (yyss);
  ------------------
  |  |  476|    121|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  |   95|    121|#define YYFREE yr_free
  |  |  ------------------
  ------------------
 1783|  2.27k|#endif
 1784|       |
 1785|  2.27k|  return yyresult;
 1786|    719|}
hex_grammar.c:yydestruct:
  938|   327k|{
  939|   327k|  YY_USE (yyvaluep);
  ------------------
  |  |  391|   327k|# define YY_USE(E) ((void) (E))
  ------------------
  940|   327k|  YY_USE (yyscanner);
  ------------------
  |  |  391|   327k|# define YY_USE(E) ((void) (E))
  ------------------
  941|   327k|  YY_USE (lex_env);
  ------------------
  |  |  391|   327k|# define YY_USE(E) ((void) (E))
  ------------------
  942|   327k|  if (!yymsg)
  ------------------
  |  Branch (942:7): [True: 0, False: 327k]
  ------------------
  943|      0|    yymsg = "Deleting";
  944|   327k|  YY_SYMBOL_PRINT (yymsg, yykind, yyvaluep, yylocationp);
  945|       |
  946|   327k|  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
  947|   327k|  switch (yykind)
  948|   327k|    {
  949|     88|    case YYSYMBOL_tokens: /* tokens  */
  ------------------
  |  Branch (949:5): [True: 88, False: 327k]
  ------------------
  950|     88|#line 96 "hex_grammar.y"
  951|     88|            { yr_re_node_destroy(((*yyvaluep).re_node)); ((*yyvaluep).re_node) = NULL; }
  952|     88|#line 945 "hex_grammar.c"
  953|     88|        break;
  954|       |
  955|    845|    case YYSYMBOL_token_sequence: /* token_sequence  */
  ------------------
  |  Branch (955:5): [True: 845, False: 326k]
  ------------------
  956|    845|#line 97 "hex_grammar.y"
  957|    845|            { yr_re_node_destroy(((*yyvaluep).re_node)); ((*yyvaluep).re_node) = NULL; }
  958|    845|#line 951 "hex_grammar.c"
  959|    845|        break;
  960|       |
  961|      0|    case YYSYMBOL_token_or_range: /* token_or_range  */
  ------------------
  |  Branch (961:5): [True: 0, False: 327k]
  ------------------
  962|      0|#line 98 "hex_grammar.y"
  963|      0|            { yr_re_node_destroy(((*yyvaluep).re_node)); ((*yyvaluep).re_node) = NULL; }
  964|      0|#line 957 "hex_grammar.c"
  965|      0|        break;
  966|       |
  967|  1.39k|    case YYSYMBOL_token: /* token  */
  ------------------
  |  Branch (967:5): [True: 1.39k, False: 326k]
  ------------------
  968|  1.39k|#line 99 "hex_grammar.y"
  969|  1.39k|            { yr_re_node_destroy(((*yyvaluep).re_node)); ((*yyvaluep).re_node) = NULL; }
  970|  1.39k|#line 963 "hex_grammar.c"
  971|  1.39k|        break;
  972|       |
  973|      0|    case YYSYMBOL_range: /* range  */
  ------------------
  |  Branch (973:5): [True: 0, False: 327k]
  ------------------
  974|      0|#line 102 "hex_grammar.y"
  975|      0|            { yr_re_node_destroy(((*yyvaluep).re_node)); ((*yyvaluep).re_node) = NULL; }
  976|      0|#line 969 "hex_grammar.c"
  977|      0|        break;
  978|       |
  979|    329|    case YYSYMBOL_alternatives: /* alternatives  */
  ------------------
  |  Branch (979:5): [True: 329, False: 327k]
  ------------------
  980|    329|#line 101 "hex_grammar.y"
  981|    329|            { yr_re_node_destroy(((*yyvaluep).re_node)); ((*yyvaluep).re_node) = NULL; }
  982|    329|#line 975 "hex_grammar.c"
  983|    329|        break;
  984|       |
  985|      0|    case YYSYMBOL_byte: /* byte  */
  ------------------
  |  Branch (985:5): [True: 0, False: 327k]
  ------------------
  986|      0|#line 100 "hex_grammar.y"
  987|      0|            { yr_re_node_destroy(((*yyvaluep).re_node)); ((*yyvaluep).re_node) = NULL; }
  988|      0|#line 981 "hex_grammar.c"
  989|      0|        break;
  990|       |
  991|   325k|      default:
  ------------------
  |  Branch (991:7): [True: 325k, False: 2.65k]
  ------------------
  992|   325k|        break;
  993|   327k|    }
  994|   327k|  YY_IGNORE_MAYBE_UNINITIALIZED_END
  995|   327k|}

hex_yylex:
 1009|   285k|{
 1010|   285k|	yy_state_type yy_current_state;
 1011|   285k|	char *yy_cp, *yy_bp;
 1012|   285k|	int yy_act;
 1013|   285k|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 1014|       |
 1015|   285k|    yylval = yylval_param;
  ------------------
  |  |  828|   285k|    #    define yylval yyg->yylval_r
  ------------------
 1016|       |
 1017|   285k|	if ( !yyg->yy_init )
  ------------------
  |  Branch (1017:7): [True: 2.27k, False: 282k]
  ------------------
 1018|  2.27k|		{
 1019|  2.27k|		yyg->yy_init = 1;
 1020|       |
 1021|       |#ifdef YY_USER_INIT
 1022|       |		YY_USER_INIT;
 1023|       |#endif
 1024|       |
 1025|  2.27k|		if ( ! yyg->yy_start )
  ------------------
  |  Branch (1025:8): [True: 2.27k, False: 0]
  ------------------
 1026|  2.27k|			yyg->yy_start = 1;	/* first start state */
 1027|       |
 1028|  2.27k|		if ( ! yyin )
  ------------------
  |  |  345|  2.27k|#define yyin yyg->yyin_r
  ------------------
  |  Branch (1028:8): [True: 2.27k, False: 0]
  ------------------
 1029|  2.27k|			yyin = stdin;
  ------------------
  |  |  345|  2.27k|#define yyin yyg->yyin_r
  ------------------
 1030|       |
 1031|  2.27k|		if ( ! yyout )
  ------------------
  |  |  346|  2.27k|#define yyout yyg->yyout_r
  ------------------
  |  Branch (1031:8): [True: 2.27k, False: 0]
  ------------------
 1032|  2.27k|			yyout = stdout;
  ------------------
  |  |  346|  2.27k|#define yyout yyg->yyout_r
  ------------------
 1033|       |
 1034|  2.27k|		if ( ! YY_CURRENT_BUFFER ) {
  ------------------
  |  |  510|  2.27k|#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  |  |  ------------------
  |  |  |  Branch (510:29): [True: 2.27k, False: 0]
  |  |  ------------------
  |  |  511|  2.27k|                          ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  |  |  512|  2.27k|                          : NULL)
  ------------------
  |  Branch (1034:8): [True: 0, False: 2.27k]
  ------------------
 1035|      0|			yyensure_buffer_stack (yyscanner);
  ------------------
  |  |   86|      0|#define yyensure_buffer_stack hex_yyensure_buffer_stack
  ------------------
 1036|      0|			YY_CURRENT_BUFFER_LVALUE =
  ------------------
  |  |  516|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 1037|      0|				yy_create_buffer( yyin, YY_BUF_SIZE , yyscanner);
  ------------------
  |  |   20|      0|#define yy_create_buffer hex_yy_create_buffer
  ------------------
              				yy_create_buffer( yyin, YY_BUF_SIZE , yyscanner);
  ------------------
  |  |  345|      0|#define yyin yyg->yyin_r
  ------------------
              				yy_create_buffer( yyin, YY_BUF_SIZE , yyscanner);
  ------------------
  |  |  380|      0|#define YY_BUF_SIZE 16384
  ------------------
 1038|      0|		}
 1039|       |
 1040|  2.27k|		yy_load_buffer_state( yyscanner );
  ------------------
  |  |   62|  2.27k|#define yy_load_buffer_state hex_yy_load_buffer_state
  ------------------
 1041|  2.27k|		}
 1042|       |
 1043|   285k|	{
 1044|   285k|#line 97 "libyara/hex_lexer.l"
 1045|       |
 1046|       |
 1047|       |
 1048|   285k|#line 1048 "libyara/hex_lexer.c"
 1049|       |
 1050|   440k|	while ( /*CONSTCOND*/1 )		/* loops until end-of-file is reached */
  ------------------
  |  Branch (1050:23): [True: 440k, Folded]
  ------------------
 1051|   440k|		{
 1052|   440k|		yy_cp = yyg->yy_c_buf_p;
 1053|       |
 1054|       |		/* Support of yytext. */
 1055|   440k|		*yy_cp = yyg->yy_hold_char;
 1056|       |
 1057|       |		/* yy_bp points to the position in yy_ch_buf of the start of
 1058|       |		 * the current run.
 1059|       |		 */
 1060|   440k|		yy_bp = yy_cp;
 1061|       |
 1062|   440k|		yy_current_state = yyg->yy_start;
 1063|   440k|yy_match:
 1064|   440k|		do
 1065|   984k|			{
 1066|   984k|			YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ;
  ------------------
  |  |  335|   984k|#define YY_SC_TO_UI(c) ((YY_CHAR) (c))
  ------------------
 1067|   984k|			if ( yy_accept[yy_current_state] )
  ------------------
  |  Branch (1067:9): [True: 542k, False: 441k]
  ------------------
 1068|   542k|				{
 1069|   542k|				yyg->yy_last_accepting_state = yy_current_state;
 1070|   542k|				yyg->yy_last_accepting_cpos = yy_cp;
 1071|   542k|				}
 1072|  1.65M|			while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  ------------------
  |  Branch (1072:12): [True: 672k, False: 984k]
  ------------------
 1073|   672k|				{
 1074|   672k|				yy_current_state = (int) yy_def[yy_current_state];
 1075|   672k|				if ( yy_current_state >= 40 )
  ------------------
  |  Branch (1075:10): [True: 231k, False: 440k]
  ------------------
 1076|   231k|					yy_c = yy_meta[yy_c];
 1077|   672k|				}
 1078|   984k|			yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
 1079|   984k|			++yy_cp;
 1080|   984k|			}
 1081|   984k|		while ( yy_current_state != 39 );
  ------------------
  |  Branch (1081:11): [True: 543k, False: 440k]
  ------------------
 1082|   440k|		yy_cp = yyg->yy_last_accepting_cpos;
 1083|   440k|		yy_current_state = yyg->yy_last_accepting_state;
 1084|       |
 1085|   442k|yy_find_action:
 1086|   442k|		yy_act = yy_accept[yy_current_state];
 1087|       |
 1088|   442k|		YY_DO_BEFORE_ACTION;
  ------------------
  |  |  579|   442k|	yyg->yytext_ptr = yy_bp; \
  |  |  ------------------
  |  |  |  |  568|   442k|#define yytext_ptr yytext_r
  |  |  ------------------
  |  |  580|   442k|	yyleng = (yy_size_t) (yy_cp - yy_bp); \
  |  |  ------------------
  |  |  |  |  348|   442k|#define yyleng yyg->yyleng_r
  |  |  ------------------
  |  |  581|   442k|	yyg->yy_hold_char = *yy_cp; \
  |  |  582|   442k|	*yy_cp = '\0'; \
  |  |  583|   442k|	yyg->yy_c_buf_p = yy_cp;
  ------------------
 1089|       |
 1090|   442k|		if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act] )
  ------------------
  |  |  585|   884k|#define YY_END_OF_BUFFER 24
  ------------------
  |  Branch (1090:8): [True: 439k, False: 2.98k]
  |  Branch (1090:38): [True: 154k, False: 284k]
  ------------------
 1091|   154k|			{
 1092|   154k|			yy_size_t yyl;
 1093|   309k|			for ( yyl = 0; yyl < yyleng; ++yyl )
  ------------------
  |  |  348|   309k|#define yyleng yyg->yyleng_r
  ------------------
  |  Branch (1093:19): [True: 154k, False: 154k]
  ------------------
 1094|   154k|				if ( yytext[yyl] == '\n' )
  ------------------
  |  |  349|   154k|#define yytext yyg->yytext_r
  ------------------
  |  Branch (1094:10): [True: 34.4k, False: 120k]
  ------------------
 1095|       |					
 1096|  34.4k|    do{ yylineno++;
  ------------------
  |  |  350|  34.4k|#define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
  |  |  ------------------
  |  |  |  |  516|  34.4k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  |  |  ------------------
  ------------------
 1097|  34.4k|        yycolumn=0;
  ------------------
  |  |  351|  34.4k|#define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
  |  |  ------------------
  |  |  |  |  516|  34.4k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  |  |  ------------------
  ------------------
 1098|  34.4k|    }while(0)
  ------------------
  |  Branch (1098:12): [Folded, False: 34.4k]
  ------------------
 1099|   154k|;
 1100|   154k|			}
 1101|       |
 1102|   443k|do_action:	/* This label is used only to access EOF actions. */
 1103|       |
 1104|   443k|		switch ( yy_act )
 1105|   443k|	{ /* beginning of action switch */
 1106|      0|			case 0: /* must back up */
  ------------------
  |  Branch (1106:4): [True: 0, False: 443k]
  ------------------
 1107|       |			/* undo the effects of YY_DO_BEFORE_ACTION */
 1108|      0|			*yy_cp = yyg->yy_hold_char;
 1109|      0|			yy_cp = yyg->yy_last_accepting_cpos;
 1110|      0|			yy_current_state = yyg->yy_last_accepting_state;
 1111|      0|			goto yy_find_action;
 1112|       |
 1113|  68.8k|case 1:
  ------------------
  |  Branch (1113:1): [True: 68.8k, False: 374k]
  ------------------
 1114|  68.8k|YY_RULE_SETUP
 1115|  68.8k|#line 100 "libyara/hex_lexer.l"
 1116|  68.8k|{
 1117|       |
 1118|  68.8k|  yylval->integer = xtoi(yytext);
  ------------------
  |  |  828|  68.8k|    #    define yylval yyg->yylval_r
  ------------------
                yylval->integer = xtoi(yytext);
  ------------------
  |  |  349|  68.8k|#define yytext yyg->yytext_r
  ------------------
 1119|  68.8k|  return _BYTE_;
  ------------------
  |  |   70|  68.8k|#define _BYTE_ 258
  ------------------
 1120|      0|}
 1121|      0|	YY_BREAK
  ------------------
  |  | 1000|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1122|  12.8k|case 2:
  ------------------
  |  Branch (1122:1): [True: 12.8k, False: 430k]
  ------------------
 1123|  12.8k|YY_RULE_SETUP
 1124|  12.8k|#line 106 "libyara/hex_lexer.l"
 1125|  12.8k|{
 1126|       |
 1127|  12.8k|  yytext[1] = '0'; // replace ? by 0
  ------------------
  |  |  349|  12.8k|#define yytext yyg->yytext_r
  ------------------
 1128|  12.8k|  yylval->integer = xtoi(yytext) | 0xF000 ;
  ------------------
  |  |  828|  12.8k|    #    define yylval yyg->yylval_r
  ------------------
                yylval->integer = xtoi(yytext) | 0xF000 ;
  ------------------
  |  |  349|  12.8k|#define yytext yyg->yytext_r
  ------------------
 1129|  12.8k|  return _MASKED_BYTE_;
  ------------------
  |  |   71|  12.8k|#define _MASKED_BYTE_ 259
  ------------------
 1130|      0|}
 1131|      0|	YY_BREAK
  ------------------
  |  | 1000|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1132|    556|case 3:
  ------------------
  |  Branch (1132:1): [True: 556, False: 443k]
  ------------------
 1133|    556|YY_RULE_SETUP
 1134|    556|#line 113 "libyara/hex_lexer.l"
 1135|    556|{
 1136|       |
 1137|    556|  yylval->integer = xtoi(&(yytext[1]));
  ------------------
  |  |  828|    556|    #    define yylval yyg->yylval_r
  ------------------
                yylval->integer = xtoi(&(yytext[1]));
  ------------------
  |  |  349|    556|#define yytext yyg->yytext_r
  ------------------
 1138|    556|  return _NOT_BYTE_;
  ------------------
  |  |   72|    556|#define _NOT_BYTE_ 260
  ------------------
 1139|      0|}
 1140|      0|	YY_BREAK
  ------------------
  |  | 1000|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1141|  7.68k|case 4:
  ------------------
  |  Branch (1141:1): [True: 7.68k, False: 435k]
  ------------------
 1142|  7.68k|YY_RULE_SETUP
 1143|  7.68k|#line 119 "libyara/hex_lexer.l"
 1144|  7.68k|{
 1145|       |
 1146|  7.68k|  yytext[0] = '0'; // replace ? by 0
  ------------------
  |  |  349|  7.68k|#define yytext yyg->yytext_r
  ------------------
 1147|  7.68k|  yylval->integer = xtoi(yytext) | 0x0F00 ;
  ------------------
  |  |  828|  7.68k|    #    define yylval yyg->yylval_r
  ------------------
                yylval->integer = xtoi(yytext) | 0x0F00 ;
  ------------------
  |  |  349|  7.68k|#define yytext yyg->yytext_r
  ------------------
 1148|  7.68k|  return _MASKED_BYTE_;
  ------------------
  |  |   71|  7.68k|#define _MASKED_BYTE_ 259
  ------------------
 1149|      0|}
 1150|      0|	YY_BREAK
  ------------------
  |  | 1000|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1151|  1.59k|case 5:
  ------------------
  |  Branch (1151:1): [True: 1.59k, False: 442k]
  ------------------
 1152|  1.59k|YY_RULE_SETUP
 1153|  1.59k|#line 126 "libyara/hex_lexer.l"
 1154|  1.59k|{
 1155|       |
 1156|  1.59k|  yylval->integer = 0x0000;
  ------------------
  |  |  828|  1.59k|    #    define yylval yyg->yylval_r
  ------------------
 1157|  1.59k|  return _MASKED_BYTE_;
  ------------------
  |  |   71|  1.59k|#define _MASKED_BYTE_ 259
  ------------------
 1158|      0|}
 1159|      0|	YY_BREAK
  ------------------
  |  | 1000|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1160|    395|case 6:
  ------------------
  |  Branch (1160:1): [True: 395, False: 443k]
  ------------------
 1161|    395|YY_RULE_SETUP
 1162|    395|#line 132 "libyara/hex_lexer.l"
 1163|    395|{
 1164|       |
 1165|    395|  yytext[2] = '0'; // replace ? by 0
  ------------------
  |  |  349|    395|#define yytext yyg->yytext_r
  ------------------
 1166|    395|  yylval->integer = xtoi(&(yytext[1])) | 0xF000 ;
  ------------------
  |  |  828|    395|    #    define yylval yyg->yylval_r
  ------------------
                yylval->integer = xtoi(&(yytext[1])) | 0xF000 ;
  ------------------
  |  |  349|    395|#define yytext yyg->yytext_r
  ------------------
 1167|    395|  return _MASKED_NOT_BYTE_;
  ------------------
  |  |   73|    395|#define _MASKED_NOT_BYTE_ 261
  ------------------
 1168|      0|}
 1169|      0|	YY_BREAK
  ------------------
  |  | 1000|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1170|    225|case 7:
  ------------------
  |  Branch (1170:1): [True: 225, False: 443k]
  ------------------
 1171|    225|YY_RULE_SETUP
 1172|    225|#line 139 "libyara/hex_lexer.l"
 1173|    225|{
 1174|       |
 1175|    225|  yytext[1] = '0'; // replace ? by 0
  ------------------
  |  |  349|    225|#define yytext yyg->yytext_r
  ------------------
 1176|    225|  yylval->integer = xtoi(&(yytext[1])) | 0x0F00 ;
  ------------------
  |  |  828|    225|    #    define yylval yyg->yylval_r
  ------------------
                yylval->integer = xtoi(&(yytext[1])) | 0x0F00 ;
  ------------------
  |  |  349|    225|#define yytext yyg->yytext_r
  ------------------
 1177|    225|  return _MASKED_NOT_BYTE_;
  ------------------
  |  |   73|    225|#define _MASKED_NOT_BYTE_ 261
  ------------------
 1178|      0|}
 1179|      0|	YY_BREAK
  ------------------
  |  | 1000|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1180|    156|case 8:
  ------------------
  |  Branch (1180:1): [True: 156, False: 443k]
  ------------------
 1181|    156|YY_RULE_SETUP
 1182|    156|#line 146 "libyara/hex_lexer.l"
 1183|    156|{
 1184|       |
 1185|    156|  yyerror(yyscanner, lex_env, "uneven number of digits in hex string");
  ------------------
  |  |   48|    156|#define yyerror      hex_yyerror
  ------------------
 1186|    156|  yyterminate();
  ------------------
  |  |  963|    156|#define yyterminate() return YY_NULL
  |  |  ------------------
  |  |  |  |  330|    156|#define YY_NULL 0
  |  |  ------------------
  ------------------
 1187|      0|}
 1188|      0|	YY_BREAK
  ------------------
  |  | 1000|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1189|     43|case 9:
  ------------------
  |  Branch (1189:1): [True: 43, False: 443k]
  ------------------
 1190|     43|YY_RULE_SETUP
 1191|     43|#line 152 "libyara/hex_lexer.l"
 1192|     43|{
 1193|       |
 1194|     43|  yyerror(yyscanner, lex_env, "invalid not operator (~) in hex string");
  ------------------
  |  |   48|     43|#define yyerror      hex_yyerror
  ------------------
 1195|     43|  yyterminate();
  ------------------
  |  |  963|     43|#define yyterminate() return YY_NULL
  |  |  ------------------
  |  |  |  |  330|     43|#define YY_NULL 0
  |  |  ------------------
  ------------------
 1196|      0|}
 1197|      0|	YY_BREAK
  ------------------
  |  | 1000|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1198|  3.10k|case 10:
  ------------------
  |  Branch (1198:1): [True: 3.10k, False: 440k]
  ------------------
 1199|  3.10k|YY_RULE_SETUP
 1200|  3.10k|#line 159 "libyara/hex_lexer.l"
 1201|  3.10k|{
 1202|       |
 1203|  3.10k|  BEGIN(range);
  ------------------
  |  |  358|  3.10k|#define BEGIN yyg->yy_start = 1 + 2 *
  ------------------
                BEGIN(range);
  ------------------
  |  |  774|  3.10k|#define range 2
  ------------------
 1204|  3.10k|  return yytext[0];
  ------------------
  |  |  349|  3.10k|#define yytext yyg->yytext_r
  ------------------
 1205|      0|}
 1206|      0|	YY_BREAK
  ------------------
  |  | 1000|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1207|    226|case 11:
  ------------------
  |  Branch (1207:1): [True: 226, False: 443k]
  ------------------
 1208|    226|YY_RULE_SETUP
 1209|    226|#line 165 "libyara/hex_lexer.l"
 1210|    226|{
 1211|       |
 1212|    226|  BEGIN(comment);
  ------------------
  |  |  358|    226|#define BEGIN yyg->yy_start = 1 + 2 *
  ------------------
                BEGIN(comment);
  ------------------
  |  |  773|    226|#define comment 1
  ------------------
 1213|    226|}
 1214|    226|	YY_BREAK
  ------------------
  |  | 1000|    226|#define YY_BREAK /*LINTED*/break;
  ------------------
 1215|    226|case 12:
  ------------------
  |  Branch (1215:1): [True: 226, False: 443k]
  ------------------
 1216|    226|YY_RULE_SETUP
 1217|    226|#line 170 "libyara/hex_lexer.l"
 1218|    226|{
 1219|       |
 1220|    226|  BEGIN(INITIAL);
  ------------------
  |  |  358|    226|#define BEGIN yyg->yy_start = 1 + 2 *
  ------------------
                BEGIN(INITIAL);
  ------------------
  |  |  772|    226|#define INITIAL 0
  ------------------
 1221|    226|}
 1222|    226|	YY_BREAK
  ------------------
  |  | 1000|    226|#define YY_BREAK /*LINTED*/break;
  ------------------
 1223|   151k|case 13:
  ------------------
  |  Branch (1223:1): [True: 151k, False: 292k]
  ------------------
 1224|       |/* rule 13 can match eol */
 1225|   151k|YY_RULE_SETUP
 1226|   151k|#line 175 "libyara/hex_lexer.l"
 1227|       |// skip comments
 1228|   151k|	YY_BREAK
  ------------------
  |  | 1000|   151k|#define YY_BREAK /*LINTED*/break;
  ------------------
 1229|    264|case 14:
  ------------------
  |  Branch (1229:1): [True: 264, False: 443k]
  ------------------
 1230|    264|YY_RULE_SETUP
 1231|    264|#line 177 "libyara/hex_lexer.l"
 1232|       |// skip single-line comments
 1233|    264|	YY_BREAK
  ------------------
  |  | 1000|    264|#define YY_BREAK /*LINTED*/break;
  ------------------
 1234|  1.69k|case 15:
  ------------------
  |  Branch (1234:1): [True: 1.69k, False: 441k]
  ------------------
 1235|  1.69k|YY_RULE_SETUP
 1236|  1.69k|#line 179 "libyara/hex_lexer.l"
 1237|  1.69k|{
 1238|       |
 1239|  1.69k|  return yytext[0];
  ------------------
  |  |  349|  1.69k|#define yytext yyg->yytext_r
  ------------------
 1240|      0|}
 1241|      0|	YY_BREAK
  ------------------
  |  | 1000|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1242|  3.30k|case 16:
  ------------------
  |  Branch (1242:1): [True: 3.30k, False: 440k]
  ------------------
 1243|  3.30k|YY_RULE_SETUP
 1244|  3.30k|#line 184 "libyara/hex_lexer.l"
 1245|  3.30k|{
 1246|       |
 1247|       |  // strtoll is used instead of atoi because atoi has undefined behaviour for
 1248|       |  // numbers that don't fit in an int. Numbers too large for a long long are
 1249|       |  // clamped to LLONG_MAX by strtoll, which is still caught by the check below.
 1250|       |
 1251|  3.30k|  yylval->integer = strtoll(yytext, NULL, 10);
  ------------------
  |  |  828|  3.30k|    #    define yylval yyg->yylval_r
  ------------------
                yylval->integer = strtoll(yytext, NULL, 10);
  ------------------
  |  |  349|  3.30k|#define yytext yyg->yytext_r
  ------------------
 1252|       |
 1253|       |  // Jump lengths end up stored in the int fields of a RE_NODE, anything above
 1254|       |  // INT_MAX can't be represented.
 1255|       |
 1256|  3.30k|  if (yylval->integer > INT_MAX)
  ------------------
  |  |  828|  3.30k|    #    define yylval yyg->yylval_r
  ------------------
  |  Branch (1256:7): [True: 22, False: 3.28k]
  ------------------
 1257|     22|  {
 1258|     22|    yyerror(yyscanner, lex_env, "jump length too large");
  ------------------
  |  |   48|     22|#define yyerror      hex_yyerror
  ------------------
 1259|     22|    yyterminate();
  ------------------
  |  |  963|     22|#define yyterminate() return YY_NULL
  |  |  ------------------
  |  |  |  |  330|     22|#define YY_NULL 0
  |  |  ------------------
  ------------------
 1260|     22|  }
 1261|       |
 1262|  3.28k|  return _NUMBER_;
  ------------------
  |  |   74|  3.28k|#define _NUMBER_ 262
  ------------------
 1263|  3.30k|}
 1264|      0|	YY_BREAK
  ------------------
  |  | 1000|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1265|  2.95k|case 17:
  ------------------
  |  Branch (1265:1): [True: 2.95k, False: 440k]
  ------------------
 1266|  2.95k|YY_RULE_SETUP
 1267|  2.95k|#line 204 "libyara/hex_lexer.l"
 1268|  2.95k|{
 1269|       |
 1270|  2.95k|  BEGIN(INITIAL);
  ------------------
  |  |  358|  2.95k|#define BEGIN yyg->yy_start = 1 + 2 *
  ------------------
                BEGIN(INITIAL);
  ------------------
  |  |  772|  2.95k|#define INITIAL 0
  ------------------
 1271|  2.95k|  return yytext[0];
  ------------------
  |  |  349|  2.95k|#define yytext yyg->yytext_r
  ------------------
 1272|  3.30k|}
 1273|      0|	YY_BREAK
  ------------------
  |  | 1000|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1274|    282|case 18:
  ------------------
  |  Branch (1274:1): [True: 282, False: 443k]
  ------------------
 1275|       |/* rule 18 can match eol */
 1276|    282|YY_RULE_SETUP
 1277|    282|#line 210 "libyara/hex_lexer.l"
 1278|       |// skip whitespaces
 1279|    282|	YY_BREAK
  ------------------
  |  | 1000|    282|#define YY_BREAK /*LINTED*/break;
  ------------------
 1280|    121|case 19:
  ------------------
  |  Branch (1280:1): [True: 121, False: 443k]
  ------------------
 1281|    121|YY_RULE_SETUP
 1282|    121|#line 212 "libyara/hex_lexer.l"
 1283|    121|{
 1284|       |
 1285|    121|  yyerror(yyscanner, lex_env, "invalid character in hex string jump");
  ------------------
  |  |   48|    121|#define yyerror      hex_yyerror
  ------------------
 1286|    121|  yyterminate();
  ------------------
  |  |  963|    121|#define yyterminate() return YY_NULL
  |  |  ------------------
  |  |  |  |  330|    121|#define YY_NULL 0
  |  |  ------------------
  ------------------
 1287|  3.30k|}
 1288|      0|	YY_BREAK
  ------------------
  |  | 1000|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1289|  3.10k|case 20:
  ------------------
  |  Branch (1289:1): [True: 3.10k, False: 440k]
  ------------------
 1290|       |/* rule 20 can match eol */
 1291|  3.10k|YY_RULE_SETUP
 1292|  3.10k|#line 218 "libyara/hex_lexer.l"
 1293|       |// skip whitespaces
 1294|  3.10k|	YY_BREAK
  ------------------
  |  | 1000|  3.10k|#define YY_BREAK /*LINTED*/break;
  ------------------
 1295|   180k|case 21:
  ------------------
  |  Branch (1295:1): [True: 180k, False: 263k]
  ------------------
 1296|   180k|YY_RULE_SETUP
 1297|   180k|#line 220 "libyara/hex_lexer.l"
 1298|   180k|{        // pass valid characters to the parser
 1299|       |
 1300|   180k|  return yytext[0];
  ------------------
  |  |  349|   180k|#define yytext yyg->yytext_r
  ------------------
 1301|  3.30k|}
 1302|      0|	YY_BREAK
  ------------------
  |  | 1000|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1303|     50|case 22:
  ------------------
  |  Branch (1303:1): [True: 50, False: 443k]
  ------------------
 1304|     50|YY_RULE_SETUP
 1305|     50|#line 225 "libyara/hex_lexer.l"
 1306|     50|{               // reject all other characters
 1307|       |
 1308|     50|  yyerror(yyscanner, lex_env, "invalid character in hex string");
  ------------------
  |  |   48|     50|#define yyerror      hex_yyerror
  ------------------
 1309|     50|  yyterminate();
  ------------------
  |  |  963|     50|#define yyterminate() return YY_NULL
  |  |  ------------------
  |  |  |  |  330|     50|#define YY_NULL 0
  |  |  ------------------
  ------------------
 1310|  3.30k|}
 1311|      0|	YY_BREAK
  ------------------
  |  | 1000|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1312|      0|case 23:
  ------------------
  |  Branch (1312:1): [True: 0, False: 443k]
  ------------------
 1313|      0|YY_RULE_SETUP
 1314|      0|#line 231 "libyara/hex_lexer.l"
 1315|      0|ECHO;
 1316|      0|	YY_BREAK
  ------------------
  |  | 1000|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1317|      0|#line 1317 "libyara/hex_lexer.c"
 1318|  1.29k|case YY_STATE_EOF(INITIAL):
  ------------------
  |  |  366|  1.29k|#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  |  |  ------------------
  |  |  |  |  585|  1.29k|#define YY_END_OF_BUFFER 24
  |  |  ------------------
  ------------------
  |  Branch (1318:1): [True: 1.29k, False: 442k]
  ------------------
 1319|  1.29k|case YY_STATE_EOF(comment):
  ------------------
  |  |  366|  1.29k|#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  |  |  ------------------
  |  |  |  |  585|  1.29k|#define YY_END_OF_BUFFER 24
  |  |  ------------------
  ------------------
  |  Branch (1319:1): [True: 0, False: 443k]
  ------------------
 1320|  1.29k|case YY_STATE_EOF(range):
  ------------------
  |  |  366|  1.29k|#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  |  |  ------------------
  |  |  |  |  585|  1.29k|#define YY_END_OF_BUFFER 24
  |  |  ------------------
  ------------------
  |  Branch (1320:1): [True: 0, False: 443k]
  ------------------
 1321|  1.29k|	yyterminate();
  ------------------
  |  |  963|  1.29k|#define yyterminate() return YY_NULL
  |  |  ------------------
  |  |  |  |  330|  1.29k|#define YY_NULL 0
  |  |  ------------------
  ------------------
 1322|       |
 1323|  2.98k|	case YY_END_OF_BUFFER:
  ------------------
  |  |  585|  2.98k|#define YY_END_OF_BUFFER 24
  ------------------
  |  Branch (1323:2): [True: 2.98k, False: 440k]
  ------------------
 1324|  2.98k|		{
 1325|       |		/* Amount of text matched not including the EOB char. */
 1326|  2.98k|		int yy_amount_of_matched_text = (int) (yy_cp - yyg->yytext_ptr) - 1;
  ------------------
  |  |  568|  2.98k|#define yytext_ptr yytext_r
  ------------------
 1327|       |
 1328|       |		/* Undo the effects of YY_DO_BEFORE_ACTION. */
 1329|  2.98k|		*yy_cp = yyg->yy_hold_char;
 1330|  2.98k|		YY_RESTORE_YY_MORE_OFFSET
 1331|       |
 1332|  2.98k|		if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
  ------------------
  |  |  516|  2.98k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
              		if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
  ------------------
  |  |  487|  2.98k|#define YY_BUFFER_NEW 0
  ------------------
  |  Branch (1332:8): [True: 1.69k, False: 1.29k]
  ------------------
 1333|  1.69k|			{
 1334|       |			/* We're scanning a new file or input source.  It's
 1335|       |			 * possible that this happened because the user
 1336|       |			 * just pointed yyin at a new source and called
 1337|       |			 * yylex().  If so, then we have to assure
 1338|       |			 * consistency between YY_CURRENT_BUFFER and our
 1339|       |			 * globals.  Here is the right place to do so, because
 1340|       |			 * this is the first action (other than possibly a
 1341|       |			 * back-up) that will match for the new input source.
 1342|       |			 */
 1343|  1.69k|			yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  ------------------
  |  |  516|  1.69k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 1344|  1.69k|			YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
  ------------------
  |  |  516|  1.69k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
              			YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
  ------------------
  |  |  345|  1.69k|#define yyin yyg->yyin_r
  ------------------
 1345|  1.69k|			YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
  ------------------
  |  |  516|  1.69k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
              			YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
  ------------------
  |  |  488|  1.69k|#define YY_BUFFER_NORMAL 1
  ------------------
 1346|  1.69k|			}
 1347|       |
 1348|       |		/* Note that here we test for yy_c_buf_p "<=" to the position
 1349|       |		 * of the first EOB in the buffer, since yy_c_buf_p will
 1350|       |		 * already have been incremented past the NUL character
 1351|       |		 * (since all states make transitions on EOB to the
 1352|       |		 * end-of-buffer state).  Contrast this with the test
 1353|       |		 * in input().
 1354|       |		 */
 1355|  2.98k|		if ( yyg->yy_c_buf_p <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] )
  ------------------
  |  |  516|  2.98k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
  |  Branch (1355:8): [True: 0, False: 2.98k]
  ------------------
 1356|      0|			{ /* This was really a NUL. */
 1357|      0|			yy_state_type yy_next_state;
 1358|       |
 1359|      0|			yyg->yy_c_buf_p = yyg->yytext_ptr + yy_amount_of_matched_text;
  ------------------
  |  |  568|      0|#define yytext_ptr yytext_r
  ------------------
 1360|       |
 1361|      0|			yy_current_state = yy_get_previous_state( yyscanner );
 1362|       |
 1363|       |			/* Okay, we're now positioned to make the NUL
 1364|       |			 * transition.  We couldn't have
 1365|       |			 * yy_get_previous_state() go ahead and do it
 1366|       |			 * for us because it doesn't know how to deal
 1367|       |			 * with the possibility of jamming (and we don't
 1368|       |			 * want to build jamming into it because then it
 1369|       |			 * will run more slowly).
 1370|       |			 */
 1371|       |
 1372|      0|			yy_next_state = yy_try_NUL_trans( yy_current_state , yyscanner);
 1373|       |
 1374|      0|			yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
  ------------------
  |  |  568|      0|#define yytext_ptr yytext_r
  ------------------
              			yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
  ------------------
  |  |  692|      0|#define YY_MORE_ADJ 0
  ------------------
 1375|       |
 1376|      0|			if ( yy_next_state )
  ------------------
  |  Branch (1376:9): [True: 0, False: 0]
  ------------------
 1377|      0|				{
 1378|       |				/* Consume the NUL. */
 1379|      0|				yy_cp = ++yyg->yy_c_buf_p;
 1380|      0|				yy_current_state = yy_next_state;
 1381|      0|				goto yy_match;
 1382|      0|				}
 1383|       |
 1384|      0|			else
 1385|      0|				{
 1386|      0|				yy_cp = yyg->yy_last_accepting_cpos;
 1387|      0|				yy_current_state = yyg->yy_last_accepting_state;
 1388|      0|				goto yy_find_action;
 1389|      0|				}
 1390|      0|			}
 1391|       |
 1392|  2.98k|		else switch ( yy_get_next_buffer( yyscanner ) )
  ------------------
  |  Branch (1392:17): [True: 2.98k, False: 0]
  ------------------
 1393|  2.98k|			{
 1394|  1.29k|			case EOB_ACT_END_OF_FILE:
  ------------------
  |  |  399|  1.29k|#define EOB_ACT_END_OF_FILE 1
  ------------------
  |  Branch (1394:4): [True: 1.29k, False: 1.69k]
  ------------------
 1395|  1.29k|				{
 1396|  1.29k|				yyg->yy_did_buffer_switch_on_eof = 0;
 1397|       |
 1398|  1.29k|				if ( yywrap( yyscanner ) )
  ------------------
  |  |  206|  1.29k|#define yywrap hex_yywrap
  |  |  ------------------
  |  |  |  |  562|  1.29k|#define hex_yywrap(yyscanner) (/*CONSTCOND*/1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (562:31): [True: 1.29k, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1399|  1.29k|					{
 1400|       |					/* Note: because we've taken care in
 1401|       |					 * yy_get_next_buffer() to have set up
 1402|       |					 * yytext, we can now set up
 1403|       |					 * yy_c_buf_p so that if some total
 1404|       |					 * hoser (like flex itself) wants to
 1405|       |					 * call the scanner after we return the
 1406|       |					 * YY_NULL, it'll still work - another
 1407|       |					 * YY_NULL will get returned.
 1408|       |					 */
 1409|  1.29k|					yyg->yy_c_buf_p = yyg->yytext_ptr + YY_MORE_ADJ;
  ------------------
  |  |  568|  1.29k|#define yytext_ptr yytext_r
  ------------------
              					yyg->yy_c_buf_p = yyg->yytext_ptr + YY_MORE_ADJ;
  ------------------
  |  |  692|  1.29k|#define YY_MORE_ADJ 0
  ------------------
 1410|       |
 1411|  1.29k|					yy_act = YY_STATE_EOF(YY_START);
  ------------------
  |  |  366|  1.29k|#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  |  |  ------------------
  |  |  |  |  585|  1.29k|#define YY_END_OF_BUFFER 24
  |  |  ------------------
  ------------------
 1412|  1.29k|					goto do_action;
 1413|  1.29k|					}
 1414|       |
 1415|      0|				else
 1416|      0|					{
 1417|      0|					if ( ! yyg->yy_did_buffer_switch_on_eof )
  ------------------
  |  Branch (1417:11): [True: 0, False: 0]
  ------------------
 1418|      0|						YY_NEW_FILE;
  ------------------
  |  |  368|      0|#define YY_NEW_FILE yyrestart( yyin , yyscanner )
  |  |  ------------------
  |  |  |  |   98|      0|#define yyrestart hex_yyrestart
  |  |  ------------------
  |  |               #define YY_NEW_FILE yyrestart( yyin , yyscanner )
  |  |  ------------------
  |  |  |  |  345|      0|#define yyin yyg->yyin_r
  |  |  ------------------
  ------------------
 1419|      0|					}
 1420|      0|				break;
 1421|  1.29k|				}
 1422|       |
 1423|      0|			case EOB_ACT_CONTINUE_SCAN:
  ------------------
  |  |  398|      0|#define EOB_ACT_CONTINUE_SCAN 0
  ------------------
  |  Branch (1423:4): [True: 0, False: 2.98k]
  ------------------
 1424|      0|				yyg->yy_c_buf_p =
 1425|      0|					yyg->yytext_ptr + yy_amount_of_matched_text;
  ------------------
  |  |  568|      0|#define yytext_ptr yytext_r
  ------------------
 1426|       |
 1427|      0|				yy_current_state = yy_get_previous_state( yyscanner );
 1428|       |
 1429|      0|				yy_cp = yyg->yy_c_buf_p;
 1430|      0|				yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
  ------------------
  |  |  568|      0|#define yytext_ptr yytext_r
  ------------------
              				yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
  ------------------
  |  |  692|      0|#define YY_MORE_ADJ 0
  ------------------
 1431|      0|				goto yy_match;
 1432|       |
 1433|  1.69k|			case EOB_ACT_LAST_MATCH:
  ------------------
  |  |  400|  1.69k|#define EOB_ACT_LAST_MATCH 2
  ------------------
  |  Branch (1433:4): [True: 1.69k, False: 1.29k]
  ------------------
 1434|  1.69k|				yyg->yy_c_buf_p =
 1435|  1.69k|				&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars];
  ------------------
  |  |  516|  1.69k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 1436|       |
 1437|  1.69k|				yy_current_state = yy_get_previous_state( yyscanner );
 1438|       |
 1439|  1.69k|				yy_cp = yyg->yy_c_buf_p;
 1440|  1.69k|				yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
  ------------------
  |  |  568|  1.69k|#define yytext_ptr yytext_r
  ------------------
              				yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
  ------------------
  |  |  692|  1.69k|#define YY_MORE_ADJ 0
  ------------------
 1441|  1.69k|				goto yy_find_action;
 1442|  2.98k|			}
 1443|      0|		break;
 1444|  2.98k|		}
 1445|       |
 1446|      0|	default:
  ------------------
  |  Branch (1446:2): [True: 0, False: 443k]
  ------------------
 1447|      0|		YY_FATAL_ERROR(
  ------------------
  |  |   86|      0|#define YY_FATAL_ERROR(msg) hex_yyfatal(yyscanner, msg)
  ------------------
 1448|   443k|			"fatal flex scanner internal error--no action found" );
 1449|   443k|	} /* end of action switch */
 1450|   443k|		} /* end of scanning one token */
 1451|   285k|	} /* end of user's declarations */
 1452|   285k|} /* end of yylex */
hex_yy_switch_to_buffer:
 1768|  2.27k|{
 1769|  2.27k|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 1770|       |
 1771|       |	/* TODO. We should be able to replace this entire function body
 1772|       |	 * with
 1773|       |	 *		yypop_buffer_state();
 1774|       |	 *		yypush_buffer_state(new_buffer);
 1775|       |     */
 1776|  2.27k|	yyensure_buffer_stack (yyscanner);
  ------------------
  |  |   86|  2.27k|#define yyensure_buffer_stack hex_yyensure_buffer_stack
  ------------------
 1777|  2.27k|	if ( YY_CURRENT_BUFFER == new_buffer )
  ------------------
  |  |  510|  2.27k|#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  |  |  ------------------
  |  |  |  Branch (510:29): [True: 2.27k, False: 0]
  |  |  ------------------
  |  |  511|  2.27k|                          ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  |  |  512|  2.27k|                          : NULL)
  ------------------
  |  Branch (1777:7): [True: 0, False: 2.27k]
  ------------------
 1778|      0|		return;
 1779|       |
 1780|  2.27k|	if ( YY_CURRENT_BUFFER )
  ------------------
  |  |  510|  2.27k|#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  |  |  ------------------
  |  |  |  Branch (510:27): [True: 0, False: 2.27k]
  |  |  |  Branch (510:29): [True: 2.27k, False: 0]
  |  |  ------------------
  |  |  511|  2.27k|                          ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  |  |  512|  2.27k|                          : NULL)
  ------------------
 1781|      0|		{
 1782|       |		/* Flush out information for old buffer. */
 1783|      0|		*yyg->yy_c_buf_p = yyg->yy_hold_char;
 1784|      0|		YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p;
  ------------------
  |  |  516|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 1785|      0|		YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
  ------------------
  |  |  516|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 1786|      0|		}
 1787|       |
 1788|  2.27k|	YY_CURRENT_BUFFER_LVALUE = new_buffer;
  ------------------
  |  |  516|  2.27k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 1789|  2.27k|	yy_load_buffer_state( yyscanner );
  ------------------
  |  |   62|  2.27k|#define yy_load_buffer_state hex_yy_load_buffer_state
  ------------------
 1790|       |
 1791|       |	/* We don't actually know whether we did this switch during
 1792|       |	 * EOF (yywrap()) processing, but the only time this flag
 1793|       |	 * is looked at is after yywrap() is called, so it's safe
 1794|       |	 * to go ahead and always set it.
 1795|       |	 */
 1796|  2.27k|	yyg->yy_did_buffer_switch_on_eof = 1;
 1797|  2.27k|}
hex_yy_delete_buffer:
 1843|  2.27k|{
 1844|  2.27k|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 1845|       |
 1846|  2.27k|	if ( ! b )
  ------------------
  |  Branch (1846:7): [True: 0, False: 2.27k]
  ------------------
 1847|      0|		return;
 1848|       |
 1849|  2.27k|	if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
  ------------------
  |  |  510|  2.27k|#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  |  |  ------------------
  |  |  |  Branch (510:29): [True: 2.27k, False: 0]
  |  |  ------------------
  |  |  511|  2.27k|                          ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  |  |  512|  2.27k|                          : NULL)
  ------------------
  |  Branch (1849:7): [True: 2.27k, False: 0]
  ------------------
 1850|  2.27k|		YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
  ------------------
  |  |  516|  2.27k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 1851|       |
 1852|  2.27k|	if ( b->yy_is_our_buffer )
  ------------------
  |  Branch (1852:7): [True: 2.27k, False: 0]
  ------------------
 1853|  2.27k|		yyfree( (void *) b->yy_ch_buf , yyscanner );
  ------------------
  |  |  236|  2.27k|#define yyfree hex_yyfree
  ------------------
 1854|       |
 1855|  2.27k|	yyfree( (void *) b , yyscanner );
  ------------------
  |  |  236|  2.27k|#define yyfree hex_yyfree
  ------------------
 1856|  2.27k|}
hex_yypop_buffer_state:
 1953|  2.27k|{
 1954|  2.27k|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 1955|  2.27k|	if (!YY_CURRENT_BUFFER)
  ------------------
  |  |  510|  2.27k|#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  |  |  ------------------
  |  |  |  Branch (510:29): [True: 2.27k, False: 0]
  |  |  ------------------
  |  |  511|  2.27k|                          ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  |  |  512|  2.27k|                          : NULL)
  ------------------
  |  Branch (1955:6): [True: 2.27k, False: 0]
  ------------------
 1956|  2.27k|		return;
 1957|       |
 1958|      0|	yy_delete_buffer(YY_CURRENT_BUFFER , yyscanner);
  ------------------
  |  |   26|      0|#define yy_delete_buffer hex_yy_delete_buffer
  ------------------
              	yy_delete_buffer(YY_CURRENT_BUFFER , yyscanner);
  ------------------
  |  |  510|      0|#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  |  |  ------------------
  |  |  |  Branch (510:29): [True: 0, False: 0]
  |  |  ------------------
  |  |  511|      0|                          ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  |  |  512|      0|                          : NULL)
  ------------------
 1959|      0|	YY_CURRENT_BUFFER_LVALUE = NULL;
  ------------------
  |  |  516|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 1960|      0|	if (yyg->yy_buffer_stack_top > 0)
  ------------------
  |  Branch (1960:6): [True: 0, False: 0]
  ------------------
 1961|      0|		--yyg->yy_buffer_stack_top;
 1962|       |
 1963|      0|	if (YY_CURRENT_BUFFER) {
  ------------------
  |  |  510|      0|#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  |  |  ------------------
  |  |  |  Branch (510:27): [True: 0, False: 0]
  |  |  |  Branch (510:29): [True: 0, False: 0]
  |  |  ------------------
  |  |  511|      0|                          ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  |  |  512|      0|                          : NULL)
  ------------------
 1964|      0|		yy_load_buffer_state( yyscanner );
  ------------------
  |  |   62|      0|#define yy_load_buffer_state hex_yy_load_buffer_state
  ------------------
 1965|      0|		yyg->yy_did_buffer_switch_on_eof = 1;
 1966|      0|	}
 1967|      0|}
hex_yy_scan_buffer:
 2023|  2.27k|{
 2024|  2.27k|	YY_BUFFER_STATE b;
 2025|       |    
 2026|  2.27k|	if ( size < 2 ||
  ------------------
  |  Branch (2026:7): [True: 0, False: 2.27k]
  ------------------
 2027|  2.27k|	     base[size-2] != YY_END_OF_BUFFER_CHAR ||
  ------------------
  |  |  369|  4.55k|#define YY_END_OF_BUFFER_CHAR 0
  ------------------
  |  Branch (2027:7): [True: 0, False: 2.27k]
  ------------------
 2028|  2.27k|	     base[size-1] != YY_END_OF_BUFFER_CHAR )
  ------------------
  |  |  369|  2.27k|#define YY_END_OF_BUFFER_CHAR 0
  ------------------
  |  Branch (2028:7): [True: 0, False: 2.27k]
  ------------------
 2029|       |		/* They forgot to leave room for the EOB's. */
 2030|      0|		return NULL;
 2031|       |
 2032|  2.27k|	b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) , yyscanner );
  ------------------
  |  |  224|  2.27k|#define yyalloc hex_yyalloc
  ------------------
 2033|  2.27k|	if ( ! b )
  ------------------
  |  Branch (2033:7): [True: 0, False: 2.27k]
  ------------------
 2034|      0|		YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
  ------------------
  |  |   86|      0|#define YY_FATAL_ERROR(msg) hex_yyfatal(yyscanner, msg)
  ------------------
 2035|       |
 2036|  2.27k|	b->yy_buf_size = (int) (size - 2);	/* "- 2" to take care of EOB's */
 2037|  2.27k|	b->yy_buf_pos = b->yy_ch_buf = base;
 2038|  2.27k|	b->yy_is_our_buffer = 0;
 2039|  2.27k|	b->yy_input_file = NULL;
 2040|  2.27k|	b->yy_n_chars = b->yy_buf_size;
 2041|  2.27k|	b->yy_is_interactive = 0;
 2042|  2.27k|	b->yy_at_bol = 1;
 2043|  2.27k|	b->yy_fill_buffer = 0;
 2044|  2.27k|	b->yy_buffer_status = YY_BUFFER_NEW;
  ------------------
  |  |  487|  2.27k|#define YY_BUFFER_NEW 0
  ------------------
 2045|       |
 2046|  2.27k|	yy_switch_to_buffer( b , yyscanner );
  ------------------
  |  |   68|  2.27k|#define yy_switch_to_buffer hex_yy_switch_to_buffer
  ------------------
 2047|       |
 2048|  2.27k|	return b;
 2049|  2.27k|}
hex_yy_scan_string:
 2060|  2.27k|{
 2061|       |    
 2062|  2.27k|	return yy_scan_bytes( yystr, (int) strlen(yystr) , yyscanner);
  ------------------
  |  |   44|  2.27k|#define yy_scan_bytes hex_yy_scan_bytes
  ------------------
 2063|  2.27k|}
hex_yy_scan_bytes:
 2073|  2.27k|{
 2074|  2.27k|	YY_BUFFER_STATE b;
 2075|  2.27k|	char *buf;
 2076|  2.27k|	yy_size_t n;
 2077|  2.27k|	yy_size_t i;
 2078|       |    
 2079|       |	/* Get memory for full buffer, including space for trailing EOB's. */
 2080|  2.27k|	n = (yy_size_t) (_yybytes_len + 2);
 2081|  2.27k|	buf = (char *) yyalloc( n , yyscanner );
  ------------------
  |  |  224|  2.27k|#define yyalloc hex_yyalloc
  ------------------
 2082|  2.27k|	if ( ! buf )
  ------------------
  |  Branch (2082:7): [True: 0, False: 2.27k]
  ------------------
 2083|      0|		YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
  ------------------
  |  |   86|      0|#define YY_FATAL_ERROR(msg) hex_yyfatal(yyscanner, msg)
  ------------------
 2084|       |
 2085|   556k|	for ( i = 0; i < _yybytes_len; ++i )
  ------------------
  |  Branch (2085:15): [True: 554k, False: 2.27k]
  ------------------
 2086|   554k|		buf[i] = yybytes[i];
 2087|       |
 2088|  2.27k|	buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
  ------------------
  |  |  369|  2.27k|#define YY_END_OF_BUFFER_CHAR 0
  ------------------
 2089|       |
 2090|  2.27k|	b = yy_scan_buffer( buf, n , yyscanner);
  ------------------
  |  |   32|  2.27k|#define yy_scan_buffer hex_yy_scan_buffer
  ------------------
 2091|  2.27k|	if ( ! b )
  ------------------
  |  Branch (2091:7): [True: 0, False: 2.27k]
  ------------------
 2092|      0|		YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
  ------------------
  |  |   86|      0|#define YY_FATAL_ERROR(msg) hex_yyfatal(yyscanner, msg)
  ------------------
 2093|       |
 2094|       |	/* It's okay to grow etc. this buffer, and we should throw it
 2095|       |	 * away when we're done.
 2096|       |	 */
 2097|  2.27k|	b->yy_is_our_buffer = 1;
 2098|       |
 2099|  2.27k|	return b;
 2100|  2.27k|}
hex_yyget_extra:
 2137|  23.1k|{
 2138|  23.1k|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 2139|  23.1k|    return yyextra;
  ------------------
  |  |  347|  23.1k|#define yyextra yyg->yyextra_r
  ------------------
 2140|  23.1k|}
hex_yyset_extra:
 2210|  2.27k|{
 2211|  2.27k|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 2212|  2.27k|    yyextra = user_defined ;
  ------------------
  |  |  347|  2.27k|#define yyextra yyg->yyextra_r
  ------------------
 2213|  2.27k|}
hex_yylex_init:
 2296|  2.27k|{
 2297|  2.27k|    if (ptr_yy_globals == NULL){
  ------------------
  |  Branch (2297:9): [True: 0, False: 2.27k]
  ------------------
 2298|      0|        errno = EINVAL;
 2299|      0|        return 1;
 2300|      0|    }
 2301|       |
 2302|  2.27k|    *ptr_yy_globals = (yyscan_t) yyalloc ( sizeof( struct yyguts_t ), NULL );
  ------------------
  |  |  224|  2.27k|#define yyalloc hex_yyalloc
  ------------------
 2303|       |
 2304|  2.27k|    if (*ptr_yy_globals == NULL){
  ------------------
  |  Branch (2304:9): [True: 0, False: 2.27k]
  ------------------
 2305|      0|        errno = ENOMEM;
 2306|      0|        return 1;
 2307|      0|    }
 2308|       |
 2309|       |    /* By setting to 0xAA, we expose bugs in yy_init_globals. Leave at 0x00 for releases. */
 2310|  2.27k|    memset(*ptr_yy_globals,0x00,sizeof(struct yyguts_t));
 2311|       |
 2312|  2.27k|    return yy_init_globals ( *ptr_yy_globals );
 2313|  2.27k|}
hex_yylex_destroy:
 2384|  2.27k|{
 2385|  2.27k|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 2386|       |
 2387|       |    /* Pop the buffer stack, destroying each element. */
 2388|  4.55k|	while(YY_CURRENT_BUFFER){
  ------------------
  |  |  510|  4.55k|#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  |  |  ------------------
  |  |  |  Branch (510:27): [True: 2.27k, False: 2.27k]
  |  |  |  Branch (510:29): [True: 4.55k, False: 0]
  |  |  ------------------
  |  |  511|  4.55k|                          ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  |  |  512|  4.55k|                          : NULL)
  ------------------
 2389|  2.27k|		yy_delete_buffer( YY_CURRENT_BUFFER , yyscanner );
  ------------------
  |  |   26|  2.27k|#define yy_delete_buffer hex_yy_delete_buffer
  ------------------
              		yy_delete_buffer( YY_CURRENT_BUFFER , yyscanner );
  ------------------
  |  |  510|  2.27k|#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  |  |  ------------------
  |  |  |  Branch (510:29): [True: 2.27k, False: 0]
  |  |  ------------------
  |  |  511|  2.27k|                          ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  |  |  512|  2.27k|                          : NULL)
  ------------------
 2390|  2.27k|		YY_CURRENT_BUFFER_LVALUE = NULL;
  ------------------
  |  |  516|  2.27k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 2391|  2.27k|		yypop_buffer_state(yyscanner);
  ------------------
  |  |   80|  2.27k|#define yypop_buffer_state hex_yypop_buffer_state
  ------------------
 2392|  2.27k|	}
 2393|       |
 2394|       |	/* Destroy the stack itself. */
 2395|  2.27k|	yyfree(yyg->yy_buffer_stack , yyscanner);
  ------------------
  |  |  236|  2.27k|#define yyfree hex_yyfree
  ------------------
 2396|  2.27k|	yyg->yy_buffer_stack = NULL;
 2397|       |
 2398|       |    /* Destroy the start condition stack. */
 2399|  2.27k|        yyfree( yyg->yy_start_stack , yyscanner );
  ------------------
  |  |  236|  2.27k|#define yyfree hex_yyfree
  ------------------
 2400|  2.27k|        yyg->yy_start_stack = NULL;
 2401|       |
 2402|       |    /* Reset the globals. This is important in a non-reentrant scanner so the next time
 2403|       |     * yylex() is called, initialization will occur. */
 2404|  2.27k|    yy_init_globals( yyscanner);
 2405|       |
 2406|       |    /* Destroy the main struct (reentrant only). */
 2407|  2.27k|    yyfree ( yyscanner , yyscanner );
  ------------------
  |  |  236|  2.27k|#define yyfree hex_yyfree
  ------------------
 2408|       |    yyscanner = NULL;
 2409|  2.27k|    return 0;
 2410|  2.27k|}
hex_yyalloc:
 2440|  9.10k|{
 2441|  9.10k|	struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 2442|  9.10k|	(void)yyg;
 2443|  9.10k|	return malloc(size);
 2444|  9.10k|}
hex_yyfree:
 2462|  11.3k|{
 2463|  11.3k|	struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 2464|  11.3k|	(void)yyg;
 2465|  11.3k|	free( (char *) ptr );	/* see yyrealloc() for (char *) cast */
 2466|  11.3k|}
hex_yyerror:
 2494|  1.37k|{
 2495|       |  // if lex_env->last_error was set to some error code before
 2496|       |  // don't overwrite it, we are interested in the first error, not in
 2497|       |  // subsequent errors like "syntax error, unexpected $end" caused by
 2498|       |  // early parser termination.
 2499|       |
 2500|  1.37k|  if (lex_env->last_error == ERROR_SUCCESS)
  ------------------
  |  |   40|  1.37k|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (2500:7): [True: 978, False: 392]
  ------------------
 2501|    978|  {
 2502|    978|    lex_env->last_error = ERROR_INVALID_HEX_STRING;
  ------------------
  |  |   55|    978|#define ERROR_INVALID_HEX_STRING             10
  ------------------
 2503|       |
 2504|    978|    strlcpy(
 2505|    978|        lex_env->last_error_message,
 2506|    978|        error_message,
 2507|    978|        sizeof(lex_env->last_error_message));
 2508|    978|  }
 2509|  1.37k|}
yr_parse_hex_string:
 2516|  2.27k|{
 2517|  2.27k|  yyscan_t yyscanner;
 2518|  2.27k|  jmp_buf recovery_trampoline;
 2519|  2.27k|  HEX_LEX_ENVIRONMENT lex_env;
 2520|       |
 2521|  2.27k|  lex_env.last_error = ERROR_SUCCESS;
  ------------------
  |  |   40|  2.27k|#define ERROR_SUCCESS 0
  ------------------
 2522|  2.27k|  lex_env.inside_or = 0;
 2523|  2.27k|  lex_env.last_error_message[0] = '\0';
 2524|       |
 2525|  2.27k|  yr_thread_storage_set_value(
 2526|  2.27k|     &yr_yyfatal_trampoline_tls,
 2527|  2.27k|     &recovery_trampoline);
 2528|       |
 2529|  2.27k|  if (setjmp(recovery_trampoline) != 0)
  ------------------
  |  Branch (2529:7): [True: 0, False: 2.27k]
  ------------------
 2530|      0|    return ERROR_INTERNAL_FATAL_ERROR;
  ------------------
  |  |   78|      0|#define ERROR_INTERNAL_FATAL_ERROR           31
  ------------------
 2531|       |
 2532|  2.27k|  FAIL_ON_ERROR(yr_re_ast_create(re_ast));
  ------------------
  |  |  134|  2.27k|  {                               \
  |  |  135|  2.27k|    int __error = (x);            \
  |  |  136|  2.27k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  2.27k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 2.27k]
  |  |  ------------------
  |  |  137|  2.27k|      return __error;             \
  |  |  138|  2.27k|  }
  ------------------
 2533|       |
 2534|       |  // The RE_FLAGS_FAST_REGEXP flag indicates a regular expression can be
 2535|       |  // matched by faster algorithm. These regular expressions come from hex
 2536|       |  // strings that do not contain alternatives, like in:
 2537|       |  //
 2538|       |  // { ( 01 02 | 03 04) 05 06 }.
 2539|       |  //
 2540|       |  // This flag is unset later during parsing if alternatives are used.
 2541|       |
 2542|  2.27k|  (*re_ast)->flags |= RE_FLAGS_FAST_REGEXP;
  ------------------
  |  |   94|  2.27k|#define RE_FLAGS_FAST_REGEXP 0x02
  ------------------
 2543|       |
 2544|       |  // Set RE_FLAGS_DOT_ALL because in hex strings the "dot" (?? in this case)
 2545|       |  // must match all characters including new-line.
 2546|       |
 2547|  2.27k|  (*re_ast)->flags |= RE_FLAGS_DOT_ALL;
  ------------------
  |  |  100|  2.27k|#define RE_FLAGS_DOT_ALL     0x80
  ------------------
 2548|       |
 2549|  2.27k|  if (yylex_init(&yyscanner) != 0)
  ------------------
  |  |  104|  2.27k|#define yylex_init hex_yylex_init
  ------------------
  |  Branch (2549:7): [True: 0, False: 2.27k]
  ------------------
 2550|      0|  {
 2551|      0|    yr_re_ast_destroy(*re_ast);
 2552|      0|    *re_ast = NULL;
 2553|      0|    return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
 2554|      0|  }
 2555|       |
 2556|  2.27k|  yyset_extra(*re_ast, yyscanner);
  ------------------
  |  |  140|  2.27k|#define yyset_extra hex_yyset_extra
  ------------------
 2557|  2.27k|  yy_scan_string(hex_string, yyscanner);
  ------------------
  |  |   38|  2.27k|#define yy_scan_string hex_yy_scan_string
  ------------------
 2558|  2.27k|  yyparse(yyscanner, &lex_env);
  ------------------
  |  |   46|  2.27k|#define yyparse      hex_yyparse
  ------------------
 2559|  2.27k|  yylex_destroy(yyscanner);
  ------------------
  |  |  116|  2.27k|#define yylex_destroy hex_yylex_destroy
  ------------------
 2560|       |
 2561|  2.27k|  if (lex_env.last_error != ERROR_SUCCESS)
  ------------------
  |  |   40|  2.27k|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (2561:7): [True: 981, False: 1.29k]
  ------------------
 2562|    981|  {
 2563|    981|    yr_re_ast_destroy(*re_ast);
 2564|    981|    *re_ast = NULL;
 2565|       |
 2566|    981|    strlcpy(error->message, lex_env.last_error_message, sizeof(error->message));
 2567|    981|    return lex_env.last_error;
 2568|    981|  }
 2569|       |
 2570|  1.29k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  1.29k|#define ERROR_SUCCESS 0
  ------------------
 2571|  2.27k|}
hex_lexer.c:yy_get_next_buffer:
 1462|  2.98k|{
 1463|  2.98k|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 1464|  2.98k|	char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
  ------------------
  |  |  516|  2.98k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 1465|  2.98k|	char *source = yyg->yytext_ptr;
  ------------------
  |  |  568|  2.98k|#define yytext_ptr yytext_r
  ------------------
 1466|  2.98k|	int number_to_move, i;
 1467|  2.98k|	int ret_val;
 1468|       |
 1469|  2.98k|	if ( yyg->yy_c_buf_p > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] )
  ------------------
  |  |  516|  2.98k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
  |  Branch (1469:7): [True: 0, False: 2.98k]
  ------------------
 1470|      0|		YY_FATAL_ERROR(
  ------------------
  |  |   86|      0|#define YY_FATAL_ERROR(msg) hex_yyfatal(yyscanner, msg)
  ------------------
 1471|  2.98k|		"fatal flex scanner internal error--end of buffer missed" );
 1472|       |
 1473|  2.98k|	if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
  ------------------
  |  |  516|  2.98k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
  |  Branch (1473:7): [True: 2.98k, False: 0]
  ------------------
 1474|  2.98k|		{ /* Don't try to fill the buffer, so this is an EOF. */
 1475|  2.98k|		if ( yyg->yy_c_buf_p - yyg->yytext_ptr - YY_MORE_ADJ == 1 )
  ------------------
  |  |  568|  2.98k|#define yytext_ptr yytext_r
  ------------------
              		if ( yyg->yy_c_buf_p - yyg->yytext_ptr - YY_MORE_ADJ == 1 )
  ------------------
  |  |  692|  2.98k|#define YY_MORE_ADJ 0
  ------------------
  |  Branch (1475:8): [True: 1.29k, False: 1.69k]
  ------------------
 1476|  1.29k|			{
 1477|       |			/* We matched a single character, the EOB, so
 1478|       |			 * treat this as a final EOF.
 1479|       |			 */
 1480|  1.29k|			return EOB_ACT_END_OF_FILE;
  ------------------
  |  |  399|  1.29k|#define EOB_ACT_END_OF_FILE 1
  ------------------
 1481|  1.29k|			}
 1482|       |
 1483|  1.69k|		else
 1484|  1.69k|			{
 1485|       |			/* We matched some text prior to the EOB, first
 1486|       |			 * process it.
 1487|       |			 */
 1488|  1.69k|			return EOB_ACT_LAST_MATCH;
  ------------------
  |  |  400|  1.69k|#define EOB_ACT_LAST_MATCH 2
  ------------------
 1489|  1.69k|			}
 1490|  2.98k|		}
 1491|       |
 1492|       |	/* Try to read more data. */
 1493|       |
 1494|       |	/* First move last chars to start of buffer. */
 1495|      0|	number_to_move = (int) (yyg->yy_c_buf_p - yyg->yytext_ptr - 1);
  ------------------
  |  |  568|      0|#define yytext_ptr yytext_r
  ------------------
 1496|       |
 1497|      0|	for ( i = 0; i < number_to_move; ++i )
  ------------------
  |  Branch (1497:15): [True: 0, False: 0]
  ------------------
 1498|      0|		*(dest++) = *(source++);
 1499|       |
 1500|      0|	if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
  ------------------
  |  |  516|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
              	if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
  ------------------
  |  |  499|      0|#define YY_BUFFER_EOF_PENDING 2
  ------------------
  |  Branch (1500:7): [True: 0, False: 0]
  ------------------
 1501|       |		/* don't do the read, it's not guaranteed to return an EOF,
 1502|       |		 * just force an EOF
 1503|       |		 */
 1504|      0|		YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars = 0;
  ------------------
  |  |  516|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 1505|       |
 1506|      0|	else
 1507|      0|		{
 1508|      0|			yy_size_t num_to_read =
 1509|      0|			YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
  ------------------
  |  |  516|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 1510|       |
 1511|      0|		while ( num_to_read <= 0 )
  ------------------
  |  Branch (1511:11): [True: 0, False: 0]
  ------------------
 1512|      0|			{ /* Not enough room in the buffer - grow it. */
 1513|       |
 1514|       |			/* just a shorter name for the current buffer */
 1515|      0|			YY_BUFFER_STATE b = YY_CURRENT_BUFFER_LVALUE;
  ------------------
  |  |  516|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 1516|       |
 1517|      0|			int yy_c_buf_p_offset =
 1518|      0|				(int) (yyg->yy_c_buf_p - b->yy_ch_buf);
 1519|       |
 1520|      0|			if ( b->yy_is_our_buffer )
  ------------------
  |  Branch (1520:9): [True: 0, False: 0]
  ------------------
 1521|      0|				{
 1522|      0|				yy_size_t new_size = b->yy_buf_size * 2;
 1523|       |
 1524|      0|				if ( new_size <= 0 )
  ------------------
  |  Branch (1524:10): [True: 0, False: 0]
  ------------------
 1525|      0|					b->yy_buf_size += b->yy_buf_size / 8;
 1526|      0|				else
 1527|      0|					b->yy_buf_size *= 2;
 1528|       |
 1529|      0|				b->yy_ch_buf = (char *)
 1530|       |					/* Include room in for 2 EOB chars. */
 1531|      0|					yyrealloc( (void *) b->yy_ch_buf,
  ------------------
  |  |  230|      0|#define yyrealloc hex_yyrealloc
  ------------------
 1532|      0|							 (yy_size_t) (b->yy_buf_size + 2) , yyscanner );
 1533|      0|				}
 1534|      0|			else
 1535|       |				/* Can't grow it, we don't own it. */
 1536|      0|				b->yy_ch_buf = NULL;
 1537|       |
 1538|      0|			if ( ! b->yy_ch_buf )
  ------------------
  |  Branch (1538:9): [True: 0, False: 0]
  ------------------
 1539|      0|				YY_FATAL_ERROR(
  ------------------
  |  |   86|      0|#define YY_FATAL_ERROR(msg) hex_yyfatal(yyscanner, msg)
  ------------------
 1540|      0|				"fatal error - scanner input buffer overflow" );
 1541|       |
 1542|      0|			yyg->yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
 1543|       |
 1544|      0|			num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
  ------------------
  |  |  516|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 1545|      0|						number_to_move - 1;
 1546|       |
 1547|      0|			}
 1548|       |
 1549|      0|		if ( num_to_read > YY_READ_BUF_SIZE )
  ------------------
  |  |  910|      0|#define YY_READ_BUF_SIZE 8192
  ------------------
  |  Branch (1549:8): [True: 0, False: 0]
  ------------------
 1550|      0|			num_to_read = YY_READ_BUF_SIZE;
  ------------------
  |  |  910|      0|#define YY_READ_BUF_SIZE 8192
  ------------------
 1551|       |
 1552|       |		/* Read in more data. */
 1553|      0|		YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
  ------------------
  |  |  927|      0|	if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
  |  |  ------------------
  |  |  |  |  516|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  |  |  ------------------
  |  |  |  Branch (927:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  928|      0|		{ \
  |  |  929|      0|		int c = '*'; \
  |  |  930|      0|		yy_size_t n; \
  |  |  931|      0|		for ( n = 0; n < max_size && \
  |  |  ------------------
  |  |  |  Branch (931:16): [True: 0, False: 0]
  |  |  ------------------
  |  |  932|      0|			     (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
  |  |  ------------------
  |  |  |  |  345|      0|#define yyin yyg->yyin_r
  |  |  ------------------
  |  |  |  Branch (932:9): [True: 0, False: 0]
  |  |  |  Branch (932:38): [True: 0, False: 0]
  |  |  ------------------
  |  |  933|      0|			buf[n] = (char) c; \
  |  |  934|      0|		if ( c == '\n' ) \
  |  |  ------------------
  |  |  |  Branch (934:8): [True: 0, False: 0]
  |  |  ------------------
  |  |  935|      0|			buf[n++] = (char) c; \
  |  |  936|      0|		if ( c == EOF && ferror( yyin ) ) \
  |  |  ------------------
  |  |  |  |  345|      0|#define yyin yyg->yyin_r
  |  |  ------------------
  |  |  |  Branch (936:8): [True: 0, False: 0]
  |  |  |  Branch (936:20): [True: 0, False: 0]
  |  |  ------------------
  |  |  937|      0|			YY_FATAL_ERROR( "input in flex scanner failed" ); \
  |  |  ------------------
  |  |  |  |   86|      0|#define YY_FATAL_ERROR(msg) hex_yyfatal(yyscanner, msg)
  |  |  ------------------
  |  |  938|      0|		result = n; \
  |  |  939|      0|		} \
  |  |  940|      0|	else \
  |  |  941|      0|		{ \
  |  |  942|      0|		errno=0; \
  |  |  943|      0|		while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \
  |  |  ------------------
  |  |  |  |  345|      0|#define yyin yyg->yyin_r
  |  |  ------------------
  |  |               		while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \
  |  |  ------------------
  |  |  |  |  345|      0|#define yyin yyg->yyin_r
  |  |  ------------------
  |  |  |  Branch (943:11): [True: 0, False: 0]
  |  |  |  Branch (943:78): [True: 0, False: 0]
  |  |  ------------------
  |  |  944|      0|			{ \
  |  |  945|      0|			if( errno != EINTR) \
  |  |  ------------------
  |  |  |  Branch (945:8): [True: 0, False: 0]
  |  |  ------------------
  |  |  946|      0|				{ \
  |  |  947|      0|				YY_FATAL_ERROR( "input in flex scanner failed" ); \
  |  |  ------------------
  |  |  |  |   86|      0|#define YY_FATAL_ERROR(msg) hex_yyfatal(yyscanner, msg)
  |  |  ------------------
  |  |  948|      0|				break; \
  |  |  949|      0|				} \
  |  |  950|      0|			errno=0; \
  |  |  951|      0|			clearerr(yyin); \
  |  |  ------------------
  |  |  |  |  345|      0|#define yyin yyg->yyin_r
  |  |  ------------------
  |  |  952|      0|			} \
  |  |  953|      0|		}\
  ------------------
 1554|      0|			yyg->yy_n_chars, num_to_read );
 1555|       |
 1556|      0|		YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
  ------------------
  |  |  516|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 1557|      0|		}
 1558|       |
 1559|      0|	if ( yyg->yy_n_chars == 0 )
  ------------------
  |  Branch (1559:7): [True: 0, False: 0]
  ------------------
 1560|      0|		{
 1561|      0|		if ( number_to_move == YY_MORE_ADJ )
  ------------------
  |  |  692|      0|#define YY_MORE_ADJ 0
  ------------------
  |  Branch (1561:8): [True: 0, False: 0]
  ------------------
 1562|      0|			{
 1563|      0|			ret_val = EOB_ACT_END_OF_FILE;
  ------------------
  |  |  399|      0|#define EOB_ACT_END_OF_FILE 1
  ------------------
 1564|      0|			yyrestart( yyin  , yyscanner);
  ------------------
  |  |   98|      0|#define yyrestart hex_yyrestart
  ------------------
              			yyrestart( yyin  , yyscanner);
  ------------------
  |  |  345|      0|#define yyin yyg->yyin_r
  ------------------
 1565|      0|			}
 1566|       |
 1567|      0|		else
 1568|      0|			{
 1569|      0|			ret_val = EOB_ACT_LAST_MATCH;
  ------------------
  |  |  400|      0|#define EOB_ACT_LAST_MATCH 2
  ------------------
 1570|      0|			YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
  ------------------
  |  |  516|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 1571|      0|				YY_BUFFER_EOF_PENDING;
  ------------------
  |  |  499|      0|#define YY_BUFFER_EOF_PENDING 2
  ------------------
 1572|      0|			}
 1573|      0|		}
 1574|       |
 1575|      0|	else
 1576|      0|		ret_val = EOB_ACT_CONTINUE_SCAN;
  ------------------
  |  |  398|      0|#define EOB_ACT_CONTINUE_SCAN 0
  ------------------
 1577|       |
 1578|      0|	if ((yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
  ------------------
  |  |  516|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
  |  Branch (1578:6): [True: 0, False: 0]
  ------------------
 1579|       |		/* Extend the array by 50%, plus the number we really need. */
 1580|      0|		yy_size_t new_size = yyg->yy_n_chars + number_to_move + (yyg->yy_n_chars >> 1);
 1581|      0|		YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc(
  ------------------
  |  |  516|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
              		YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc(
  ------------------
  |  |  230|      0|#define yyrealloc hex_yyrealloc
  ------------------
 1582|      0|			(void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size , yyscanner );
  ------------------
  |  |  516|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 1583|      0|		if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  ------------------
  |  |  516|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
  |  Branch (1583:8): [True: 0, False: 0]
  ------------------
 1584|      0|			YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
  ------------------
  |  |   86|      0|#define YY_FATAL_ERROR(msg) hex_yyfatal(yyscanner, msg)
  ------------------
 1585|       |		/* "- 2" to take care of EOB's */
 1586|      0|		YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2);
  ------------------
  |  |  516|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 1587|      0|	}
 1588|       |
 1589|      0|	yyg->yy_n_chars += number_to_move;
 1590|      0|	YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] = YY_END_OF_BUFFER_CHAR;
  ------------------
  |  |  516|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
              	YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] = YY_END_OF_BUFFER_CHAR;
  ------------------
  |  |  369|      0|#define YY_END_OF_BUFFER_CHAR 0
  ------------------
 1591|      0|	YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
  ------------------
  |  |  516|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
              	YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
  ------------------
  |  |  369|      0|#define YY_END_OF_BUFFER_CHAR 0
  ------------------
 1592|       |
 1593|      0|	yyg->yytext_ptr = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
  ------------------
  |  |  568|      0|#define yytext_ptr yytext_r
  ------------------
              	yyg->yytext_ptr = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
  ------------------
  |  |  516|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 1594|       |
 1595|      0|	return ret_val;
 1596|  2.98k|}
hex_lexer.c:yy_get_previous_state:
 1601|  1.69k|{
 1602|  1.69k|	yy_state_type yy_current_state;
 1603|  1.69k|	char *yy_cp;
 1604|  1.69k|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 1605|       |
 1606|  1.69k|	yy_current_state = yyg->yy_start;
 1607|       |
 1608|  3.38k|	for ( yy_cp = yyg->yytext_ptr + YY_MORE_ADJ; yy_cp < yyg->yy_c_buf_p; ++yy_cp )
  ------------------
  |  |  568|  1.69k|#define yytext_ptr yytext_r
  ------------------
              	for ( yy_cp = yyg->yytext_ptr + YY_MORE_ADJ; yy_cp < yyg->yy_c_buf_p; ++yy_cp )
  ------------------
  |  |  692|  1.69k|#define YY_MORE_ADJ 0
  ------------------
  |  Branch (1608:47): [True: 1.69k, False: 1.69k]
  ------------------
 1609|  1.69k|		{
 1610|  1.69k|		YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
  ------------------
  |  |  335|  1.69k|#define YY_SC_TO_UI(c) ((YY_CHAR) (c))
  ------------------
  |  Branch (1610:19): [True: 1.69k, False: 0]
  ------------------
 1611|  1.69k|		if ( yy_accept[yy_current_state] )
  ------------------
  |  Branch (1611:8): [True: 0, False: 1.69k]
  ------------------
 1612|      0|			{
 1613|      0|			yyg->yy_last_accepting_state = yy_current_state;
 1614|      0|			yyg->yy_last_accepting_cpos = yy_cp;
 1615|      0|			}
 1616|  1.79k|		while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  ------------------
  |  Branch (1616:11): [True: 102, False: 1.69k]
  ------------------
 1617|    102|			{
 1618|    102|			yy_current_state = (int) yy_def[yy_current_state];
 1619|    102|			if ( yy_current_state >= 40 )
  ------------------
  |  Branch (1619:9): [True: 102, False: 0]
  ------------------
 1620|    102|				yy_c = yy_meta[yy_c];
 1621|    102|			}
 1622|  1.69k|		yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
 1623|  1.69k|		}
 1624|       |
 1625|  1.69k|	return yy_current_state;
 1626|  1.69k|}
hex_lexer.c:hex_yy_load_buffer_state:
 1800|  4.55k|{
 1801|  4.55k|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 1802|  4.55k|	yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  ------------------
  |  |  516|  4.55k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 1803|  4.55k|	yyg->yytext_ptr = yyg->yy_c_buf_p = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
  ------------------
  |  |  568|  4.55k|#define yytext_ptr yytext_r
  ------------------
              	yyg->yytext_ptr = yyg->yy_c_buf_p = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
  ------------------
  |  |  516|  4.55k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 1804|  4.55k|	yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
  ------------------
  |  |  345|  4.55k|#define yyin yyg->yyin_r
  ------------------
              	yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
  ------------------
  |  |  516|  4.55k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 1805|  4.55k|	yyg->yy_hold_char = *yyg->yy_c_buf_p;
 1806|  4.55k|}
hex_lexer.c:hex_yyensure_buffer_stack:
 1973|  2.27k|{
 1974|  2.27k|	yy_size_t num_to_alloc;
 1975|  2.27k|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 1976|       |
 1977|  2.27k|	if (!yyg->yy_buffer_stack) {
  ------------------
  |  Branch (1977:6): [True: 2.27k, False: 0]
  ------------------
 1978|       |
 1979|       |		/* First allocation is just for 2 elements, since we don't know if this
 1980|       |		 * scanner will even need a stack. We use 2 instead of 1 to avoid an
 1981|       |		 * immediate realloc on the next call.
 1982|       |         */
 1983|  2.27k|      num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */
 1984|  2.27k|		yyg->yy_buffer_stack = (struct yy_buffer_state**)yyalloc
  ------------------
  |  |  224|  2.27k|#define yyalloc hex_yyalloc
  ------------------
 1985|  2.27k|								(num_to_alloc * sizeof(struct yy_buffer_state*)
 1986|  2.27k|								, yyscanner);
 1987|  2.27k|		if ( ! yyg->yy_buffer_stack )
  ------------------
  |  Branch (1987:8): [True: 0, False: 2.27k]
  ------------------
 1988|      0|			YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  ------------------
  |  |   86|      0|#define YY_FATAL_ERROR(msg) hex_yyfatal(yyscanner, msg)
  ------------------
 1989|       |
 1990|  2.27k|		memset(yyg->yy_buffer_stack, 0, num_to_alloc * sizeof(struct yy_buffer_state*));
 1991|       |
 1992|  2.27k|		yyg->yy_buffer_stack_max = num_to_alloc;
 1993|  2.27k|		yyg->yy_buffer_stack_top = 0;
 1994|  2.27k|		return;
 1995|  2.27k|	}
 1996|       |
 1997|      0|	if (yyg->yy_buffer_stack_top >= (yyg->yy_buffer_stack_max) - 1){
  ------------------
  |  Branch (1997:6): [True: 0, False: 0]
  ------------------
 1998|       |
 1999|       |		/* Increase the buffer to prepare for a possible push. */
 2000|      0|		yy_size_t grow_size = 8 /* arbitrary grow size */;
 2001|       |
 2002|      0|		num_to_alloc = yyg->yy_buffer_stack_max + grow_size;
 2003|      0|		yyg->yy_buffer_stack = (struct yy_buffer_state**)yyrealloc
  ------------------
  |  |  230|      0|#define yyrealloc hex_yyrealloc
  ------------------
 2004|      0|								(yyg->yy_buffer_stack,
 2005|      0|								num_to_alloc * sizeof(struct yy_buffer_state*)
 2006|      0|								, yyscanner);
 2007|      0|		if ( ! yyg->yy_buffer_stack )
  ------------------
  |  Branch (2007:8): [True: 0, False: 0]
  ------------------
 2008|      0|			YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  ------------------
  |  |   86|      0|#define YY_FATAL_ERROR(msg) hex_yyfatal(yyscanner, msg)
  ------------------
 2009|       |
 2010|       |		/* zero only the new slots.*/
 2011|      0|		memset(yyg->yy_buffer_stack + yyg->yy_buffer_stack_max, 0, grow_size * sizeof(struct yy_buffer_state*));
 2012|      0|		yyg->yy_buffer_stack_max = num_to_alloc;
 2013|      0|	}
 2014|      0|}
hex_lexer.c:yy_init_globals:
 2350|  4.55k|{
 2351|  4.55k|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 2352|       |    /* Initialization is the same as for the non-reentrant scanner.
 2353|       |     * This function is called from yylex_destroy(), so don't allocate here.
 2354|       |     */
 2355|       |
 2356|  4.55k|    yyg->yy_buffer_stack = NULL;
 2357|  4.55k|    yyg->yy_buffer_stack_top = 0;
 2358|  4.55k|    yyg->yy_buffer_stack_max = 0;
 2359|  4.55k|    yyg->yy_c_buf_p = NULL;
 2360|  4.55k|    yyg->yy_init = 0;
 2361|  4.55k|    yyg->yy_start = 0;
 2362|       |
 2363|  4.55k|    yyg->yy_start_stack_ptr = 0;
 2364|  4.55k|    yyg->yy_start_stack_depth = 0;
 2365|  4.55k|    yyg->yy_start_stack =  NULL;
 2366|       |
 2367|       |/* Defined in main.c */
 2368|       |#ifdef YY_STDINIT
 2369|       |    yyin = stdin;
 2370|       |    yyout = stdout;
 2371|       |#else
 2372|  4.55k|    yyin = NULL;
  ------------------
  |  |  345|  4.55k|#define yyin yyg->yyin_r
  ------------------
 2373|  4.55k|    yyout = NULL;
  ------------------
  |  |  346|  4.55k|#define yyout yyg->yyout_r
  ------------------
 2374|  4.55k|#endif
 2375|       |
 2376|       |    /* For future reference: Set errno on error, since we are called by
 2377|       |     * yylex_init()
 2378|       |     */
 2379|  4.55k|    return 0;
 2380|  4.55k|}

yara_yylex:
 1278|   929k|{
 1279|   929k|	yy_state_type yy_current_state;
 1280|   929k|	char *yy_cp, *yy_bp;
 1281|   929k|	int yy_act;
 1282|   929k|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 1283|       |
 1284|   929k|    yylval = yylval_param;
  ------------------
  |  | 1097|   929k|    #    define yylval yyg->yylval_r
  ------------------
 1285|       |
 1286|   929k|	if ( !yyg->yy_init )
  ------------------
  |  Branch (1286:7): [True: 14.1k, False: 915k]
  ------------------
 1287|  14.1k|		{
 1288|  14.1k|		yyg->yy_init = 1;
 1289|       |
 1290|       |#ifdef YY_USER_INIT
 1291|       |		YY_USER_INIT;
 1292|       |#endif
 1293|       |
 1294|  14.1k|		if ( ! yyg->yy_start )
  ------------------
  |  Branch (1294:8): [True: 14.1k, False: 0]
  ------------------
 1295|  14.1k|			yyg->yy_start = 1;	/* first start state */
 1296|       |
 1297|  14.1k|		if ( ! yyin )
  ------------------
  |  |  344|  14.1k|#define yyin yyg->yyin_r
  ------------------
  |  Branch (1297:8): [True: 14.1k, False: 0]
  ------------------
 1298|  14.1k|			yyin = stdin;
  ------------------
  |  |  344|  14.1k|#define yyin yyg->yyin_r
  ------------------
 1299|       |
 1300|  14.1k|		if ( ! yyout )
  ------------------
  |  |  345|  14.1k|#define yyout yyg->yyout_r
  ------------------
  |  Branch (1300:8): [True: 14.1k, False: 0]
  ------------------
 1301|  14.1k|			yyout = stdout;
  ------------------
  |  |  345|  14.1k|#define yyout yyg->yyout_r
  ------------------
 1302|       |
 1303|  14.1k|		if ( ! YY_CURRENT_BUFFER ) {
  ------------------
  |  |  509|  14.1k|#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  |  |  ------------------
  |  |  |  Branch (509:29): [True: 14.1k, False: 0]
  |  |  ------------------
  |  |  510|  14.1k|                          ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  |  |  511|  14.1k|                          : NULL)
  ------------------
  |  Branch (1303:8): [True: 0, False: 14.1k]
  ------------------
 1304|      0|			yyensure_buffer_stack (yyscanner);
  ------------------
  |  |   86|      0|#define yyensure_buffer_stack yara_yyensure_buffer_stack
  ------------------
 1305|      0|			YY_CURRENT_BUFFER_LVALUE =
  ------------------
  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 1306|      0|				yy_create_buffer( yyin, YY_BUF_SIZE , yyscanner);
  ------------------
  |  |   20|      0|#define yy_create_buffer yara_yy_create_buffer
  ------------------
              				yy_create_buffer( yyin, YY_BUF_SIZE , yyscanner);
  ------------------
  |  |  344|      0|#define yyin yyg->yyin_r
  ------------------
              				yy_create_buffer( yyin, YY_BUF_SIZE , yyscanner);
  ------------------
  |  |  379|      0|#define YY_BUF_SIZE 16384
  ------------------
 1307|      0|		}
 1308|       |
 1309|  14.1k|		yy_load_buffer_state( yyscanner );
  ------------------
  |  |   62|  14.1k|#define yy_load_buffer_state yara_yy_load_buffer_state
  ------------------
 1310|  14.1k|		}
 1311|       |
 1312|   929k|	{
 1313|   929k|#line 163 "libyara/lexer.l"
 1314|       |
 1315|       |
 1316|   929k|#line 1316 "libyara/lexer.c"
 1317|       |
 1318|  1.23M|	while ( /*CONSTCOND*/1 )		/* loops until end-of-file is reached */
  ------------------
  |  Branch (1318:23): [True: 1.23M, Folded]
  ------------------
 1319|  1.23M|		{
 1320|  1.23M|		yy_cp = yyg->yy_c_buf_p;
 1321|       |
 1322|       |		/* Support of yytext. */
 1323|  1.23M|		*yy_cp = yyg->yy_hold_char;
 1324|       |
 1325|       |		/* yy_bp points to the position in yy_ch_buf of the start of
 1326|       |		 * the current run.
 1327|       |		 */
 1328|  1.23M|		yy_bp = yy_cp;
 1329|       |
 1330|  1.23M|		yy_current_state = yyg->yy_start;
 1331|  1.23M|yy_match:
 1332|  1.23M|		do
 1333|  5.78M|			{
 1334|  5.78M|			YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ;
  ------------------
  |  |  334|  5.78M|#define YY_SC_TO_UI(c) ((YY_CHAR) (c))
  ------------------
 1335|  5.78M|			if ( yy_accept[yy_current_state] )
  ------------------
  |  Branch (1335:9): [True: 3.94M, False: 1.83M]
  ------------------
 1336|  3.94M|				{
 1337|  3.94M|				yyg->yy_last_accepting_state = yy_current_state;
 1338|  3.94M|				yyg->yy_last_accepting_cpos = yy_cp;
 1339|  3.94M|				}
 1340|  10.3M|			while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  ------------------
  |  Branch (1340:12): [True: 4.59M, False: 5.78M]
  ------------------
 1341|  4.59M|				{
 1342|  4.59M|				yy_current_state = (int) yy_def[yy_current_state];
 1343|  4.59M|				if ( yy_current_state >= 295 )
  ------------------
  |  Branch (1343:10): [True: 3.27M, False: 1.32M]
  ------------------
 1344|  3.27M|					yy_c = yy_meta[yy_c];
 1345|  4.59M|				}
 1346|  5.78M|			yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
 1347|  5.78M|			++yy_cp;
 1348|  5.78M|			}
 1349|  5.78M|		while ( yy_current_state != 294 );
  ------------------
  |  Branch (1349:11): [True: 4.55M, False: 1.23M]
  ------------------
 1350|  1.23M|		yy_cp = yyg->yy_last_accepting_cpos;
 1351|  1.23M|		yy_current_state = yyg->yy_last_accepting_state;
 1352|       |
 1353|  1.24M|yy_find_action:
 1354|  1.24M|		yy_act = yy_accept[yy_current_state];
 1355|       |
 1356|  1.24M|		YY_DO_BEFORE_ACTION;
  ------------------
  |  |  578|  1.24M|	yyg->yytext_ptr = yy_bp; \
  |  |  ------------------
  |  |  |  |  567|  1.24M|#define yytext_ptr yytext_r
  |  |  ------------------
  |  |  579|  1.24M|	yyleng = (int) (yy_cp - yy_bp); \
  |  |  ------------------
  |  |  |  |  347|  1.24M|#define yyleng yyg->yyleng_r
  |  |  ------------------
  |  |  580|  1.24M|	yyg->yy_hold_char = *yy_cp; \
  |  |  581|  1.24M|	*yy_cp = '\0'; \
  |  |  582|  1.24M|	yyg->yy_c_buf_p = yy_cp;
  ------------------
 1357|       |
 1358|  1.24M|		if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act] )
  ------------------
  |  |  584|  2.48M|#define YY_END_OF_BUFFER 87
  ------------------
  |  Branch (1358:8): [True: 1.21M, False: 26.3k]
  |  Branch (1358:38): [True: 131k, False: 1.08M]
  ------------------
 1359|   131k|			{
 1360|   131k|			int yyl;
 1361|   949k|			for ( yyl = 0; yyl < yyleng; ++yyl )
  ------------------
  |  |  347|   949k|#define yyleng yyg->yyleng_r
  ------------------
  |  Branch (1361:19): [True: 817k, False: 131k]
  ------------------
 1362|   817k|				if ( yytext[yyl] == '\n' )
  ------------------
  |  |  348|   817k|#define yytext yyg->yytext_r
  ------------------
  |  Branch (1362:10): [True: 47.6k, False: 770k]
  ------------------
 1363|       |					
 1364|  47.6k|    do{ yylineno++;
  ------------------
  |  |  349|  47.6k|#define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
  |  |  ------------------
  |  |  |  |  515|  47.6k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  |  |  ------------------
  ------------------
 1365|  47.6k|        yycolumn=0;
  ------------------
  |  |  350|  47.6k|#define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
  |  |  ------------------
  |  |  |  |  515|  47.6k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  |  |  ------------------
  ------------------
 1366|  47.6k|    }while(0)
  ------------------
  |  Branch (1366:12): [Folded, False: 47.6k]
  ------------------
 1367|   131k|;
 1368|   131k|			}
 1369|       |
 1370|  1.25M|do_action:	/* This label is used only to access EOF actions. */
 1371|       |
 1372|  1.25M|		switch ( yy_act )
 1373|  1.25M|	{ /* beginning of action switch */
 1374|    102|			case 0: /* must back up */
  ------------------
  |  Branch (1374:4): [True: 102, False: 1.25M]
  ------------------
 1375|       |			/* undo the effects of YY_DO_BEFORE_ACTION */
 1376|    102|			*yy_cp = yyg->yy_hold_char;
 1377|    102|			yy_cp = yyg->yy_last_accepting_cpos;
 1378|    102|			yy_current_state = yyg->yy_last_accepting_state;
 1379|    102|			goto yy_find_action;
 1380|       |
 1381|  2.11k|case 1:
  ------------------
  |  Branch (1381:1): [True: 2.11k, False: 1.25M]
  ------------------
 1382|  2.11k|YY_RULE_SETUP
 1383|  2.11k|#line 165 "libyara/lexer.l"
 1384|  2.11k|{ return _DOT_DOT_;     }
  ------------------
  |  |  127|  2.11k|#define _DOT_DOT_ 259
  ------------------
 1385|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1386|  1.93k|case 2:
  ------------------
  |  Branch (1386:1): [True: 1.93k, False: 1.25M]
  ------------------
 1387|  1.93k|YY_RULE_SETUP
 1388|  1.93k|#line 166 "libyara/lexer.l"
 1389|  1.93k|{ return _LT_;          }
  ------------------
  |  |  180|  1.93k|#define _LT_ 312
  ------------------
 1390|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1391|  2.07k|case 3:
  ------------------
  |  Branch (1391:1): [True: 2.07k, False: 1.25M]
  ------------------
 1392|  2.07k|YY_RULE_SETUP
 1393|  2.07k|#line 167 "libyara/lexer.l"
 1394|  2.07k|{ return _GT_;          }
  ------------------
  |  |  182|  2.07k|#define _GT_ 314
  ------------------
 1395|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1396|  1.45k|case 4:
  ------------------
  |  Branch (1396:1): [True: 1.45k, False: 1.25M]
  ------------------
 1397|  1.45k|YY_RULE_SETUP
 1398|  1.45k|#line 168 "libyara/lexer.l"
 1399|  1.45k|{ return _LE_;          }
  ------------------
  |  |  181|  1.45k|#define _LE_ 313
  ------------------
 1400|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1401|    971|case 5:
  ------------------
  |  Branch (1401:1): [True: 971, False: 1.25M]
  ------------------
 1402|    971|YY_RULE_SETUP
 1403|    971|#line 169 "libyara/lexer.l"
 1404|    971|{ return _GE_;          }
  ------------------
  |  |  183|    971|#define _GE_ 315
  ------------------
 1405|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1406|  1.24k|case 6:
  ------------------
  |  Branch (1406:1): [True: 1.24k, False: 1.25M]
  ------------------
 1407|  1.24k|YY_RULE_SETUP
 1408|  1.24k|#line 170 "libyara/lexer.l"
 1409|  1.24k|{ return _EQ_;          }
  ------------------
  |  |  178|  1.24k|#define _EQ_ 310
  ------------------
 1410|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1411|    712|case 7:
  ------------------
  |  Branch (1411:1): [True: 712, False: 1.25M]
  ------------------
 1412|    712|YY_RULE_SETUP
 1413|    712|#line 171 "libyara/lexer.l"
 1414|    712|{ return _NEQ_;         }
  ------------------
  |  |  179|    712|#define _NEQ_ 311
  ------------------
 1415|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1416|  3.19k|case 8:
  ------------------
  |  Branch (1416:1): [True: 3.19k, False: 1.25M]
  ------------------
 1417|  3.19k|YY_RULE_SETUP
 1418|  3.19k|#line 172 "libyara/lexer.l"
 1419|  3.19k|{ return _SHIFT_LEFT_;  }
  ------------------
  |  |  184|  3.19k|#define _SHIFT_LEFT_ 316
  ------------------
 1420|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1421|  3.03k|case 9:
  ------------------
  |  Branch (1421:1): [True: 3.03k, False: 1.25M]
  ------------------
 1422|  3.03k|YY_RULE_SETUP
 1423|  3.03k|#line 173 "libyara/lexer.l"
 1424|  3.03k|{ return _SHIFT_RIGHT_; }
  ------------------
  |  |  185|  3.03k|#define _SHIFT_RIGHT_ 317
  ------------------
 1425|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1426|    552|case 10:
  ------------------
  |  Branch (1426:1): [True: 552, False: 1.25M]
  ------------------
 1427|    552|YY_RULE_SETUP
 1428|    552|#line 174 "libyara/lexer.l"
 1429|    552|{ return _PRIVATE_;     }
  ------------------
  |  |  129|    552|#define _PRIVATE_ 261
  ------------------
 1430|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1431|    665|case 11:
  ------------------
  |  Branch (1431:1): [True: 665, False: 1.25M]
  ------------------
 1432|    665|YY_RULE_SETUP
 1433|    665|#line 175 "libyara/lexer.l"
 1434|    665|{ return _GLOBAL_;      }
  ------------------
  |  |  130|    665|#define _GLOBAL_ 262
  ------------------
 1435|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1436|  33.7k|case 12:
  ------------------
  |  Branch (1436:1): [True: 33.7k, False: 1.22M]
  ------------------
 1437|  33.7k|YY_RULE_SETUP
 1438|  33.7k|#line 176 "libyara/lexer.l"
 1439|  33.7k|{ return _RULE_;        }
  ------------------
  |  |  128|  33.7k|#define _RULE_ 260
  ------------------
 1440|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1441|    441|case 13:
  ------------------
  |  Branch (1441:1): [True: 441, False: 1.25M]
  ------------------
 1442|    441|YY_RULE_SETUP
 1443|    441|#line 177 "libyara/lexer.l"
 1444|    441|{ return _META_;        }
  ------------------
  |  |  131|    441|#define _META_ 263
  ------------------
 1445|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1446|  8.70k|case 14:
  ------------------
  |  Branch (1446:1): [True: 8.70k, False: 1.24M]
  ------------------
 1447|  8.70k|YY_RULE_SETUP
 1448|  8.70k|#line 178 "libyara/lexer.l"
 1449|  8.70k|{ return _STRINGS_;     }
  ------------------
  |  |  132|  8.70k|#define _STRINGS_ 264
  ------------------
 1450|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1451|  1.09k|case 15:
  ------------------
  |  Branch (1451:1): [True: 1.09k, False: 1.25M]
  ------------------
 1452|  1.09k|YY_RULE_SETUP
 1453|  1.09k|#line 179 "libyara/lexer.l"
 1454|  1.09k|{ return _ASCII_;       }
  ------------------
  |  |  146|  1.09k|#define _ASCII_ 278
  ------------------
 1455|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1456|  2.32k|case 16:
  ------------------
  |  Branch (1456:1): [True: 2.32k, False: 1.25M]
  ------------------
 1457|  2.32k|YY_RULE_SETUP
 1458|  2.32k|#line 180 "libyara/lexer.l"
 1459|  2.32k|{ return _WIDE_;        }
  ------------------
  |  |  147|  2.32k|#define _WIDE_ 279
  ------------------
 1460|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1461|  1.08k|case 17:
  ------------------
  |  Branch (1461:1): [True: 1.08k, False: 1.25M]
  ------------------
 1462|  1.08k|YY_RULE_SETUP
 1463|  1.08k|#line 181 "libyara/lexer.l"
 1464|  1.08k|{ return _XOR_;         }
  ------------------
  |  |  148|  1.08k|#define _XOR_ 280
  ------------------
 1465|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1466|  1.76k|case 18:
  ------------------
  |  Branch (1466:1): [True: 1.76k, False: 1.25M]
  ------------------
 1467|  1.76k|YY_RULE_SETUP
 1468|  1.76k|#line 182 "libyara/lexer.l"
 1469|  1.76k|{ return _BASE64_;      }
  ------------------
  |  |  149|  1.76k|#define _BASE64_ 281
  ------------------
 1470|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1471|  2.19k|case 19:
  ------------------
  |  Branch (1471:1): [True: 2.19k, False: 1.25M]
  ------------------
 1472|  2.19k|YY_RULE_SETUP
 1473|  2.19k|#line 183 "libyara/lexer.l"
 1474|  2.19k|{ return _BASE64_WIDE_; }
  ------------------
  |  |  150|  2.19k|#define _BASE64_WIDE_ 282
  ------------------
 1475|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1476|    424|case 20:
  ------------------
  |  Branch (1476:1): [True: 424, False: 1.25M]
  ------------------
 1477|    424|YY_RULE_SETUP
 1478|    424|#line 184 "libyara/lexer.l"
 1479|    424|{ return _FULLWORD_;    }
  ------------------
  |  |  152|    424|#define _FULLWORD_ 284
  ------------------
 1480|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1481|    815|case 21:
  ------------------
  |  Branch (1481:1): [True: 815, False: 1.25M]
  ------------------
 1482|    815|YY_RULE_SETUP
 1483|    815|#line 185 "libyara/lexer.l"
 1484|    815|{ return _NOCASE_;      }
  ------------------
  |  |  151|    815|#define _NOCASE_ 283
  ------------------
 1485|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1486|  16.5k|case 22:
  ------------------
  |  Branch (1486:1): [True: 16.5k, False: 1.24M]
  ------------------
 1487|  16.5k|YY_RULE_SETUP
 1488|  16.5k|#line 186 "libyara/lexer.l"
 1489|  16.5k|{ return _CONDITION_;   }
  ------------------
  |  |  133|  16.5k|#define _CONDITION_ 265
  ------------------
 1490|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1491|    320|case 23:
  ------------------
  |  Branch (1491:1): [True: 320, False: 1.25M]
  ------------------
 1492|    320|YY_RULE_SETUP
 1493|    320|#line 187 "libyara/lexer.l"
 1494|    320|{ return _TRUE_;        }
  ------------------
  |  |  172|    320|#define _TRUE_ 304
  ------------------
 1495|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1496|    698|case 24:
  ------------------
  |  Branch (1496:1): [True: 698, False: 1.25M]
  ------------------
 1497|    698|YY_RULE_SETUP
 1498|    698|#line 188 "libyara/lexer.l"
 1499|    698|{ return _FALSE_;       }
  ------------------
  |  |  173|    698|#define _FALSE_ 305
  ------------------
 1500|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1501|    415|case 25:
  ------------------
  |  Branch (1501:1): [True: 415, False: 1.25M]
  ------------------
 1502|    415|YY_RULE_SETUP
 1503|    415|#line 189 "libyara/lexer.l"
 1504|    415|{ return _NOT_;         }
  ------------------
  |  |  176|    415|#define _NOT_ 308
  ------------------
 1505|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1506|    586|case 26:
  ------------------
  |  Branch (1506:1): [True: 586, False: 1.25M]
  ------------------
 1507|    586|YY_RULE_SETUP
 1508|    586|#line 190 "libyara/lexer.l"
 1509|    586|{ return _AND_;         }
  ------------------
  |  |  175|    586|#define _AND_ 307
  ------------------
 1510|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1511|  15.8k|case 27:
  ------------------
  |  Branch (1511:1): [True: 15.8k, False: 1.24M]
  ------------------
 1512|  15.8k|YY_RULE_SETUP
 1513|  15.8k|#line 191 "libyara/lexer.l"
 1514|  15.8k|{ return _OR_;          }
  ------------------
  |  |  174|  15.8k|#define _OR_ 306
  ------------------
 1515|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1516|  11.4k|case 28:
  ------------------
  |  Branch (1516:1): [True: 11.4k, False: 1.24M]
  ------------------
 1517|  11.4k|YY_RULE_SETUP
 1518|  11.4k|#line 192 "libyara/lexer.l"
 1519|  11.4k|{ return _AT_;          }
  ------------------
  |  |  153|  11.4k|#define _AT_ 285
  ------------------
 1520|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1521|  7.59k|case 29:
  ------------------
  |  Branch (1521:1): [True: 7.59k, False: 1.25M]
  ------------------
 1522|  7.59k|YY_RULE_SETUP
 1523|  7.59k|#line 193 "libyara/lexer.l"
 1524|  7.59k|{ return _IN_;          }
  ------------------
  |  |  159|  7.59k|#define _IN_ 291
  ------------------
 1525|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1526|  16.1k|case 30:
  ------------------
  |  Branch (1526:1): [True: 16.1k, False: 1.24M]
  ------------------
 1527|  16.1k|YY_RULE_SETUP
 1528|  16.1k|#line 194 "libyara/lexer.l"
 1529|  16.1k|{ return _OF_;          }
  ------------------
  |  |  160|  16.1k|#define _OF_ 292
  ------------------
 1530|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1531|    547|case 31:
  ------------------
  |  Branch (1531:1): [True: 547, False: 1.25M]
  ------------------
 1532|    547|YY_RULE_SETUP
 1533|    547|#line 195 "libyara/lexer.l"
 1534|    547|{ return _THEM_;        }
  ------------------
  |  |  162|    547|#define _THEM_ 294
  ------------------
 1535|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1536|  8.80k|case 32:
  ------------------
  |  Branch (1536:1): [True: 8.80k, False: 1.24M]
  ------------------
 1537|  8.80k|YY_RULE_SETUP
 1538|  8.80k|#line 196 "libyara/lexer.l"
 1539|  8.80k|{ return _FOR_;         }
  ------------------
  |  |  161|  8.80k|#define _FOR_ 293
  ------------------
 1540|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1541|  5.74k|case 33:
  ------------------
  |  Branch (1541:1): [True: 5.74k, False: 1.25M]
  ------------------
 1542|  5.74k|YY_RULE_SETUP
 1543|  5.74k|#line 197 "libyara/lexer.l"
 1544|  5.74k|{ return _ALL_;         }
  ------------------
  |  |  156|  5.74k|#define _ALL_ 288
  ------------------
 1545|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1546|  2.63k|case 34:
  ------------------
  |  Branch (1546:1): [True: 2.63k, False: 1.25M]
  ------------------
 1547|  2.63k|YY_RULE_SETUP
 1548|  2.63k|#line 198 "libyara/lexer.l"
 1549|  2.63k|{ return _ANY_;         }
  ------------------
  |  |  157|  2.63k|#define _ANY_ 289
  ------------------
 1550|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1551|    285|case 35:
  ------------------
  |  Branch (1551:1): [True: 285, False: 1.25M]
  ------------------
 1552|    285|YY_RULE_SETUP
 1553|    285|#line 199 "libyara/lexer.l"
 1554|    285|{ return _NONE_;        }
  ------------------
  |  |  158|    285|#define _NONE_ 290
  ------------------
 1555|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1556|    631|case 36:
  ------------------
  |  Branch (1556:1): [True: 631, False: 1.25M]
  ------------------
 1557|    631|YY_RULE_SETUP
 1558|    631|#line 200 "libyara/lexer.l"
 1559|    631|{ return _ENTRYPOINT_;  }
  ------------------
  |  |  155|    631|#define _ENTRYPOINT_ 287
  ------------------
 1560|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1561|    560|case 37:
  ------------------
  |  Branch (1561:1): [True: 560, False: 1.25M]
  ------------------
 1562|    560|YY_RULE_SETUP
 1563|    560|#line 201 "libyara/lexer.l"
 1564|    560|{ return _FILESIZE_;    }
  ------------------
  |  |  154|    560|#define _FILESIZE_ 286
  ------------------
 1565|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1566|    276|case 38:
  ------------------
  |  Branch (1566:1): [True: 276, False: 1.25M]
  ------------------
 1567|    276|YY_RULE_SETUP
 1568|    276|#line 202 "libyara/lexer.l"
 1569|    276|{ return _MATCHES_;     }
  ------------------
  |  |  163|    276|#define _MATCHES_ 295
  ------------------
 1570|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1571|    558|case 39:
  ------------------
  |  Branch (1571:1): [True: 558, False: 1.25M]
  ------------------
 1572|    558|YY_RULE_SETUP
 1573|    558|#line 203 "libyara/lexer.l"
 1574|    558|{ return _CONTAINS_;    }
  ------------------
  |  |  164|    558|#define _CONTAINS_ 296
  ------------------
 1575|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1576|    337|case 40:
  ------------------
  |  Branch (1576:1): [True: 337, False: 1.25M]
  ------------------
 1577|    337|YY_RULE_SETUP
 1578|    337|#line 204 "libyara/lexer.l"
 1579|    337|{ return _STARTSWITH_;  }
  ------------------
  |  |  165|    337|#define _STARTSWITH_ 297
  ------------------
 1580|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1581|    494|case 41:
  ------------------
  |  Branch (1581:1): [True: 494, False: 1.25M]
  ------------------
 1582|    494|YY_RULE_SETUP
 1583|    494|#line 205 "libyara/lexer.l"
 1584|    494|{ return _ENDSWITH_;    }
  ------------------
  |  |  166|    494|#define _ENDSWITH_ 298
  ------------------
 1585|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1586|    690|case 42:
  ------------------
  |  Branch (1586:1): [True: 690, False: 1.25M]
  ------------------
 1587|    690|YY_RULE_SETUP
 1588|    690|#line 206 "libyara/lexer.l"
 1589|    690|{ return _ICONTAINS_;   }
  ------------------
  |  |  167|    690|#define _ICONTAINS_ 299
  ------------------
 1590|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1591|    631|case 43:
  ------------------
  |  Branch (1591:1): [True: 631, False: 1.25M]
  ------------------
 1592|    631|YY_RULE_SETUP
 1593|    631|#line 207 "libyara/lexer.l"
 1594|    631|{ return _ISTARTSWITH_; }
  ------------------
  |  |  168|    631|#define _ISTARTSWITH_ 300
  ------------------
 1595|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1596|    644|case 44:
  ------------------
  |  Branch (1596:1): [True: 644, False: 1.25M]
  ------------------
 1597|    644|YY_RULE_SETUP
 1598|    644|#line 208 "libyara/lexer.l"
 1599|    644|{ return _IENDSWITH_;   }
  ------------------
  |  |  169|    644|#define _IENDSWITH_ 301
  ------------------
 1600|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1601|      0|case 45:
  ------------------
  |  Branch (1601:1): [True: 0, False: 1.25M]
  ------------------
 1602|      0|YY_RULE_SETUP
 1603|      0|#line 209 "libyara/lexer.l"
 1604|      0|{ return _IEQUALS_;     }
  ------------------
  |  |  170|      0|#define _IEQUALS_ 302
  ------------------
 1605|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1606|  8.49k|case 46:
  ------------------
  |  Branch (1606:1): [True: 8.49k, False: 1.24M]
  ------------------
 1607|  8.49k|YY_RULE_SETUP
 1608|  8.49k|#line 210 "libyara/lexer.l"
 1609|  8.49k|{ return _IMPORT_;      }
  ------------------
  |  |  171|  8.49k|#define _IMPORT_ 303
  ------------------
 1610|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1611|    209|case 47:
  ------------------
  |  Branch (1611:1): [True: 209, False: 1.25M]
  ------------------
 1612|    209|YY_RULE_SETUP
 1613|    209|#line 211 "libyara/lexer.l"
 1614|    209|{ return _DEFINED_;     }
  ------------------
  |  |  177|    209|#define _DEFINED_ 309
  ------------------
 1615|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1616|    301|case 48:
  ------------------
  |  Branch (1616:1): [True: 301, False: 1.25M]
  ------------------
 1617|    301|YY_RULE_SETUP
 1618|    301|#line 214 "libyara/lexer.l"
 1619|    301|{ BEGIN(comment);       }
  ------------------
  |  |  357|    301|#define BEGIN yyg->yy_start = 1 + 2 *
  ------------------
              { BEGIN(comment);       }
  ------------------
  |  | 1043|    301|#define comment 4
  ------------------
 1620|    301|	YY_BREAK
  ------------------
  |  | 1269|    301|#define YY_BREAK /*LINTED*/break;
  ------------------
 1621|    271|case 49:
  ------------------
  |  Branch (1621:1): [True: 271, False: 1.25M]
  ------------------
 1622|    271|YY_RULE_SETUP
 1623|    271|#line 215 "libyara/lexer.l"
 1624|    271|{ BEGIN(INITIAL);       }
  ------------------
  |  |  357|    271|#define BEGIN yyg->yy_start = 1 + 2 *
  ------------------
              { BEGIN(INITIAL);       }
  ------------------
  |  | 1039|    271|#define INITIAL 0
  ------------------
 1625|    271|	YY_BREAK
  ------------------
  |  | 1269|    271|#define YY_BREAK /*LINTED*/break;
  ------------------
 1626|    602|case 50:
  ------------------
  |  Branch (1626:1): [True: 602, False: 1.25M]
  ------------------
 1627|       |/* rule 50 can match eol */
 1628|    602|YY_RULE_SETUP
 1629|    602|#line 216 "libyara/lexer.l"
 1630|    602|{ /* skip comments */   }
 1631|    602|	YY_BREAK
  ------------------
  |  | 1269|    602|#define YY_BREAK /*LINTED*/break;
  ------------------
 1632|    313|case 51:
  ------------------
  |  Branch (1632:1): [True: 313, False: 1.25M]
  ------------------
 1633|    313|YY_RULE_SETUP
 1634|    313|#line 219 "libyara/lexer.l"
 1635|    313|{ /* skip single-line comments */ }
 1636|    313|	YY_BREAK
  ------------------
  |  | 1269|    313|#define YY_BREAK /*LINTED*/break;
  ------------------
 1637|  2.42k|case 52:
  ------------------
  |  Branch (1637:1): [True: 2.42k, False: 1.25M]
  ------------------
 1638|  2.42k|YY_RULE_SETUP
 1639|  2.42k|#line 222 "libyara/lexer.l"
 1640|  2.42k|{
 1641|  2.42k|                          yyextra->lex_buf_ptr = yyextra->lex_buf;
  ------------------
  |  |  346|  2.42k|#define yyextra yyg->yyextra_r
  ------------------
                                        yyextra->lex_buf_ptr = yyextra->lex_buf;
  ------------------
  |  |  346|  2.42k|#define yyextra yyg->yyextra_r
  ------------------
 1642|  2.42k|                          yyextra->lex_buf_len = 0;
  ------------------
  |  |  346|  2.42k|#define yyextra yyg->yyextra_r
  ------------------
 1643|  2.42k|                          BEGIN(include);
  ------------------
  |  |  357|  2.42k|#define BEGIN yyg->yy_start = 1 + 2 *
  ------------------
                                        BEGIN(include);
  ------------------
  |  | 1042|  2.42k|#define include 3
  ------------------
 1644|  2.42k|                        }
 1645|  2.42k|	YY_BREAK
  ------------------
  |  | 1269|  2.42k|#define YY_BREAK /*LINTED*/break;
  ------------------
 1646|  2.19k|case 53:
  ------------------
  |  Branch (1646:1): [True: 2.19k, False: 1.25M]
  ------------------
 1647|       |/* rule 53 can match eol */
 1648|  2.19k|YY_RULE_SETUP
 1649|  2.19k|#line 229 "libyara/lexer.l"
 1650|  2.19k|{ yytext_to_buffer; }
  ------------------
  |  |  991|  2.19k|    { \
  |  |  992|  2.19k|      char *yptr = yytext; \
  |  |  ------------------
  |  |  |  |  348|  2.19k|#define yytext yyg->yytext_r
  |  |  ------------------
  |  |  993|  2.19k|      lex_check_space_ok(yptr, yyextra->lex_buf_len, YR_LEX_BUF_SIZE); \
  |  |  ------------------
  |  |  |  |  984|  2.19k|    if (strlen(data) + current_size >= max_length - 1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (984:9): [True: 3, False: 2.19k]
  |  |  |  |  ------------------
  |  |  |  |  985|  2.19k|    { \
  |  |  |  |  986|      3|      yyerror(yyscanner, compiler, "out of space in lex_buf"); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      3|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  987|      3|      yyterminate(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1232|      3|#define yyterminate() return YY_NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  329|      3|#define YY_NULL 0
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  988|      3|    }
  |  |  ------------------
  |  |  994|   105k|      while(*yptr) \
  |  |  ------------------
  |  |  |  Branch (994:13): [True: 102k, False: 2.19k]
  |  |  ------------------
  |  |  995|   102k|      { \
  |  |  996|   102k|        *yyextra->lex_buf_ptr++ = *yptr++; \
  |  |  ------------------
  |  |  |  |  346|   102k|#define yyextra yyg->yyextra_r
  |  |  ------------------
  |  |  997|   102k|        yyextra->lex_buf_len++; \
  |  |  ------------------
  |  |  |  |  346|   102k|#define yyextra yyg->yyextra_r
  |  |  ------------------
  |  |  998|   102k|      } \
  |  |  999|  2.19k|    }
  ------------------
 1651|  2.19k|	YY_BREAK
  ------------------
  |  | 1269|  2.19k|#define YY_BREAK /*LINTED*/break;
  ------------------
 1652|  2.38k|case 54:
  ------------------
  |  Branch (1652:1): [True: 2.38k, False: 1.25M]
  ------------------
 1653|  2.38k|YY_RULE_SETUP
 1654|  2.38k|#line 232 "libyara/lexer.l"
 1655|  2.38k|{
 1656|       |
 1657|  2.38k|  if (compiler->include_callback != NULL)
  ------------------
  |  Branch (1657:7): [True: 2.38k, False: 0]
  ------------------
 1658|  2.38k|  {
 1659|       |    #ifdef _MSC_VER
 1660|       |    char* b = NULL;
 1661|       |    #endif
 1662|  2.38k|    char* s = NULL;
 1663|  2.38k|    char* f;
 1664|       |
 1665|  2.38k|    char buffer[1024];
 1666|  2.38k|    const char* included_rules;
 1667|  2.38k|    char* current_file_name;
 1668|  2.38k|    char* include_path;
 1669|       |
 1670|  2.38k|    *yyextra->lex_buf_ptr = '\0'; // null-terminate included file path
  ------------------
  |  |  346|  2.38k|#define yyextra yyg->yyextra_r
  ------------------
 1671|       |
 1672|  2.38k|    current_file_name = yr_compiler_get_current_file_name(compiler);
 1673|       |
 1674|  2.38k|    if (current_file_name == NULL ||
  ------------------
  |  Branch (1674:9): [True: 2.38k, False: 0]
  ------------------
 1675|      0|        compiler->include_callback != _yr_compiler_default_include_callback ||
  ------------------
  |  Branch (1675:9): [True: 0, False: 0]
  ------------------
 1676|      0|        is_absolute_path(yyextra->lex_buf))
  ------------------
  |  |  346|      0|#define yyextra yyg->yyextra_r
  ------------------
  |  Branch (1676:9): [True: 0, False: 0]
  ------------------
 1677|  2.38k|    {
 1678|  2.38k|      include_path = yyextra->lex_buf;
  ------------------
  |  |  346|  2.38k|#define yyextra yyg->yyextra_r
  ------------------
 1679|  2.38k|    }
 1680|      0|    else
 1681|      0|    {
 1682|      0|      strlcpy(buffer, current_file_name, sizeof(buffer));
 1683|      0|      s = strrchr(buffer, '/');
 1684|       |
 1685|       |      #ifdef _MSC_VER
 1686|       |      b = strrchr(buffer, '\\'); // in Windows both path delimiters are accepted
 1687|       |      #endif
 1688|       |
 1689|       |      #ifdef _MSC_VER
 1690|       |      if (s != NULL || b != NULL)
 1691|       |      #else
 1692|      0|      if (s != NULL)
  ------------------
  |  Branch (1692:11): [True: 0, False: 0]
  ------------------
 1693|      0|      #endif
 1694|      0|      {
 1695|       |        #ifdef _MSC_VER
 1696|       |        f = (b > s) ? (b + 1) : (s + 1);
 1697|       |        #else
 1698|      0|        f = s + 1;
 1699|      0|        #endif
 1700|       |
 1701|      0|        strlcpy(f, yyextra->lex_buf, sizeof(buffer) - (f - buffer));
  ------------------
  |  |  346|      0|#define yyextra yyg->yyextra_r
  ------------------
 1702|      0|        include_path = buffer;
 1703|      0|      }
 1704|      0|      else
 1705|      0|      {
 1706|      0|        include_path = yyextra->lex_buf;
  ------------------
  |  |  346|      0|#define yyextra yyg->yyextra_r
  ------------------
 1707|      0|      }
 1708|      0|    }
 1709|       |
 1710|  2.38k|    YR_NAMESPACE* ns = (YR_NAMESPACE*) yr_arena_get_ptr(
 1711|  2.38k|        compiler->arena,
 1712|  2.38k|        YR_NAMESPACES_TABLE,
  ------------------
  |  |   57|  2.38k|#define YR_NAMESPACES_TABLE         0
  ------------------
 1713|  2.38k|        compiler->current_namespace_idx * sizeof(struct YR_NAMESPACE));
 1714|       |
 1715|  2.38k|    included_rules = compiler->include_callback(
 1716|  2.38k|        include_path,
 1717|  2.38k|        current_file_name,
 1718|  2.38k|        ns->name,
 1719|  2.38k|        compiler->incl_clbk_user_data);
 1720|       |
 1721|  2.38k|    if (included_rules != NULL)
  ------------------
  |  Branch (1721:9): [True: 2, False: 2.38k]
  ------------------
 1722|      2|    {
 1723|      2|      int error_code = _yr_compiler_push_file_name(compiler, include_path);
 1724|       |
 1725|      2|      if (error_code != ERROR_SUCCESS)
  ------------------
  |  |   40|      2|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (1725:11): [True: 0, False: 2]
  ------------------
 1726|      0|      {
 1727|      0|        if (error_code == ERROR_INCLUDES_CIRCULAR_REFERENCE)
  ------------------
  |  |   67|      0|#define ERROR_INCLUDES_CIRCULAR_REFERENCE    22
  ------------------
  |  Branch (1727:13): [True: 0, False: 0]
  ------------------
 1728|      0|        {
 1729|      0|          yyerror(yyscanner, compiler, "includes circular reference");
  ------------------
  |  |   48|      0|#define yyerror      yara_yyerror
  ------------------
 1730|      0|        }
 1731|      0|        else if (error_code == ERROR_INCLUDE_DEPTH_EXCEEDED)
  ------------------
  |  |   68|      0|#define ERROR_INCLUDE_DEPTH_EXCEEDED         23
  ------------------
  |  Branch (1731:18): [True: 0, False: 0]
  ------------------
 1732|      0|        {
 1733|      0|          yyerror(yyscanner, compiler, "includes depth exceeded");
  ------------------
  |  |   48|      0|#define yyerror      yara_yyerror
  ------------------
 1734|      0|        }
 1735|       |
 1736|      0|        if (compiler->include_free != NULL)
  ------------------
  |  Branch (1736:13): [True: 0, False: 0]
  ------------------
 1737|      0|        {
 1738|      0|          compiler->include_free(included_rules, compiler->incl_clbk_user_data);
 1739|      0|        }
 1740|       |
 1741|      0|        yyterminate();
  ------------------
  |  | 1232|      0|#define yyterminate() return YY_NULL
  |  |  ------------------
  |  |  |  |  329|      0|#define YY_NULL 0
  |  |  ------------------
  ------------------
 1742|      0|      }
 1743|       |
 1744|       |      // Workaround for flex issue: https://github.com/westes/flex/issues/58
 1745|      2|      yypush_buffer_state(YY_CURRENT_BUFFER, yyscanner);
  ------------------
  |  |   74|      2|#define yypush_buffer_state yara_yypush_buffer_state
  ------------------
                    yypush_buffer_state(YY_CURRENT_BUFFER, yyscanner);
  ------------------
  |  |  509|      2|#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  |  |  ------------------
  |  |  |  Branch (509:29): [True: 2, False: 0]
  |  |  ------------------
  |  |  510|      2|                          ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  |  |  511|      2|                          : NULL)
  ------------------
 1746|      2|      yy_scan_string(included_rules, yyscanner);
  ------------------
  |  |   38|      2|#define yy_scan_string yara_yy_scan_string
  ------------------
 1747|      2|      yyset_lineno(1, yyscanner);
  ------------------
  |  |  188|      2|#define yyset_lineno yara_yyset_lineno
  ------------------
 1748|       |
 1749|      2|      if (compiler->include_free != NULL)
  ------------------
  |  Branch (1749:11): [True: 2, False: 0]
  ------------------
 1750|      2|      {
 1751|      2|        compiler->include_free(included_rules, compiler->incl_clbk_user_data);
 1752|      2|      }
 1753|      2|    }
 1754|  2.38k|    else
 1755|  2.38k|    {
 1756|  2.38k|      char* err_msg_fmt;
 1757|  2.38k|      char err_msg[512];
 1758|       |
 1759|  2.38k|      if (compiler->include_callback == _yr_compiler_default_include_callback)
  ------------------
  |  Branch (1759:11): [True: 2.38k, False: 0]
  ------------------
 1760|  2.38k|      {
 1761|  2.38k|        err_msg_fmt = "can't open include file: %s";
 1762|  2.38k|      }
 1763|      0|      else
 1764|      0|      {
 1765|      0|        err_msg_fmt = "callback failed to provide include resource: %s";
 1766|      0|      }
 1767|       |
 1768|  2.38k|      snprintf(
 1769|  2.38k|          err_msg,
 1770|  2.38k|          sizeof(err_msg),
 1771|  2.38k|          err_msg_fmt,
 1772|  2.38k|          yyextra->lex_buf);
  ------------------
  |  |  346|  2.38k|#define yyextra yyg->yyextra_r
  ------------------
 1773|       |
 1774|  2.38k|      yyerror(yyscanner, compiler, err_msg);
  ------------------
  |  |   48|  2.38k|#define yyerror      yara_yyerror
  ------------------
 1775|  2.38k|    }
 1776|       |
 1777|  2.38k|  }
 1778|      0|  else // not allowing includes
 1779|      0|  {
 1780|      0|    yyerror(yyscanner, compiler, "includes are disabled");
  ------------------
  |  |   48|      0|#define yyerror      yara_yyerror
  ------------------
 1781|      0|  }
 1782|       |
 1783|  2.38k|  BEGIN(INITIAL);
  ------------------
  |  |  357|  2.38k|#define BEGIN yyg->yy_start = 1 + 2 *
  ------------------
                BEGIN(INITIAL);
  ------------------
  |  | 1039|  2.38k|#define INITIAL 0
  ------------------
 1784|  2.38k|}
 1785|  2.38k|	YY_BREAK
  ------------------
  |  | 1269|  2.38k|#define YY_BREAK /*LINTED*/break;
  ------------------
 1786|  12.3k|case YY_STATE_EOF(INITIAL):
  ------------------
  |  |  365|  12.3k|#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  |  |  ------------------
  |  |  |  |  584|  12.3k|#define YY_END_OF_BUFFER 87
  |  |  ------------------
  ------------------
  |  Branch (1786:1): [True: 12.3k, False: 1.24M]
  ------------------
 1787|  12.6k|case YY_STATE_EOF(str):
  ------------------
  |  |  365|  12.6k|#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  |  |  ------------------
  |  |  |  |  584|  12.6k|#define YY_END_OF_BUFFER 87
  |  |  ------------------
  ------------------
  |  Branch (1787:1): [True: 286, False: 1.25M]
  ------------------
 1788|  12.9k|case YY_STATE_EOF(regexp):
  ------------------
  |  |  365|  12.9k|#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  |  |  ------------------
  |  |  |  |  584|  12.9k|#define YY_END_OF_BUFFER 87
  |  |  ------------------
  ------------------
  |  Branch (1788:1): [True: 299, False: 1.25M]
  ------------------
 1789|  12.9k|case YY_STATE_EOF(include):
  ------------------
  |  |  365|  12.9k|#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  |  |  ------------------
  |  |  |  |  584|  12.9k|#define YY_END_OF_BUFFER 87
  |  |  ------------------
  ------------------
  |  Branch (1789:1): [True: 37, False: 1.25M]
  ------------------
 1790|  12.9k|case YY_STATE_EOF(comment):
  ------------------
  |  |  365|  12.9k|#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  |  |  ------------------
  |  |  |  |  584|  12.9k|#define YY_END_OF_BUFFER 87
  |  |  ------------------
  ------------------
  |  Branch (1790:1): [True: 30, False: 1.25M]
  ------------------
 1791|  12.9k|#line 364 "libyara/lexer.l"
 1792|  12.9k|{
 1793|       |
 1794|  12.9k|  yypop_buffer_state(yyscanner);
  ------------------
  |  |   80|  12.9k|#define yypop_buffer_state yara_yypop_buffer_state
  ------------------
 1795|       |
 1796|  12.9k|  if (!YY_CURRENT_BUFFER)
  ------------------
  |  |  509|  12.9k|#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  |  |  ------------------
  |  |  |  Branch (509:29): [True: 12.9k, False: 0]
  |  |  ------------------
  |  |  510|  12.9k|                          ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  |  |  511|  12.9k|                          : NULL)
  ------------------
  |  Branch (1796:7): [True: 12.9k, False: 0]
  ------------------
 1797|  12.9k|    yyterminate();
  ------------------
  |  | 1232|  12.9k|#define yyterminate() return YY_NULL
  |  |  ------------------
  |  |  |  |  329|  12.9k|#define YY_NULL 0
  |  |  ------------------
  ------------------
 1798|       |
 1799|      0|  return _END_OF_INCLUDED_FILE_;
  ------------------
  |  |  126|      0|#define _END_OF_INCLUDED_FILE_ 258
  ------------------
 1800|  12.9k|}
 1801|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1802|    710|case 55:
  ------------------
  |  Branch (1802:1): [True: 710, False: 1.25M]
  ------------------
 1803|    710|YY_RULE_SETUP
 1804|    710|#line 375 "libyara/lexer.l"
 1805|    710|{
 1806|       |
 1807|    710|  yylval->c_string = yr_strdup(yytext);
  ------------------
  |  | 1097|    710|    #    define yylval yyg->yylval_r
  ------------------
                yylval->c_string = yr_strdup(yytext);
  ------------------
  |  |  348|    710|#define yytext yyg->yytext_r
  ------------------
 1808|       |
 1809|    710|  if (yylval->c_string == NULL)
  ------------------
  |  | 1097|    710|    #    define yylval yyg->yylval_r
  ------------------
  |  Branch (1809:7): [True: 0, False: 710]
  ------------------
 1810|    710|    error(ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |  971|      0|    { \
  |  |  972|      0|      compiler->last_error = error_code; \
  |  |  973|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  ------------------
  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  974|      0|      yyterminate(); \
  |  |  ------------------
  |  |  |  | 1232|      0|#define yyterminate() return YY_NULL
  |  |  |  |  ------------------
  |  |  |  |  |  |  329|      0|#define YY_NULL 0
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  975|      0|    }
  ------------------
 1811|       |
 1812|    710|  return _STRING_IDENTIFIER_WITH_WILDCARD_;
  ------------------
  |  |  139|    710|#define _STRING_IDENTIFIER_WITH_WILDCARD_ 271
  ------------------
 1813|    710|}
 1814|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1815|  65.2k|case 56:
  ------------------
  |  Branch (1815:1): [True: 65.2k, False: 1.19M]
  ------------------
 1816|  65.2k|YY_RULE_SETUP
 1817|  65.2k|#line 386 "libyara/lexer.l"
 1818|  65.2k|{
 1819|       |
 1820|  65.2k|  yylval->c_string = yr_strdup(yytext);
  ------------------
  |  | 1097|  65.2k|    #    define yylval yyg->yylval_r
  ------------------
                yylval->c_string = yr_strdup(yytext);
  ------------------
  |  |  348|  65.2k|#define yytext yyg->yytext_r
  ------------------
 1821|       |
 1822|  65.2k|  if (yylval->c_string == NULL)
  ------------------
  |  | 1097|  65.2k|    #    define yylval yyg->yylval_r
  ------------------
  |  Branch (1822:7): [True: 0, False: 65.2k]
  ------------------
 1823|  65.2k|    error(ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |  971|      0|    { \
  |  |  972|      0|      compiler->last_error = error_code; \
  |  |  973|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  ------------------
  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  974|      0|      yyterminate(); \
  |  |  ------------------
  |  |  |  | 1232|      0|#define yyterminate() return YY_NULL
  |  |  |  |  ------------------
  |  |  |  |  |  |  329|      0|#define YY_NULL 0
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  975|      0|    }
  ------------------
 1824|       |
 1825|  65.2k|  return _STRING_IDENTIFIER_;
  ------------------
  |  |  135|  65.2k|#define _STRING_IDENTIFIER_ 267
  ------------------
 1826|  65.2k|}
 1827|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1828|  4.93k|case 57:
  ------------------
  |  Branch (1828:1): [True: 4.93k, False: 1.25M]
  ------------------
 1829|  4.93k|YY_RULE_SETUP
 1830|  4.93k|#line 397 "libyara/lexer.l"
 1831|  4.93k|{
 1832|       |
 1833|  4.93k|  yylval->c_string = yr_strdup(yytext);
  ------------------
  |  | 1097|  4.93k|    #    define yylval yyg->yylval_r
  ------------------
                yylval->c_string = yr_strdup(yytext);
  ------------------
  |  |  348|  4.93k|#define yytext yyg->yytext_r
  ------------------
 1834|       |
 1835|  4.93k|  if (yylval->c_string == NULL)
  ------------------
  |  | 1097|  4.93k|    #    define yylval yyg->yylval_r
  ------------------
  |  Branch (1835:7): [True: 0, False: 4.93k]
  ------------------
 1836|      0|  {
 1837|      0|    error(ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |  971|      0|    { \
  |  |  972|      0|      compiler->last_error = error_code; \
  |  |  973|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  ------------------
  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  974|      0|      yyterminate(); \
  |  |  ------------------
  |  |  |  | 1232|      0|#define yyterminate() return YY_NULL
  |  |  |  |  ------------------
  |  |  |  |  |  |  329|      0|#define YY_NULL 0
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  975|      0|    }
  ------------------
 1838|      0|  }
 1839|  4.93k|  else
 1840|  4.93k|  {
 1841|  4.93k|    yylval->c_string[0] = '$'; /* replace # by $*/
  ------------------
  |  | 1097|  4.93k|    #    define yylval yyg->yylval_r
  ------------------
 1842|  4.93k|  }
 1843|       |
 1844|  4.93k|  return _STRING_COUNT_;
  ------------------
  |  |  136|  4.93k|#define _STRING_COUNT_ 268
  ------------------
 1845|  4.93k|}
 1846|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1847|  5.74k|case 58:
  ------------------
  |  Branch (1847:1): [True: 5.74k, False: 1.25M]
  ------------------
 1848|  5.74k|YY_RULE_SETUP
 1849|  5.74k|#line 414 "libyara/lexer.l"
 1850|  5.74k|{
 1851|       |
 1852|  5.74k|  yylval->c_string = yr_strdup(yytext);
  ------------------
  |  | 1097|  5.74k|    #    define yylval yyg->yylval_r
  ------------------
                yylval->c_string = yr_strdup(yytext);
  ------------------
  |  |  348|  5.74k|#define yytext yyg->yytext_r
  ------------------
 1853|       |
 1854|  5.74k|  if (yylval->c_string == NULL)
  ------------------
  |  | 1097|  5.74k|    #    define yylval yyg->yylval_r
  ------------------
  |  Branch (1854:7): [True: 0, False: 5.74k]
  ------------------
 1855|      0|  {
 1856|      0|    error(ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |  971|      0|    { \
  |  |  972|      0|      compiler->last_error = error_code; \
  |  |  973|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  ------------------
  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  974|      0|      yyterminate(); \
  |  |  ------------------
  |  |  |  | 1232|      0|#define yyterminate() return YY_NULL
  |  |  |  |  ------------------
  |  |  |  |  |  |  329|      0|#define YY_NULL 0
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  975|      0|    }
  ------------------
 1857|      0|  }
 1858|  5.74k|  else
 1859|  5.74k|  {
 1860|  5.74k|    yylval->c_string[0] = '$'; /* replace @ by $*/
  ------------------
  |  | 1097|  5.74k|    #    define yylval yyg->yylval_r
  ------------------
 1861|  5.74k|  }
 1862|       |
 1863|  5.74k|  return _STRING_OFFSET_;
  ------------------
  |  |  137|  5.74k|#define _STRING_OFFSET_ 269
  ------------------
 1864|  5.74k|}
 1865|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1866|  14.6k|case 59:
  ------------------
  |  Branch (1866:1): [True: 14.6k, False: 1.24M]
  ------------------
 1867|  14.6k|YY_RULE_SETUP
 1868|  14.6k|#line 431 "libyara/lexer.l"
 1869|  14.6k|{
 1870|       |
 1871|  14.6k|  yylval->c_string = yr_strdup(yytext);
  ------------------
  |  | 1097|  14.6k|    #    define yylval yyg->yylval_r
  ------------------
                yylval->c_string = yr_strdup(yytext);
  ------------------
  |  |  348|  14.6k|#define yytext yyg->yytext_r
  ------------------
 1872|       |
 1873|  14.6k|  if (yylval->c_string == NULL)
  ------------------
  |  | 1097|  14.6k|    #    define yylval yyg->yylval_r
  ------------------
  |  Branch (1873:7): [True: 0, False: 14.6k]
  ------------------
 1874|      0|  {
 1875|      0|    error(ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |  971|      0|    { \
  |  |  972|      0|      compiler->last_error = error_code; \
  |  |  973|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  ------------------
  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  974|      0|      yyterminate(); \
  |  |  ------------------
  |  |  |  | 1232|      0|#define yyterminate() return YY_NULL
  |  |  |  |  ------------------
  |  |  |  |  |  |  329|      0|#define YY_NULL 0
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  975|      0|    }
  ------------------
 1876|      0|  }
 1877|  14.6k|  else
 1878|  14.6k|  {
 1879|  14.6k|    yylval->c_string[0] = '$'; /* replace ! by $*/
  ------------------
  |  | 1097|  14.6k|    #    define yylval yyg->yylval_r
  ------------------
 1880|  14.6k|  }
 1881|       |
 1882|  14.6k|  return _STRING_LENGTH_;
  ------------------
  |  |  138|  14.6k|#define _STRING_LENGTH_ 270
  ------------------
 1883|  14.6k|}
 1884|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1885|  1.44k|case 60:
  ------------------
  |  Branch (1885:1): [True: 1.44k, False: 1.25M]
  ------------------
 1886|  1.44k|YY_RULE_SETUP
 1887|  1.44k|#line 448 "libyara/lexer.l"
 1888|  1.44k|{
 1889|       |
 1890|  1.44k|  char* text = yytext;
  ------------------
  |  |  348|  1.44k|#define yytext yyg->yytext_r
  ------------------
 1891|       |
 1892|  1.44k|  if (*text == 'u')
  ------------------
  |  Branch (1892:7): [True: 341, False: 1.10k]
  ------------------
 1893|    341|  {
 1894|    341|    yylval->integer = 3;
  ------------------
  |  | 1097|    341|    #    define yylval yyg->yylval_r
  ------------------
 1895|    341|    text++;
 1896|    341|  }
 1897|  1.10k|  else
 1898|  1.10k|  {
 1899|  1.10k|    yylval->integer = 0;
  ------------------
  |  | 1097|  1.10k|    #    define yylval yyg->yylval_r
  ------------------
 1900|  1.10k|  }
 1901|       |
 1902|  1.44k|  if (strstr(text, "int8") == text)
  ------------------
  |  Branch (1902:7): [True: 926, False: 518]
  ------------------
 1903|    926|  {
 1904|    926|    yylval->integer += 0;
  ------------------
  |  | 1097|    926|    #    define yylval yyg->yylval_r
  ------------------
 1905|    926|    text += 4;
 1906|    926|  }
 1907|    518|  else if (strstr(text, "int16") == text)
  ------------------
  |  Branch (1907:12): [True: 283, False: 235]
  ------------------
 1908|    283|  {
 1909|    283|    yylval->integer += 1;
  ------------------
  |  | 1097|    283|    #    define yylval yyg->yylval_r
  ------------------
 1910|    283|    text += 5;
 1911|    283|  }
 1912|    235|  else if (strstr(text, "int32") == text)
  ------------------
  |  Branch (1912:12): [True: 235, False: 0]
  ------------------
 1913|    235|  {
 1914|    235|    yylval->integer += 2;
  ------------------
  |  | 1097|    235|    #    define yylval yyg->yylval_r
  ------------------
 1915|    235|    text += 5;
 1916|    235|  }
 1917|       |
 1918|  1.44k|  if (strcmp(text, "be") == 0)
  ------------------
  |  Branch (1918:7): [True: 215, False: 1.22k]
  ------------------
 1919|    215|  {
 1920|    215|    yylval->integer += 6;
  ------------------
  |  | 1097|    215|    #    define yylval yyg->yylval_r
  ------------------
 1921|    215|  }
 1922|       |
 1923|  1.44k|  return _INTEGER_FUNCTION_;
  ------------------
  |  |  142|  1.44k|#define _INTEGER_FUNCTION_ 274
  ------------------
 1924|  14.6k|}
 1925|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1926|   109k|case 61:
  ------------------
  |  Branch (1926:1): [True: 109k, False: 1.14M]
  ------------------
 1927|   109k|YY_RULE_SETUP
 1928|   109k|#line 487 "libyara/lexer.l"
 1929|   109k|{
 1930|       |
 1931|   109k|  if (strlen(yytext) > 128)
  ------------------
  |  |  348|   109k|#define yytext yyg->yytext_r
  ------------------
  |  Branch (1931:7): [True: 7, False: 109k]
  ------------------
 1932|   109k|    syntax_error("identifier too long");
  ------------------
  |  |  978|      7|    { \
  |  |  979|      7|      yr_compiler_set_error_extra_info(compiler, error_msg); \
  |  |  ------------------
  |  |  |  |  320|      7|  strlcpy(                                               \
  |  |  |  |  321|      7|      compiler->last_error_extra_info,                   \
  |  |  |  |  322|      7|      info,                                              \
  |  |  |  |  323|      7|      sizeof(compiler->last_error_extra_info));
  |  |  ------------------
  |  |  980|      7|      error(ERROR_SYNTAX_ERROR); \
  |  |  ------------------
  |  |  |  |  971|      7|    { \
  |  |  |  |  972|      7|      compiler->last_error = error_code; \
  |  |  |  |  973|      7|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      7|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  974|      7|      yyterminate(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1232|      7|#define yyterminate() return YY_NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  329|      7|#define YY_NULL 0
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  975|      7|    }
  |  |  ------------------
  |  |  981|      0|    }
  ------------------
 1933|       |
 1934|   109k|  yylval->c_string = yr_strdup(yytext);
  ------------------
  |  | 1097|   109k|    #    define yylval yyg->yylval_r
  ------------------
                yylval->c_string = yr_strdup(yytext);
  ------------------
  |  |  348|   109k|#define yytext yyg->yytext_r
  ------------------
 1935|       |
 1936|   109k|  if (yylval->c_string == NULL)
  ------------------
  |  | 1097|   109k|    #    define yylval yyg->yylval_r
  ------------------
  |  Branch (1936:7): [True: 0, False: 109k]
  ------------------
 1937|   109k|    error(ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |  971|      0|    { \
  |  |  972|      0|      compiler->last_error = error_code; \
  |  |  973|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  ------------------
  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  974|      0|      yyterminate(); \
  |  |  ------------------
  |  |  |  | 1232|      0|#define yyterminate() return YY_NULL
  |  |  |  |  ------------------
  |  |  |  |  |  |  329|      0|#define YY_NULL 0
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  975|      0|    }
  ------------------
 1938|       |
 1939|   109k|  return _IDENTIFIER_;
  ------------------
  |  |  134|   109k|#define _IDENTIFIER_ 266
  ------------------
 1940|   109k|}
 1941|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1942|  78.0k|case 62:
  ------------------
  |  Branch (1942:1): [True: 78.0k, False: 1.17M]
  ------------------
 1943|  78.0k|YY_RULE_SETUP
 1944|  78.0k|#line 501 "libyara/lexer.l"
 1945|  78.0k|{
 1946|       |
 1947|  78.0k|  char *endptr;
 1948|       |
 1949|  78.0k|  errno = 0;
 1950|  78.0k|  yylval->integer = strtoll(yytext, &endptr, 10);
  ------------------
  |  | 1097|  78.0k|    #    define yylval yyg->yylval_r
  ------------------
                yylval->integer = strtoll(yytext, &endptr, 10);
  ------------------
  |  |  348|  78.0k|#define yytext yyg->yytext_r
  ------------------
 1951|       |
 1952|  78.0k|  if (yylval->integer == LLONG_MAX && errno == ERANGE)
  ------------------
  |  | 1097|  78.0k|    #    define yylval yyg->yylval_r
  ------------------
  |  Branch (1952:7): [True: 477, False: 77.5k]
  |  Branch (1952:39): [True: 16, False: 461]
  ------------------
 1953|     16|  {
 1954|     16|    yr_compiler_set_error_extra_info(compiler, yytext);
  ------------------
  |  |  320|     16|  strlcpy(                                               \
  |  |  321|     16|      compiler->last_error_extra_info,                   \
  |  |  322|     16|      info,                                              \
  |  |  323|     16|      sizeof(compiler->last_error_extra_info));
  ------------------
 1955|     16|    error(ERROR_INTEGER_OVERFLOW);
  ------------------
  |  |  971|     16|    { \
  |  |  972|     16|      compiler->last_error = error_code; \
  |  |  973|     16|      yyerror(yyscanner, compiler, NULL); \
  |  |  ------------------
  |  |  |  |   48|     16|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  974|     16|      yyterminate(); \
  |  |  ------------------
  |  |  |  | 1232|     16|#define yyterminate() return YY_NULL
  |  |  |  |  ------------------
  |  |  |  |  |  |  329|     16|#define YY_NULL 0
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  975|     16|    }
  ------------------
 1956|      0|  }
 1957|  78.0k|  else if (strstr(yytext, "KB") != NULL)
  ------------------
  |  |  348|  78.0k|#define yytext yyg->yytext_r
  ------------------
  |  Branch (1957:12): [True: 362, False: 77.6k]
  ------------------
 1958|    362|  {
 1959|    362|    if (yylval->integer > LLONG_MAX / 1024)
  ------------------
  |  | 1097|    362|    #    define yylval yyg->yylval_r
  ------------------
  |  Branch (1959:9): [True: 12, False: 350]
  ------------------
 1960|     12|    {
 1961|     12|      yr_compiler_set_error_extra_info(compiler, yytext);
  ------------------
  |  |  320|     12|  strlcpy(                                               \
  |  |  321|     12|      compiler->last_error_extra_info,                   \
  |  |  322|     12|      info,                                              \
  |  |  323|     12|      sizeof(compiler->last_error_extra_info));
  ------------------
 1962|     12|      error(ERROR_INTEGER_OVERFLOW);
  ------------------
  |  |  971|     12|    { \
  |  |  972|     12|      compiler->last_error = error_code; \
  |  |  973|     12|      yyerror(yyscanner, compiler, NULL); \
  |  |  ------------------
  |  |  |  |   48|     12|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  974|     12|      yyterminate(); \
  |  |  ------------------
  |  |  |  | 1232|     12|#define yyterminate() return YY_NULL
  |  |  |  |  ------------------
  |  |  |  |  |  |  329|     12|#define YY_NULL 0
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  975|     12|    }
  ------------------
 1963|      0|    }
 1964|    350|    else
 1965|    350|    {
 1966|    350|      yylval->integer *= 1024;
  ------------------
  |  | 1097|    350|    #    define yylval yyg->yylval_r
  ------------------
 1967|    350|    }
 1968|    362|  }
 1969|  77.6k|  else if (strstr(yytext, "MB") != NULL)
  ------------------
  |  |  348|  77.6k|#define yytext yyg->yytext_r
  ------------------
  |  Branch (1969:12): [True: 2.18k, False: 75.4k]
  ------------------
 1970|  2.18k|  {
 1971|  2.18k|    if (yylval->integer > LLONG_MAX / 1048576)
  ------------------
  |  | 1097|  2.18k|    #    define yylval yyg->yylval_r
  ------------------
  |  Branch (1971:9): [True: 25, False: 2.15k]
  ------------------
 1972|     25|    {
 1973|     25|      yr_compiler_set_error_extra_info(compiler, yytext);
  ------------------
  |  |  320|     25|  strlcpy(                                               \
  |  |  321|     25|      compiler->last_error_extra_info,                   \
  |  |  322|     25|      info,                                              \
  |  |  323|     25|      sizeof(compiler->last_error_extra_info));
  ------------------
 1974|     25|      error(ERROR_INTEGER_OVERFLOW);
  ------------------
  |  |  971|     25|    { \
  |  |  972|     25|      compiler->last_error = error_code; \
  |  |  973|     25|      yyerror(yyscanner, compiler, NULL); \
  |  |  ------------------
  |  |  |  |   48|     25|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  974|     25|      yyterminate(); \
  |  |  ------------------
  |  |  |  | 1232|     25|#define yyterminate() return YY_NULL
  |  |  |  |  ------------------
  |  |  |  |  |  |  329|     25|#define YY_NULL 0
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  975|     25|    }
  ------------------
 1975|      0|    }
 1976|  2.15k|    else
 1977|  2.15k|    {
 1978|  2.15k|      yylval->integer *= 1048576;
  ------------------
  |  | 1097|  2.15k|    #    define yylval yyg->yylval_r
  ------------------
 1979|  2.15k|    }
 1980|  2.18k|  }
 1981|       |
 1982|  77.9k|  return _NUMBER_;
  ------------------
  |  |  140|  77.9k|#define _NUMBER_ 272
  ------------------
 1983|  78.0k|}
 1984|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1985|  3.51k|case 63:
  ------------------
  |  Branch (1985:1): [True: 3.51k, False: 1.25M]
  ------------------
 1986|  3.51k|YY_RULE_SETUP
 1987|  3.51k|#line 541 "libyara/lexer.l"
 1988|  3.51k|{
 1989|  3.51k|  yylval->double_ = atof(yytext);
  ------------------
  |  | 1097|  3.51k|    #    define yylval yyg->yylval_r
  ------------------
                yylval->double_ = atof(yytext);
  ------------------
  |  |  348|  3.51k|#define yytext yyg->yytext_r
  ------------------
 1990|  3.51k|  return _DOUBLE_;
  ------------------
  |  |  141|  3.51k|#define _DOUBLE_ 273
  ------------------
 1991|  78.0k|}
 1992|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1993|  2.73k|case 64:
  ------------------
  |  Branch (1993:1): [True: 2.73k, False: 1.25M]
  ------------------
 1994|  2.73k|YY_RULE_SETUP
 1995|  2.73k|#line 546 "libyara/lexer.l"
 1996|  2.73k|{
 1997|       |
 1998|  2.73k|  char *endptr;
 1999|       |
 2000|  2.73k|  errno = 0;
 2001|  2.73k|  yylval->integer = strtoll(yytext, &endptr, 16);
  ------------------
  |  | 1097|  2.73k|    #    define yylval yyg->yylval_r
  ------------------
                yylval->integer = strtoll(yytext, &endptr, 16);
  ------------------
  |  |  348|  2.73k|#define yytext yyg->yytext_r
  ------------------
 2002|       |
 2003|  2.73k|  if (yylval->integer == LLONG_MAX && errno == ERANGE)
  ------------------
  |  | 1097|  2.73k|    #    define yylval yyg->yylval_r
  ------------------
  |  Branch (2003:7): [True: 295, False: 2.44k]
  |  Branch (2003:39): [True: 1, False: 294]
  ------------------
 2004|      1|  {
 2005|      1|    yr_compiler_set_error_extra_info(compiler, yytext);
  ------------------
  |  |  320|      1|  strlcpy(                                               \
  |  |  321|      1|      compiler->last_error_extra_info,                   \
  |  |  322|      1|      info,                                              \
  |  |  323|      1|      sizeof(compiler->last_error_extra_info));
  ------------------
 2006|      1|    error(ERROR_INTEGER_OVERFLOW);
  ------------------
  |  |  971|      1|    { \
  |  |  972|      1|      compiler->last_error = error_code; \
  |  |  973|      1|      yyerror(yyscanner, compiler, NULL); \
  |  |  ------------------
  |  |  |  |   48|      1|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  974|      1|      yyterminate(); \
  |  |  ------------------
  |  |  |  | 1232|      1|#define yyterminate() return YY_NULL
  |  |  |  |  ------------------
  |  |  |  |  |  |  329|      1|#define YY_NULL 0
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  975|      1|    }
  ------------------
 2007|      0|  }
 2008|       |
 2009|  2.73k|  return _NUMBER_;
  ------------------
  |  |  140|  2.73k|#define _NUMBER_ 272
  ------------------
 2010|  2.73k|}
 2011|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 2012|    594|case 65:
  ------------------
  |  Branch (2012:1): [True: 594, False: 1.25M]
  ------------------
 2013|    594|YY_RULE_SETUP
 2014|    594|#line 562 "libyara/lexer.l"
 2015|    594|{
 2016|       |
 2017|    594|  char *endptr;
 2018|       |
 2019|    594|  errno = 0;
 2020|    594|  yylval->integer = strtoll(yytext + 2, &endptr, 8);
  ------------------
  |  | 1097|    594|    #    define yylval yyg->yylval_r
  ------------------
                yylval->integer = strtoll(yytext + 2, &endptr, 8);
  ------------------
  |  |  348|    594|#define yytext yyg->yytext_r
  ------------------
 2021|       |
 2022|    594|  if (yylval->integer == LLONG_MAX && errno == ERANGE)
  ------------------
  |  | 1097|    594|    #    define yylval yyg->yylval_r
  ------------------
  |  Branch (2022:7): [True: 223, False: 371]
  |  Branch (2022:39): [True: 3, False: 220]
  ------------------
 2023|      3|  {
 2024|      3|    yr_compiler_set_error_extra_info(compiler, yytext);
  ------------------
  |  |  320|      3|  strlcpy(                                               \
  |  |  321|      3|      compiler->last_error_extra_info,                   \
  |  |  322|      3|      info,                                              \
  |  |  323|      3|      sizeof(compiler->last_error_extra_info));
  ------------------
 2025|      3|    error(ERROR_INTEGER_OVERFLOW);
  ------------------
  |  |  971|      3|    { \
  |  |  972|      3|      compiler->last_error = error_code; \
  |  |  973|      3|      yyerror(yyscanner, compiler, NULL); \
  |  |  ------------------
  |  |  |  |   48|      3|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  974|      3|      yyterminate(); \
  |  |  ------------------
  |  |  |  | 1232|      3|#define yyterminate() return YY_NULL
  |  |  |  |  ------------------
  |  |  |  |  |  |  329|      3|#define YY_NULL 0
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  975|      3|    }
  ------------------
 2026|      0|  }
 2027|       |
 2028|    591|  return _NUMBER_;
  ------------------
  |  |  140|    591|#define _NUMBER_ 272
  ------------------
 2029|    594|}
 2030|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 2031|  29.6k|case 66:
  ------------------
  |  Branch (2031:1): [True: 29.6k, False: 1.22M]
  ------------------
 2032|  29.6k|YY_RULE_SETUP
 2033|  29.6k|#line 579 "libyara/lexer.l"
 2034|  29.6k|{     /* saw closing quote - all done */
 2035|       |
 2036|  29.6k|  alloc_sized_string(s, yyextra->lex_buf_len);
  ------------------
  |  | 1002|  29.6k|  SIZED_STRING* str = (SIZED_STRING*) yr_malloc( \
  |  | 1003|  29.6k|      str_len + sizeof(SIZED_STRING)); \
  |  | 1004|  29.6k|  if (str == NULL) \
  |  |  ------------------
  |  |  |  Branch (1004:7): [True: 0, False: 29.6k]
  |  |  ------------------
  |  | 1005|  29.6k|  { \
  |  | 1006|      0|    yyerror(yyscanner, compiler, "not enough memory"); \
  |  |  ------------------
  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  ------------------
  |  | 1007|      0|    yyterminate(); \
  |  |  ------------------
  |  |  |  | 1232|      0|#define yyterminate() return YY_NULL
  |  |  |  |  ------------------
  |  |  |  |  |  |  329|      0|#define YY_NULL 0
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1008|      0|  } \
  |  | 1009|  29.6k|  else \
  |  | 1010|  29.6k|  { \
  |  | 1011|  29.6k|    str->length = (uint32_t) (str_len); \
  |  | 1012|  29.6k|    str->flags = 0; \
  |  | 1013|  29.6k|  } \
  ------------------
 2037|       |
 2038|  29.6k|  *yyextra->lex_buf_ptr = '\0';
  ------------------
  |  |  346|  29.6k|#define yyextra yyg->yyextra_r
  ------------------
 2039|  29.6k|  memcpy(s->c_string, yyextra->lex_buf, yyextra->lex_buf_len + 1);
  ------------------
  |  |  346|  29.6k|#define yyextra yyg->yyextra_r
  ------------------
                memcpy(s->c_string, yyextra->lex_buf, yyextra->lex_buf_len + 1);
  ------------------
  |  |  346|  29.6k|#define yyextra yyg->yyextra_r
  ------------------
 2040|       |
 2041|  29.6k|  yylval->sized_string = s;
  ------------------
  |  | 1097|  29.6k|    #    define yylval yyg->yylval_r
  ------------------
 2042|       |
 2043|  29.6k|  BEGIN(INITIAL);
  ------------------
  |  |  357|  29.6k|#define BEGIN yyg->yy_start = 1 + 2 *
  ------------------
                BEGIN(INITIAL);
  ------------------
  |  | 1039|  29.6k|#define INITIAL 0
  ------------------
 2044|       |
 2045|  29.6k|  return _TEXT_STRING_;
  ------------------
  |  |  143|  29.6k|#define _TEXT_STRING_ 275
  ------------------
 2046|  29.6k|}
 2047|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 2048|    297|case 67:
  ------------------
  |  Branch (2048:1): [True: 297, False: 1.25M]
  ------------------
 2049|    297|YY_RULE_SETUP
 2050|    297|#line 594 "libyara/lexer.l"
 2051|    297|{
 2052|       |
 2053|    297|  lex_check_space_ok("\t", yyextra->lex_buf_len, YR_LEX_BUF_SIZE);
  ------------------
  |  |  984|    297|    if (strlen(data) + current_size >= max_length - 1) \
  |  |  ------------------
  |  |  |  Branch (984:9): [True: 1, False: 296]
  |  |  ------------------
  |  |  985|    297|    { \
  |  |  986|      1|      yyerror(yyscanner, compiler, "out of space in lex_buf"); \
  |  |  ------------------
  |  |  |  |   48|      1|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  987|      1|      yyterminate(); \
  |  |  ------------------
  |  |  |  | 1232|      1|#define yyterminate() return YY_NULL
  |  |  |  |  ------------------
  |  |  |  |  |  |  329|      1|#define YY_NULL 0
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  988|      1|    }
  ------------------
 2054|    296|  *yyextra->lex_buf_ptr++ = '\t';
  ------------------
  |  |  346|    296|#define yyextra yyg->yyextra_r
  ------------------
 2055|    296|  yyextra->lex_buf_len++;
  ------------------
  |  |  346|    296|#define yyextra yyg->yyextra_r
  ------------------
 2056|    296|}
 2057|    296|	YY_BREAK
  ------------------
  |  | 1269|    296|#define YY_BREAK /*LINTED*/break;
  ------------------
 2058|    307|case 68:
  ------------------
  |  Branch (2058:1): [True: 307, False: 1.25M]
  ------------------
 2059|    307|YY_RULE_SETUP
 2060|    307|#line 602 "libyara/lexer.l"
 2061|    307|{
 2062|       |
 2063|    307|  lex_check_space_ok("\r", yyextra->lex_buf_len, YR_LEX_BUF_SIZE);
  ------------------
  |  |  984|    307|    if (strlen(data) + current_size >= max_length - 1) \
  |  |  ------------------
  |  |  |  Branch (984:9): [True: 1, False: 306]
  |  |  ------------------
  |  |  985|    307|    { \
  |  |  986|      1|      yyerror(yyscanner, compiler, "out of space in lex_buf"); \
  |  |  ------------------
  |  |  |  |   48|      1|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  987|      1|      yyterminate(); \
  |  |  ------------------
  |  |  |  | 1232|      1|#define yyterminate() return YY_NULL
  |  |  |  |  ------------------
  |  |  |  |  |  |  329|      1|#define YY_NULL 0
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  988|      1|    }
  ------------------
 2064|    306|  *yyextra->lex_buf_ptr++ = '\r';
  ------------------
  |  |  346|    306|#define yyextra yyg->yyextra_r
  ------------------
 2065|    306|  yyextra->lex_buf_len++;
  ------------------
  |  |  346|    306|#define yyextra yyg->yyextra_r
  ------------------
 2066|    306|}
 2067|    306|	YY_BREAK
  ------------------
  |  | 1269|    306|#define YY_BREAK /*LINTED*/break;
  ------------------
 2068|    286|case 69:
  ------------------
  |  Branch (2068:1): [True: 286, False: 1.25M]
  ------------------
 2069|    286|YY_RULE_SETUP
 2070|    286|#line 610 "libyara/lexer.l"
 2071|    286|{
 2072|       |
 2073|    286|  lex_check_space_ok("\n", yyextra->lex_buf_len, YR_LEX_BUF_SIZE);
  ------------------
  |  |  984|    286|    if (strlen(data) + current_size >= max_length - 1) \
  |  |  ------------------
  |  |  |  Branch (984:9): [True: 1, False: 285]
  |  |  ------------------
  |  |  985|    286|    { \
  |  |  986|      1|      yyerror(yyscanner, compiler, "out of space in lex_buf"); \
  |  |  ------------------
  |  |  |  |   48|      1|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  987|      1|      yyterminate(); \
  |  |  ------------------
  |  |  |  | 1232|      1|#define yyterminate() return YY_NULL
  |  |  |  |  ------------------
  |  |  |  |  |  |  329|      1|#define YY_NULL 0
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  988|      1|    }
  ------------------
 2074|    285|  *yyextra->lex_buf_ptr++ = '\n';
  ------------------
  |  |  346|    285|#define yyextra yyg->yyextra_r
  ------------------
 2075|    285|  yyextra->lex_buf_len++;
  ------------------
  |  |  346|    285|#define yyextra yyg->yyextra_r
  ------------------
 2076|    285|}
 2077|    285|	YY_BREAK
  ------------------
  |  | 1269|    285|#define YY_BREAK /*LINTED*/break;
  ------------------
 2078|    238|case 70:
  ------------------
  |  Branch (2078:1): [True: 238, False: 1.25M]
  ------------------
 2079|    238|YY_RULE_SETUP
 2080|    238|#line 618 "libyara/lexer.l"
 2081|    238|{
 2082|       |
 2083|    238|  lex_check_space_ok("\"", yyextra->lex_buf_len, YR_LEX_BUF_SIZE);
  ------------------
  |  |  984|    238|    if (strlen(data) + current_size >= max_length - 1) \
  |  |  ------------------
  |  |  |  Branch (984:9): [True: 1, False: 237]
  |  |  ------------------
  |  |  985|    238|    { \
  |  |  986|      1|      yyerror(yyscanner, compiler, "out of space in lex_buf"); \
  |  |  ------------------
  |  |  |  |   48|      1|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  987|      1|      yyterminate(); \
  |  |  ------------------
  |  |  |  | 1232|      1|#define yyterminate() return YY_NULL
  |  |  |  |  ------------------
  |  |  |  |  |  |  329|      1|#define YY_NULL 0
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  988|      1|    }
  ------------------
 2084|    237|  *yyextra->lex_buf_ptr++ = '\"';
  ------------------
  |  |  346|    237|#define yyextra yyg->yyextra_r
  ------------------
 2085|    237|  yyextra->lex_buf_len++;
  ------------------
  |  |  346|    237|#define yyextra yyg->yyextra_r
  ------------------
 2086|    237|}
 2087|    237|	YY_BREAK
  ------------------
  |  | 1269|    237|#define YY_BREAK /*LINTED*/break;
  ------------------
 2088|    677|case 71:
  ------------------
  |  Branch (2088:1): [True: 677, False: 1.25M]
  ------------------
 2089|    677|YY_RULE_SETUP
 2090|    677|#line 626 "libyara/lexer.l"
 2091|    677|{
 2092|       |
 2093|    677|  lex_check_space_ok("\\", yyextra->lex_buf_len, YR_LEX_BUF_SIZE);
  ------------------
  |  |  984|    677|    if (strlen(data) + current_size >= max_length - 1) \
  |  |  ------------------
  |  |  |  Branch (984:9): [True: 1, False: 676]
  |  |  ------------------
  |  |  985|    677|    { \
  |  |  986|      1|      yyerror(yyscanner, compiler, "out of space in lex_buf"); \
  |  |  ------------------
  |  |  |  |   48|      1|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  987|      1|      yyterminate(); \
  |  |  ------------------
  |  |  |  | 1232|      1|#define yyterminate() return YY_NULL
  |  |  |  |  ------------------
  |  |  |  |  |  |  329|      1|#define YY_NULL 0
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  988|      1|    }
  ------------------
 2094|    676|  *yyextra->lex_buf_ptr++ = '\\';
  ------------------
  |  |  346|    676|#define yyextra yyg->yyextra_r
  ------------------
 2095|    676|  yyextra->lex_buf_len++;
  ------------------
  |  |  346|    676|#define yyextra yyg->yyextra_r
  ------------------
 2096|    676|}
 2097|    676|	YY_BREAK
  ------------------
  |  | 1269|    676|#define YY_BREAK /*LINTED*/break;
  ------------------
 2098|    518|case 72:
  ------------------
  |  Branch (2098:1): [True: 518, False: 1.25M]
  ------------------
 2099|    518|YY_RULE_SETUP
 2100|    518|#line 634 "libyara/lexer.l"
 2101|    518|{
 2102|       |
 2103|    518|  int result;
 2104|       |
 2105|    518|  sscanf(yytext + 2, "%x", &result);
  ------------------
  |  |  348|    518|#define yytext yyg->yytext_r
  ------------------
 2106|    518|  lex_check_space_ok("X", yyextra->lex_buf_len, YR_LEX_BUF_SIZE);
  ------------------
  |  |  984|    518|    if (strlen(data) + current_size >= max_length - 1) \
  |  |  ------------------
  |  |  |  Branch (984:9): [True: 1, False: 517]
  |  |  ------------------
  |  |  985|    518|    { \
  |  |  986|      1|      yyerror(yyscanner, compiler, "out of space in lex_buf"); \
  |  |  ------------------
  |  |  |  |   48|      1|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  987|      1|      yyterminate(); \
  |  |  ------------------
  |  |  |  | 1232|      1|#define yyterminate() return YY_NULL
  |  |  |  |  ------------------
  |  |  |  |  |  |  329|      1|#define YY_NULL 0
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  988|      1|    }
  ------------------
 2107|    517|  *yyextra->lex_buf_ptr++ = result;
  ------------------
  |  |  346|    517|#define yyextra yyg->yyextra_r
  ------------------
 2108|    517|  yyextra->lex_buf_len++;
  ------------------
  |  |  346|    517|#define yyextra yyg->yyextra_r
  ------------------
 2109|    517|}
 2110|    517|	YY_BREAK
  ------------------
  |  | 1269|    517|#define YY_BREAK /*LINTED*/break;
  ------------------
 2111|  16.5k|case 73:
  ------------------
  |  Branch (2111:1): [True: 16.5k, False: 1.24M]
  ------------------
 2112|  16.5k|YY_RULE_SETUP
 2113|  16.5k|#line 645 "libyara/lexer.l"
 2114|  16.5k|{ yytext_to_buffer; }
  ------------------
  |  |  991|  16.5k|    { \
  |  |  992|  16.5k|      char *yptr = yytext; \
  |  |  ------------------
  |  |  |  |  348|  16.5k|#define yytext yyg->yytext_r
  |  |  ------------------
  |  |  993|  16.5k|      lex_check_space_ok(yptr, yyextra->lex_buf_len, YR_LEX_BUF_SIZE); \
  |  |  ------------------
  |  |  |  |  984|  16.5k|    if (strlen(data) + current_size >= max_length - 1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (984:9): [True: 7, False: 16.5k]
  |  |  |  |  ------------------
  |  |  |  |  985|  16.5k|    { \
  |  |  |  |  986|      7|      yyerror(yyscanner, compiler, "out of space in lex_buf"); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      7|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  987|      7|      yyterminate(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1232|      7|#define yyterminate() return YY_NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  329|      7|#define YY_NULL 0
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  988|      7|    }
  |  |  ------------------
  |  |  994|   675k|      while(*yptr) \
  |  |  ------------------
  |  |  |  Branch (994:13): [True: 659k, False: 16.5k]
  |  |  ------------------
  |  |  995|   659k|      { \
  |  |  996|   659k|        *yyextra->lex_buf_ptr++ = *yptr++; \
  |  |  ------------------
  |  |  |  |  346|   659k|#define yyextra yyg->yyextra_r
  |  |  ------------------
  |  |  997|   659k|        yyextra->lex_buf_len++; \
  |  |  ------------------
  |  |  |  |  346|   659k|#define yyextra yyg->yyextra_r
  |  |  ------------------
  |  |  998|   659k|      } \
  |  |  999|  16.5k|    }
  ------------------
 2115|  16.5k|	YY_BREAK
  ------------------
  |  | 1269|  16.5k|#define YY_BREAK /*LINTED*/break;
  ------------------
 2116|     10|case 74:
  ------------------
  |  Branch (2116:1): [True: 10, False: 1.25M]
  ------------------
 2117|       |/* rule 74 can match eol */
 2118|     10|YY_RULE_SETUP
 2119|     10|#line 648 "libyara/lexer.l"
 2120|     10|{
 2121|     10|  syntax_error("unterminated string");
  ------------------
  |  |  978|     10|    { \
  |  |  979|     10|      yr_compiler_set_error_extra_info(compiler, error_msg); \
  |  |  ------------------
  |  |  |  |  320|     10|  strlcpy(                                               \
  |  |  |  |  321|     10|      compiler->last_error_extra_info,                   \
  |  |  |  |  322|     10|      info,                                              \
  |  |  |  |  323|     10|      sizeof(compiler->last_error_extra_info));
  |  |  ------------------
  |  |  980|     10|      error(ERROR_SYNTAX_ERROR); \
  |  |  ------------------
  |  |  |  |  971|     10|    { \
  |  |  |  |  972|     10|      compiler->last_error = error_code; \
  |  |  |  |  973|     10|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     10|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  974|     10|      yyterminate(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1232|     10|#define yyterminate() return YY_NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  329|     10|#define YY_NULL 0
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  975|     10|    }
  |  |  ------------------
  |  |  981|      0|    }
  ------------------
 2122|      0|}
 2123|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 2124|     19|case 75:
  ------------------
  |  Branch (2124:1): [True: 19, False: 1.25M]
  ------------------
 2125|       |/* rule 75 can match eol */
 2126|     19|YY_RULE_SETUP
 2127|     19|#line 653 "libyara/lexer.l"
 2128|     19|{
 2129|     19|  syntax_error("illegal escape sequence");
  ------------------
  |  |  978|     19|    { \
  |  |  979|     19|      yr_compiler_set_error_extra_info(compiler, error_msg); \
  |  |  ------------------
  |  |  |  |  320|     19|  strlcpy(                                               \
  |  |  |  |  321|     19|      compiler->last_error_extra_info,                   \
  |  |  |  |  322|     19|      info,                                              \
  |  |  |  |  323|     19|      sizeof(compiler->last_error_extra_info));
  |  |  ------------------
  |  |  980|     19|      error(ERROR_SYNTAX_ERROR); \
  |  |  ------------------
  |  |  |  |  971|     19|    { \
  |  |  |  |  972|     19|      compiler->last_error = error_code; \
  |  |  |  |  973|     19|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     19|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  974|     19|      yyterminate(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1232|     19|#define yyterminate() return YY_NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  329|     19|#define YY_NULL 0
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  975|     19|    }
  |  |  ------------------
  |  |  981|      0|    }
  ------------------
 2130|      0|}
 2131|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 2132|  40.1k|case 76:
  ------------------
  |  Branch (2132:1): [True: 40.1k, False: 1.21M]
  ------------------
 2133|  40.1k|YY_RULE_SETUP
 2134|  40.1k|#line 658 "libyara/lexer.l"
 2135|  40.1k|{
 2136|       |
 2137|  40.1k|  if (yyextra->lex_buf_len > 0)
  ------------------
  |  |  346|  40.1k|#define yyextra yyg->yyextra_r
  ------------------
  |  Branch (2137:7): [True: 40.1k, False: 0]
  ------------------
 2138|  40.1k|  {
 2139|  40.1k|    alloc_sized_string(s, yyextra->lex_buf_len);
  ------------------
  |  | 1002|  40.1k|  SIZED_STRING* str = (SIZED_STRING*) yr_malloc( \
  |  | 1003|  40.1k|      str_len + sizeof(SIZED_STRING)); \
  |  | 1004|  40.1k|  if (str == NULL) \
  |  |  ------------------
  |  |  |  Branch (1004:7): [True: 0, False: 40.1k]
  |  |  ------------------
  |  | 1005|  40.1k|  { \
  |  | 1006|      0|    yyerror(yyscanner, compiler, "not enough memory"); \
  |  |  ------------------
  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  ------------------
  |  | 1007|      0|    yyterminate(); \
  |  |  ------------------
  |  |  |  | 1232|      0|#define yyterminate() return YY_NULL
  |  |  |  |  ------------------
  |  |  |  |  |  |  329|      0|#define YY_NULL 0
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1008|      0|  } \
  |  | 1009|  40.1k|  else \
  |  | 1010|  40.1k|  { \
  |  | 1011|  40.1k|    str->length = (uint32_t) (str_len); \
  |  | 1012|  40.1k|    str->flags = 0; \
  |  | 1013|  40.1k|  } \
  ------------------
 2140|       |
 2141|  40.1k|    if (yytext[1] == 'i')
  ------------------
  |  |  348|  40.1k|#define yytext yyg->yytext_r
  ------------------
  |  Branch (2141:9): [True: 4.35k, False: 35.7k]
  ------------------
 2142|  4.35k|      s->flags |= SIZED_STRING_FLAGS_NO_CASE;
  ------------------
  |  |   39|  4.35k|#define SIZED_STRING_FLAGS_NO_CASE 1
  ------------------
 2143|       |
 2144|  40.1k|    if (yytext[1] == 's' || yytext[2] == 's')
  ------------------
  |  |  348|  40.1k|#define yytext yyg->yytext_r
  ------------------
                  if (yytext[1] == 's' || yytext[2] == 's')
  ------------------
  |  |  348|  39.2k|#define yytext yyg->yytext_r
  ------------------
  |  Branch (2144:9): [True: 920, False: 39.2k]
  |  Branch (2144:29): [True: 560, False: 38.6k]
  ------------------
 2145|  1.48k|      s->flags |= SIZED_STRING_FLAGS_DOT_ALL;
  ------------------
  |  |   43|  1.48k|#define SIZED_STRING_FLAGS_DOT_ALL 2
  ------------------
 2146|       |
 2147|  40.1k|    *yyextra->lex_buf_ptr = '\0';
  ------------------
  |  |  346|  40.1k|#define yyextra yyg->yyextra_r
  ------------------
 2148|  40.1k|    strlcpy(s->c_string, yyextra->lex_buf, s->length + 1);
  ------------------
  |  |  346|  40.1k|#define yyextra yyg->yyextra_r
  ------------------
 2149|       |
 2150|  40.1k|    yylval->sized_string = s;
  ------------------
  |  | 1097|  40.1k|    #    define yylval yyg->yylval_r
  ------------------
 2151|  40.1k|  }
 2152|      0|  else
 2153|      0|  {
 2154|      0|    syntax_error("empty regular expression");
  ------------------
  |  |  978|      0|    { \
  |  |  979|      0|      yr_compiler_set_error_extra_info(compiler, error_msg); \
  |  |  ------------------
  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  ------------------
  |  |  980|      0|      error(ERROR_SYNTAX_ERROR); \
  |  |  ------------------
  |  |  |  |  971|      0|    { \
  |  |  |  |  972|      0|      compiler->last_error = error_code; \
  |  |  |  |  973|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  974|      0|      yyterminate(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1232|      0|#define yyterminate() return YY_NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  329|      0|#define YY_NULL 0
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  975|      0|    }
  |  |  ------------------
  |  |  981|      0|    }
  ------------------
 2155|      0|  }
 2156|       |
 2157|  40.1k|  BEGIN(INITIAL);
  ------------------
  |  |  357|  40.1k|#define BEGIN yyg->yy_start = 1 + 2 *
  ------------------
                BEGIN(INITIAL);
  ------------------
  |  | 1039|  40.1k|#define INITIAL 0
  ------------------
 2158|  40.1k|  return _REGEXP_;
  ------------------
  |  |  145|  40.1k|#define _REGEXP_ 277
  ------------------
 2159|  40.1k|}
 2160|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 2161|    229|case 77:
  ------------------
  |  Branch (2161:1): [True: 229, False: 1.25M]
  ------------------
 2162|    229|YY_RULE_SETUP
 2163|    229|#line 685 "libyara/lexer.l"
 2164|    229|{
 2165|       |
 2166|    229|  lex_check_space_ok("/", yyextra->lex_buf_len, YR_LEX_BUF_SIZE);
  ------------------
  |  |  984|    229|    if (strlen(data) + current_size >= max_length - 1) \
  |  |  ------------------
  |  |  |  Branch (984:9): [True: 1, False: 228]
  |  |  ------------------
  |  |  985|    229|    { \
  |  |  986|      1|      yyerror(yyscanner, compiler, "out of space in lex_buf"); \
  |  |  ------------------
  |  |  |  |   48|      1|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  987|      1|      yyterminate(); \
  |  |  ------------------
  |  |  |  | 1232|      1|#define yyterminate() return YY_NULL
  |  |  |  |  ------------------
  |  |  |  |  |  |  329|      1|#define YY_NULL 0
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  988|      1|    }
  ------------------
 2167|    228|  *yyextra->lex_buf_ptr++ = '/';
  ------------------
  |  |  346|    228|#define yyextra yyg->yyextra_r
  ------------------
 2168|    228|  yyextra->lex_buf_len++ ;
  ------------------
  |  |  346|    228|#define yyextra yyg->yyextra_r
  ------------------
 2169|    228|}
 2170|    228|	YY_BREAK
  ------------------
  |  | 1269|    228|#define YY_BREAK /*LINTED*/break;
  ------------------
 2171|  29.0k|case 78:
  ------------------
  |  Branch (2171:1): [True: 29.0k, False: 1.22M]
  ------------------
 2172|  29.0k|YY_RULE_SETUP
 2173|  29.0k|#line 693 "libyara/lexer.l"
 2174|  29.0k|{
 2175|       |
 2176|  29.0k|  lex_check_space_ok("\\.", yyextra->lex_buf_len, YR_LEX_BUF_SIZE);
  ------------------
  |  |  984|  29.0k|    if (strlen(data) + current_size >= max_length - 1) \
  |  |  ------------------
  |  |  |  Branch (984:9): [True: 2, False: 29.0k]
  |  |  ------------------
  |  |  985|  29.0k|    { \
  |  |  986|      2|      yyerror(yyscanner, compiler, "out of space in lex_buf"); \
  |  |  ------------------
  |  |  |  |   48|      2|#define yyerror      yara_yyerror
  |  |  ------------------
  |  |  987|      2|      yyterminate(); \
  |  |  ------------------
  |  |  |  | 1232|      2|#define yyterminate() return YY_NULL
  |  |  |  |  ------------------
  |  |  |  |  |  |  329|      2|#define YY_NULL 0
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  988|      2|    }
  ------------------
 2177|       |
 2178|  29.0k|  if (yytext[1] == 0)
  ------------------
  |  |  348|  29.0k|#define yytext yyg->yytext_r
  ------------------
  |  Branch (2178:7): [True: 0, False: 29.0k]
  ------------------
 2179|  29.0k|    syntax_error("malformed regular expression");
  ------------------
  |  |  978|      0|    { \
  |  |  979|      0|      yr_compiler_set_error_extra_info(compiler, error_msg); \
  |  |  ------------------
  |  |  |  |  320|      0|  strlcpy(                                               \
  |  |  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  |  |  322|      0|      info,                                              \
  |  |  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  |  |  ------------------
  |  |  980|      0|      error(ERROR_SYNTAX_ERROR); \
  |  |  ------------------
  |  |  |  |  971|      0|    { \
  |  |  |  |  972|      0|      compiler->last_error = error_code; \
  |  |  |  |  973|      0|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  974|      0|      yyterminate(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1232|      0|#define yyterminate() return YY_NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  329|      0|#define YY_NULL 0
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  975|      0|    }
  |  |  ------------------
  |  |  981|      0|    }
  ------------------
 2180|       |
 2181|  29.0k|  *yyextra->lex_buf_ptr++ = yytext[0];
  ------------------
  |  |  346|  29.0k|#define yyextra yyg->yyextra_r
  ------------------
                *yyextra->lex_buf_ptr++ = yytext[0];
  ------------------
  |  |  348|  29.0k|#define yytext yyg->yytext_r
  ------------------
 2182|  29.0k|  *yyextra->lex_buf_ptr++ = yytext[1];
  ------------------
  |  |  346|  29.0k|#define yyextra yyg->yyextra_r
  ------------------
                *yyextra->lex_buf_ptr++ = yytext[1];
  ------------------
  |  |  348|  29.0k|#define yytext yyg->yytext_r
  ------------------
 2183|  29.0k|  yyextra->lex_buf_len += 2;
  ------------------
  |  |  346|  29.0k|#define yyextra yyg->yyextra_r
  ------------------
 2184|  29.0k|}
 2185|  29.0k|	YY_BREAK
  ------------------
  |  | 1269|  29.0k|#define YY_BREAK /*LINTED*/break;
  ------------------
 2186|  48.9k|case 79:
  ------------------
  |  Branch (2186:1): [True: 48.9k, False: 1.20M]
  ------------------
 2187|  48.9k|YY_RULE_SETUP
 2188|  48.9k|#line 706 "libyara/lexer.l"
 2189|  48.9k|{ yytext_to_buffer; }
  ------------------
  |  |  991|  48.9k|    { \
  |  |  992|  48.9k|      char *yptr = yytext; \
  |  |  ------------------
  |  |  |  |  348|  48.9k|#define yytext yyg->yytext_r
  |  |  ------------------
  |  |  993|  48.9k|      lex_check_space_ok(yptr, yyextra->lex_buf_len, YR_LEX_BUF_SIZE); \
  |  |  ------------------
  |  |  |  |  984|  48.9k|    if (strlen(data) + current_size >= max_length - 1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (984:9): [True: 3, False: 48.9k]
  |  |  |  |  ------------------
  |  |  |  |  985|  48.9k|    { \
  |  |  |  |  986|      3|      yyerror(yyscanner, compiler, "out of space in lex_buf"); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      3|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  987|      3|      yyterminate(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1232|      3|#define yyterminate() return YY_NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  329|      3|#define YY_NULL 0
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  988|      3|    }
  |  |  ------------------
  |  |  994|   779k|      while(*yptr) \
  |  |  ------------------
  |  |  |  Branch (994:13): [True: 730k, False: 48.9k]
  |  |  ------------------
  |  |  995|   730k|      { \
  |  |  996|   730k|        *yyextra->lex_buf_ptr++ = *yptr++; \
  |  |  ------------------
  |  |  |  |  346|   730k|#define yyextra yyg->yyextra_r
  |  |  ------------------
  |  |  997|   730k|        yyextra->lex_buf_len++; \
  |  |  ------------------
  |  |  |  |  346|   730k|#define yyextra yyg->yyextra_r
  |  |  ------------------
  |  |  998|   730k|      } \
  |  |  999|  48.9k|    }
  ------------------
 2190|  48.9k|	YY_BREAK
  ------------------
  |  | 1269|  48.9k|#define YY_BREAK /*LINTED*/break;
  ------------------
 2191|     18|case 80:
  ------------------
  |  Branch (2191:1): [True: 18, False: 1.25M]
  ------------------
 2192|       |/* rule 80 can match eol */
 2193|     18|YY_RULE_SETUP
 2194|     18|#line 709 "libyara/lexer.l"
 2195|     18|{
 2196|     18|  syntax_error("unterminated regular expression");
  ------------------
  |  |  978|     18|    { \
  |  |  979|     18|      yr_compiler_set_error_extra_info(compiler, error_msg); \
  |  |  ------------------
  |  |  |  |  320|     18|  strlcpy(                                               \
  |  |  |  |  321|     18|      compiler->last_error_extra_info,                   \
  |  |  |  |  322|     18|      info,                                              \
  |  |  |  |  323|     18|      sizeof(compiler->last_error_extra_info));
  |  |  ------------------
  |  |  980|     18|      error(ERROR_SYNTAX_ERROR); \
  |  |  ------------------
  |  |  |  |  971|     18|    { \
  |  |  |  |  972|     18|      compiler->last_error = error_code; \
  |  |  |  |  973|     18|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|     18|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  974|     18|      yyterminate(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1232|     18|#define yyterminate() return YY_NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  329|     18|#define YY_NULL 0
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  975|     18|    }
  |  |  ------------------
  |  |  981|      0|    }
  ------------------
 2197|      0|}
 2198|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 2199|  29.9k|case 81:
  ------------------
  |  Branch (2199:1): [True: 29.9k, False: 1.22M]
  ------------------
 2200|  29.9k|YY_RULE_SETUP
 2201|  29.9k|#line 714 "libyara/lexer.l"
 2202|  29.9k|{
 2203|       |
 2204|  29.9k|  yylval->sized_string = NULL;
  ------------------
  |  | 1097|  29.9k|    #    define yylval yyg->yylval_r
  ------------------
 2205|  29.9k|  yyextra->lex_buf_ptr = yyextra->lex_buf;
  ------------------
  |  |  346|  29.9k|#define yyextra yyg->yyextra_r
  ------------------
                yyextra->lex_buf_ptr = yyextra->lex_buf;
  ------------------
  |  |  346|  29.9k|#define yyextra yyg->yyextra_r
  ------------------
 2206|  29.9k|  yyextra->lex_buf_len = 0;
  ------------------
  |  |  346|  29.9k|#define yyextra yyg->yyextra_r
  ------------------
 2207|  29.9k|  BEGIN(str);
  ------------------
  |  |  357|  29.9k|#define BEGIN yyg->yy_start = 1 + 2 *
  ------------------
                BEGIN(str);
  ------------------
  |  | 1040|  29.9k|#define str 1
  ------------------
 2208|  29.9k|}
 2209|  29.9k|	YY_BREAK
  ------------------
  |  | 1269|  29.9k|#define YY_BREAK /*LINTED*/break;
  ------------------
 2210|  40.4k|case 82:
  ------------------
  |  Branch (2210:1): [True: 40.4k, False: 1.21M]
  ------------------
 2211|  40.4k|YY_RULE_SETUP
 2212|  40.4k|#line 723 "libyara/lexer.l"
 2213|  40.4k|{
 2214|       |
 2215|  40.4k|  yylval->sized_string = NULL;
  ------------------
  |  | 1097|  40.4k|    #    define yylval yyg->yylval_r
  ------------------
 2216|  40.4k|  yyextra->lex_buf_ptr = yyextra->lex_buf;
  ------------------
  |  |  346|  40.4k|#define yyextra yyg->yyextra_r
  ------------------
                yyextra->lex_buf_ptr = yyextra->lex_buf;
  ------------------
  |  |  346|  40.4k|#define yyextra yyg->yyextra_r
  ------------------
 2217|  40.4k|  yyextra->lex_buf_len = 0;
  ------------------
  |  |  346|  40.4k|#define yyextra yyg->yyextra_r
  ------------------
 2218|  40.4k|  BEGIN(regexp);
  ------------------
  |  |  357|  40.4k|#define BEGIN yyg->yy_start = 1 + 2 *
  ------------------
                BEGIN(regexp);
  ------------------
  |  | 1041|  40.4k|#define regexp 2
  ------------------
 2219|  40.4k|}
 2220|  40.4k|	YY_BREAK
  ------------------
  |  | 1269|  40.4k|#define YY_BREAK /*LINTED*/break;
  ------------------
 2221|  3.17k|case 83:
  ------------------
  |  Branch (2221:1): [True: 3.17k, False: 1.25M]
  ------------------
 2222|       |/* rule 83 can match eol */
 2223|  3.17k|YY_RULE_SETUP
 2224|  3.17k|#line 732 "libyara/lexer.l"
 2225|  3.17k|{
 2226|       |  // Match hex-digits with whitespace or comments. The latter are stripped
 2227|       |  // out by hex_lexer.l
 2228|       |  // TODO(vmalvarez): Integrate the hex string lexer and parser into this one,
 2229|       |  // by having a single lexer/parser instead of two different ones we can avoid
 2230|       |  // complex regular expressions like the one above, which is actually trying to
 2231|       |  // do some parsing in the lexer.
 2232|       |
 2233|  3.17k|  alloc_sized_string(s, strlen(yytext));
  ------------------
  |  | 1002|  3.17k|  SIZED_STRING* str = (SIZED_STRING*) yr_malloc( \
  |  | 1003|  3.17k|      str_len + sizeof(SIZED_STRING)); \
  |  | 1004|  3.17k|  if (str == NULL) \
  |  |  ------------------
  |  |  |  Branch (1004:7): [True: 0, False: 3.17k]
  |  |  ------------------
  |  | 1005|  3.17k|  { \
  |  | 1006|      0|    yyerror(yyscanner, compiler, "not enough memory"); \
  |  |  ------------------
  |  |  |  |   48|      0|#define yyerror      yara_yyerror
  |  |  ------------------
  |  | 1007|      0|    yyterminate(); \
  |  |  ------------------
  |  |  |  | 1232|      0|#define yyterminate() return YY_NULL
  |  |  |  |  ------------------
  |  |  |  |  |  |  329|      0|#define YY_NULL 0
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1008|      0|  } \
  |  | 1009|  3.17k|  else \
  |  | 1010|  3.17k|  { \
  |  | 1011|  3.17k|    str->length = (uint32_t) (str_len); \
  |  | 1012|  3.17k|    str->flags = 0; \
  |  | 1013|  3.17k|  } \
  ------------------
 2234|       |
 2235|  3.17k|  strlcpy(s->c_string, yytext, s->length + 1);
  ------------------
  |  |  348|  3.17k|#define yytext yyg->yytext_r
  ------------------
 2236|  3.17k|  yylval->sized_string = s;
  ------------------
  |  | 1097|  3.17k|    #    define yylval yyg->yylval_r
  ------------------
 2237|       |
 2238|  3.17k|  return _HEX_STRING_;
  ------------------
  |  |  144|  3.17k|#define _HEX_STRING_ 276
  ------------------
 2239|  3.17k|}
 2240|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 2241|   125k|case 84:
  ------------------
  |  Branch (2241:1): [True: 125k, False: 1.13M]
  ------------------
 2242|       |/* rule 84 can match eol */
 2243|   125k|YY_RULE_SETUP
 2244|   125k|#line 749 "libyara/lexer.l"
 2245|       |/* skip whitespace */
 2246|   125k|	YY_BREAK
  ------------------
  |  | 1269|   125k|#define YY_BREAK /*LINTED*/break;
  ------------------
 2247|   384k|case 85:
  ------------------
  |  Branch (2247:1): [True: 384k, False: 872k]
  ------------------
 2248|   384k|YY_RULE_SETUP
 2249|   384k|#line 751 "libyara/lexer.l"
 2250|   384k|{
 2251|       |
 2252|   384k|  if (yytext[0] >= 32 && yytext[0] < 127)
  ------------------
  |  |  348|   384k|#define yytext yyg->yytext_r
  ------------------
                if (yytext[0] >= 32 && yytext[0] < 127)
  ------------------
  |  |  348|   383k|#define yytext yyg->yytext_r
  ------------------
  |  Branch (2252:7): [True: 383k, False: 1.05k]
  |  Branch (2252:26): [True: 383k, False: 7]
  ------------------
 2253|   383k|  {
 2254|   383k|    return yytext[0];
  ------------------
  |  |  348|   383k|#define yytext yyg->yytext_r
  ------------------
 2255|   383k|  }
 2256|  1.06k|  else
 2257|  1.06k|  {
 2258|  1.06k|    syntax_error("non-ascii character");
  ------------------
  |  |  978|  1.06k|    { \
  |  |  979|  1.06k|      yr_compiler_set_error_extra_info(compiler, error_msg); \
  |  |  ------------------
  |  |  |  |  320|  1.06k|  strlcpy(                                               \
  |  |  |  |  321|  1.06k|      compiler->last_error_extra_info,                   \
  |  |  |  |  322|  1.06k|      info,                                              \
  |  |  |  |  323|  1.06k|      sizeof(compiler->last_error_extra_info));
  |  |  ------------------
  |  |  980|  1.06k|      error(ERROR_SYNTAX_ERROR); \
  |  |  ------------------
  |  |  |  |  971|  1.06k|    { \
  |  |  |  |  972|  1.06k|      compiler->last_error = error_code; \
  |  |  |  |  973|  1.06k|      yyerror(yyscanner, compiler, NULL); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|  1.06k|#define yyerror      yara_yyerror
  |  |  |  |  ------------------
  |  |  |  |  974|  1.06k|      yyterminate(); \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1232|  1.06k|#define yyterminate() return YY_NULL
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  329|  1.06k|#define YY_NULL 0
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  975|  1.06k|    }
  |  |  ------------------
  |  |  981|      0|    }
  ------------------
 2259|      0|  }
 2260|   384k|}
 2261|      0|	YY_BREAK
  ------------------
  |  | 1269|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 2262|     18|case 86:
  ------------------
  |  Branch (2262:1): [True: 18, False: 1.25M]
  ------------------
 2263|     18|YY_RULE_SETUP
 2264|     18|#line 763 "libyara/lexer.l"
 2265|     18|ECHO;
 2266|     18|	YY_BREAK
  ------------------
  |  | 1269|     18|#define YY_BREAK /*LINTED*/break;
  ------------------
 2267|      0|#line 2267 "libyara/lexer.c"
 2268|       |
 2269|  26.3k|	case YY_END_OF_BUFFER:
  ------------------
  |  |  584|  26.3k|#define YY_END_OF_BUFFER 87
  ------------------
  |  Branch (2269:2): [True: 26.3k, False: 1.23M]
  ------------------
 2270|  26.3k|		{
 2271|       |		/* Amount of text matched not including the EOB char. */
 2272|  26.3k|		int yy_amount_of_matched_text = (int) (yy_cp - yyg->yytext_ptr) - 1;
  ------------------
  |  |  567|  26.3k|#define yytext_ptr yytext_r
  ------------------
 2273|       |
 2274|       |		/* Undo the effects of YY_DO_BEFORE_ACTION. */
 2275|  26.3k|		*yy_cp = yyg->yy_hold_char;
 2276|  26.3k|		YY_RESTORE_YY_MORE_OFFSET
 2277|       |
 2278|  26.3k|		if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
  ------------------
  |  |  515|  26.3k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
              		if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
  ------------------
  |  |  486|  26.3k|#define YY_BUFFER_NEW 0
  ------------------
  |  Branch (2278:8): [True: 13.2k, False: 13.0k]
  ------------------
 2279|  13.2k|			{
 2280|       |			/* We're scanning a new file or input source.  It's
 2281|       |			 * possible that this happened because the user
 2282|       |			 * just pointed yyin at a new source and called
 2283|       |			 * yylex().  If so, then we have to assure
 2284|       |			 * consistency between YY_CURRENT_BUFFER and our
 2285|       |			 * globals.  Here is the right place to do so, because
 2286|       |			 * this is the first action (other than possibly a
 2287|       |			 * back-up) that will match for the new input source.
 2288|       |			 */
 2289|  13.2k|			yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  ------------------
  |  |  515|  13.2k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 2290|  13.2k|			YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
  ------------------
  |  |  515|  13.2k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
              			YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
  ------------------
  |  |  344|  13.2k|#define yyin yyg->yyin_r
  ------------------
 2291|  13.2k|			YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
  ------------------
  |  |  515|  13.2k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
              			YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
  ------------------
  |  |  487|  13.2k|#define YY_BUFFER_NORMAL 1
  ------------------
 2292|  13.2k|			}
 2293|       |
 2294|       |		/* Note that here we test for yy_c_buf_p "<=" to the position
 2295|       |		 * of the first EOB in the buffer, since yy_c_buf_p will
 2296|       |		 * already have been incremented past the NUL character
 2297|       |		 * (since all states make transitions on EOB to the
 2298|       |		 * end-of-buffer state).  Contrast this with the test
 2299|       |		 * in input().
 2300|       |		 */
 2301|  26.3k|		if ( yyg->yy_c_buf_p <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] )
  ------------------
  |  |  515|  26.3k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
  |  Branch (2301:8): [True: 0, False: 26.3k]
  ------------------
 2302|      0|			{ /* This was really a NUL. */
 2303|      0|			yy_state_type yy_next_state;
 2304|       |
 2305|      0|			yyg->yy_c_buf_p = yyg->yytext_ptr + yy_amount_of_matched_text;
  ------------------
  |  |  567|      0|#define yytext_ptr yytext_r
  ------------------
 2306|       |
 2307|      0|			yy_current_state = yy_get_previous_state( yyscanner );
 2308|       |
 2309|       |			/* Okay, we're now positioned to make the NUL
 2310|       |			 * transition.  We couldn't have
 2311|       |			 * yy_get_previous_state() go ahead and do it
 2312|       |			 * for us because it doesn't know how to deal
 2313|       |			 * with the possibility of jamming (and we don't
 2314|       |			 * want to build jamming into it because then it
 2315|       |			 * will run more slowly).
 2316|       |			 */
 2317|       |
 2318|      0|			yy_next_state = yy_try_NUL_trans( yy_current_state , yyscanner);
 2319|       |
 2320|      0|			yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
  ------------------
  |  |  567|      0|#define yytext_ptr yytext_r
  ------------------
              			yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
  ------------------
  |  |  895|      0|#define YY_MORE_ADJ 0
  ------------------
 2321|       |
 2322|      0|			if ( yy_next_state )
  ------------------
  |  Branch (2322:9): [True: 0, False: 0]
  ------------------
 2323|      0|				{
 2324|       |				/* Consume the NUL. */
 2325|      0|				yy_cp = ++yyg->yy_c_buf_p;
 2326|      0|				yy_current_state = yy_next_state;
 2327|      0|				goto yy_match;
 2328|      0|				}
 2329|       |
 2330|      0|			else
 2331|      0|				{
 2332|      0|				yy_cp = yyg->yy_last_accepting_cpos;
 2333|      0|				yy_current_state = yyg->yy_last_accepting_state;
 2334|      0|				goto yy_find_action;
 2335|      0|				}
 2336|      0|			}
 2337|       |
 2338|  26.3k|		else switch ( yy_get_next_buffer( yyscanner ) )
  ------------------
  |  Branch (2338:17): [True: 26.3k, False: 0]
  ------------------
 2339|  26.3k|			{
 2340|  12.9k|			case EOB_ACT_END_OF_FILE:
  ------------------
  |  |  398|  12.9k|#define EOB_ACT_END_OF_FILE 1
  ------------------
  |  Branch (2340:4): [True: 12.9k, False: 13.3k]
  ------------------
 2341|  12.9k|				{
 2342|  12.9k|				yyg->yy_did_buffer_switch_on_eof = 0;
 2343|       |
 2344|  12.9k|				if ( yywrap( yyscanner ) )
  ------------------
  |  |  206|  12.9k|#define yywrap yara_yywrap
  |  |  ------------------
  |  |  |  |  561|  12.9k|#define yara_yywrap(yyscanner) (/*CONSTCOND*/1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (561:32): [True: 12.9k, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2345|  12.9k|					{
 2346|       |					/* Note: because we've taken care in
 2347|       |					 * yy_get_next_buffer() to have set up
 2348|       |					 * yytext, we can now set up
 2349|       |					 * yy_c_buf_p so that if some total
 2350|       |					 * hoser (like flex itself) wants to
 2351|       |					 * call the scanner after we return the
 2352|       |					 * YY_NULL, it'll still work - another
 2353|       |					 * YY_NULL will get returned.
 2354|       |					 */
 2355|  12.9k|					yyg->yy_c_buf_p = yyg->yytext_ptr + YY_MORE_ADJ;
  ------------------
  |  |  567|  12.9k|#define yytext_ptr yytext_r
  ------------------
              					yyg->yy_c_buf_p = yyg->yytext_ptr + YY_MORE_ADJ;
  ------------------
  |  |  895|  12.9k|#define YY_MORE_ADJ 0
  ------------------
 2356|       |
 2357|  12.9k|					yy_act = YY_STATE_EOF(YY_START);
  ------------------
  |  |  365|  12.9k|#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  |  |  ------------------
  |  |  |  |  584|  12.9k|#define YY_END_OF_BUFFER 87
  |  |  ------------------
  ------------------
 2358|  12.9k|					goto do_action;
 2359|  12.9k|					}
 2360|       |
 2361|      0|				else
 2362|      0|					{
 2363|      0|					if ( ! yyg->yy_did_buffer_switch_on_eof )
  ------------------
  |  Branch (2363:11): [True: 0, False: 0]
  ------------------
 2364|      0|						YY_NEW_FILE;
  ------------------
  |  |  367|      0|#define YY_NEW_FILE yyrestart( yyin , yyscanner )
  |  |  ------------------
  |  |  |  |   98|      0|#define yyrestart yara_yyrestart
  |  |  ------------------
  |  |               #define YY_NEW_FILE yyrestart( yyin , yyscanner )
  |  |  ------------------
  |  |  |  |  344|      0|#define yyin yyg->yyin_r
  |  |  ------------------
  ------------------
 2365|      0|					}
 2366|      0|				break;
 2367|  12.9k|				}
 2368|       |
 2369|      0|			case EOB_ACT_CONTINUE_SCAN:
  ------------------
  |  |  397|      0|#define EOB_ACT_CONTINUE_SCAN 0
  ------------------
  |  Branch (2369:4): [True: 0, False: 26.3k]
  ------------------
 2370|      0|				yyg->yy_c_buf_p =
 2371|      0|					yyg->yytext_ptr + yy_amount_of_matched_text;
  ------------------
  |  |  567|      0|#define yytext_ptr yytext_r
  ------------------
 2372|       |
 2373|      0|				yy_current_state = yy_get_previous_state( yyscanner );
 2374|       |
 2375|      0|				yy_cp = yyg->yy_c_buf_p;
 2376|      0|				yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
  ------------------
  |  |  567|      0|#define yytext_ptr yytext_r
  ------------------
              				yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
  ------------------
  |  |  895|      0|#define YY_MORE_ADJ 0
  ------------------
 2377|      0|				goto yy_match;
 2378|       |
 2379|  13.3k|			case EOB_ACT_LAST_MATCH:
  ------------------
  |  |  399|  13.3k|#define EOB_ACT_LAST_MATCH 2
  ------------------
  |  Branch (2379:4): [True: 13.3k, False: 12.9k]
  ------------------
 2380|  13.3k|				yyg->yy_c_buf_p =
 2381|  13.3k|				&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars];
  ------------------
  |  |  515|  13.3k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 2382|       |
 2383|  13.3k|				yy_current_state = yy_get_previous_state( yyscanner );
 2384|       |
 2385|  13.3k|				yy_cp = yyg->yy_c_buf_p;
 2386|  13.3k|				yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
  ------------------
  |  |  567|  13.3k|#define yytext_ptr yytext_r
  ------------------
              				yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
  ------------------
  |  |  895|  13.3k|#define YY_MORE_ADJ 0
  ------------------
 2387|  13.3k|				goto yy_find_action;
 2388|  26.3k|			}
 2389|      0|		break;
 2390|  26.3k|		}
 2391|       |
 2392|      0|	default:
  ------------------
  |  Branch (2392:2): [True: 0, False: 1.25M]
  ------------------
 2393|      0|		YY_FATAL_ERROR(
  ------------------
  |  |   80|      0|#define YY_FATAL_ERROR(msg) yara_yyfatal(yyscanner, msg)
  ------------------
 2394|  1.25M|			"fatal flex scanner internal error--no action found" );
 2395|  1.25M|	} /* end of action switch */
 2396|  1.25M|		} /* end of scanning one token */
 2397|   929k|	} /* end of user's declarations */
 2398|   929k|} /* end of yylex */
yara_yy_switch_to_buffer:
 2714|  14.1k|{
 2715|  14.1k|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 2716|       |
 2717|       |	/* TODO. We should be able to replace this entire function body
 2718|       |	 * with
 2719|       |	 *		yypop_buffer_state();
 2720|       |	 *		yypush_buffer_state(new_buffer);
 2721|       |     */
 2722|  14.1k|	yyensure_buffer_stack (yyscanner);
  ------------------
  |  |   86|  14.1k|#define yyensure_buffer_stack yara_yyensure_buffer_stack
  ------------------
 2723|  14.1k|	if ( YY_CURRENT_BUFFER == new_buffer )
  ------------------
  |  |  509|  14.1k|#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  |  |  ------------------
  |  |  |  Branch (509:29): [True: 14.1k, False: 0]
  |  |  ------------------
  |  |  510|  14.1k|                          ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  |  |  511|  14.1k|                          : NULL)
  ------------------
  |  Branch (2723:7): [True: 0, False: 14.1k]
  ------------------
 2724|      0|		return;
 2725|       |
 2726|  14.1k|	if ( YY_CURRENT_BUFFER )
  ------------------
  |  |  509|  14.1k|#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  |  |  ------------------
  |  |  |  Branch (509:27): [True: 2, False: 14.1k]
  |  |  |  Branch (509:29): [True: 14.1k, False: 0]
  |  |  ------------------
  |  |  510|  14.1k|                          ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  |  |  511|  14.1k|                          : NULL)
  ------------------
 2727|      2|		{
 2728|       |		/* Flush out information for old buffer. */
 2729|      2|		*yyg->yy_c_buf_p = yyg->yy_hold_char;
 2730|      2|		YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p;
  ------------------
  |  |  515|      2|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 2731|      2|		YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
  ------------------
  |  |  515|      2|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 2732|      2|		}
 2733|       |
 2734|  14.1k|	YY_CURRENT_BUFFER_LVALUE = new_buffer;
  ------------------
  |  |  515|  14.1k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 2735|  14.1k|	yy_load_buffer_state( yyscanner );
  ------------------
  |  |   62|  14.1k|#define yy_load_buffer_state yara_yy_load_buffer_state
  ------------------
 2736|       |
 2737|       |	/* We don't actually know whether we did this switch during
 2738|       |	 * EOF (yywrap()) processing, but the only time this flag
 2739|       |	 * is looked at is after yywrap() is called, so it's safe
 2740|       |	 * to go ahead and always set it.
 2741|       |	 */
 2742|  14.1k|	yyg->yy_did_buffer_switch_on_eof = 1;
 2743|  14.1k|}
yara_yy_delete_buffer:
 2789|  14.1k|{
 2790|  14.1k|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 2791|       |
 2792|  14.1k|	if ( ! b )
  ------------------
  |  Branch (2792:7): [True: 0, False: 14.1k]
  ------------------
 2793|      0|		return;
 2794|       |
 2795|  14.1k|	if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
  ------------------
  |  |  509|  14.1k|#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  |  |  ------------------
  |  |  |  Branch (509:29): [True: 14.1k, False: 0]
  |  |  ------------------
  |  |  510|  14.1k|                          ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  |  |  511|  14.1k|                          : NULL)
  ------------------
  |  Branch (2795:7): [True: 14.1k, False: 0]
  ------------------
 2796|  14.1k|		YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
  ------------------
  |  |  515|  14.1k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 2797|       |
 2798|  14.1k|	if ( b->yy_is_our_buffer )
  ------------------
  |  Branch (2798:7): [True: 14.1k, False: 0]
  ------------------
 2799|  14.1k|		yyfree( (void *) b->yy_ch_buf , yyscanner );
  ------------------
  |  |  236|  14.1k|#define yyfree yara_yyfree
  ------------------
 2800|       |
 2801|  14.1k|	yyfree( (void *) b , yyscanner );
  ------------------
  |  |  236|  14.1k|#define yyfree yara_yyfree
  ------------------
 2802|  14.1k|}
yara_yypush_buffer_state:
 2868|      2|{
 2869|      2|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 2870|      2|	if (new_buffer == NULL)
  ------------------
  |  Branch (2870:6): [True: 0, False: 2]
  ------------------
 2871|      0|		return;
 2872|       |
 2873|      2|	yyensure_buffer_stack(yyscanner);
  ------------------
  |  |   86|      2|#define yyensure_buffer_stack yara_yyensure_buffer_stack
  ------------------
 2874|       |
 2875|       |	/* This block is copied from yy_switch_to_buffer. */
 2876|      2|	if ( YY_CURRENT_BUFFER )
  ------------------
  |  |  509|      2|#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  |  |  ------------------
  |  |  |  Branch (509:27): [True: 2, False: 0]
  |  |  |  Branch (509:29): [True: 2, False: 0]
  |  |  ------------------
  |  |  510|      2|                          ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  |  |  511|      2|                          : NULL)
  ------------------
 2877|      2|		{
 2878|       |		/* Flush out information for old buffer. */
 2879|      2|		*yyg->yy_c_buf_p = yyg->yy_hold_char;
 2880|      2|		YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p;
  ------------------
  |  |  515|      2|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 2881|      2|		YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
  ------------------
  |  |  515|      2|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 2882|      2|		}
 2883|       |
 2884|       |	/* Only push if top exists. Otherwise, replace top. */
 2885|      2|	if (YY_CURRENT_BUFFER)
  ------------------
  |  |  509|      2|#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  |  |  ------------------
  |  |  |  Branch (509:27): [True: 2, False: 0]
  |  |  |  Branch (509:29): [True: 2, False: 0]
  |  |  ------------------
  |  |  510|      2|                          ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  |  |  511|      2|                          : NULL)
  ------------------
 2886|      2|		yyg->yy_buffer_stack_top++;
 2887|      2|	YY_CURRENT_BUFFER_LVALUE = new_buffer;
  ------------------
  |  |  515|      2|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 2888|       |
 2889|       |	/* copied from yy_switch_to_buffer. */
 2890|      2|	yy_load_buffer_state( yyscanner );
  ------------------
  |  |   62|      2|#define yy_load_buffer_state yara_yy_load_buffer_state
  ------------------
 2891|      2|	yyg->yy_did_buffer_switch_on_eof = 1;
 2892|      2|}
yara_yypop_buffer_state:
 2899|  14.1k|{
 2900|  14.1k|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 2901|  14.1k|	if (!YY_CURRENT_BUFFER)
  ------------------
  |  |  509|  14.1k|#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  |  |  ------------------
  |  |  |  Branch (509:29): [True: 14.1k, False: 0]
  |  |  ------------------
  |  |  510|  14.1k|                          ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  |  |  511|  14.1k|                          : NULL)
  ------------------
  |  Branch (2901:6): [True: 1.19k, False: 12.9k]
  ------------------
 2902|  1.19k|		return;
 2903|       |
 2904|  12.9k|	yy_delete_buffer(YY_CURRENT_BUFFER , yyscanner);
  ------------------
  |  |   26|  12.9k|#define yy_delete_buffer yara_yy_delete_buffer
  ------------------
              	yy_delete_buffer(YY_CURRENT_BUFFER , yyscanner);
  ------------------
  |  |  509|  12.9k|#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  |  |  ------------------
  |  |  |  Branch (509:29): [True: 12.9k, False: 0]
  |  |  ------------------
  |  |  510|  12.9k|                          ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  |  |  511|  12.9k|                          : NULL)
  ------------------
 2905|  12.9k|	YY_CURRENT_BUFFER_LVALUE = NULL;
  ------------------
  |  |  515|  12.9k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 2906|  12.9k|	if (yyg->yy_buffer_stack_top > 0)
  ------------------
  |  Branch (2906:6): [True: 0, False: 12.9k]
  ------------------
 2907|      0|		--yyg->yy_buffer_stack_top;
 2908|       |
 2909|  12.9k|	if (YY_CURRENT_BUFFER) {
  ------------------
  |  |  509|  12.9k|#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  |  |  ------------------
  |  |  |  Branch (509:27): [True: 0, False: 12.9k]
  |  |  |  Branch (509:29): [True: 12.9k, False: 0]
  |  |  ------------------
  |  |  510|  12.9k|                          ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  |  |  511|  12.9k|                          : NULL)
  ------------------
 2910|      0|		yy_load_buffer_state( yyscanner );
  ------------------
  |  |   62|      0|#define yy_load_buffer_state yara_yy_load_buffer_state
  ------------------
 2911|      0|		yyg->yy_did_buffer_switch_on_eof = 1;
 2912|      0|	}
 2913|  12.9k|}
yara_yy_scan_buffer:
 2969|  14.1k|{
 2970|  14.1k|	YY_BUFFER_STATE b;
 2971|       |    
 2972|  14.1k|	if ( size < 2 ||
  ------------------
  |  Branch (2972:7): [True: 0, False: 14.1k]
  ------------------
 2973|  14.1k|	     base[size-2] != YY_END_OF_BUFFER_CHAR ||
  ------------------
  |  |  368|  28.3k|#define YY_END_OF_BUFFER_CHAR 0
  ------------------
  |  Branch (2973:7): [True: 0, False: 14.1k]
  ------------------
 2974|  14.1k|	     base[size-1] != YY_END_OF_BUFFER_CHAR )
  ------------------
  |  |  368|  14.1k|#define YY_END_OF_BUFFER_CHAR 0
  ------------------
  |  Branch (2974:7): [True: 0, False: 14.1k]
  ------------------
 2975|       |		/* They forgot to leave room for the EOB's. */
 2976|      0|		return NULL;
 2977|       |
 2978|  14.1k|	b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) , yyscanner );
  ------------------
  |  |  224|  14.1k|#define yyalloc yara_yyalloc
  ------------------
 2979|  14.1k|	if ( ! b )
  ------------------
  |  Branch (2979:7): [True: 0, False: 14.1k]
  ------------------
 2980|      0|		YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
  ------------------
  |  |   80|      0|#define YY_FATAL_ERROR(msg) yara_yyfatal(yyscanner, msg)
  ------------------
 2981|       |
 2982|  14.1k|	b->yy_buf_size = (int) (size - 2);	/* "- 2" to take care of EOB's */
 2983|  14.1k|	b->yy_buf_pos = b->yy_ch_buf = base;
 2984|  14.1k|	b->yy_is_our_buffer = 0;
 2985|  14.1k|	b->yy_input_file = NULL;
 2986|  14.1k|	b->yy_n_chars = b->yy_buf_size;
 2987|  14.1k|	b->yy_is_interactive = 0;
 2988|  14.1k|	b->yy_at_bol = 1;
 2989|  14.1k|	b->yy_fill_buffer = 0;
 2990|  14.1k|	b->yy_buffer_status = YY_BUFFER_NEW;
  ------------------
  |  |  486|  14.1k|#define YY_BUFFER_NEW 0
  ------------------
 2991|       |
 2992|  14.1k|	yy_switch_to_buffer( b , yyscanner );
  ------------------
  |  |   68|  14.1k|#define yy_switch_to_buffer yara_yy_switch_to_buffer
  ------------------
 2993|       |
 2994|  14.1k|	return b;
 2995|  14.1k|}
yara_yy_scan_string:
 3006|  14.1k|{
 3007|       |    
 3008|  14.1k|	return yy_scan_bytes( yystr, (int) strlen(yystr) , yyscanner);
  ------------------
  |  |   44|  14.1k|#define yy_scan_bytes yara_yy_scan_bytes
  ------------------
 3009|  14.1k|}
yara_yy_scan_bytes:
 3019|  14.1k|{
 3020|  14.1k|	YY_BUFFER_STATE b;
 3021|  14.1k|	char *buf;
 3022|  14.1k|	yy_size_t n;
 3023|  14.1k|	int i;
 3024|       |    
 3025|       |	/* Get memory for full buffer, including space for trailing EOB's. */
 3026|  14.1k|	n = (yy_size_t) (_yybytes_len + 2);
 3027|  14.1k|	buf = (char *) yyalloc( n , yyscanner );
  ------------------
  |  |  224|  14.1k|#define yyalloc yara_yyalloc
  ------------------
 3028|  14.1k|	if ( ! buf )
  ------------------
  |  Branch (3028:7): [True: 0, False: 14.1k]
  ------------------
 3029|      0|		YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
  ------------------
  |  |   80|      0|#define YY_FATAL_ERROR(msg) yara_yyfatal(yyscanner, msg)
  ------------------
 3030|       |
 3031|  4.63M|	for ( i = 0; i < _yybytes_len; ++i )
  ------------------
  |  Branch (3031:15): [True: 4.61M, False: 14.1k]
  ------------------
 3032|  4.61M|		buf[i] = yybytes[i];
 3033|       |
 3034|  14.1k|	buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
  ------------------
  |  |  368|  14.1k|#define YY_END_OF_BUFFER_CHAR 0
  ------------------
 3035|       |
 3036|  14.1k|	b = yy_scan_buffer( buf, n , yyscanner);
  ------------------
  |  |   32|  14.1k|#define yy_scan_buffer yara_yy_scan_buffer
  ------------------
 3037|  14.1k|	if ( ! b )
  ------------------
  |  Branch (3037:7): [True: 0, False: 14.1k]
  ------------------
 3038|      0|		YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
  ------------------
  |  |   80|      0|#define YY_FATAL_ERROR(msg) yara_yyfatal(yyscanner, msg)
  ------------------
 3039|       |
 3040|       |	/* It's okay to grow etc. this buffer, and we should throw it
 3041|       |	 * away when we're done.
 3042|       |	 */
 3043|  14.1k|	b->yy_is_our_buffer = 1;
 3044|       |
 3045|  14.1k|	return b;
 3046|  14.1k|}
yara_yyget_extra:
 3083|  4.75M|{
 3084|  4.75M|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 3085|  4.75M|    return yyextra;
  ------------------
  |  |  346|  4.75M|#define yyextra yyg->yyextra_r
  ------------------
 3086|  4.75M|}
yara_yyget_lineno:
 3092|  81.1k|{
 3093|  81.1k|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 3094|       |
 3095|  81.1k|        if (! YY_CURRENT_BUFFER)
  ------------------
  |  |  509|  81.1k|#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  |  |  ------------------
  |  |  |  Branch (509:29): [True: 81.1k, False: 0]
  |  |  ------------------
  |  |  510|  81.1k|                          ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  |  |  511|  81.1k|                          : NULL)
  ------------------
  |  Branch (3095:13): [True: 6.30k, False: 74.8k]
  ------------------
 3096|  6.30k|            return 0;
 3097|       |    
 3098|  74.8k|    return yylineno;
  ------------------
  |  |  349|  74.8k|#define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
  |  |  ------------------
  |  |  |  |  515|  74.8k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  |  |  ------------------
  ------------------
 3099|  81.1k|}
yara_yyset_extra:
 3156|  14.1k|{
 3157|  14.1k|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 3158|  14.1k|    yyextra = user_defined ;
  ------------------
  |  |  346|  14.1k|#define yyextra yyg->yyextra_r
  ------------------
 3159|  14.1k|}
yara_yyset_lineno:
 3166|  14.1k|{
 3167|  14.1k|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 3168|       |
 3169|       |        /* lineno is only valid if an input buffer exists. */
 3170|  14.1k|        if (! YY_CURRENT_BUFFER )
  ------------------
  |  |  509|  14.1k|#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  |  |  ------------------
  |  |  |  Branch (509:29): [True: 14.1k, False: 0]
  |  |  ------------------
  |  |  510|  14.1k|                          ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  |  |  511|  14.1k|                          : NULL)
  ------------------
  |  Branch (3170:13): [True: 0, False: 14.1k]
  ------------------
 3171|      0|           YY_FATAL_ERROR( "yyset_lineno called with no buffer" );
  ------------------
  |  |   80|      0|#define YY_FATAL_ERROR(msg) yara_yyfatal(yyscanner, msg)
  ------------------
 3172|       |    
 3173|  14.1k|    yylineno = _line_number;
  ------------------
  |  |  349|  14.1k|#define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
  |  |  ------------------
  |  |  |  |  515|  14.1k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  |  |  ------------------
  ------------------
 3174|  14.1k|}
yara_yylex_init:
 3242|  14.1k|{
 3243|  14.1k|    if (ptr_yy_globals == NULL){
  ------------------
  |  Branch (3243:9): [True: 0, False: 14.1k]
  ------------------
 3244|      0|        errno = EINVAL;
 3245|      0|        return 1;
 3246|      0|    }
 3247|       |
 3248|  14.1k|    *ptr_yy_globals = (yyscan_t) yyalloc ( sizeof( struct yyguts_t ), NULL );
  ------------------
  |  |  224|  14.1k|#define yyalloc yara_yyalloc
  ------------------
 3249|       |
 3250|  14.1k|    if (*ptr_yy_globals == NULL){
  ------------------
  |  Branch (3250:9): [True: 0, False: 14.1k]
  ------------------
 3251|      0|        errno = ENOMEM;
 3252|      0|        return 1;
 3253|      0|    }
 3254|       |
 3255|       |    /* By setting to 0xAA, we expose bugs in yy_init_globals. Leave at 0x00 for releases. */
 3256|  14.1k|    memset(*ptr_yy_globals,0x00,sizeof(struct yyguts_t));
 3257|       |
 3258|  14.1k|    return yy_init_globals ( *ptr_yy_globals );
 3259|  14.1k|}
yara_yylex_destroy:
 3330|  14.1k|{
 3331|  14.1k|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 3332|       |
 3333|       |    /* Pop the buffer stack, destroying each element. */
 3334|  15.3k|	while(YY_CURRENT_BUFFER){
  ------------------
  |  |  509|  15.3k|#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  |  |  ------------------
  |  |  |  Branch (509:27): [True: 1.19k, False: 14.1k]
  |  |  |  Branch (509:29): [True: 15.3k, False: 0]
  |  |  ------------------
  |  |  510|  15.3k|                          ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  |  |  511|  15.3k|                          : NULL)
  ------------------
 3335|  1.19k|		yy_delete_buffer( YY_CURRENT_BUFFER , yyscanner );
  ------------------
  |  |   26|  1.19k|#define yy_delete_buffer yara_yy_delete_buffer
  ------------------
              		yy_delete_buffer( YY_CURRENT_BUFFER , yyscanner );
  ------------------
  |  |  509|  1.19k|#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  |  |  ------------------
  |  |  |  Branch (509:29): [True: 1.19k, False: 0]
  |  |  ------------------
  |  |  510|  1.19k|                          ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  |  |  511|  1.19k|                          : NULL)
  ------------------
 3336|  1.19k|		YY_CURRENT_BUFFER_LVALUE = NULL;
  ------------------
  |  |  515|  1.19k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 3337|  1.19k|		yypop_buffer_state(yyscanner);
  ------------------
  |  |   80|  1.19k|#define yypop_buffer_state yara_yypop_buffer_state
  ------------------
 3338|  1.19k|	}
 3339|       |
 3340|       |	/* Destroy the stack itself. */
 3341|  14.1k|	yyfree(yyg->yy_buffer_stack , yyscanner);
  ------------------
  |  |  236|  14.1k|#define yyfree yara_yyfree
  ------------------
 3342|  14.1k|	yyg->yy_buffer_stack = NULL;
 3343|       |
 3344|       |    /* Destroy the start condition stack. */
 3345|  14.1k|        yyfree( yyg->yy_start_stack , yyscanner );
  ------------------
  |  |  236|  14.1k|#define yyfree yara_yyfree
  ------------------
 3346|  14.1k|        yyg->yy_start_stack = NULL;
 3347|       |
 3348|       |    /* Reset the globals. This is important in a non-reentrant scanner so the next time
 3349|       |     * yylex() is called, initialization will occur. */
 3350|  14.1k|    yy_init_globals( yyscanner);
 3351|       |
 3352|       |    /* Destroy the main struct (reentrant only). */
 3353|  14.1k|    yyfree ( yyscanner , yyscanner );
  ------------------
  |  |  236|  14.1k|#define yyfree yara_yyfree
  ------------------
 3354|       |    yyscanner = NULL;
 3355|  14.1k|    return 0;
 3356|  14.1k|}
yara_yyalloc:
 3386|  56.6k|{
 3387|  56.6k|	struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 3388|  56.6k|	(void)yyg;
 3389|  56.6k|	return malloc(size);
 3390|  56.6k|}
yara_yyrealloc:
 3393|      2|{
 3394|      2|	struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 3395|      2|	(void)yyg;
 3396|       |
 3397|       |	/* The cast to (char *) in the following accommodates both
 3398|       |	 * implementations that use char* generic pointers, and those
 3399|       |	 * that use void* generic pointers.  It works with the latter
 3400|       |	 * because both ANSI C and C++ allow castless assignment from
 3401|       |	 * any pointer type to void*, and deal with argument conversions
 3402|       |	 * as though doing an assignment.
 3403|       |	 */
 3404|      2|	return realloc(ptr, size);
 3405|      2|}
yara_yyfree:
 3408|  70.8k|{
 3409|  70.8k|	struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 3410|  70.8k|	(void)yyg;
 3411|  70.8k|	free( (char *) ptr );	/* see yyrealloc() for (char *) cast */
 3412|  70.8k|}
yara_yywarning:
 3424|  40.5k|{
 3425|  40.5k|  YR_COMPILER* compiler = yyget_extra(yyscanner);
  ------------------
  |  |   54|  40.5k|#define yyget_extra  yara_yyget_extra
  ------------------
 3426|       |
 3427|  40.5k|  char* file_name;
 3428|  40.5k|  char message[512];
 3429|  40.5k|  va_list message_args;
 3430|       |
 3431|  40.5k|  if (compiler->callback == NULL)
  ------------------
  |  Branch (3431:7): [True: 40.5k, False: 0]
  ------------------
 3432|  40.5k|    return;
 3433|       |
 3434|  40.5k|  va_start(message_args, message_fmt);
 3435|       |
 3436|      0|  if (compiler->file_name_stack_ptr > 0)
  ------------------
  |  Branch (3436:7): [True: 0, False: 0]
  ------------------
 3437|      0|    file_name = compiler->file_name_stack[compiler->file_name_stack_ptr - 1];
 3438|      0|  else
 3439|      0|    file_name = NULL;
 3440|       |
 3441|      0|  vsnprintf(message, sizeof(message), message_fmt, message_args);
 3442|       |
 3443|      0|  YR_RULE* current_rule = NULL;
 3444|       |
 3445|      0|  if (compiler->current_rule_idx != UINT32_MAX)
  ------------------
  |  Branch (3445:7): [True: 0, False: 0]
  ------------------
 3446|      0|    current_rule = yr_arena_get_ptr(
 3447|      0|        compiler->arena,
 3448|      0|        YR_RULES_TABLE,
  ------------------
  |  |   58|      0|#define YR_RULES_TABLE              1
  ------------------
 3449|      0|        compiler->current_rule_idx * sizeof(YR_RULE));
 3450|       |
 3451|      0|  compiler->callback(
 3452|      0|      YARA_ERROR_LEVEL_WARNING,
  ------------------
  |  |   42|      0|#define YARA_ERROR_LEVEL_WARNING 1
  ------------------
 3453|      0|      file_name,
 3454|      0|      compiler->current_line ? compiler->current_line : yyget_lineno(yyscanner),
  ------------------
  |  |   55|      0|#define yyget_lineno yara_yyget_lineno
  ------------------
  |  Branch (3454:7): [True: 0, False: 0]
  ------------------
 3455|      0|      current_rule,
 3456|      0|      message,
 3457|      0|      compiler->user_data);
 3458|       |
 3459|       |  va_end(message_args);
 3460|      0|}
yara_yyerror:
 3478|  41.7k|{
 3479|  41.7k|  char message[512] = {'\0'};
 3480|  41.7k|  char* file_name = NULL;
 3481|       |
 3482|  41.7k|  compiler->errors++;
 3483|       |
 3484|  41.7k|  if (compiler->current_line != 0)
  ------------------
  |  Branch (3484:7): [True: 3.07k, False: 38.7k]
  ------------------
 3485|  3.07k|    compiler->last_error_line = compiler->current_line;
 3486|  38.7k|  else
 3487|  38.7k|    compiler->last_error_line = yyget_lineno(yyscanner);
  ------------------
  |  |   55|  38.7k|#define yyget_lineno yara_yyget_lineno
  ------------------
 3488|       |
 3489|  41.7k|  compiler->current_line = 0;
 3490|       |
 3491|  41.7k|  if (compiler->file_name_stack_ptr > 0)
  ------------------
  |  Branch (3491:7): [True: 2, False: 41.7k]
  ------------------
 3492|      2|  {
 3493|      2|    file_name = compiler->file_name_stack[compiler->file_name_stack_ptr - 1];
 3494|      2|  }
 3495|  41.7k|  else
 3496|  41.7k|  {
 3497|  41.7k|    file_name = NULL;
 3498|  41.7k|  }
 3499|       |
 3500|  41.7k|  YR_RULE* current_rule = NULL;
 3501|       |
 3502|  41.7k|  if (compiler->current_rule_idx != UINT32_MAX)
  ------------------
  |  Branch (3502:7): [True: 32.2k, False: 9.51k]
  ------------------
 3503|  32.2k|    current_rule = yr_arena_get_ptr(
 3504|  32.2k|        compiler->arena,
 3505|  32.2k|        YR_RULES_TABLE,
  ------------------
  |  |   58|  32.2k|#define YR_RULES_TABLE              1
  ------------------
 3506|  32.2k|        compiler->current_rule_idx * sizeof(YR_RULE));
 3507|       |
 3508|       |  // if error_message != NULL the error comes from yyparse internal code
 3509|       |  // else the error comes from my code and the error code is set in
 3510|       |  // compiler->last_error
 3511|       |
 3512|  41.7k|  if (error_message != NULL)
  ------------------
  |  Branch (3512:7): [True: 18.9k, False: 22.8k]
  ------------------
 3513|  18.9k|  {
 3514|  18.9k|    yr_compiler_set_error_extra_info(compiler, error_message);
  ------------------
  |  |  320|  18.9k|  strlcpy(                                               \
  |  |  321|  18.9k|      compiler->last_error_extra_info,                   \
  |  |  322|  18.9k|      info,                                              \
  |  |  323|  18.9k|      sizeof(compiler->last_error_extra_info));
  ------------------
 3515|  18.9k|    compiler->last_error = ERROR_SYNTAX_ERROR;
  ------------------
  |  |   56|  18.9k|#define ERROR_SYNTAX_ERROR                   11
  ------------------
 3516|       |
 3517|  18.9k|    if (compiler->callback != NULL)
  ------------------
  |  Branch (3517:9): [True: 0, False: 18.9k]
  ------------------
 3518|      0|    {
 3519|      0|      compiler->callback(
 3520|      0|          YARA_ERROR_LEVEL_ERROR,
  ------------------
  |  |   41|      0|#define YARA_ERROR_LEVEL_ERROR   0
  ------------------
 3521|      0|          file_name,
 3522|      0|          compiler->last_error_line,
 3523|      0|          current_rule,
 3524|      0|          error_message,
 3525|      0|          compiler->user_data);
 3526|      0|    }
 3527|  18.9k|  }
 3528|  22.8k|  else if (compiler->callback != NULL)
  ------------------
  |  Branch (3528:12): [True: 0, False: 22.8k]
  ------------------
 3529|      0|  {
 3530|      0|    yr_compiler_get_error_message(compiler, message, sizeof(message));
 3531|       |
 3532|      0|    compiler->callback(
 3533|      0|        YARA_ERROR_LEVEL_ERROR,
  ------------------
  |  |   41|      0|#define YARA_ERROR_LEVEL_ERROR   0
  ------------------
 3534|      0|        file_name,
 3535|      0|        compiler->last_error_line,
 3536|      0|        current_rule,
 3537|      0|        message,
 3538|      0|        compiler->user_data);
 3539|      0|  }
 3540|  41.7k|}
yr_lex_parse_rules_string:
 3582|  14.1k|{
 3583|  14.1k|  yyscan_t yyscanner;
 3584|       |
 3585|  14.1k|  compiler->errors = 0;
 3586|       |
 3587|  14.1k|  if (rules_string == NULL)
  ------------------
  |  Branch (3587:7): [True: 0, False: 14.1k]
  ------------------
 3588|      0|    return 0;
 3589|       |
 3590|  14.1k|  if (yylex_init(&yyscanner) != 0)
  ------------------
  |  |  104|  14.1k|#define yylex_init yara_yylex_init
  ------------------
  |  Branch (3590:7): [True: 0, False: 14.1k]
  ------------------
 3591|      0|  {
 3592|      0|    compiler->errors = 1;
 3593|      0|    compiler->last_error = ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
 3594|      0|    return compiler->errors;
 3595|      0|  }
 3596|       |
 3597|  14.1k|  if (setjmp(compiler->error_recovery) != 0)
  ------------------
  |  Branch (3597:7): [True: 0, False: 14.1k]
  ------------------
 3598|      0|    return compiler->errors;
 3599|       |
 3600|       |  #if YYDEBUG
 3601|       |  yydebug = 1;
 3602|       |  #endif
 3603|       |
 3604|  14.1k|  yyset_extra(compiler, yyscanner);
  ------------------
  |  |  140|  14.1k|#define yyset_extra yara_yyset_extra
  ------------------
 3605|  14.1k|  yy_scan_string(rules_string, yyscanner);
  ------------------
  |  |   38|  14.1k|#define yy_scan_string yara_yy_scan_string
  ------------------
 3606|  14.1k|  yyset_lineno(1, yyscanner);
  ------------------
  |  |  188|  14.1k|#define yyset_lineno yara_yyset_lineno
  ------------------
 3607|  14.1k|  yyparse(yyscanner, compiler);
  ------------------
  |  |   46|  14.1k|#define yyparse      yara_yyparse
  ------------------
 3608|  14.1k|  yylex_destroy(yyscanner);
  ------------------
  |  |  116|  14.1k|#define yylex_destroy yara_yylex_destroy
  ------------------
 3609|       |
 3610|  14.1k|  return compiler->errors;
 3611|  14.1k|}
lexer.c:yy_get_next_buffer:
 2408|  26.3k|{
 2409|  26.3k|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 2410|  26.3k|	char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
  ------------------
  |  |  515|  26.3k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 2411|  26.3k|	char *source = yyg->yytext_ptr;
  ------------------
  |  |  567|  26.3k|#define yytext_ptr yytext_r
  ------------------
 2412|  26.3k|	int number_to_move, i;
 2413|  26.3k|	int ret_val;
 2414|       |
 2415|  26.3k|	if ( yyg->yy_c_buf_p > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] )
  ------------------
  |  |  515|  26.3k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
  |  Branch (2415:7): [True: 0, False: 26.3k]
  ------------------
 2416|      0|		YY_FATAL_ERROR(
  ------------------
  |  |   80|      0|#define YY_FATAL_ERROR(msg) yara_yyfatal(yyscanner, msg)
  ------------------
 2417|  26.3k|		"fatal flex scanner internal error--end of buffer missed" );
 2418|       |
 2419|  26.3k|	if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
  ------------------
  |  |  515|  26.3k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
  |  Branch (2419:7): [True: 26.3k, False: 0]
  ------------------
 2420|  26.3k|		{ /* Don't try to fill the buffer, so this is an EOF. */
 2421|  26.3k|		if ( yyg->yy_c_buf_p - yyg->yytext_ptr - YY_MORE_ADJ == 1 )
  ------------------
  |  |  567|  26.3k|#define yytext_ptr yytext_r
  ------------------
              		if ( yyg->yy_c_buf_p - yyg->yytext_ptr - YY_MORE_ADJ == 1 )
  ------------------
  |  |  895|  26.3k|#define YY_MORE_ADJ 0
  ------------------
  |  Branch (2421:8): [True: 12.9k, False: 13.3k]
  ------------------
 2422|  12.9k|			{
 2423|       |			/* We matched a single character, the EOB, so
 2424|       |			 * treat this as a final EOF.
 2425|       |			 */
 2426|  12.9k|			return EOB_ACT_END_OF_FILE;
  ------------------
  |  |  398|  12.9k|#define EOB_ACT_END_OF_FILE 1
  ------------------
 2427|  12.9k|			}
 2428|       |
 2429|  13.3k|		else
 2430|  13.3k|			{
 2431|       |			/* We matched some text prior to the EOB, first
 2432|       |			 * process it.
 2433|       |			 */
 2434|  13.3k|			return EOB_ACT_LAST_MATCH;
  ------------------
  |  |  399|  13.3k|#define EOB_ACT_LAST_MATCH 2
  ------------------
 2435|  13.3k|			}
 2436|  26.3k|		}
 2437|       |
 2438|       |	/* Try to read more data. */
 2439|       |
 2440|       |	/* First move last chars to start of buffer. */
 2441|      0|	number_to_move = (int) (yyg->yy_c_buf_p - yyg->yytext_ptr - 1);
  ------------------
  |  |  567|      0|#define yytext_ptr yytext_r
  ------------------
 2442|       |
 2443|      0|	for ( i = 0; i < number_to_move; ++i )
  ------------------
  |  Branch (2443:15): [True: 0, False: 0]
  ------------------
 2444|      0|		*(dest++) = *(source++);
 2445|       |
 2446|      0|	if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
  ------------------
  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
              	if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
  ------------------
  |  |  498|      0|#define YY_BUFFER_EOF_PENDING 2
  ------------------
  |  Branch (2446:7): [True: 0, False: 0]
  ------------------
 2447|       |		/* don't do the read, it's not guaranteed to return an EOF,
 2448|       |		 * just force an EOF
 2449|       |		 */
 2450|      0|		YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars = 0;
  ------------------
  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 2451|       |
 2452|      0|	else
 2453|      0|		{
 2454|      0|			int num_to_read =
 2455|      0|			YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
  ------------------
  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 2456|       |
 2457|      0|		while ( num_to_read <= 0 )
  ------------------
  |  Branch (2457:11): [True: 0, False: 0]
  ------------------
 2458|      0|			{ /* Not enough room in the buffer - grow it. */
 2459|       |
 2460|       |			/* just a shorter name for the current buffer */
 2461|      0|			YY_BUFFER_STATE b = YY_CURRENT_BUFFER_LVALUE;
  ------------------
  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 2462|       |
 2463|      0|			int yy_c_buf_p_offset =
 2464|      0|				(int) (yyg->yy_c_buf_p - b->yy_ch_buf);
 2465|       |
 2466|      0|			if ( b->yy_is_our_buffer )
  ------------------
  |  Branch (2466:9): [True: 0, False: 0]
  ------------------
 2467|      0|				{
 2468|      0|				int new_size = b->yy_buf_size * 2;
 2469|       |
 2470|      0|				if ( new_size <= 0 )
  ------------------
  |  Branch (2470:10): [True: 0, False: 0]
  ------------------
 2471|      0|					b->yy_buf_size += b->yy_buf_size / 8;
 2472|      0|				else
 2473|      0|					b->yy_buf_size *= 2;
 2474|       |
 2475|      0|				b->yy_ch_buf = (char *)
 2476|       |					/* Include room in for 2 EOB chars. */
 2477|      0|					yyrealloc( (void *) b->yy_ch_buf,
  ------------------
  |  |  230|      0|#define yyrealloc yara_yyrealloc
  ------------------
 2478|      0|							 (yy_size_t) (b->yy_buf_size + 2) , yyscanner );
 2479|      0|				}
 2480|      0|			else
 2481|       |				/* Can't grow it, we don't own it. */
 2482|      0|				b->yy_ch_buf = NULL;
 2483|       |
 2484|      0|			if ( ! b->yy_ch_buf )
  ------------------
  |  Branch (2484:9): [True: 0, False: 0]
  ------------------
 2485|      0|				YY_FATAL_ERROR(
  ------------------
  |  |   80|      0|#define YY_FATAL_ERROR(msg) yara_yyfatal(yyscanner, msg)
  ------------------
 2486|      0|				"fatal error - scanner input buffer overflow" );
 2487|       |
 2488|      0|			yyg->yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
 2489|       |
 2490|      0|			num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
  ------------------
  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 2491|      0|						number_to_move - 1;
 2492|       |
 2493|      0|			}
 2494|       |
 2495|      0|		if ( num_to_read > YY_READ_BUF_SIZE )
  ------------------
  |  | 1179|      0|#define YY_READ_BUF_SIZE 8192
  ------------------
  |  Branch (2495:8): [True: 0, False: 0]
  ------------------
 2496|      0|			num_to_read = YY_READ_BUF_SIZE;
  ------------------
  |  | 1179|      0|#define YY_READ_BUF_SIZE 8192
  ------------------
 2497|       |
 2498|       |		/* Read in more data. */
 2499|      0|		YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
  ------------------
  |  | 1196|      0|	if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
  |  |  ------------------
  |  |  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  |  |  ------------------
  |  |  |  Branch (1196:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 1197|      0|		{ \
  |  | 1198|      0|		int c = '*'; \
  |  | 1199|      0|		int n; \
  |  | 1200|      0|		for ( n = 0; n < max_size && \
  |  |  ------------------
  |  |  |  Branch (1200:16): [True: 0, False: 0]
  |  |  ------------------
  |  | 1201|      0|			     (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
  |  |  ------------------
  |  |  |  |  344|      0|#define yyin yyg->yyin_r
  |  |  ------------------
  |  |  |  Branch (1201:9): [True: 0, False: 0]
  |  |  |  Branch (1201:38): [True: 0, False: 0]
  |  |  ------------------
  |  | 1202|      0|			buf[n] = (char) c; \
  |  | 1203|      0|		if ( c == '\n' ) \
  |  |  ------------------
  |  |  |  Branch (1203:8): [True: 0, False: 0]
  |  |  ------------------
  |  | 1204|      0|			buf[n++] = (char) c; \
  |  | 1205|      0|		if ( c == EOF && ferror( yyin ) ) \
  |  |  ------------------
  |  |  |  |  344|      0|#define yyin yyg->yyin_r
  |  |  ------------------
  |  |  |  Branch (1205:8): [True: 0, False: 0]
  |  |  |  Branch (1205:20): [True: 0, False: 0]
  |  |  ------------------
  |  | 1206|      0|			YY_FATAL_ERROR( "input in flex scanner failed" ); \
  |  |  ------------------
  |  |  |  |   80|      0|#define YY_FATAL_ERROR(msg) yara_yyfatal(yyscanner, msg)
  |  |  ------------------
  |  | 1207|      0|		result = n; \
  |  | 1208|      0|		} \
  |  | 1209|      0|	else \
  |  | 1210|      0|		{ \
  |  | 1211|      0|		errno=0; \
  |  | 1212|      0|		while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \
  |  |  ------------------
  |  |  |  |  344|      0|#define yyin yyg->yyin_r
  |  |  ------------------
  |  |               		while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \
  |  |  ------------------
  |  |  |  |  344|      0|#define yyin yyg->yyin_r
  |  |  ------------------
  |  |  |  Branch (1212:11): [True: 0, False: 0]
  |  |  |  Branch (1212:78): [True: 0, False: 0]
  |  |  ------------------
  |  | 1213|      0|			{ \
  |  | 1214|      0|			if( errno != EINTR) \
  |  |  ------------------
  |  |  |  Branch (1214:8): [True: 0, False: 0]
  |  |  ------------------
  |  | 1215|      0|				{ \
  |  | 1216|      0|				YY_FATAL_ERROR( "input in flex scanner failed" ); \
  |  |  ------------------
  |  |  |  |   80|      0|#define YY_FATAL_ERROR(msg) yara_yyfatal(yyscanner, msg)
  |  |  ------------------
  |  | 1217|      0|				break; \
  |  | 1218|      0|				} \
  |  | 1219|      0|			errno=0; \
  |  | 1220|      0|			clearerr(yyin); \
  |  |  ------------------
  |  |  |  |  344|      0|#define yyin yyg->yyin_r
  |  |  ------------------
  |  | 1221|      0|			} \
  |  | 1222|      0|		}\
  ------------------
 2500|      0|			yyg->yy_n_chars, num_to_read );
 2501|       |
 2502|      0|		YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
  ------------------
  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 2503|      0|		}
 2504|       |
 2505|      0|	if ( yyg->yy_n_chars == 0 )
  ------------------
  |  Branch (2505:7): [True: 0, False: 0]
  ------------------
 2506|      0|		{
 2507|      0|		if ( number_to_move == YY_MORE_ADJ )
  ------------------
  |  |  895|      0|#define YY_MORE_ADJ 0
  ------------------
  |  Branch (2507:8): [True: 0, False: 0]
  ------------------
 2508|      0|			{
 2509|      0|			ret_val = EOB_ACT_END_OF_FILE;
  ------------------
  |  |  398|      0|#define EOB_ACT_END_OF_FILE 1
  ------------------
 2510|      0|			yyrestart( yyin  , yyscanner);
  ------------------
  |  |   98|      0|#define yyrestart yara_yyrestart
  ------------------
              			yyrestart( yyin  , yyscanner);
  ------------------
  |  |  344|      0|#define yyin yyg->yyin_r
  ------------------
 2511|      0|			}
 2512|       |
 2513|      0|		else
 2514|      0|			{
 2515|      0|			ret_val = EOB_ACT_LAST_MATCH;
  ------------------
  |  |  399|      0|#define EOB_ACT_LAST_MATCH 2
  ------------------
 2516|      0|			YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
  ------------------
  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 2517|      0|				YY_BUFFER_EOF_PENDING;
  ------------------
  |  |  498|      0|#define YY_BUFFER_EOF_PENDING 2
  ------------------
 2518|      0|			}
 2519|      0|		}
 2520|       |
 2521|      0|	else
 2522|      0|		ret_val = EOB_ACT_CONTINUE_SCAN;
  ------------------
  |  |  397|      0|#define EOB_ACT_CONTINUE_SCAN 0
  ------------------
 2523|       |
 2524|      0|	if ((yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
  ------------------
  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
  |  Branch (2524:6): [True: 0, False: 0]
  ------------------
 2525|       |		/* Extend the array by 50%, plus the number we really need. */
 2526|      0|		int new_size = yyg->yy_n_chars + number_to_move + (yyg->yy_n_chars >> 1);
 2527|      0|		YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc(
  ------------------
  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
              		YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc(
  ------------------
  |  |  230|      0|#define yyrealloc yara_yyrealloc
  ------------------
 2528|      0|			(void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size , yyscanner );
  ------------------
  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 2529|      0|		if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  ------------------
  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
  |  Branch (2529:8): [True: 0, False: 0]
  ------------------
 2530|      0|			YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
  ------------------
  |  |   80|      0|#define YY_FATAL_ERROR(msg) yara_yyfatal(yyscanner, msg)
  ------------------
 2531|       |		/* "- 2" to take care of EOB's */
 2532|      0|		YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2);
  ------------------
  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 2533|      0|	}
 2534|       |
 2535|      0|	yyg->yy_n_chars += number_to_move;
 2536|      0|	YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] = YY_END_OF_BUFFER_CHAR;
  ------------------
  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
              	YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] = YY_END_OF_BUFFER_CHAR;
  ------------------
  |  |  368|      0|#define YY_END_OF_BUFFER_CHAR 0
  ------------------
 2537|      0|	YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
  ------------------
  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
              	YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
  ------------------
  |  |  368|      0|#define YY_END_OF_BUFFER_CHAR 0
  ------------------
 2538|       |
 2539|      0|	yyg->yytext_ptr = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
  ------------------
  |  |  567|      0|#define yytext_ptr yytext_r
  ------------------
              	yyg->yytext_ptr = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
  ------------------
  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 2540|       |
 2541|      0|	return ret_val;
 2542|  26.3k|}
lexer.c:yy_get_previous_state:
 2547|  13.3k|{
 2548|  13.3k|	yy_state_type yy_current_state;
 2549|  13.3k|	char *yy_cp;
 2550|  13.3k|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 2551|       |
 2552|  13.3k|	yy_current_state = yyg->yy_start;
 2553|       |
 2554|   507k|	for ( yy_cp = yyg->yytext_ptr + YY_MORE_ADJ; yy_cp < yyg->yy_c_buf_p; ++yy_cp )
  ------------------
  |  |  567|  13.3k|#define yytext_ptr yytext_r
  ------------------
              	for ( yy_cp = yyg->yytext_ptr + YY_MORE_ADJ; yy_cp < yyg->yy_c_buf_p; ++yy_cp )
  ------------------
  |  |  895|  13.3k|#define YY_MORE_ADJ 0
  ------------------
  |  Branch (2554:47): [True: 494k, False: 13.3k]
  ------------------
 2555|   494k|		{
 2556|   494k|		YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
  ------------------
  |  |  334|   494k|#define YY_SC_TO_UI(c) ((YY_CHAR) (c))
  ------------------
  |  Branch (2556:19): [True: 494k, False: 0]
  ------------------
 2557|   494k|		if ( yy_accept[yy_current_state] )
  ------------------
  |  Branch (2557:8): [True: 191k, False: 302k]
  ------------------
 2558|   191k|			{
 2559|   191k|			yyg->yy_last_accepting_state = yy_current_state;
 2560|   191k|			yyg->yy_last_accepting_cpos = yy_cp;
 2561|   191k|			}
 2562|   972k|		while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  ------------------
  |  Branch (2562:11): [True: 477k, False: 494k]
  ------------------
 2563|   477k|			{
 2564|   477k|			yy_current_state = (int) yy_def[yy_current_state];
 2565|   477k|			if ( yy_current_state >= 295 )
  ------------------
  |  Branch (2565:9): [True: 469k, False: 7.98k]
  ------------------
 2566|   469k|				yy_c = yy_meta[yy_c];
 2567|   477k|			}
 2568|   494k|		yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
 2569|   494k|		}
 2570|       |
 2571|  13.3k|	return yy_current_state;
 2572|  13.3k|}
lexer.c:yara_yy_load_buffer_state:
 2746|  28.3k|{
 2747|  28.3k|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 2748|  28.3k|	yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  ------------------
  |  |  515|  28.3k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 2749|  28.3k|	yyg->yytext_ptr = yyg->yy_c_buf_p = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
  ------------------
  |  |  567|  28.3k|#define yytext_ptr yytext_r
  ------------------
              	yyg->yytext_ptr = yyg->yy_c_buf_p = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
  ------------------
  |  |  515|  28.3k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 2750|  28.3k|	yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
  ------------------
  |  |  344|  28.3k|#define yyin yyg->yyin_r
  ------------------
              	yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
  ------------------
  |  |  515|  28.3k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 2751|  28.3k|	yyg->yy_hold_char = *yyg->yy_c_buf_p;
 2752|  28.3k|}
lexer.c:yara_yyensure_buffer_stack:
 2919|  14.1k|{
 2920|  14.1k|	yy_size_t num_to_alloc;
 2921|  14.1k|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 2922|       |
 2923|  14.1k|	if (!yyg->yy_buffer_stack) {
  ------------------
  |  Branch (2923:6): [True: 14.1k, False: 4]
  ------------------
 2924|       |
 2925|       |		/* First allocation is just for 2 elements, since we don't know if this
 2926|       |		 * scanner will even need a stack. We use 2 instead of 1 to avoid an
 2927|       |		 * immediate realloc on the next call.
 2928|       |         */
 2929|  14.1k|      num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */
 2930|  14.1k|		yyg->yy_buffer_stack = (struct yy_buffer_state**)yyalloc
  ------------------
  |  |  224|  14.1k|#define yyalloc yara_yyalloc
  ------------------
 2931|  14.1k|								(num_to_alloc * sizeof(struct yy_buffer_state*)
 2932|  14.1k|								, yyscanner);
 2933|  14.1k|		if ( ! yyg->yy_buffer_stack )
  ------------------
  |  Branch (2933:8): [True: 0, False: 14.1k]
  ------------------
 2934|      0|			YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  ------------------
  |  |   80|      0|#define YY_FATAL_ERROR(msg) yara_yyfatal(yyscanner, msg)
  ------------------
 2935|       |
 2936|  14.1k|		memset(yyg->yy_buffer_stack, 0, num_to_alloc * sizeof(struct yy_buffer_state*));
 2937|       |
 2938|  14.1k|		yyg->yy_buffer_stack_max = num_to_alloc;
 2939|  14.1k|		yyg->yy_buffer_stack_top = 0;
 2940|  14.1k|		return;
 2941|  14.1k|	}
 2942|       |
 2943|      4|	if (yyg->yy_buffer_stack_top >= (yyg->yy_buffer_stack_max) - 1){
  ------------------
  |  Branch (2943:6): [True: 2, False: 2]
  ------------------
 2944|       |
 2945|       |		/* Increase the buffer to prepare for a possible push. */
 2946|      2|		yy_size_t grow_size = 8 /* arbitrary grow size */;
 2947|       |
 2948|      2|		num_to_alloc = yyg->yy_buffer_stack_max + grow_size;
 2949|      2|		yyg->yy_buffer_stack = (struct yy_buffer_state**)yyrealloc
  ------------------
  |  |  230|      2|#define yyrealloc yara_yyrealloc
  ------------------
 2950|      2|								(yyg->yy_buffer_stack,
 2951|      2|								num_to_alloc * sizeof(struct yy_buffer_state*)
 2952|      2|								, yyscanner);
 2953|      2|		if ( ! yyg->yy_buffer_stack )
  ------------------
  |  Branch (2953:8): [True: 0, False: 2]
  ------------------
 2954|      0|			YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  ------------------
  |  |   80|      0|#define YY_FATAL_ERROR(msg) yara_yyfatal(yyscanner, msg)
  ------------------
 2955|       |
 2956|       |		/* zero only the new slots.*/
 2957|      2|		memset(yyg->yy_buffer_stack + yyg->yy_buffer_stack_max, 0, grow_size * sizeof(struct yy_buffer_state*));
 2958|      2|		yyg->yy_buffer_stack_max = num_to_alloc;
 2959|      2|	}
 2960|      4|}
lexer.c:yy_init_globals:
 3296|  28.3k|{
 3297|  28.3k|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 3298|       |    /* Initialization is the same as for the non-reentrant scanner.
 3299|       |     * This function is called from yylex_destroy(), so don't allocate here.
 3300|       |     */
 3301|       |
 3302|  28.3k|    yyg->yy_buffer_stack = NULL;
 3303|  28.3k|    yyg->yy_buffer_stack_top = 0;
 3304|  28.3k|    yyg->yy_buffer_stack_max = 0;
 3305|  28.3k|    yyg->yy_c_buf_p = NULL;
 3306|  28.3k|    yyg->yy_init = 0;
 3307|  28.3k|    yyg->yy_start = 0;
 3308|       |
 3309|  28.3k|    yyg->yy_start_stack_ptr = 0;
 3310|  28.3k|    yyg->yy_start_stack_depth = 0;
 3311|  28.3k|    yyg->yy_start_stack =  NULL;
 3312|       |
 3313|       |/* Defined in main.c */
 3314|       |#ifdef YY_STDINIT
 3315|       |    yyin = stdin;
 3316|       |    yyout = stdout;
 3317|       |#else
 3318|  28.3k|    yyin = NULL;
  ------------------
  |  |  344|  28.3k|#define yyin yyg->yyin_r
  ------------------
 3319|  28.3k|    yyout = NULL;
  ------------------
  |  |  345|  28.3k|#define yyout yyg->yyout_r
  ------------------
 3320|  28.3k|#endif
 3321|       |
 3322|       |    /* For future reference: Set errno on error, since we are called by
 3323|       |     * yylex_init()
 3324|       |     */
 3325|  28.3k|    return 0;
 3326|  28.3k|}

yr_initialize:
  242|      2|{
  243|      2|  YR_DEBUG_FPRINTF(2, stderr, "+ %s() {\n", __FUNCTION__);
  244|       |
  245|      2|  uint32_t def_stack_size = DEFAULT_STACK_SIZE;
  ------------------
  |  |   81|      2|#define DEFAULT_STACK_SIZE               16384
  ------------------
  246|      2|  uint32_t def_max_strings_per_rule = DEFAULT_MAX_STRINGS_PER_RULE;
  ------------------
  |  |   82|      2|#define DEFAULT_MAX_STRINGS_PER_RULE     10000
  ------------------
  247|      2|  uint32_t def_max_match_data = DEFAULT_MAX_MATCH_DATA;
  ------------------
  |  |   83|      2|#define DEFAULT_MAX_MATCH_DATA           512
  ------------------
  248|      2|  uint64_t def_max_process_memory_chunk = DEFAULT_MAX_PROCESS_MEMORY_CHUNK;
  ------------------
  |  |   84|      2|#define DEFAULT_MAX_PROCESS_MEMORY_CHUNK 1073741824
  ------------------
  249|       |
  250|      2|  init_count++;
  251|       |
  252|      2|  if (init_count > 1)
  ------------------
  |  Branch (252:7): [True: 0, False: 2]
  ------------------
  253|      0|    return ERROR_SUCCESS;
  ------------------
  |  |   40|      0|#define ERROR_SUCCESS 0
  ------------------
  254|       |
  255|       |  // Initialize random number generator, as it is used for generating object
  256|       |  // canaries.
  257|      2|  srand((unsigned) time(NULL));
  258|       |
  259|    514|  for (int i = 0; i < 256; i++)
  ------------------
  |  Branch (259:19): [True: 512, False: 2]
  ------------------
  260|    512|  {
  261|    512|    if (i >= 'a' && i <= 'z')
  ------------------
  |  Branch (261:9): [True: 318, False: 194]
  |  Branch (261:21): [True: 52, False: 266]
  ------------------
  262|     52|      yr_altercase[i] = i - 32;
  263|    460|    else if (i >= 'A' && i <= 'Z')
  ------------------
  |  Branch (263:14): [True: 330, False: 130]
  |  Branch (263:26): [True: 52, False: 278]
  ------------------
  264|     52|      yr_altercase[i] = i + 32;
  265|    408|    else
  266|    408|      yr_altercase[i] = i;
  267|       |
  268|    512|    yr_lowercase[i] = tolower(i);
  ------------------
  |  Branch (268:23): [True: 0, False: 0]
  |  Branch (268:23): [True: 0, False: 512]
  |  Branch (268:23): [True: 512, Folded]
  ------------------
  269|    512|  }
  270|       |
  271|      2|  FAIL_ON_ERROR(yr_heap_alloc());
  ------------------
  |  |  134|      2|  {                               \
  |  |  135|      2|    int __error = (x);            \
  |  |  136|      2|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|      2|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  137|      2|      return __error;             \
  |  |  138|      2|  }
  ------------------
  272|      2|  FAIL_ON_ERROR(yr_thread_storage_create(&yr_yyfatal_trampoline_tls));
  ------------------
  |  |  134|      2|  {                               \
  |  |  135|      2|    int __error = (x);            \
  |  |  136|      2|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|      2|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  137|      2|      return __error;             \
  |  |  138|      2|  }
  ------------------
  273|      2|  FAIL_ON_ERROR(yr_thread_storage_create(&yr_trycatch_trampoline_tls));
  ------------------
  |  |  134|      2|  {                               \
  |  |  135|      2|    int __error = (x);            \
  |  |  136|      2|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|      2|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  137|      2|      return __error;             \
  |  |  138|      2|  }
  ------------------
  274|       |
  275|       |#if defined HAVE_LIBCRYPTO && OPENSSL_VERSION_NUMBER < 0x10100000L
  276|       |
  277|       |  openssl_locks = (YR_MUTEX *) OPENSSL_malloc(
  278|       |      CRYPTO_num_locks() * sizeof(YR_MUTEX));
  279|       |
  280|       |  for (int i = 0; i < CRYPTO_num_locks(); i++)
  281|       |    yr_mutex_create(&openssl_locks[i]);
  282|       |
  283|       |  CRYPTO_THREADID_set_callback(_thread_id);
  284|       |  CRYPTO_set_locking_callback(_locking_function);
  285|       |
  286|       |#elif defined(HAVE_WINCRYPT_H)
  287|       |
  288|       |  if (!CryptAcquireContext(
  289|       |          &yr_cryptprov, NULL, NULL, PROV_RSA_AES, CRYPT_VERIFYCONTEXT))
  290|       |  {
  291|       |    return ERROR_INTERNAL_FATAL_ERROR;
  292|       |  }
  293|       |
  294|       |#elif defined(HAVE_COMMON_CRYPTO)
  295|       |
  296|       |  ...
  297|       |
  298|       |#endif
  299|       |
  300|      2|  FAIL_ON_ERROR(yr_modules_initialize());
  ------------------
  |  |  134|      2|  {                               \
  |  |  135|      2|    int __error = (x);            \
  |  |  136|      2|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|      2|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  137|      2|      return __error;             \
  |  |  138|      2|  }
  ------------------
  301|       |
  302|       |  // Initialize default configuration options
  303|       |
  304|      2|  FAIL_ON_ERROR(yr_set_configuration(YR_CONFIG_STACK_SIZE, &def_stack_size));
  ------------------
  |  |  134|      2|  {                               \
  |  |  135|      2|    int __error = (x);            \
  |  |  136|      2|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|      2|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  137|      2|      return __error;             \
  |  |  138|      2|  }
  ------------------
  305|       |
  306|      2|  FAIL_ON_ERROR(yr_set_configuration(
  ------------------
  |  |  134|      2|  {                               \
  |  |  135|      2|    int __error = (x);            \
  |  |  136|      2|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|      2|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  137|      2|      return __error;             \
  |  |  138|      2|  }
  ------------------
  307|      2|      YR_CONFIG_MAX_STRINGS_PER_RULE, &def_max_strings_per_rule));
  308|       |
  309|      2|  FAIL_ON_ERROR(yr_set_configuration(
  ------------------
  |  |  134|      2|  {                               \
  |  |  135|      2|    int __error = (x);            \
  |  |  136|      2|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|      2|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  137|      2|      return __error;             \
  |  |  138|      2|  }
  ------------------
  310|      2|      YR_CONFIG_MAX_PROCESS_MEMORY_CHUNK, &def_max_process_memory_chunk));
  311|       |
  312|      2|  FAIL_ON_ERROR(
  ------------------
  |  |  134|      2|  {                               \
  |  |  135|      2|    int __error = (x);            \
  |  |  136|      2|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|      2|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  137|      2|      return __error;             \
  |  |  138|      2|  }
  ------------------
  313|      2|      yr_set_configuration(YR_CONFIG_MAX_MATCH_DATA, &def_max_match_data));
  314|       |
  315|      2|  YR_DEBUG_FPRINTF(2, stderr, "} // %s()\n", __FUNCTION__);
  316|       |
  317|      2|  return ERROR_SUCCESS;
  ------------------
  |  |   40|      2|#define ERROR_SUCCESS 0
  ------------------
  318|      2|}
yr_set_configuration:
  396|      8|{
  397|      8|  if (src == NULL)
  ------------------
  |  Branch (397:7): [True: 0, False: 8]
  ------------------
  398|      0|    return ERROR_INTERNAL_FATAL_ERROR;
  ------------------
  |  |   78|      0|#define ERROR_INTERNAL_FATAL_ERROR           31
  ------------------
  399|       |
  400|      8|  switch (name)
  401|      8|  {  // lump all the cases using same types together in one cascade
  402|      2|  case YR_CONFIG_STACK_SIZE:
  ------------------
  |  Branch (402:3): [True: 2, False: 6]
  ------------------
  403|      4|  case YR_CONFIG_MAX_STRINGS_PER_RULE:
  ------------------
  |  Branch (403:3): [True: 2, False: 6]
  ------------------
  404|      6|  case YR_CONFIG_MAX_MATCH_DATA:
  ------------------
  |  Branch (404:3): [True: 2, False: 6]
  ------------------
  405|      6|    yr_cfgs[name].ui32 = *(uint32_t *) src;
  406|      6|    break;
  407|       |
  408|      2|  case YR_CONFIG_MAX_PROCESS_MEMORY_CHUNK:
  ------------------
  |  Branch (408:3): [True: 2, False: 6]
  ------------------
  409|      2|    yr_cfgs[name].ui64 = *(uint64_t *) src;
  410|      2|    break;
  411|       |
  412|      0|  default:
  ------------------
  |  Branch (412:3): [True: 0, False: 8]
  ------------------
  413|      0|    return ERROR_INTERNAL_FATAL_ERROR;
  ------------------
  |  |   78|      0|#define ERROR_INTERNAL_FATAL_ERROR           31
  ------------------
  414|      8|  }
  415|       |
  416|      8|  return ERROR_SUCCESS;
  ------------------
  |  |   40|      8|#define ERROR_SUCCESS 0
  ------------------
  417|      8|}
yr_get_configuration:
  486|    593|{
  487|    593|  if (dest == NULL)
  ------------------
  |  Branch (487:7): [True: 0, False: 593]
  ------------------
  488|      0|    return ERROR_INVALID_ARGUMENT;
  ------------------
  |  |   76|      0|#define ERROR_INVALID_ARGUMENT               29
  ------------------
  489|       |
  490|    593|  switch (name)
  491|    593|  {  // lump all the cases using same types together in one cascade
  492|      0|  case YR_CONFIG_STACK_SIZE:
  ------------------
  |  Branch (492:3): [True: 0, False: 593]
  ------------------
  493|    593|  case YR_CONFIG_MAX_STRINGS_PER_RULE:
  ------------------
  |  Branch (493:3): [True: 593, False: 0]
  ------------------
  494|    593|  case YR_CONFIG_MAX_MATCH_DATA:
  ------------------
  |  Branch (494:3): [True: 0, False: 593]
  ------------------
  495|    593|    *(uint32_t *) dest = yr_cfgs[name].ui32;
  496|    593|    break;
  497|       |
  498|      0|  case YR_CONFIG_MAX_PROCESS_MEMORY_CHUNK:
  ------------------
  |  Branch (498:3): [True: 0, False: 593]
  ------------------
  499|      0|    *(uint64_t *) dest = yr_cfgs[name].ui64;
  500|      0|    break;
  501|       |
  502|      0|  default:
  ------------------
  |  Branch (502:3): [True: 0, False: 593]
  ------------------
  503|      0|    return ERROR_INVALID_ARGUMENT;
  ------------------
  |  |   76|      0|#define ERROR_INVALID_ARGUMENT               29
  ------------------
  504|    593|  }
  505|       |
  506|    593|  return ERROR_SUCCESS;
  ------------------
  |  |   40|    593|#define ERROR_SUCCESS 0
  ------------------
  507|    593|}
yr_get_configuration_uint32:
  522|    593|{
  523|    593|  switch (name)
  524|    593|  {
  525|       |  // Accept only the configuration options that are of type uint32_t.
  526|      0|  case YR_CONFIG_STACK_SIZE:
  ------------------
  |  Branch (526:3): [True: 0, False: 593]
  ------------------
  527|    593|  case YR_CONFIG_MAX_STRINGS_PER_RULE:
  ------------------
  |  Branch (527:3): [True: 593, False: 0]
  ------------------
  528|    593|  case YR_CONFIG_MAX_MATCH_DATA:
  ------------------
  |  Branch (528:3): [True: 0, False: 593]
  ------------------
  529|    593|    return yr_get_configuration(name, (void *) dest);
  530|      0|  default:
  ------------------
  |  Branch (530:3): [True: 0, False: 593]
  ------------------
  531|      0|    return ERROR_INVALID_ARGUMENT;
  ------------------
  |  |   76|      0|#define ERROR_INVALID_ARGUMENT               29
  ------------------
  532|    593|  }
  533|    593|}

yr_heap_alloc:
  128|      2|{
  129|      2|  return ERROR_SUCCESS;
  ------------------
  |  |   40|      2|#define ERROR_SUCCESS 0
  ------------------
  130|      2|}
yr_calloc:
  138|  29.3k|{
  139|  29.3k|  return calloc(count, size);
  140|  29.3k|}
yr_malloc:
  143|  43.1M|{
  144|  43.1M|  return malloc(size);
  145|  43.1M|}
yr_realloc:
  148|  72.1k|{
  149|  72.1k|  return realloc(ptr, size);
  150|  72.1k|}
yr_strdup:
  153|   349k|{
  154|   349k|  return strdup(str);
  155|   349k|}
yr_free:
  163|  43.6M|{
  164|  43.6M|  free(ptr);
  165|  43.6M|}

yr_modules_initialize:
   64|      2|{
   65|     22|  for (YR_MODULE* module = yr_modules_table; module->initialize != NULL;
  ------------------
  |  Branch (65:46): [True: 20, False: 2]
  ------------------
   66|     20|       module++)
   67|     20|  {
   68|     20|    int result = module->initialize(module);
   69|       |
   70|     20|    if (result != ERROR_SUCCESS)
  ------------------
  |  |   40|     20|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (70:9): [True: 0, False: 20]
  ------------------
   71|      0|      return result;
   72|     20|  }
   73|       |
   74|      2|  return ERROR_SUCCESS;
  ------------------
  |  |   40|      2|#define ERROR_SUCCESS 0
  ------------------
   75|      2|}
yr_modules_do_declarations:
   93|    832|{
   94|    832|  for (YR_MODULE* module = yr_modules_table;
   95|  5.42k|       module->name != NULL && module->declarations != NULL;
  ------------------
  |  Branch (95:8): [True: 5.05k, False: 371]
  |  Branch (95:32): [True: 5.05k, False: 0]
  ------------------
   96|  4.58k|       module++)
   97|  5.05k|  {
   98|  5.05k|    if (strcmp(module->name, module_name) == 0)
  ------------------
  |  Branch (98:9): [True: 461, False: 4.58k]
  ------------------
   99|    461|      return module->declarations(main_structure);
  100|  5.05k|  }
  101|       |
  102|    371|  return ERROR_UNKNOWN_MODULE;
  ------------------
  |  |   81|    371|#define ERROR_UNKNOWN_MODULE                 34
  ------------------
  103|    832|}

console__declarations:
  236|      8|begin_declarations
  ------------------
  |  |   59|      8|  {                                          \
  |  |   60|      8|    YR_OBJECT* stack[64];                    \
  |  |   61|      8|    int stack_top = 0;                       \
  |  |   62|      8|    stack[stack_top] = module;
  ------------------
  237|      8|  declare_function("log", "s", "i", log_string);
  ------------------
  |  |  191|      8|  {                                                                   \
  |  |  192|      8|    YR_OBJECT* function;                                              \
  |  |  193|      8|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|      8|  {                               \
  |  |  |  |  135|      8|    int __error = (x);            \
  |  |  |  |  136|      8|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      8|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 8]
  |  |  |  |  ------------------
  |  |  |  |  137|      8|      return __error;             \
  |  |  |  |  138|      8|  }
  |  |  ------------------
  |  |  194|      8|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|      8|  }
  ------------------
  238|      8|  declare_function("log", "ss", "i", log_string_msg);
  ------------------
  |  |  191|      8|  {                                                                   \
  |  |  192|      8|    YR_OBJECT* function;                                              \
  |  |  193|      8|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|      8|  {                               \
  |  |  |  |  135|      8|    int __error = (x);            \
  |  |  |  |  136|      8|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      8|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 8]
  |  |  |  |  ------------------
  |  |  |  |  137|      8|      return __error;             \
  |  |  |  |  138|      8|  }
  |  |  ------------------
  |  |  194|      8|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|      8|  }
  ------------------
  239|      8|  declare_function("log", "i", "i", log_integer);
  ------------------
  |  |  191|      8|  {                                                                   \
  |  |  192|      8|    YR_OBJECT* function;                                              \
  |  |  193|      8|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|      8|  {                               \
  |  |  |  |  135|      8|    int __error = (x);            \
  |  |  |  |  136|      8|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      8|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 8]
  |  |  |  |  ------------------
  |  |  |  |  137|      8|      return __error;             \
  |  |  |  |  138|      8|  }
  |  |  ------------------
  |  |  194|      8|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|      8|  }
  ------------------
  240|      8|  declare_function("log", "si", "i", log_integer_msg);
  ------------------
  |  |  191|      8|  {                                                                   \
  |  |  192|      8|    YR_OBJECT* function;                                              \
  |  |  193|      8|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|      8|  {                               \
  |  |  |  |  135|      8|    int __error = (x);            \
  |  |  |  |  136|      8|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      8|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 8]
  |  |  |  |  ------------------
  |  |  |  |  137|      8|      return __error;             \
  |  |  |  |  138|      8|  }
  |  |  ------------------
  |  |  194|      8|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|      8|  }
  ------------------
  241|      8|  declare_function("log", "f", "i", log_float);
  ------------------
  |  |  191|      8|  {                                                                   \
  |  |  192|      8|    YR_OBJECT* function;                                              \
  |  |  193|      8|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|      8|  {                               \
  |  |  |  |  135|      8|    int __error = (x);            \
  |  |  |  |  136|      8|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      8|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 8]
  |  |  |  |  ------------------
  |  |  |  |  137|      8|      return __error;             \
  |  |  |  |  138|      8|  }
  |  |  ------------------
  |  |  194|      8|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|      8|  }
  ------------------
  242|      8|  declare_function("log", "sf", "i", log_float_msg);
  ------------------
  |  |  191|      8|  {                                                                   \
  |  |  192|      8|    YR_OBJECT* function;                                              \
  |  |  193|      8|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|      8|  {                               \
  |  |  |  |  135|      8|    int __error = (x);            \
  |  |  |  |  136|      8|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      8|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 8]
  |  |  |  |  ------------------
  |  |  |  |  137|      8|      return __error;             \
  |  |  |  |  138|      8|  }
  |  |  ------------------
  |  |  194|      8|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|      8|  }
  ------------------
  243|      8|  declare_function("hex", "i", "i", hex_integer);
  ------------------
  |  |  191|      8|  {                                                                   \
  |  |  192|      8|    YR_OBJECT* function;                                              \
  |  |  193|      8|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|      8|  {                               \
  |  |  |  |  135|      8|    int __error = (x);            \
  |  |  |  |  136|      8|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      8|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 8]
  |  |  |  |  ------------------
  |  |  |  |  137|      8|      return __error;             \
  |  |  |  |  138|      8|  }
  |  |  ------------------
  |  |  194|      8|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|      8|  }
  ------------------
  244|      8|  declare_function("hex", "si", "i", hex_integer_msg);
  ------------------
  |  |  191|      8|  {                                                                   \
  |  |  192|      8|    YR_OBJECT* function;                                              \
  |  |  193|      8|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|      8|  {                               \
  |  |  |  |  135|      8|    int __error = (x);            \
  |  |  |  |  136|      8|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      8|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 8]
  |  |  |  |  ------------------
  |  |  |  |  137|      8|      return __error;             \
  |  |  |  |  138|      8|  }
  |  |  ------------------
  |  |  194|      8|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|      8|  }
  ------------------
  245|      8|end_declarations
  ------------------
  |  |   65|      8|  return ERROR_SUCCESS;  \
  |  |  ------------------
  |  |  |  |   40|      8|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |   66|      8|  }
  ------------------
console__initialize:
  248|      2|{
  249|      2|  return ERROR_SUCCESS;
  ------------------
  |  |   40|      2|#define ERROR_SUCCESS 0
  ------------------
  250|      2|}

dex__declarations:
  193|     14|begin_declarations
  ------------------
  |  |   59|     14|  {                                          \
  |  |   60|     14|    YR_OBJECT* stack[64];                    \
  |  |   61|     14|    int stack_top = 0;                       \
  |  |   62|     14|    stack[stack_top] = module;
  ------------------
  194|     14|  declare_string("DEX_FILE_MAGIC_035");
  ------------------
  |  |  169|     14|  {                                                                          \
  |  |  170|     14|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  171|     14|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|     14|  }
  ------------------
  195|     14|  declare_string("DEX_FILE_MAGIC_036");
  ------------------
  |  |  169|     14|  {                                                                          \
  |  |  170|     14|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  171|     14|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|     14|  }
  ------------------
  196|     14|  declare_string("DEX_FILE_MAGIC_037");
  ------------------
  |  |  169|     14|  {                                                                          \
  |  |  170|     14|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  171|     14|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|     14|  }
  ------------------
  197|     14|  declare_string("DEX_FILE_MAGIC_038");
  ------------------
  |  |  169|     14|  {                                                                          \
  |  |  170|     14|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  171|     14|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|     14|  }
  ------------------
  198|     14|  declare_string("DEX_FILE_MAGIC_039");
  ------------------
  |  |  169|     14|  {                                                                          \
  |  |  170|     14|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  171|     14|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|     14|  }
  ------------------
  199|       |
  200|     14|  declare_integer("ENDIAN_CONSTANT");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  201|     14|  declare_integer("REVERSE_ENDIAN_CONSTANT");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  202|     14|  declare_integer("NO_INDEX");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  203|     14|  declare_integer("ACC_PUBLIC");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  204|     14|  declare_integer("ACC_PRIVATE");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  205|     14|  declare_integer("ACC_PROTECTED");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  206|     14|  declare_integer("ACC_STATIC");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  207|     14|  declare_integer("ACC_FINAL");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  208|     14|  declare_integer("ACC_SYNCHRONIZED");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  209|     14|  declare_integer("ACC_VOLATILE");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  210|     14|  declare_integer("ACC_BRIDGE");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  211|     14|  declare_integer("ACC_TRANSIENT");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  212|     14|  declare_integer("ACC_VARARGS");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  213|     14|  declare_integer("ACC_NATIVE");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  214|     14|  declare_integer("ACC_INTERFACE");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  215|     14|  declare_integer("ACC_ABSTRACT");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  216|     14|  declare_integer("ACC_STRICT");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  217|     14|  declare_integer("ACC_SYNTHETIC");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  218|     14|  declare_integer("ACC_ANNOTATION");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  219|     14|  declare_integer("ACC_ENUM");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  220|     14|  declare_integer("ACC_CONSTRUCTOR");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  221|     14|  declare_integer("ACC_DECLARED_SYNCHRONIZED");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  222|       |
  223|     14|  declare_integer("TYPE_HEADER_ITEM");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  224|     14|  declare_integer("TYPE_STRING_ID_ITEM");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  225|     14|  declare_integer("TYPE_TYPE_ID_ITEM");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  226|     14|  declare_integer("TYPE_PROTO_ID_ITEM");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  227|     14|  declare_integer("TYPE_FIELD_ID_ITEM");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  228|     14|  declare_integer("TYPE_METHOD_ID_ITEM");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  229|     14|  declare_integer("TYPE_CLASS_DEF_ITEM");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  230|     14|  declare_integer("TYPE_CALL_SITE_ID_ITEM");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  231|     14|  declare_integer("TYPE_METHOD_HANDLE_ITEM");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  232|     14|  declare_integer("TYPE_MAP_LIST");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  233|     14|  declare_integer("TYPE_TYPE_LIST");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  234|     14|  declare_integer("TYPE_ANNOTATION_SET_REF_LIST");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  235|     14|  declare_integer("TYPE_ANNOTATION_SET_ITEM");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  236|     14|  declare_integer("TYPE_CLASS_DATA_ITEM");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  237|     14|  declare_integer("TYPE_CODE_ITEM");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  238|     14|  declare_integer("TYPE_STRING_DATA_ITEM");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  239|     14|  declare_integer("TYPE_DEBUG_INFO_ITEM");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  240|     14|  declare_integer("TYPE_ANNOTATION_ITEM");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  241|     14|  declare_integer("TYPE_ENCODED_ARRAY_ITEM");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  242|     14|  declare_integer("TYPE_ANNOTATIONS_DIRECTORY_ITEM");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  243|       |
  244|     28|  begin_struct("header")
  ------------------
  |  |   69|     14|  {                                                                  \
  |  |   70|     14|    YR_OBJECT* structure;                                            \
  |  |   71|     14|    FAIL_ON_ERROR(yr_object_create(                                  \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |   72|     14|        OBJECT_TYPE_STRUCTURE, name, stack[stack_top], &structure)); \
  |  |   73|     14|    assertf(                                                         \
  |  |  ------------------
  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   74|     14|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,            \
  |  |   75|     14|        "too many nested structures");                               \
  |  |   76|     14|    stack[++stack_top] = structure;                                  \
  |  |   77|     14|  }
  ------------------
  245|     14|    declare_string("magic");
  ------------------
  |  |  169|     14|  {                                                                          \
  |  |  170|     14|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  171|     14|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|     14|  }
  ------------------
  246|     14|    declare_integer("checksum");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  247|     14|    declare_string("signature");
  ------------------
  |  |  169|     14|  {                                                                          \
  |  |  170|     14|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  171|     14|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|     14|  }
  ------------------
  248|     14|    declare_integer("file_size");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  249|     14|    declare_integer("header_size");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  250|     14|    declare_integer("endian_tag");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  251|     14|    declare_integer("link_size");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  252|     14|    declare_integer("link_offset");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  253|     14|    declare_integer("map_offset");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  254|     14|    declare_integer("string_ids_size");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  255|     14|    declare_integer("string_ids_offset");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  256|     14|    declare_integer("type_ids_size");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  257|     14|    declare_integer("type_ids_offset");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  258|     14|    declare_integer("proto_ids_size");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  259|     14|    declare_integer("proto_ids_offset");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  260|     14|    declare_integer("field_ids_size");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  261|     14|    declare_integer("field_ids_offset");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  262|     14|    declare_integer("method_ids_size");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  263|     14|    declare_integer("method_ids_offset");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  264|     14|    declare_integer("class_defs_size");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  265|     14|    declare_integer("class_defs_offset");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  266|     14|    declare_integer("data_size");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  267|     14|    declare_integer("data_offset");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  268|     28|  end_struct("header")
  ------------------
  |  |  108|     14|  {                                                          \
  |  |  109|     14|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  110|     14|    assertf(                                                 \
  |  |  ------------------
  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |  111|     14|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  112|     14|        "unbalanced begin_struct/end_struct");               \
  |  |  113|     14|    stack_top--;                                             \
  |  |  114|     14|  }
  ------------------
  |  Branch (268:3): [True: 0, False: 14]
  |  Branch (268:3): [True: 14, False: 0]
  ------------------
  269|       |
  270|     42|  begin_struct_array("string_ids")
  ------------------
  |  |   80|     14|  {                                                                           \
  |  |   81|     14|    YR_OBJECT* structure;                                                     \
  |  |   82|     14|    YR_OBJECT* array;                                                         \
  |  |   83|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |   84|     14|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |   86|     14|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|     14|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   88|     14|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|     14|        "too many nested structures");                                        \
  |  |   90|     14|    stack[++stack_top] = structure;                                           \
  |  |   91|     14|  }
  ------------------
  271|     14|    declare_integer("offset");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  272|     14|    declare_integer("size");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  273|     14|    declare_string("value");
  ------------------
  |  |  169|     14|  {                                                                          \
  |  |  170|     14|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  171|     14|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|     14|  }
  ------------------
  274|     28|  end_struct_array("string_ids")
  ------------------
  |  |  117|     14|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|     14|  {                                                          \
  |  |  |  |  109|     14|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|     14|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  |  |  168|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|     14|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|     14|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|     14|    stack_top--;                                             \
  |  |  |  |  114|     14|  }
  |  |  ------------------
  |  |  118|     14|  (name)
  ------------------
  |  Branch (274:3): [True: 0, False: 14]
  |  Branch (274:3): [True: 14, False: 0]
  ------------------
  275|       |
  276|     42|  begin_struct_array("type_ids")
  ------------------
  |  |   80|     14|  {                                                                           \
  |  |   81|     14|    YR_OBJECT* structure;                                                     \
  |  |   82|     14|    YR_OBJECT* array;                                                         \
  |  |   83|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |   84|     14|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |   86|     14|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|     14|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   88|     14|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|     14|        "too many nested structures");                                        \
  |  |   90|     14|    stack[++stack_top] = structure;                                           \
  |  |   91|     14|  }
  ------------------
  277|     14|    declare_integer("descriptor_idx");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  278|     28|  end_struct_array("type_ids")
  ------------------
  |  |  117|     14|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|     14|  {                                                          \
  |  |  |  |  109|     14|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|     14|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  |  |  168|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|     14|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|     14|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|     14|    stack_top--;                                             \
  |  |  |  |  114|     14|  }
  |  |  ------------------
  |  |  118|     14|  (name)
  ------------------
  |  Branch (278:3): [True: 0, False: 14]
  |  Branch (278:3): [True: 14, False: 0]
  ------------------
  279|       |
  280|     42|  begin_struct_array("proto_ids")
  ------------------
  |  |   80|     14|  {                                                                           \
  |  |   81|     14|    YR_OBJECT* structure;                                                     \
  |  |   82|     14|    YR_OBJECT* array;                                                         \
  |  |   83|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |   84|     14|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |   86|     14|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|     14|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   88|     14|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|     14|        "too many nested structures");                                        \
  |  |   90|     14|    stack[++stack_top] = structure;                                           \
  |  |   91|     14|  }
  ------------------
  281|     14|    declare_integer("shorty_idx");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  282|     14|    declare_integer("return_type_idx");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  283|     14|    declare_integer("parameters_offset");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  284|     28|  end_struct_array("proto_ids")
  ------------------
  |  |  117|     14|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|     14|  {                                                          \
  |  |  |  |  109|     14|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|     14|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  |  |  168|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|     14|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|     14|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|     14|    stack_top--;                                             \
  |  |  |  |  114|     14|  }
  |  |  ------------------
  |  |  118|     14|  (name)
  ------------------
  |  Branch (284:3): [True: 0, False: 14]
  |  Branch (284:3): [True: 14, False: 0]
  ------------------
  285|       |
  286|     42|  begin_struct_array("field_ids")
  ------------------
  |  |   80|     14|  {                                                                           \
  |  |   81|     14|    YR_OBJECT* structure;                                                     \
  |  |   82|     14|    YR_OBJECT* array;                                                         \
  |  |   83|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |   84|     14|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |   86|     14|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|     14|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   88|     14|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|     14|        "too many nested structures");                                        \
  |  |   90|     14|    stack[++stack_top] = structure;                                           \
  |  |   91|     14|  }
  ------------------
  287|     14|    declare_integer("class_idx");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  288|     14|    declare_integer("type_idx");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  289|     14|    declare_integer("name_idx");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  290|     28|  end_struct_array("field_ids")
  ------------------
  |  |  117|     14|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|     14|  {                                                          \
  |  |  |  |  109|     14|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|     14|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  |  |  168|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|     14|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|     14|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|     14|    stack_top--;                                             \
  |  |  |  |  114|     14|  }
  |  |  ------------------
  |  |  118|     14|  (name)
  ------------------
  |  Branch (290:3): [True: 0, False: 14]
  |  Branch (290:3): [True: 14, False: 0]
  ------------------
  291|       |
  292|     42|  begin_struct_array("method_ids")
  ------------------
  |  |   80|     14|  {                                                                           \
  |  |   81|     14|    YR_OBJECT* structure;                                                     \
  |  |   82|     14|    YR_OBJECT* array;                                                         \
  |  |   83|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |   84|     14|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |   86|     14|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|     14|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   88|     14|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|     14|        "too many nested structures");                                        \
  |  |   90|     14|    stack[++stack_top] = structure;                                           \
  |  |   91|     14|  }
  ------------------
  293|     14|    declare_integer("class_idx");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  294|     14|    declare_integer("proto_idx");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  295|     14|    declare_integer("name_idx");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  296|     28|  end_struct_array("method_ids")
  ------------------
  |  |  117|     14|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|     14|  {                                                          \
  |  |  |  |  109|     14|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|     14|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  |  |  168|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|     14|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|     14|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|     14|    stack_top--;                                             \
  |  |  |  |  114|     14|  }
  |  |  ------------------
  |  |  118|     14|  (name)
  ------------------
  |  Branch (296:3): [True: 0, False: 14]
  |  Branch (296:3): [True: 14, False: 0]
  ------------------
  297|       |
  298|     42|  begin_struct_array("class_defs")
  ------------------
  |  |   80|     14|  {                                                                           \
  |  |   81|     14|    YR_OBJECT* structure;                                                     \
  |  |   82|     14|    YR_OBJECT* array;                                                         \
  |  |   83|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |   84|     14|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |   86|     14|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|     14|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   88|     14|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|     14|        "too many nested structures");                                        \
  |  |   90|     14|    stack[++stack_top] = structure;                                           \
  |  |   91|     14|  }
  ------------------
  299|     14|    declare_integer("class_idx");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  300|     14|    declare_integer("access_flags");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  301|     14|    declare_integer("super_class_idx");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  302|     14|    declare_integer("interfaces_offset");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  303|     14|    declare_integer("source_file_idx");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  304|     14|    declare_integer("annotations_offset");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  305|     14|    declare_integer("class_data_offset");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  306|     14|    declare_integer("static_values_offset");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  307|     28|  end_struct_array("class_defs")
  ------------------
  |  |  117|     14|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|     14|  {                                                          \
  |  |  |  |  109|     14|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|     14|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  |  |  168|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|     14|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|     14|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|     14|    stack_top--;                                             \
  |  |  |  |  114|     14|  }
  |  |  ------------------
  |  |  118|     14|  (name)
  ------------------
  |  Branch (307:3): [True: 0, False: 14]
  |  Branch (307:3): [True: 14, False: 0]
  ------------------
  308|       |
  309|     42|  begin_struct_array("class_data_item")
  ------------------
  |  |   80|     14|  {                                                                           \
  |  |   81|     14|    YR_OBJECT* structure;                                                     \
  |  |   82|     14|    YR_OBJECT* array;                                                         \
  |  |   83|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |   84|     14|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |   86|     14|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|     14|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   88|     14|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|     14|        "too many nested structures");                                        \
  |  |   90|     14|    stack[++stack_top] = structure;                                           \
  |  |   91|     14|  }
  ------------------
  310|     14|    declare_integer("static_fields_size");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  311|     14|    declare_integer("instance_fields_size");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  312|     14|    declare_integer("direct_methods_size");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  313|     14|    declare_integer("virtual_methods_size");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  314|     28|  end_struct_array("class_data_item")
  ------------------
  |  |  117|     14|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|     14|  {                                                          \
  |  |  |  |  109|     14|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|     14|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  |  |  168|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|     14|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|     14|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|     14|    stack_top--;                                             \
  |  |  |  |  114|     14|  }
  |  |  ------------------
  |  |  118|     14|  (name)
  ------------------
  |  Branch (314:3): [True: 0, False: 14]
  |  Branch (314:3): [True: 14, False: 0]
  ------------------
  315|       |
  316|     28|  begin_struct("map_list")
  ------------------
  |  |   69|     14|  {                                                                  \
  |  |   70|     14|    YR_OBJECT* structure;                                            \
  |  |   71|     14|    FAIL_ON_ERROR(yr_object_create(                                  \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |   72|     14|        OBJECT_TYPE_STRUCTURE, name, stack[stack_top], &structure)); \
  |  |   73|     14|    assertf(                                                         \
  |  |  ------------------
  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   74|     14|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,            \
  |  |   75|     14|        "too many nested structures");                               \
  |  |   76|     14|    stack[++stack_top] = structure;                                  \
  |  |   77|     14|  }
  ------------------
  317|     14|    declare_integer("size");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  318|     42|    begin_struct_array("map_item")
  ------------------
  |  |   80|     14|  {                                                                           \
  |  |   81|     14|    YR_OBJECT* structure;                                                     \
  |  |   82|     14|    YR_OBJECT* array;                                                         \
  |  |   83|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |   84|     14|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |   86|     14|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|     14|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   88|     14|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|     14|        "too many nested structures");                                        \
  |  |   90|     14|    stack[++stack_top] = structure;                                           \
  |  |   91|     14|  }
  ------------------
  319|     14|      declare_integer("type");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  320|     14|      declare_integer("unused");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  321|     14|      declare_integer("size");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  322|     14|      declare_integer("offset");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  323|     28|    end_struct_array("map_item");
  ------------------
  |  |  117|     14|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|     14|  {                                                          \
  |  |  |  |  109|     14|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|     14|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  |  |  168|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|     14|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|     14|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|     14|    stack_top--;                                             \
  |  |  |  |  114|     14|  }
  |  |  ------------------
  |  |  118|     14|  (name)
  ------------------
  |  Branch (323:5): [True: 0, False: 14]
  |  Branch (323:5): [True: 14, False: 0]
  ------------------
  324|     28|  end_struct("map_list")
  ------------------
  |  |  108|     14|  {                                                          \
  |  |  109|     14|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  110|     14|    assertf(                                                 \
  |  |  ------------------
  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |  111|     14|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  112|     14|        "unbalanced begin_struct/end_struct");               \
  |  |  113|     14|    stack_top--;                                             \
  |  |  114|     14|  }
  ------------------
  |  Branch (324:3): [True: 0, False: 14]
  |  Branch (324:3): [True: 14, False: 0]
  ------------------
  325|       |
  326|     14|  declare_integer("number_of_fields");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  327|     42|  begin_struct_array("field")
  ------------------
  |  |   80|     14|  {                                                                           \
  |  |   81|     14|    YR_OBJECT* structure;                                                     \
  |  |   82|     14|    YR_OBJECT* array;                                                         \
  |  |   83|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |   84|     14|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |   86|     14|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|     14|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   88|     14|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|     14|        "too many nested structures");                                        \
  |  |   90|     14|    stack[++stack_top] = structure;                                           \
  |  |   91|     14|  }
  ------------------
  328|     14|    declare_string("class_name");
  ------------------
  |  |  169|     14|  {                                                                          \
  |  |  170|     14|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  171|     14|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|     14|  }
  ------------------
  329|     14|    declare_string("name");
  ------------------
  |  |  169|     14|  {                                                                          \
  |  |  170|     14|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  171|     14|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|     14|  }
  ------------------
  330|     14|    declare_string("proto");
  ------------------
  |  |  169|     14|  {                                                                          \
  |  |  170|     14|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  171|     14|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|     14|  }
  ------------------
  331|     14|    declare_integer("static");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  332|     14|    declare_integer("instance");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  333|     14|    declare_integer("field_idx_diff");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  334|     14|    declare_integer("access_flags");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  335|     28|  end_struct_array("field")
  ------------------
  |  |  117|     14|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|     14|  {                                                          \
  |  |  |  |  109|     14|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|     14|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  |  |  168|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|     14|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|     14|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|     14|    stack_top--;                                             \
  |  |  |  |  114|     14|  }
  |  |  ------------------
  |  |  118|     14|  (name)
  ------------------
  |  Branch (335:3): [True: 0, False: 14]
  |  Branch (335:3): [True: 14, False: 0]
  ------------------
  336|       |
  337|     14|  declare_function("has_method", "s", "i", has_method_string);
  ------------------
  |  |  191|     14|  {                                                                   \
  |  |  192|     14|    YR_OBJECT* function;                                              \
  |  |  193|     14|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  194|     14|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     14|  }
  ------------------
  338|     14|  declare_function("has_method", "ss", "i", has_method_and_class_string);
  ------------------
  |  |  191|     14|  {                                                                   \
  |  |  192|     14|    YR_OBJECT* function;                                              \
  |  |  193|     14|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  194|     14|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     14|  }
  ------------------
  339|     14|  declare_function("has_method", "r", "i", has_method_regexp);
  ------------------
  |  |  191|     14|  {                                                                   \
  |  |  192|     14|    YR_OBJECT* function;                                              \
  |  |  193|     14|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  194|     14|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     14|  }
  ------------------
  340|     14|  declare_function("has_method", "rr", "i", has_method_and_class_regexp);
  ------------------
  |  |  191|     14|  {                                                                   \
  |  |  192|     14|    YR_OBJECT* function;                                              \
  |  |  193|     14|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  194|     14|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     14|  }
  ------------------
  341|     14|  declare_function("has_class", "s", "i", has_class_string);
  ------------------
  |  |  191|     14|  {                                                                   \
  |  |  192|     14|    YR_OBJECT* function;                                              \
  |  |  193|     14|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  194|     14|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     14|  }
  ------------------
  342|     14|  declare_function("has_class", "r", "i", has_class_regexp);
  ------------------
  |  |  191|     14|  {                                                                   \
  |  |  192|     14|    YR_OBJECT* function;                                              \
  |  |  193|     14|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  194|     14|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     14|  }
  ------------------
  343|       |
  344|     14|  declare_integer("number_of_methods");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  345|     42|  begin_struct_array("method")
  ------------------
  |  |   80|     14|  {                                                                           \
  |  |   81|     14|    YR_OBJECT* structure;                                                     \
  |  |   82|     14|    YR_OBJECT* array;                                                         \
  |  |   83|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |   84|     14|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |   86|     14|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|     14|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   88|     14|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|     14|        "too many nested structures");                                        \
  |  |   90|     14|    stack[++stack_top] = structure;                                           \
  |  |   91|     14|  }
  ------------------
  346|     14|    declare_string("class_name");
  ------------------
  |  |  169|     14|  {                                                                          \
  |  |  170|     14|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  171|     14|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|     14|  }
  ------------------
  347|     14|    declare_string("name");
  ------------------
  |  |  169|     14|  {                                                                          \
  |  |  170|     14|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  171|     14|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|     14|  }
  ------------------
  348|     14|    declare_string("proto");
  ------------------
  |  |  169|     14|  {                                                                          \
  |  |  170|     14|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  171|     14|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|     14|  }
  ------------------
  349|     14|    declare_integer("direct");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  350|     14|    declare_integer("virtual");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  351|     14|    declare_integer("method_idx_diff");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  352|     14|    declare_integer("access_flags");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  353|     14|    declare_integer("code_off");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  354|       |
  355|     28|    begin_struct("code_item")
  ------------------
  |  |   69|     14|  {                                                                  \
  |  |   70|     14|    YR_OBJECT* structure;                                            \
  |  |   71|     14|    FAIL_ON_ERROR(yr_object_create(                                  \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |   72|     14|        OBJECT_TYPE_STRUCTURE, name, stack[stack_top], &structure)); \
  |  |   73|     14|    assertf(                                                         \
  |  |  ------------------
  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   74|     14|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,            \
  |  |   75|     14|        "too many nested structures");                               \
  |  |   76|     14|    stack[++stack_top] = structure;                                  \
  |  |   77|     14|  }
  ------------------
  356|     14|      declare_integer("registers_size");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  357|     14|      declare_integer("ins_size");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  358|     14|      declare_integer("outs_size");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  359|     14|      declare_integer("tries_size");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  360|     14|      declare_integer("debug_info_off");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  361|     14|      declare_integer("insns_size");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
  362|     14|      declare_string("insns");
  ------------------
  |  |  169|     14|  {                                                                          \
  |  |  170|     14|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  171|     14|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|     14|  }
  ------------------
  363|     28|    end_struct("code_item")
  ------------------
  |  |  108|     14|  {                                                          \
  |  |  109|     14|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  110|     14|    assertf(                                                 \
  |  |  ------------------
  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |  111|     14|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  112|     14|        "unbalanced begin_struct/end_struct");               \
  |  |  113|     14|    stack_top--;                                             \
  |  |  114|     14|  }
  ------------------
  |  Branch (363:5): [True: 0, False: 14]
  |  Branch (363:5): [True: 14, False: 0]
  ------------------
  364|     28|  end_struct_array("method")
  ------------------
  |  |  117|     14|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|     14|  {                                                          \
  |  |  |  |  109|     14|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|     14|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  |  |  168|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|     14|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|     14|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|     14|    stack_top--;                                             \
  |  |  |  |  114|     14|  }
  |  |  ------------------
  |  |  118|     14|  (name)
  ------------------
  |  Branch (364:3): [True: 0, False: 14]
  |  Branch (364:3): [True: 14, False: 0]
  ------------------
  365|     14|end_declarations
  ------------------
  |  |   65|     14|  return ERROR_SUCCESS;  \
  |  |  ------------------
  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |   66|     14|  }
  ------------------
dex__initialize:
 1460|      2|{
 1461|      2|  return ERROR_SUCCESS;
  ------------------
  |  |   40|      2|#define ERROR_SUCCESS 0
  ------------------
 1462|      2|}

dotnet__declarations:
 3385|      4|begin_declarations
  ------------------
  |  |   59|      4|  {                                          \
  |  |   60|      4|    YR_OBJECT* stack[64];                    \
  |  |   61|      4|    int stack_top = 0;                       \
  |  |   62|      4|    stack[stack_top] = module;
  ------------------
 3386|      4|  declare_integer("is_dotnet");
  ------------------
  |  |  125|      4|  {                                                                           \
  |  |  126|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  127|      4|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|      4|  }
  ------------------
 3387|      4|  declare_string("version");
  ------------------
  |  |  169|      4|  {                                                                          \
  |  |  170|      4|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  171|      4|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|      4|  }
  ------------------
 3388|      4|  declare_string("module_name");
  ------------------
  |  |  169|      4|  {                                                                          \
  |  |  170|      4|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  171|      4|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|      4|  }
  ------------------
 3389|       |
 3390|     12|  begin_struct_array("streams")
  ------------------
  |  |   80|      4|  {                                                                           \
  |  |   81|      4|    YR_OBJECT* structure;                                                     \
  |  |   82|      4|    YR_OBJECT* array;                                                         \
  |  |   83|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |   84|      4|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |   86|      4|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|      4|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  164|      4|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  165|      4|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   88|      4|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|      4|        "too many nested structures");                                        \
  |  |   90|      4|    stack[++stack_top] = structure;                                           \
  |  |   91|      4|  }
  ------------------
 3391|      4|    declare_string("name");
  ------------------
  |  |  169|      4|  {                                                                          \
  |  |  170|      4|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  171|      4|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|      4|  }
  ------------------
 3392|      4|    declare_integer("offset");
  ------------------
  |  |  125|      4|  {                                                                           \
  |  |  126|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  127|      4|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|      4|  }
  ------------------
 3393|      4|    declare_integer("size");
  ------------------
  |  |  125|      4|  {                                                                           \
  |  |  126|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  127|      4|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|      4|  }
  ------------------
 3394|      8|  end_struct_array("streams")
  ------------------
  |  |  117|      4|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|      4|  {                                                          \
  |  |  |  |  109|      4|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|      4|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|      4|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (164:7): [True: 0, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  165|      4|  {                                                                         \
  |  |  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  |  |  168|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|      4|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|      4|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|      4|    stack_top--;                                             \
  |  |  |  |  114|      4|  }
  |  |  ------------------
  |  |  118|      4|  (name)
  ------------------
  |  Branch (3394:3): [True: 0, False: 4]
  |  Branch (3394:3): [True: 4, False: 0]
  ------------------
 3395|       |
 3396|      4|  declare_integer("number_of_streams");
  ------------------
  |  |  125|      4|  {                                                                           \
  |  |  126|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  127|      4|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|      4|  }
  ------------------
 3397|       |
 3398|      8|  declare_string_array("guids");
  ------------------
  |  |  175|      4|  {                                                                           \
  |  |  176|      4|    YR_OBJECT* array;                                                         \
  |  |  177|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  178|      4|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |  179|      4|    FAIL_ON_ERROR(yr_object_create(OBJECT_TYPE_STRING, name, array, NULL));   \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  180|      4|  }
  ------------------
 3399|      8|  declare_integer("number_of_guids");
  ------------------
  |  |  125|      4|  {                                                                           \
  |  |  126|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  127|      4|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|      4|  }
  ------------------
 3400|       |
 3401|     12|  begin_struct_array("resources")
  ------------------
  |  |   80|      4|  {                                                                           \
  |  |   81|      4|    YR_OBJECT* structure;                                                     \
  |  |   82|      4|    YR_OBJECT* array;                                                         \
  |  |   83|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |   84|      4|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |   86|      4|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|      4|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  164|      4|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  165|      4|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   88|      4|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|      4|        "too many nested structures");                                        \
  |  |   90|      4|    stack[++stack_top] = structure;                                           \
  |  |   91|      4|  }
  ------------------
 3402|      4|    declare_integer("offset");
  ------------------
  |  |  125|      4|  {                                                                           \
  |  |  126|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  127|      4|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|      4|  }
  ------------------
 3403|      4|    declare_integer("length");
  ------------------
  |  |  125|      4|  {                                                                           \
  |  |  126|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  127|      4|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|      4|  }
  ------------------
 3404|      4|    declare_string("name");
  ------------------
  |  |  169|      4|  {                                                                          \
  |  |  170|      4|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  171|      4|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|      4|  }
  ------------------
 3405|      8|  end_struct_array("resources")
  ------------------
  |  |  117|      4|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|      4|  {                                                          \
  |  |  |  |  109|      4|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|      4|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|      4|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (164:7): [True: 0, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  165|      4|  {                                                                         \
  |  |  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  |  |  168|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|      4|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|      4|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|      4|    stack_top--;                                             \
  |  |  |  |  114|      4|  }
  |  |  ------------------
  |  |  118|      4|  (name)
  ------------------
  |  Branch (3405:3): [True: 0, False: 4]
  |  Branch (3405:3): [True: 4, False: 0]
  ------------------
 3406|       |
 3407|      4|  declare_integer("number_of_resources");
  ------------------
  |  |  125|      4|  {                                                                           \
  |  |  126|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  127|      4|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|      4|  }
  ------------------
 3408|       |
 3409|     12|  begin_struct_array("classes")
  ------------------
  |  |   80|      4|  {                                                                           \
  |  |   81|      4|    YR_OBJECT* structure;                                                     \
  |  |   82|      4|    YR_OBJECT* array;                                                         \
  |  |   83|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |   84|      4|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |   86|      4|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|      4|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  164|      4|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  165|      4|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   88|      4|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|      4|        "too many nested structures");                                        \
  |  |   90|      4|    stack[++stack_top] = structure;                                           \
  |  |   91|      4|  }
  ------------------
 3410|      4|    declare_string("fullname");
  ------------------
  |  |  169|      4|  {                                                                          \
  |  |  170|      4|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  171|      4|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|      4|  }
  ------------------
 3411|      4|    declare_string("name");
  ------------------
  |  |  169|      4|  {                                                                          \
  |  |  170|      4|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  171|      4|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|      4|  }
  ------------------
 3412|      4|    declare_string("namespace");
  ------------------
  |  |  169|      4|  {                                                                          \
  |  |  170|      4|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  171|      4|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|      4|  }
  ------------------
 3413|      4|    declare_string("visibility");
  ------------------
  |  |  169|      4|  {                                                                          \
  |  |  170|      4|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  171|      4|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|      4|  }
  ------------------
 3414|      4|    declare_string("type");
  ------------------
  |  |  169|      4|  {                                                                          \
  |  |  170|      4|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  171|      4|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|      4|  }
  ------------------
 3415|      4|    declare_integer("abstract");
  ------------------
  |  |  125|      4|  {                                                                           \
  |  |  126|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  127|      4|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|      4|  }
  ------------------
 3416|      4|    declare_integer("sealed");
  ------------------
  |  |  125|      4|  {                                                                           \
  |  |  126|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  127|      4|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|      4|  }
  ------------------
 3417|       |
 3418|      4|    declare_integer("number_of_generic_parameters");
  ------------------
  |  |  125|      4|  {                                                                           \
  |  |  126|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  127|      4|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|      4|  }
  ------------------
 3419|      8|    declare_string_array("generic_parameters");
  ------------------
  |  |  175|      4|  {                                                                           \
  |  |  176|      4|    YR_OBJECT* array;                                                         \
  |  |  177|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  178|      4|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |  179|      4|    FAIL_ON_ERROR(yr_object_create(OBJECT_TYPE_STRING, name, array, NULL));   \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  180|      4|  }
  ------------------
 3420|       |
 3421|      8|    declare_integer("number_of_base_types");
  ------------------
  |  |  125|      4|  {                                                                           \
  |  |  126|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  127|      4|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|      4|  }
  ------------------
 3422|      8|    declare_string_array("base_types");
  ------------------
  |  |  175|      4|  {                                                                           \
  |  |  176|      4|    YR_OBJECT* array;                                                         \
  |  |  177|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  178|      4|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |  179|      4|    FAIL_ON_ERROR(yr_object_create(OBJECT_TYPE_STRING, name, array, NULL));   \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  180|      4|  }
  ------------------
 3423|       |
 3424|      8|    declare_integer("number_of_methods");
  ------------------
  |  |  125|      4|  {                                                                           \
  |  |  126|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  127|      4|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|      4|  }
  ------------------
 3425|     12|    begin_struct_array("methods")
  ------------------
  |  |   80|      4|  {                                                                           \
  |  |   81|      4|    YR_OBJECT* structure;                                                     \
  |  |   82|      4|    YR_OBJECT* array;                                                         \
  |  |   83|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |   84|      4|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |   86|      4|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|      4|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  164|      4|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  165|      4|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   88|      4|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|      4|        "too many nested structures");                                        \
  |  |   90|      4|    stack[++stack_top] = structure;                                           \
  |  |   91|      4|  }
  ------------------
 3426|      8|      declare_string_array("generic_parameters");
  ------------------
  |  |  175|      4|  {                                                                           \
  |  |  176|      4|    YR_OBJECT* array;                                                         \
  |  |  177|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  178|      4|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |  179|      4|    FAIL_ON_ERROR(yr_object_create(OBJECT_TYPE_STRING, name, array, NULL));   \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  180|      4|  }
  ------------------
 3427|       |
 3428|      8|      declare_integer("number_of_generic_parameters");
  ------------------
  |  |  125|      4|  {                                                                           \
  |  |  126|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  127|      4|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|      4|  }
  ------------------
 3429|       |
 3430|     12|      begin_struct_array("parameters")
  ------------------
  |  |   80|      4|  {                                                                           \
  |  |   81|      4|    YR_OBJECT* structure;                                                     \
  |  |   82|      4|    YR_OBJECT* array;                                                         \
  |  |   83|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |   84|      4|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |   86|      4|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|      4|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  164|      4|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  165|      4|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   88|      4|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|      4|        "too many nested structures");                                        \
  |  |   90|      4|    stack[++stack_top] = structure;                                           \
  |  |   91|      4|  }
  ------------------
 3431|      4|        declare_string("name");
  ------------------
  |  |  169|      4|  {                                                                          \
  |  |  170|      4|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  171|      4|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|      4|  }
  ------------------
 3432|      4|        declare_string("type");
  ------------------
  |  |  169|      4|  {                                                                          \
  |  |  170|      4|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  171|      4|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|      4|  }
  ------------------
 3433|      8|      end_struct_array("parameters")
  ------------------
  |  |  117|      4|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|      4|  {                                                          \
  |  |  |  |  109|      4|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|      4|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|      4|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (164:7): [True: 0, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  165|      4|  {                                                                         \
  |  |  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  |  |  168|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|      4|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|      4|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|      4|    stack_top--;                                             \
  |  |  |  |  114|      4|  }
  |  |  ------------------
  |  |  118|      4|  (name)
  ------------------
  |  Branch (3433:7): [True: 0, False: 4]
  |  Branch (3433:7): [True: 4, False: 0]
  ------------------
 3434|       |
 3435|      4|      declare_integer("number_of_parameters");
  ------------------
  |  |  125|      4|  {                                                                           \
  |  |  126|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  127|      4|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|      4|  }
  ------------------
 3436|       |
 3437|      4|      declare_string("return_type");
  ------------------
  |  |  169|      4|  {                                                                          \
  |  |  170|      4|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  171|      4|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|      4|  }
  ------------------
 3438|      4|      declare_integer("abstract");
  ------------------
  |  |  125|      4|  {                                                                           \
  |  |  126|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  127|      4|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|      4|  }
  ------------------
 3439|      4|      declare_integer("final");
  ------------------
  |  |  125|      4|  {                                                                           \
  |  |  126|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  127|      4|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|      4|  }
  ------------------
 3440|      4|      declare_integer("virtual");
  ------------------
  |  |  125|      4|  {                                                                           \
  |  |  126|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  127|      4|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|      4|  }
  ------------------
 3441|      4|      declare_integer("static");
  ------------------
  |  |  125|      4|  {                                                                           \
  |  |  126|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  127|      4|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|      4|  }
  ------------------
 3442|      4|      declare_string("visibility");
  ------------------
  |  |  169|      4|  {                                                                          \
  |  |  170|      4|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  171|      4|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|      4|  }
  ------------------
 3443|      4|      declare_string("name");
  ------------------
  |  |  169|      4|  {                                                                          \
  |  |  170|      4|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  171|      4|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|      4|  }
  ------------------
 3444|      8|    end_struct_array("methods")
  ------------------
  |  |  117|      4|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|      4|  {                                                          \
  |  |  |  |  109|      4|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|      4|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|      4|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (164:7): [True: 0, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  165|      4|  {                                                                         \
  |  |  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  |  |  168|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|      4|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|      4|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|      4|    stack_top--;                                             \
  |  |  |  |  114|      4|  }
  |  |  ------------------
  |  |  118|      4|  (name)
  ------------------
  |  Branch (3444:5): [True: 0, False: 4]
  |  Branch (3444:5): [True: 4, False: 0]
  ------------------
 3445|       |
 3446|      8|  end_struct_array("classes")
  ------------------
  |  |  117|      4|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|      4|  {                                                          \
  |  |  |  |  109|      4|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|      4|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|      4|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (164:7): [True: 0, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  165|      4|  {                                                                         \
  |  |  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  |  |  168|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|      4|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|      4|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|      4|    stack_top--;                                             \
  |  |  |  |  114|      4|  }
  |  |  ------------------
  |  |  118|      4|  (name)
  ------------------
  |  Branch (3446:3): [True: 0, False: 4]
  |  Branch (3446:3): [True: 4, False: 0]
  ------------------
 3447|       |
 3448|      4|  declare_integer("number_of_classes");
  ------------------
  |  |  125|      4|  {                                                                           \
  |  |  126|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  127|      4|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|      4|  }
  ------------------
 3449|       |
 3450|     12|  begin_struct_array("assembly_refs")
  ------------------
  |  |   80|      4|  {                                                                           \
  |  |   81|      4|    YR_OBJECT* structure;                                                     \
  |  |   82|      4|    YR_OBJECT* array;                                                         \
  |  |   83|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |   84|      4|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |   86|      4|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|      4|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  164|      4|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  165|      4|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   88|      4|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|      4|        "too many nested structures");                                        \
  |  |   90|      4|    stack[++stack_top] = structure;                                           \
  |  |   91|      4|  }
  ------------------
 3451|      8|    begin_struct("version")
  ------------------
  |  |   69|      4|  {                                                                  \
  |  |   70|      4|    YR_OBJECT* structure;                                            \
  |  |   71|      4|    FAIL_ON_ERROR(yr_object_create(                                  \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |   72|      4|        OBJECT_TYPE_STRUCTURE, name, stack[stack_top], &structure)); \
  |  |   73|      4|    assertf(                                                         \
  |  |  ------------------
  |  |  |  |  164|      4|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  165|      4|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   74|      4|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,            \
  |  |   75|      4|        "too many nested structures");                               \
  |  |   76|      4|    stack[++stack_top] = structure;                                  \
  |  |   77|      4|  }
  ------------------
 3452|      4|      declare_integer("major");
  ------------------
  |  |  125|      4|  {                                                                           \
  |  |  126|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  127|      4|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|      4|  }
  ------------------
 3453|      4|      declare_integer("minor");
  ------------------
  |  |  125|      4|  {                                                                           \
  |  |  126|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  127|      4|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|      4|  }
  ------------------
 3454|      4|      declare_integer("build_number");
  ------------------
  |  |  125|      4|  {                                                                           \
  |  |  126|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  127|      4|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|      4|  }
  ------------------
 3455|      4|      declare_integer("revision_number");
  ------------------
  |  |  125|      4|  {                                                                           \
  |  |  126|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  127|      4|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|      4|  }
  ------------------
 3456|      8|    end_struct("version")
  ------------------
  |  |  108|      4|  {                                                          \
  |  |  109|      4|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  110|      4|    assertf(                                                 \
  |  |  ------------------
  |  |  |  |  164|      4|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  165|      4|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |  111|      4|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  112|      4|        "unbalanced begin_struct/end_struct");               \
  |  |  113|      4|    stack_top--;                                             \
  |  |  114|      4|  }
  ------------------
  |  Branch (3456:5): [True: 0, False: 4]
  |  Branch (3456:5): [True: 4, False: 0]
  ------------------
 3457|      4|    declare_string("public_key_or_token");
  ------------------
  |  |  169|      4|  {                                                                          \
  |  |  170|      4|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  171|      4|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|      4|  }
  ------------------
 3458|      4|    declare_string("name");
  ------------------
  |  |  169|      4|  {                                                                          \
  |  |  170|      4|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  171|      4|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|      4|  }
  ------------------
 3459|      8|  end_struct_array("assembly_refs")
  ------------------
  |  |  117|      4|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|      4|  {                                                          \
  |  |  |  |  109|      4|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|      4|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|      4|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (164:7): [True: 0, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  165|      4|  {                                                                         \
  |  |  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  |  |  168|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|      4|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|      4|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|      4|    stack_top--;                                             \
  |  |  |  |  114|      4|  }
  |  |  ------------------
  |  |  118|      4|  (name)
  ------------------
  |  Branch (3459:3): [True: 0, False: 4]
  |  Branch (3459:3): [True: 4, False: 0]
  ------------------
 3460|       |
 3461|      4|  declare_integer("number_of_assembly_refs");
  ------------------
  |  |  125|      4|  {                                                                           \
  |  |  126|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  127|      4|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|      4|  }
  ------------------
 3462|       |
 3463|      8|  begin_struct("assembly")
  ------------------
  |  |   69|      4|  {                                                                  \
  |  |   70|      4|    YR_OBJECT* structure;                                            \
  |  |   71|      4|    FAIL_ON_ERROR(yr_object_create(                                  \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |   72|      4|        OBJECT_TYPE_STRUCTURE, name, stack[stack_top], &structure)); \
  |  |   73|      4|    assertf(                                                         \
  |  |  ------------------
  |  |  |  |  164|      4|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  165|      4|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   74|      4|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,            \
  |  |   75|      4|        "too many nested structures");                               \
  |  |   76|      4|    stack[++stack_top] = structure;                                  \
  |  |   77|      4|  }
  ------------------
 3464|      8|    begin_struct("version")
  ------------------
  |  |   69|      4|  {                                                                  \
  |  |   70|      4|    YR_OBJECT* structure;                                            \
  |  |   71|      4|    FAIL_ON_ERROR(yr_object_create(                                  \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |   72|      4|        OBJECT_TYPE_STRUCTURE, name, stack[stack_top], &structure)); \
  |  |   73|      4|    assertf(                                                         \
  |  |  ------------------
  |  |  |  |  164|      4|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  165|      4|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   74|      4|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,            \
  |  |   75|      4|        "too many nested structures");                               \
  |  |   76|      4|    stack[++stack_top] = structure;                                  \
  |  |   77|      4|  }
  ------------------
 3465|      4|      declare_integer("major");
  ------------------
  |  |  125|      4|  {                                                                           \
  |  |  126|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  127|      4|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|      4|  }
  ------------------
 3466|      4|      declare_integer("minor");
  ------------------
  |  |  125|      4|  {                                                                           \
  |  |  126|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  127|      4|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|      4|  }
  ------------------
 3467|      4|      declare_integer("build_number");
  ------------------
  |  |  125|      4|  {                                                                           \
  |  |  126|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  127|      4|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|      4|  }
  ------------------
 3468|      4|      declare_integer("revision_number");
  ------------------
  |  |  125|      4|  {                                                                           \
  |  |  126|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  127|      4|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|      4|  }
  ------------------
 3469|      8|    end_struct("version")
  ------------------
  |  |  108|      4|  {                                                          \
  |  |  109|      4|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  110|      4|    assertf(                                                 \
  |  |  ------------------
  |  |  |  |  164|      4|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  165|      4|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |  111|      4|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  112|      4|        "unbalanced begin_struct/end_struct");               \
  |  |  113|      4|    stack_top--;                                             \
  |  |  114|      4|  }
  ------------------
  |  Branch (3469:5): [True: 0, False: 4]
  |  Branch (3469:5): [True: 4, False: 0]
  ------------------
 3470|      4|    declare_string("name");
  ------------------
  |  |  169|      4|  {                                                                          \
  |  |  170|      4|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  171|      4|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|      4|  }
  ------------------
 3471|      4|    declare_string("culture");
  ------------------
  |  |  169|      4|  {                                                                          \
  |  |  170|      4|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  171|      4|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|      4|  }
  ------------------
 3472|      8|  end_struct("assembly")
  ------------------
  |  |  108|      4|  {                                                          \
  |  |  109|      4|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  110|      4|    assertf(                                                 \
  |  |  ------------------
  |  |  |  |  164|      4|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  165|      4|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |  111|      4|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  112|      4|        "unbalanced begin_struct/end_struct");               \
  |  |  113|      4|    stack_top--;                                             \
  |  |  114|      4|  }
  ------------------
  |  Branch (3472:3): [True: 0, False: 4]
  |  Branch (3472:3): [True: 4, False: 0]
  ------------------
 3473|       |
 3474|      8|  declare_string_array("modulerefs");
  ------------------
  |  |  175|      4|  {                                                                           \
  |  |  176|      4|    YR_OBJECT* array;                                                         \
  |  |  177|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  178|      4|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |  179|      4|    FAIL_ON_ERROR(yr_object_create(OBJECT_TYPE_STRING, name, array, NULL));   \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  180|      4|  }
  ------------------
 3475|      8|  declare_integer("number_of_modulerefs");
  ------------------
  |  |  125|      4|  {                                                                           \
  |  |  126|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  127|      4|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|      4|  }
  ------------------
 3476|      8|  declare_string_array("user_strings");
  ------------------
  |  |  175|      4|  {                                                                           \
  |  |  176|      4|    YR_OBJECT* array;                                                         \
  |  |  177|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  178|      4|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |  179|      4|    FAIL_ON_ERROR(yr_object_create(OBJECT_TYPE_STRING, name, array, NULL));   \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  180|      4|  }
  ------------------
 3477|      8|  declare_integer("number_of_user_strings");
  ------------------
  |  |  125|      4|  {                                                                           \
  |  |  126|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  127|      4|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|      4|  }
  ------------------
 3478|      4|  declare_string("typelib");
  ------------------
  |  |  169|      4|  {                                                                          \
  |  |  170|      4|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  171|      4|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|      4|  }
  ------------------
 3479|      8|  declare_string_array("constants");
  ------------------
  |  |  175|      4|  {                                                                           \
  |  |  176|      4|    YR_OBJECT* array;                                                         \
  |  |  177|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  178|      4|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |  179|      4|    FAIL_ON_ERROR(yr_object_create(OBJECT_TYPE_STRING, name, array, NULL));   \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  180|      4|  }
  ------------------
 3480|      8|  declare_integer("number_of_constants");
  ------------------
  |  |  125|      4|  {                                                                           \
  |  |  126|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  127|      4|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|      4|  }
  ------------------
 3481|       |
 3482|      8|  declare_integer_array("field_offsets");
  ------------------
  |  |  131|      4|  {                                                                           \
  |  |  132|      4|    YR_OBJECT* array;                                                         \
  |  |  133|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  134|      4|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |  135|      4|    FAIL_ON_ERROR(yr_object_create(OBJECT_TYPE_INTEGER, name, array, NULL));  \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  136|      4|  }
  ------------------
 3483|      8|  declare_integer("number_of_field_offsets");
  ------------------
  |  |  125|      4|  {                                                                           \
  |  |  126|      4|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|      4|  {                               \
  |  |  |  |  135|      4|    int __error = (x);            \
  |  |  |  |  136|      4|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  |  137|      4|      return __error;             \
  |  |  |  |  138|      4|  }
  |  |  ------------------
  |  |  127|      4|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|      4|  }
  ------------------
 3484|      4|end_declarations
  ------------------
  |  |   65|      4|  return ERROR_SUCCESS;  \
  |  |  ------------------
  |  |  |  |   40|      4|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |   66|      4|  }
  ------------------
dotnet__initialize:
 3487|      2|{
 3488|      2|  return ERROR_SUCCESS;
  ------------------
  |  |   40|      2|#define ERROR_SUCCESS 0
  ------------------
 3489|      2|}

elf__declarations:
  842|     10|begin_declarations
  ------------------
  |  |   59|     10|  {                                          \
  |  |   60|     10|    YR_OBJECT* stack[64];                    \
  |  |   61|     10|    int stack_top = 0;                       \
  |  |   62|     10|    stack[stack_top] = module;
  ------------------
  843|     10|  declare_integer("ET_NONE");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  844|     10|  declare_integer("ET_REL");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  845|     10|  declare_integer("ET_EXEC");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  846|     10|  declare_integer("ET_DYN");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  847|     10|  declare_integer("ET_CORE");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  848|       |
  849|     10|  declare_integer("EM_NONE");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  850|     10|  declare_integer("EM_M32");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  851|     10|  declare_integer("EM_SPARC");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  852|     10|  declare_integer("EM_386");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  853|     10|  declare_integer("EM_68K");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  854|     10|  declare_integer("EM_88K");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  855|     10|  declare_integer("EM_860");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  856|     10|  declare_integer("EM_MIPS");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  857|     10|  declare_integer("EM_MIPS_RS3_LE");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  858|     10|  declare_integer("EM_PARISC");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  859|     10|  declare_integer("EM_SPARC32PLUS");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  860|     10|  declare_integer("EM_PPC");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  861|     10|  declare_integer("EM_PPC64");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  862|     10|  declare_integer("EM_S390");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  863|     10|  declare_integer("EM_MCORE");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  864|     10|  declare_integer("EM_RCE");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  865|     10|  declare_integer("EM_ARM");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  866|     10|  declare_integer("EM_SH");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  867|     10|  declare_integer("EM_SPARCV9");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  868|     10|  declare_integer("EM_X86_64");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  869|     10|  declare_integer("EM_ARC_COMPACT");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  870|     10|  declare_integer("EM_AARCH64");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  871|     10|  declare_integer("EM_BPF");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  872|     10|  declare_integer("EM_LOONGARCH");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  873|       |
  874|     10|  declare_integer("SHT_NULL");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  875|     10|  declare_integer("SHT_PROGBITS");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  876|     10|  declare_integer("SHT_SYMTAB");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  877|     10|  declare_integer("SHT_STRTAB");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  878|     10|  declare_integer("SHT_RELA");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  879|     10|  declare_integer("SHT_HASH");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  880|     10|  declare_integer("SHT_DYNAMIC");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  881|     10|  declare_integer("SHT_NOTE");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  882|     10|  declare_integer("SHT_NOBITS");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  883|     10|  declare_integer("SHT_REL");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  884|     10|  declare_integer("SHT_SHLIB");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  885|     10|  declare_integer("SHT_DYNSYM");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  886|       |
  887|     10|  declare_integer("SHF_WRITE");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  888|     10|  declare_integer("SHF_ALLOC");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  889|     10|  declare_integer("SHF_EXECINSTR");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  890|       |
  891|     10|  declare_integer("type");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  892|     10|  declare_integer("machine");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  893|     10|  declare_integer("entry_point");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  894|       |
  895|     10|  declare_integer("number_of_sections");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  896|     10|  declare_integer("sh_offset");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  897|     10|  declare_integer("sh_entry_size");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  898|       |
  899|     10|  declare_integer("number_of_segments");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  900|     10|  declare_integer("ph_offset");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  901|     10|  declare_integer("ph_entry_size");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  902|       |
  903|     30|  begin_struct_array("sections")
  ------------------
  |  |   80|     10|  {                                                                           \
  |  |   81|     10|    YR_OBJECT* structure;                                                     \
  |  |   82|     10|    YR_OBJECT* array;                                                         \
  |  |   83|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |   84|     10|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |   86|     10|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|     10|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  164|     10|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  165|     10|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   88|     10|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|     10|        "too many nested structures");                                        \
  |  |   90|     10|    stack[++stack_top] = structure;                                           \
  |  |   91|     10|  }
  ------------------
  904|     10|    declare_integer("type");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  905|     10|    declare_integer("flags");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  906|     10|    declare_integer("address");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  907|     10|    declare_string("name");
  ------------------
  |  |  169|     10|  {                                                                          \
  |  |  170|     10|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  171|     10|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|     10|  }
  ------------------
  908|     10|    declare_integer("size");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  909|     10|    declare_integer("offset");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  910|     20|  end_struct_array("sections")
  ------------------
  |  |  117|     10|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|     10|  {                                                          \
  |  |  |  |  109|     10|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|     10|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|     10|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (164:7): [True: 0, False: 10]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  165|     10|  {                                                                         \
  |  |  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  |  |  168|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|     10|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|     10|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|     10|    stack_top--;                                             \
  |  |  |  |  114|     10|  }
  |  |  ------------------
  |  |  118|     10|  (name)
  ------------------
  |  Branch (910:3): [True: 0, False: 10]
  |  Branch (910:3): [True: 10, False: 0]
  ------------------
  911|       |
  912|     10|  declare_integer("PT_NULL");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  913|     10|  declare_integer("PT_LOAD");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  914|     10|  declare_integer("PT_DYNAMIC");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  915|     10|  declare_integer("PT_INTERP");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  916|     10|  declare_integer("PT_NOTE");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  917|     10|  declare_integer("PT_SHLIB");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  918|     10|  declare_integer("PT_PHDR");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  919|     10|  declare_integer("PT_TLS");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  920|     10|  declare_integer("PT_GNU_EH_FRAME");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  921|     10|  declare_integer("PT_GNU_STACK");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  922|       |
  923|     10|  declare_integer("DT_NULL");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  924|     10|  declare_integer("DT_NEEDED");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  925|     10|  declare_integer("DT_PLTRELSZ");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  926|     10|  declare_integer("DT_PLTGOT");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  927|     10|  declare_integer("DT_HASH");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  928|     10|  declare_integer("DT_STRTAB");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  929|     10|  declare_integer("DT_SYMTAB");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  930|     10|  declare_integer("DT_RELA");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  931|     10|  declare_integer("DT_RELASZ");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  932|     10|  declare_integer("DT_RELAENT");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  933|     10|  declare_integer("DT_STRSZ");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  934|     10|  declare_integer("DT_SYMENT");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  935|     10|  declare_integer("DT_INIT");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  936|     10|  declare_integer("DT_FINI");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  937|     10|  declare_integer("DT_SONAME");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  938|     10|  declare_integer("DT_RPATH");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  939|     10|  declare_integer("DT_SYMBOLIC");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  940|     10|  declare_integer("DT_REL");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  941|     10|  declare_integer("DT_RELSZ");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  942|     10|  declare_integer("DT_RELENT");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  943|     10|  declare_integer("DT_PLTREL");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  944|     10|  declare_integer("DT_DEBUG");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  945|     10|  declare_integer("DT_TEXTREL");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  946|     10|  declare_integer("DT_JMPREL");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  947|     10|  declare_integer("DT_BIND_NOW");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  948|     10|  declare_integer("DT_INIT_ARRAY");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  949|     10|  declare_integer("DT_FINI_ARRAY");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  950|     10|  declare_integer("DT_INIT_ARRAYSZ");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  951|     10|  declare_integer("DT_FINI_ARRAYSZ");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  952|     10|  declare_integer("DT_RUNPATH");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  953|     10|  declare_integer("DT_FLAGS");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  954|     10|  declare_integer("DT_ENCODING");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  955|       |
  956|     10|  declare_integer("STT_NOTYPE");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  957|     10|  declare_integer("STT_OBJECT");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  958|     10|  declare_integer("STT_FUNC");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  959|     10|  declare_integer("STT_SECTION");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  960|     10|  declare_integer("STT_FILE");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  961|     10|  declare_integer("STT_COMMON");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  962|     10|  declare_integer("STT_TLS");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  963|       |
  964|     10|  declare_integer("STB_LOCAL");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  965|     10|  declare_integer("STB_GLOBAL");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  966|     10|  declare_integer("STB_WEAK");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  967|       |
  968|     10|  declare_integer("PF_X");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  969|     10|  declare_integer("PF_W");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  970|     10|  declare_integer("PF_R");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  971|       |
  972|     30|  begin_struct_array("segments")
  ------------------
  |  |   80|     10|  {                                                                           \
  |  |   81|     10|    YR_OBJECT* structure;                                                     \
  |  |   82|     10|    YR_OBJECT* array;                                                         \
  |  |   83|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |   84|     10|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |   86|     10|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|     10|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  164|     10|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  165|     10|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   88|     10|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|     10|        "too many nested structures");                                        \
  |  |   90|     10|    stack[++stack_top] = structure;                                           \
  |  |   91|     10|  }
  ------------------
  973|     10|    declare_integer("type");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  974|     10|    declare_integer("flags");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  975|     10|    declare_integer("offset");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  976|     10|    declare_integer("virtual_address");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  977|     10|    declare_integer("physical_address");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  978|     10|    declare_integer("file_size");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  979|     10|    declare_integer("memory_size");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  980|     10|    declare_integer("alignment");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  981|     20|  end_struct_array("segments")
  ------------------
  |  |  117|     10|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|     10|  {                                                          \
  |  |  |  |  109|     10|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|     10|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|     10|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (164:7): [True: 0, False: 10]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  165|     10|  {                                                                         \
  |  |  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  |  |  168|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|     10|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|     10|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|     10|    stack_top--;                                             \
  |  |  |  |  114|     10|  }
  |  |  ------------------
  |  |  118|     10|  (name)
  ------------------
  |  Branch (981:3): [True: 0, False: 10]
  |  Branch (981:3): [True: 10, False: 0]
  ------------------
  982|       |
  983|     10|  declare_integer("dynamic_section_entries");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  984|     30|  begin_struct_array("dynamic")
  ------------------
  |  |   80|     10|  {                                                                           \
  |  |   81|     10|    YR_OBJECT* structure;                                                     \
  |  |   82|     10|    YR_OBJECT* array;                                                         \
  |  |   83|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |   84|     10|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |   86|     10|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|     10|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  164|     10|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  165|     10|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   88|     10|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|     10|        "too many nested structures");                                        \
  |  |   90|     10|    stack[++stack_top] = structure;                                           \
  |  |   91|     10|  }
  ------------------
  985|     10|    declare_integer("type");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  986|     10|    declare_integer("val");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  987|     20|  end_struct_array("dynamic")
  ------------------
  |  |  117|     10|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|     10|  {                                                          \
  |  |  |  |  109|     10|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|     10|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|     10|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (164:7): [True: 0, False: 10]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  165|     10|  {                                                                         \
  |  |  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  |  |  168|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|     10|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|     10|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|     10|    stack_top--;                                             \
  |  |  |  |  114|     10|  }
  |  |  ------------------
  |  |  118|     10|  (name)
  ------------------
  |  Branch (987:3): [True: 0, False: 10]
  |  Branch (987:3): [True: 10, False: 0]
  ------------------
  988|       |
  989|     10|  declare_integer("symtab_entries");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  990|     30|  begin_struct_array("symtab")
  ------------------
  |  |   80|     10|  {                                                                           \
  |  |   81|     10|    YR_OBJECT* structure;                                                     \
  |  |   82|     10|    YR_OBJECT* array;                                                         \
  |  |   83|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |   84|     10|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |   86|     10|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|     10|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  164|     10|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  165|     10|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   88|     10|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|     10|        "too many nested structures");                                        \
  |  |   90|     10|    stack[++stack_top] = structure;                                           \
  |  |   91|     10|  }
  ------------------
  991|     10|    declare_string("name");
  ------------------
  |  |  169|     10|  {                                                                          \
  |  |  170|     10|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  171|     10|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|     10|  }
  ------------------
  992|     10|    declare_integer("value");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  993|     10|    declare_integer("size");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  994|     10|    declare_integer("type");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  995|     10|    declare_integer("bind");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  996|     10|    declare_integer("shndx");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
  997|     20|  end_struct_array("symtab")
  ------------------
  |  |  117|     10|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|     10|  {                                                          \
  |  |  |  |  109|     10|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|     10|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|     10|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (164:7): [True: 0, False: 10]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  165|     10|  {                                                                         \
  |  |  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  |  |  168|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|     10|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|     10|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|     10|    stack_top--;                                             \
  |  |  |  |  114|     10|  }
  |  |  ------------------
  |  |  118|     10|  (name)
  ------------------
  |  Branch (997:3): [True: 0, False: 10]
  |  Branch (997:3): [True: 10, False: 0]
  ------------------
  998|       |
  999|     10|  declare_integer("dynsym_entries");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
 1000|     30|  begin_struct_array("dynsym")
  ------------------
  |  |   80|     10|  {                                                                           \
  |  |   81|     10|    YR_OBJECT* structure;                                                     \
  |  |   82|     10|    YR_OBJECT* array;                                                         \
  |  |   83|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |   84|     10|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |   86|     10|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|     10|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  164|     10|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  165|     10|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   88|     10|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|     10|        "too many nested structures");                                        \
  |  |   90|     10|    stack[++stack_top] = structure;                                           \
  |  |   91|     10|  }
  ------------------
 1001|     10|    declare_string("name");
  ------------------
  |  |  169|     10|  {                                                                          \
  |  |  170|     10|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  171|     10|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|     10|  }
  ------------------
 1002|     10|    declare_integer("value");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
 1003|     10|    declare_integer("size");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
 1004|     10|    declare_integer("type");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
 1005|     10|    declare_integer("bind");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
 1006|     10|    declare_integer("shndx");
  ------------------
  |  |  125|     10|  {                                                                           \
  |  |  126|     10|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  127|     10|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     10|  }
  ------------------
 1007|     20|  end_struct_array("dynsym")
  ------------------
  |  |  117|     10|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|     10|  {                                                          \
  |  |  |  |  109|     10|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|     10|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|     10|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (164:7): [True: 0, False: 10]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  165|     10|  {                                                                         \
  |  |  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  |  |  168|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|     10|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|     10|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|     10|    stack_top--;                                             \
  |  |  |  |  114|     10|  }
  |  |  ------------------
  |  |  118|     10|  (name)
  ------------------
  |  Branch (1007:3): [True: 0, False: 10]
  |  Branch (1007:3): [True: 10, False: 0]
  ------------------
 1008|       |
 1009|     10|  declare_function("telfhash", "", "s", telfhash);
  ------------------
  |  |  191|     10|  {                                                                   \
  |  |  192|     10|    YR_OBJECT* function;                                              \
  |  |  193|     10|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     10|  {                               \
  |  |  |  |  135|     10|    int __error = (x);            \
  |  |  |  |  136|     10|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  |  137|     10|      return __error;             \
  |  |  |  |  138|     10|  }
  |  |  ------------------
  |  |  194|     10|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     10|  }
  ------------------
 1010|       |
 1011|       |#if defined(HAVE_LIBCRYPTO) || defined(HAVE_WINCRYPT_H) || \
 1012|       |    defined(HAVE_COMMONCRYPTO_COMMONCRYPTO_H)
 1013|       |  declare_function("import_md5", "", "s", import_md5);
 1014|       |#endif  // defined(HAVE_LIBCRYPTO) || defined(HAVE_WINCRYPT_H)
 1015|       |
 1016|     10|end_declarations
  ------------------
  |  |   65|     10|  return ERROR_SUCCESS;  \
  |  |  ------------------
  |  |  |  |   40|     10|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |   66|     10|  }
  ------------------
elf__initialize:
 1019|      2|{
 1020|      2|  return ERROR_SUCCESS;
  ------------------
  |  |   40|      2|#define ERROR_SUCCESS 0
  ------------------
 1021|      2|}

macho__declarations:
 1079|     14|begin_declarations
  ------------------
  |  |   59|     14|  {                                          \
  |  |   60|     14|    YR_OBJECT* stack[64];                    \
  |  |   61|     14|    int stack_top = 0;                       \
  |  |   62|     14|    stack[stack_top] = module;
  ------------------
 1080|       |  // Magic constants
 1081|     14|  declare_integer("MH_MAGIC");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1082|     14|  declare_integer("MH_CIGAM");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1083|     14|  declare_integer("MH_MAGIC_64");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1084|     14|  declare_integer("MH_CIGAM_64");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1085|       |
 1086|       |  // Fat magic constants
 1087|     14|  declare_integer("FAT_MAGIC");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1088|     14|  declare_integer("FAT_CIGAM");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1089|     14|  declare_integer("FAT_MAGIC_64");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1090|     14|  declare_integer("FAT_CIGAM_64");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1091|       |
 1092|       |  // 64-bit masks
 1093|     14|  declare_integer("CPU_ARCH_ABI64");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1094|     14|  declare_integer("CPU_SUBTYPE_LIB64");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1095|       |
 1096|       |  // CPU types
 1097|     14|  declare_integer("CPU_TYPE_MC680X0");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1098|     14|  declare_integer("CPU_TYPE_X86");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1099|     14|  declare_integer("CPU_TYPE_I386");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1100|     14|  declare_integer("CPU_TYPE_X86_64");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1101|     14|  declare_integer("CPU_TYPE_MIPS");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1102|     14|  declare_integer("CPU_TYPE_MC98000");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1103|     14|  declare_integer("CPU_TYPE_ARM");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1104|     14|  declare_integer("CPU_TYPE_ARM64");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1105|     14|  declare_integer("CPU_TYPE_MC88000");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1106|     14|  declare_integer("CPU_TYPE_SPARC");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1107|     14|  declare_integer("CPU_TYPE_POWERPC");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1108|     14|  declare_integer("CPU_TYPE_POWERPC64");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1109|       |
 1110|       |  // CPU sub-types
 1111|     14|  declare_integer("CPU_SUBTYPE_INTEL_MODEL_ALL");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1112|     14|  declare_integer("CPU_SUBTYPE_386");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1113|     14|  declare_integer("CPU_SUBTYPE_I386_ALL");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1114|     14|  declare_integer("CPU_SUBTYPE_X86_64_ALL");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1115|     14|  declare_integer("CPU_SUBTYPE_486");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1116|     14|  declare_integer("CPU_SUBTYPE_486SX");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1117|     14|  declare_integer("CPU_SUBTYPE_586");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1118|     14|  declare_integer("CPU_SUBTYPE_PENT");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1119|     14|  declare_integer("CPU_SUBTYPE_PENTPRO");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1120|     14|  declare_integer("CPU_SUBTYPE_PENTII_M3");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1121|     14|  declare_integer("CPU_SUBTYPE_PENTII_M5");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1122|     14|  declare_integer("CPU_SUBTYPE_CELERON");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1123|     14|  declare_integer("CPU_SUBTYPE_CELERON_MOBILE");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1124|     14|  declare_integer("CPU_SUBTYPE_PENTIUM_3");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1125|     14|  declare_integer("CPU_SUBTYPE_PENTIUM_3_M");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1126|     14|  declare_integer("CPU_SUBTYPE_PENTIUM_3_XEON");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1127|     14|  declare_integer("CPU_SUBTYPE_PENTIUM_M");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1128|     14|  declare_integer("CPU_SUBTYPE_PENTIUM_4");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1129|     14|  declare_integer("CPU_SUBTYPE_PENTIUM_4_M");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1130|     14|  declare_integer("CPU_SUBTYPE_ITANIUM");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1131|     14|  declare_integer("CPU_SUBTYPE_ITANIUM_2");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1132|     14|  declare_integer("CPU_SUBTYPE_XEON");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1133|     14|  declare_integer("CPU_SUBTYPE_XEON_MP");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1134|     14|  declare_integer("CPU_SUBTYPE_ARM_ALL");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1135|     14|  declare_integer("CPU_SUBTYPE_ARM_V4T");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1136|     14|  declare_integer("CPU_SUBTYPE_ARM_V6");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1137|     14|  declare_integer("CPU_SUBTYPE_ARM_V5");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1138|     14|  declare_integer("CPU_SUBTYPE_ARM_V5TEJ");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1139|     14|  declare_integer("CPU_SUBTYPE_ARM_XSCALE");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1140|     14|  declare_integer("CPU_SUBTYPE_ARM_V7");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1141|     14|  declare_integer("CPU_SUBTYPE_ARM_V7F");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1142|     14|  declare_integer("CPU_SUBTYPE_ARM_V7S");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1143|     14|  declare_integer("CPU_SUBTYPE_ARM_V7K");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1144|     14|  declare_integer("CPU_SUBTYPE_ARM_V6M");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1145|     14|  declare_integer("CPU_SUBTYPE_ARM_V7M");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1146|     14|  declare_integer("CPU_SUBTYPE_ARM_V7EM");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1147|     14|  declare_integer("CPU_SUBTYPE_ARM64_ALL");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1148|     14|  declare_integer("CPU_SUBTYPE_SPARC_ALL");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1149|     14|  declare_integer("CPU_SUBTYPE_POWERPC_ALL");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1150|     14|  declare_integer("CPU_SUBTYPE_MC980000_ALL");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1151|     14|  declare_integer("CPU_SUBTYPE_POWERPC_601");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1152|     14|  declare_integer("CPU_SUBTYPE_MC98601");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1153|     14|  declare_integer("CPU_SUBTYPE_POWERPC_602");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1154|     14|  declare_integer("CPU_SUBTYPE_POWERPC_603");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1155|     14|  declare_integer("CPU_SUBTYPE_POWERPC_603e");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1156|     14|  declare_integer("CPU_SUBTYPE_POWERPC_603ev");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1157|     14|  declare_integer("CPU_SUBTYPE_POWERPC_604");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1158|     14|  declare_integer("CPU_SUBTYPE_POWERPC_604e");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1159|     14|  declare_integer("CPU_SUBTYPE_POWERPC_620");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1160|     14|  declare_integer("CPU_SUBTYPE_POWERPC_750");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1161|     14|  declare_integer("CPU_SUBTYPE_POWERPC_7400");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1162|     14|  declare_integer("CPU_SUBTYPE_POWERPC_7450");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1163|     14|  declare_integer("CPU_SUBTYPE_POWERPC_970");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1164|       |
 1165|       |  // File types
 1166|     14|  declare_integer("MH_OBJECT");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1167|     14|  declare_integer("MH_EXECUTE");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1168|     14|  declare_integer("MH_FVMLIB");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1169|     14|  declare_integer("MH_CORE");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1170|     14|  declare_integer("MH_PRELOAD");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1171|     14|  declare_integer("MH_DYLIB");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1172|     14|  declare_integer("MH_DYLINKER");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1173|     14|  declare_integer("MH_BUNDLE");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1174|     14|  declare_integer("MH_DYLIB_STUB");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1175|     14|  declare_integer("MH_DSYM");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1176|     14|  declare_integer("MH_KEXT_BUNDLE");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1177|       |
 1178|       |  // Header flags
 1179|     14|  declare_integer("MH_NOUNDEFS");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1180|     14|  declare_integer("MH_INCRLINK");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1181|     14|  declare_integer("MH_DYLDLINK");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1182|     14|  declare_integer("MH_BINDATLOAD");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1183|     14|  declare_integer("MH_PREBOUND");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1184|     14|  declare_integer("MH_SPLIT_SEGS");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1185|     14|  declare_integer("MH_LAZY_INIT");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1186|     14|  declare_integer("MH_TWOLEVEL");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1187|     14|  declare_integer("MH_FORCE_FLAT");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1188|     14|  declare_integer("MH_NOMULTIDEFS");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1189|     14|  declare_integer("MH_NOFIXPREBINDING");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1190|     14|  declare_integer("MH_PREBINDABLE");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1191|     14|  declare_integer("MH_ALLMODSBOUND");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1192|     14|  declare_integer("MH_SUBSECTIONS_VIA_SYMBOLS");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1193|     14|  declare_integer("MH_CANONICAL");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1194|     14|  declare_integer("MH_WEAK_DEFINES");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1195|     14|  declare_integer("MH_BINDS_TO_WEAK");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1196|     14|  declare_integer("MH_ALLOW_STACK_EXECUTION");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1197|     14|  declare_integer("MH_ROOT_SAFE");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1198|     14|  declare_integer("MH_SETUID_SAFE");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1199|     14|  declare_integer("MH_NO_REEXPORTED_DYLIBS");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1200|     14|  declare_integer("MH_PIE");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1201|     14|  declare_integer("MH_DEAD_STRIPPABLE_DYLIB");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1202|     14|  declare_integer("MH_HAS_TLV_DESCRIPTORS");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1203|     14|  declare_integer("MH_NO_HEAP_EXECUTION");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1204|     14|  declare_integer("MH_APP_EXTENSION_SAFE");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1205|       |
 1206|       |  // Segment flags
 1207|     14|  declare_integer("SG_HIGHVM");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1208|     14|  declare_integer("SG_FVMLIB");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1209|     14|  declare_integer("SG_NORELOC");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1210|     14|  declare_integer("SG_PROTECTED_VERSION_1");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1211|       |
 1212|       |  // Section masks
 1213|     14|  declare_integer("SECTION_TYPE");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1214|     14|  declare_integer("SECTION_ATTRIBUTES");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1215|       |
 1216|       |  // Section types
 1217|     14|  declare_integer("S_REGULAR");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1218|     14|  declare_integer("S_ZEROFILL");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1219|     14|  declare_integer("S_CSTRING_LITERALS");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1220|     14|  declare_integer("S_4BYTE_LITERALS");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1221|     14|  declare_integer("S_8BYTE_LITERALS");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1222|     14|  declare_integer("S_LITERAL_POINTERS");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1223|     14|  declare_integer("S_NON_LAZY_SYMBOL_POINTERS");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1224|     14|  declare_integer("S_LAZY_SYMBOL_POINTERS");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1225|     14|  declare_integer("S_SYMBOL_STUBS");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1226|     14|  declare_integer("S_MOD_INIT_FUNC_POINTERS");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1227|     14|  declare_integer("S_MOD_TERM_FUNC_POINTERS");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1228|     14|  declare_integer("S_COALESCED");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1229|     14|  declare_integer("S_GB_ZEROFILL");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1230|     14|  declare_integer("S_INTERPOSING");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1231|     14|  declare_integer("S_16BYTE_LITERALS");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1232|     14|  declare_integer("S_DTRACE_DOF");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1233|     14|  declare_integer("S_LAZY_DYLIB_SYMBOL_POINTERS");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1234|     14|  declare_integer("S_THREAD_LOCAL_REGULAR");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1235|     14|  declare_integer("S_THREAD_LOCAL_ZEROFILL");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1236|     14|  declare_integer("S_THREAD_LOCAL_VARIABLES");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1237|     14|  declare_integer("S_THREAD_LOCAL_VARIABLE_POINTERS");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1238|     14|  declare_integer("S_THREAD_LOCAL_INIT_FUNCTION_POINTERS");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1239|       |
 1240|       |  // Section attributes
 1241|     14|  declare_integer("S_ATTR_PURE_INSTRUCTIONS");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1242|     14|  declare_integer("S_ATTR_NO_TOC");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1243|     14|  declare_integer("S_ATTR_STRIP_STATIC_SYMS");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1244|     14|  declare_integer("S_ATTR_NO_DEAD_STRIP");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1245|     14|  declare_integer("S_ATTR_LIVE_SUPPORT");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1246|     14|  declare_integer("S_ATTR_SELF_MODIFYING_CODE");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1247|     14|  declare_integer("S_ATTR_DEBUG");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1248|     14|  declare_integer("S_ATTR_SOME_INSTRUCTIONS");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1249|     14|  declare_integer("S_ATTR_EXT_RELOC");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1250|     14|  declare_integer("S_ATTR_LOC_RELOC");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1251|       |
 1252|       |  // Header
 1253|     14|  declare_integer("magic");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1254|     14|  declare_integer("cputype");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1255|     14|  declare_integer("cpusubtype");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1256|     14|  declare_integer("filetype");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1257|     14|  declare_integer("ncmds");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1258|     14|  declare_integer("sizeofcmds");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1259|     14|  declare_integer("flags");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1260|     14|  declare_integer("reserved");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1261|       |
 1262|       |  // Segments and nested sections
 1263|     14|  declare_integer("number_of_segments");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1264|       |
 1265|     42|  begin_struct_array("segments")
  ------------------
  |  |   80|     14|  {                                                                           \
  |  |   81|     14|    YR_OBJECT* structure;                                                     \
  |  |   82|     14|    YR_OBJECT* array;                                                         \
  |  |   83|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |   84|     14|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |   86|     14|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|     14|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   88|     14|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|     14|        "too many nested structures");                                        \
  |  |   90|     14|    stack[++stack_top] = structure;                                           \
  |  |   91|     14|  }
  ------------------
 1266|     14|    declare_string("segname");
  ------------------
  |  |  169|     14|  {                                                                          \
  |  |  170|     14|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  171|     14|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|     14|  }
  ------------------
 1267|     14|    declare_integer("vmaddr");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1268|     14|    declare_integer("vmsize");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1269|     14|    declare_integer("fileoff");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1270|     14|    declare_integer("fsize");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1271|     14|    declare_integer("maxprot");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1272|     14|    declare_integer("initprot");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1273|     14|    declare_integer("nsects");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1274|     14|    declare_integer("flags");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1275|     42|    begin_struct_array("sections")
  ------------------
  |  |   80|     14|  {                                                                           \
  |  |   81|     14|    YR_OBJECT* structure;                                                     \
  |  |   82|     14|    YR_OBJECT* array;                                                         \
  |  |   83|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |   84|     14|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |   86|     14|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|     14|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   88|     14|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|     14|        "too many nested structures");                                        \
  |  |   90|     14|    stack[++stack_top] = structure;                                           \
  |  |   91|     14|  }
  ------------------
 1276|     14|      declare_string("sectname");
  ------------------
  |  |  169|     14|  {                                                                          \
  |  |  170|     14|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  171|     14|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|     14|  }
  ------------------
 1277|     14|      declare_string("segname");
  ------------------
  |  |  169|     14|  {                                                                          \
  |  |  170|     14|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  171|     14|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|     14|  }
  ------------------
 1278|     14|      declare_integer("addr");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1279|     14|      declare_integer("size");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1280|     14|      declare_integer("offset");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1281|     14|      declare_integer("align");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1282|     14|      declare_integer("reloff");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1283|     14|      declare_integer("nreloc");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1284|     14|      declare_integer("flags");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1285|     14|      declare_integer("reserved1");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1286|     14|      declare_integer("reserved2");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1287|     14|      declare_integer("reserved3");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1288|     28|    end_struct_array("sections");
  ------------------
  |  |  117|     14|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|     14|  {                                                          \
  |  |  |  |  109|     14|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|     14|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  |  |  168|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|     14|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|     14|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|     14|    stack_top--;                                             \
  |  |  |  |  114|     14|  }
  |  |  ------------------
  |  |  118|     14|  (name)
  ------------------
  |  Branch (1288:5): [True: 0, False: 14]
  |  Branch (1288:5): [True: 14, False: 0]
  ------------------
 1289|     28|  end_struct_array("segments")
  ------------------
  |  |  117|     14|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|     14|  {                                                          \
  |  |  |  |  109|     14|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|     14|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  |  |  168|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|     14|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|     14|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|     14|    stack_top--;                                             \
  |  |  |  |  114|     14|  }
  |  |  ------------------
  |  |  118|     14|  (name)
  ------------------
  |  Branch (1289:3): [True: 0, False: 14]
  |  Branch (1289:3): [True: 14, False: 0]
  ------------------
 1290|       |
 1291|       |  // Entry point and stack size
 1292|     14|  declare_integer("entry_point");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1293|     14|  declare_integer("stack_size");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1294|       |
 1295|       |  // Mach-O fat binary header
 1296|     14|  declare_integer("fat_magic");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1297|     14|  declare_integer("nfat_arch");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1298|       |
 1299|     42|  begin_struct_array("fat_arch")
  ------------------
  |  |   80|     14|  {                                                                           \
  |  |   81|     14|    YR_OBJECT* structure;                                                     \
  |  |   82|     14|    YR_OBJECT* array;                                                         \
  |  |   83|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |   84|     14|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |   86|     14|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|     14|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   88|     14|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|     14|        "too many nested structures");                                        \
  |  |   90|     14|    stack[++stack_top] = structure;                                           \
  |  |   91|     14|  }
  ------------------
 1300|     14|    declare_integer("cputype");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1301|     14|    declare_integer("cpusubtype");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1302|     14|    declare_integer("offset");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1303|     14|    declare_integer("size");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1304|     14|    declare_integer("align");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1305|     28|  end_struct_array("fat_arch")
  ------------------
  |  |  117|     14|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|     14|  {                                                          \
  |  |  |  |  109|     14|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|     14|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  |  |  168|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|     14|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|     14|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|     14|    stack_top--;                                             \
  |  |  |  |  114|     14|  }
  |  |  ------------------
  |  |  118|     14|  (name)
  ------------------
  |  Branch (1305:3): [True: 0, False: 14]
  |  Branch (1305:3): [True: 14, False: 0]
  ------------------
 1306|       |
 1307|       |  // Included Mach-O files (must be same as single file structure above)
 1308|     42|  begin_struct_array("file")
  ------------------
  |  |   80|     14|  {                                                                           \
  |  |   81|     14|    YR_OBJECT* structure;                                                     \
  |  |   82|     14|    YR_OBJECT* array;                                                         \
  |  |   83|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |   84|     14|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |   86|     14|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|     14|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   88|     14|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|     14|        "too many nested structures");                                        \
  |  |   90|     14|    stack[++stack_top] = structure;                                           \
  |  |   91|     14|  }
  ------------------
 1309|       |
 1310|       |    // Single file header
 1311|     14|    declare_integer("magic");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1312|     14|    declare_integer("cputype");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1313|     14|    declare_integer("cpusubtype");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1314|     14|    declare_integer("filetype");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1315|     14|    declare_integer("ncmds");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1316|     14|    declare_integer("sizeofcmds");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1317|     14|    declare_integer("flags");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1318|     14|    declare_integer("reserved");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1319|       |
 1320|       |    // Segments and nested sections
 1321|     14|    declare_integer("number_of_segments");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1322|       |
 1323|     42|    begin_struct_array("segments")
  ------------------
  |  |   80|     14|  {                                                                           \
  |  |   81|     14|    YR_OBJECT* structure;                                                     \
  |  |   82|     14|    YR_OBJECT* array;                                                         \
  |  |   83|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |   84|     14|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |   86|     14|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|     14|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   88|     14|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|     14|        "too many nested structures");                                        \
  |  |   90|     14|    stack[++stack_top] = structure;                                           \
  |  |   91|     14|  }
  ------------------
 1324|     14|      declare_string("segname");
  ------------------
  |  |  169|     14|  {                                                                          \
  |  |  170|     14|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  171|     14|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|     14|  }
  ------------------
 1325|     14|      declare_integer("vmaddr");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1326|     14|      declare_integer("vmsize");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1327|     14|      declare_integer("fileoff");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1328|     14|      declare_integer("fsize");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1329|     14|      declare_integer("maxprot");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1330|     14|      declare_integer("initprot");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1331|     14|      declare_integer("nsects");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1332|     14|      declare_integer("flags");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1333|     42|      begin_struct_array("sections")
  ------------------
  |  |   80|     14|  {                                                                           \
  |  |   81|     14|    YR_OBJECT* structure;                                                     \
  |  |   82|     14|    YR_OBJECT* array;                                                         \
  |  |   83|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |   84|     14|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |   86|     14|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|     14|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   88|     14|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|     14|        "too many nested structures");                                        \
  |  |   90|     14|    stack[++stack_top] = structure;                                           \
  |  |   91|     14|  }
  ------------------
 1334|     14|        declare_string("sectname");
  ------------------
  |  |  169|     14|  {                                                                          \
  |  |  170|     14|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  171|     14|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|     14|  }
  ------------------
 1335|     14|        declare_string("segname");
  ------------------
  |  |  169|     14|  {                                                                          \
  |  |  170|     14|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  171|     14|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|     14|  }
  ------------------
 1336|     14|        declare_integer("addr");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1337|     14|        declare_integer("size");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1338|     14|        declare_integer("offset");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1339|     14|        declare_integer("align");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1340|     14|        declare_integer("reloff");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1341|     14|        declare_integer("nreloc");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1342|     14|        declare_integer("flags");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1343|     14|        declare_integer("reserved1");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1344|     14|        declare_integer("reserved2");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1345|     14|        declare_integer("reserved3");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1346|     28|      end_struct_array("sections");
  ------------------
  |  |  117|     14|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|     14|  {                                                          \
  |  |  |  |  109|     14|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|     14|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  |  |  168|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|     14|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|     14|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|     14|    stack_top--;                                             \
  |  |  |  |  114|     14|  }
  |  |  ------------------
  |  |  118|     14|  (name)
  ------------------
  |  Branch (1346:7): [True: 0, False: 14]
  |  Branch (1346:7): [True: 14, False: 0]
  ------------------
 1347|     28|    end_struct_array("segments")
  ------------------
  |  |  117|     14|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|     14|  {                                                          \
  |  |  |  |  109|     14|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|     14|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  |  |  168|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|     14|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|     14|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|     14|    stack_top--;                                             \
  |  |  |  |  114|     14|  }
  |  |  ------------------
  |  |  118|     14|  (name)
  ------------------
  |  Branch (1347:5): [True: 0, False: 14]
  |  Branch (1347:5): [True: 14, False: 0]
  ------------------
 1348|       |
 1349|       |    // Entry point and stack size
 1350|     14|    declare_integer("entry_point");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1351|     14|    declare_integer("stack_size");
  ------------------
  |  |  125|     14|  {                                                                           \
  |  |  126|     14|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  127|     14|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     14|  }
  ------------------
 1352|       |
 1353|     28|  end_struct_array("file");
  ------------------
  |  |  117|     14|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|     14|  {                                                          \
  |  |  |  |  109|     14|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|     14|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|     14|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (164:7): [True: 0, False: 14]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  165|     14|  {                                                                         \
  |  |  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  |  |  168|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|     14|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|     14|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|     14|    stack_top--;                                             \
  |  |  |  |  114|     14|  }
  |  |  ------------------
  |  |  118|     14|  (name)
  ------------------
  |  Branch (1353:3): [True: 0, False: 14]
  |  Branch (1353:3): [True: 14, False: 0]
  ------------------
 1354|       |
 1355|       |  // Mach-O fat binary helper functions
 1356|     28|  declare_function("file_index_for_arch", "i", "i", file_index_type);
  ------------------
  |  |  191|     14|  {                                                                   \
  |  |  192|     14|    YR_OBJECT* function;                                              \
  |  |  193|     14|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  194|     14|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     14|  }
  ------------------
 1357|     14|  declare_function("file_index_for_arch", "ii", "i", file_index_subtype);
  ------------------
  |  |  191|     14|  {                                                                   \
  |  |  192|     14|    YR_OBJECT* function;                                              \
  |  |  193|     14|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  194|     14|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     14|  }
  ------------------
 1358|     14|  declare_function("entry_point_for_arch", "i", "i", ep_for_arch_type);
  ------------------
  |  |  191|     14|  {                                                                   \
  |  |  192|     14|    YR_OBJECT* function;                                              \
  |  |  193|     14|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  194|     14|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     14|  }
  ------------------
 1359|     14|  declare_function("entry_point_for_arch", "ii", "i", ep_for_arch_subtype);
  ------------------
  |  |  191|     14|  {                                                                   \
  |  |  192|     14|    YR_OBJECT* function;                                              \
  |  |  193|     14|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     14|  {                               \
  |  |  |  |  135|     14|    int __error = (x);            \
  |  |  |  |  136|     14|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 14]
  |  |  |  |  ------------------
  |  |  |  |  137|     14|      return __error;             \
  |  |  |  |  138|     14|  }
  |  |  ------------------
  |  |  194|     14|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     14|  }
  ------------------
 1360|     14|end_declarations
  ------------------
  |  |   65|     14|  return ERROR_SUCCESS;  \
  |  |  ------------------
  |  |  |  |   40|     14|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |   66|     14|  }
  ------------------
macho__initialize:
 1363|      2|{
 1364|      2|  return ERROR_SUCCESS;
  ------------------
  |  |   40|      2|#define ERROR_SUCCESS 0
  ------------------
 1365|      2|}

math__declarations:
  788|     25|begin_declarations
  ------------------
  |  |   59|     25|  {                                          \
  |  |   60|     25|    YR_OBJECT* stack[64];                    \
  |  |   61|     25|    int stack_top = 0;                       \
  |  |   62|     25|    stack[stack_top] = module;
  ------------------
  789|     25|  declare_float("MEAN_BYTES");
  ------------------
  |  |  147|     25|  {                                                                         \
  |  |  148|     25|    FAIL_ON_ERROR(                                                          \
  |  |  ------------------
  |  |  |  |  134|     25|  {                               \
  |  |  |  |  135|     25|    int __error = (x);            \
  |  |  |  |  136|     25|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     25|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 25]
  |  |  |  |  ------------------
  |  |  |  |  137|     25|      return __error;             \
  |  |  |  |  138|     25|  }
  |  |  ------------------
  |  |  149|     25|        yr_object_create(OBJECT_TYPE_FLOAT, name, stack[stack_top], NULL)); \
  |  |  150|     25|  }
  ------------------
  790|     25|  declare_function("in_range", "fff", "i", in_range);
  ------------------
  |  |  191|     25|  {                                                                   \
  |  |  192|     25|    YR_OBJECT* function;                                              \
  |  |  193|     25|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     25|  {                               \
  |  |  |  |  135|     25|    int __error = (x);            \
  |  |  |  |  136|     25|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     25|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 25]
  |  |  |  |  ------------------
  |  |  |  |  137|     25|      return __error;             \
  |  |  |  |  138|     25|  }
  |  |  ------------------
  |  |  194|     25|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     25|  }
  ------------------
  791|     25|  declare_function("deviation", "iif", "f", data_deviation);
  ------------------
  |  |  191|     25|  {                                                                   \
  |  |  192|     25|    YR_OBJECT* function;                                              \
  |  |  193|     25|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     25|  {                               \
  |  |  |  |  135|     25|    int __error = (x);            \
  |  |  |  |  136|     25|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     25|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 25]
  |  |  |  |  ------------------
  |  |  |  |  137|     25|      return __error;             \
  |  |  |  |  138|     25|  }
  |  |  ------------------
  |  |  194|     25|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     25|  }
  ------------------
  792|     25|  declare_function("deviation", "sf", "f", string_deviation);
  ------------------
  |  |  191|     25|  {                                                                   \
  |  |  192|     25|    YR_OBJECT* function;                                              \
  |  |  193|     25|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     25|  {                               \
  |  |  |  |  135|     25|    int __error = (x);            \
  |  |  |  |  136|     25|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     25|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 25]
  |  |  |  |  ------------------
  |  |  |  |  137|     25|      return __error;             \
  |  |  |  |  138|     25|  }
  |  |  ------------------
  |  |  194|     25|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     25|  }
  ------------------
  793|     25|  declare_function("mean", "ii", "f", data_mean);
  ------------------
  |  |  191|     25|  {                                                                   \
  |  |  192|     25|    YR_OBJECT* function;                                              \
  |  |  193|     25|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     25|  {                               \
  |  |  |  |  135|     25|    int __error = (x);            \
  |  |  |  |  136|     25|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     25|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 25]
  |  |  |  |  ------------------
  |  |  |  |  137|     25|      return __error;             \
  |  |  |  |  138|     25|  }
  |  |  ------------------
  |  |  194|     25|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     25|  }
  ------------------
  794|     25|  declare_function("mean", "s", "f", string_mean);
  ------------------
  |  |  191|     25|  {                                                                   \
  |  |  192|     25|    YR_OBJECT* function;                                              \
  |  |  193|     25|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     25|  {                               \
  |  |  |  |  135|     25|    int __error = (x);            \
  |  |  |  |  136|     25|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     25|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 25]
  |  |  |  |  ------------------
  |  |  |  |  137|     25|      return __error;             \
  |  |  |  |  138|     25|  }
  |  |  ------------------
  |  |  194|     25|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     25|  }
  ------------------
  795|     25|  declare_function("serial_correlation", "ii", "f", data_serial_correlation);
  ------------------
  |  |  191|     25|  {                                                                   \
  |  |  192|     25|    YR_OBJECT* function;                                              \
  |  |  193|     25|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     25|  {                               \
  |  |  |  |  135|     25|    int __error = (x);            \
  |  |  |  |  136|     25|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     25|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 25]
  |  |  |  |  ------------------
  |  |  |  |  137|     25|      return __error;             \
  |  |  |  |  138|     25|  }
  |  |  ------------------
  |  |  194|     25|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     25|  }
  ------------------
  796|     25|  declare_function("serial_correlation", "s", "f", string_serial_correlation);
  ------------------
  |  |  191|     25|  {                                                                   \
  |  |  192|     25|    YR_OBJECT* function;                                              \
  |  |  193|     25|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     25|  {                               \
  |  |  |  |  135|     25|    int __error = (x);            \
  |  |  |  |  136|     25|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     25|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 25]
  |  |  |  |  ------------------
  |  |  |  |  137|     25|      return __error;             \
  |  |  |  |  138|     25|  }
  |  |  ------------------
  |  |  194|     25|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     25|  }
  ------------------
  797|     25|  declare_function("monte_carlo_pi", "ii", "f", data_monte_carlo_pi);
  ------------------
  |  |  191|     25|  {                                                                   \
  |  |  192|     25|    YR_OBJECT* function;                                              \
  |  |  193|     25|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     25|  {                               \
  |  |  |  |  135|     25|    int __error = (x);            \
  |  |  |  |  136|     25|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     25|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 25]
  |  |  |  |  ------------------
  |  |  |  |  137|     25|      return __error;             \
  |  |  |  |  138|     25|  }
  |  |  ------------------
  |  |  194|     25|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     25|  }
  ------------------
  798|     25|  declare_function("monte_carlo_pi", "s", "f", string_monte_carlo_pi);
  ------------------
  |  |  191|     25|  {                                                                   \
  |  |  192|     25|    YR_OBJECT* function;                                              \
  |  |  193|     25|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     25|  {                               \
  |  |  |  |  135|     25|    int __error = (x);            \
  |  |  |  |  136|     25|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     25|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 25]
  |  |  |  |  ------------------
  |  |  |  |  137|     25|      return __error;             \
  |  |  |  |  138|     25|  }
  |  |  ------------------
  |  |  194|     25|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     25|  }
  ------------------
  799|     25|  declare_function("entropy", "ii", "f", data_entropy);
  ------------------
  |  |  191|     25|  {                                                                   \
  |  |  192|     25|    YR_OBJECT* function;                                              \
  |  |  193|     25|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     25|  {                               \
  |  |  |  |  135|     25|    int __error = (x);            \
  |  |  |  |  136|     25|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     25|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 25]
  |  |  |  |  ------------------
  |  |  |  |  137|     25|      return __error;             \
  |  |  |  |  138|     25|  }
  |  |  ------------------
  |  |  194|     25|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     25|  }
  ------------------
  800|     25|  declare_function("entropy", "s", "f", string_entropy);
  ------------------
  |  |  191|     25|  {                                                                   \
  |  |  192|     25|    YR_OBJECT* function;                                              \
  |  |  193|     25|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     25|  {                               \
  |  |  |  |  135|     25|    int __error = (x);            \
  |  |  |  |  136|     25|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     25|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 25]
  |  |  |  |  ------------------
  |  |  |  |  137|     25|      return __error;             \
  |  |  |  |  138|     25|  }
  |  |  ------------------
  |  |  194|     25|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     25|  }
  ------------------
  801|     25|  declare_function("min", "ii", "i", min);
  ------------------
  |  |  191|     25|  {                                                                   \
  |  |  192|     25|    YR_OBJECT* function;                                              \
  |  |  193|     25|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     25|  {                               \
  |  |  |  |  135|     25|    int __error = (x);            \
  |  |  |  |  136|     25|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     25|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 25]
  |  |  |  |  ------------------
  |  |  |  |  137|     25|      return __error;             \
  |  |  |  |  138|     25|  }
  |  |  ------------------
  |  |  194|     25|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     25|  }
  ------------------
  802|     25|  declare_function("max", "ii", "i", max);
  ------------------
  |  |  191|     25|  {                                                                   \
  |  |  192|     25|    YR_OBJECT* function;                                              \
  |  |  193|     25|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     25|  {                               \
  |  |  |  |  135|     25|    int __error = (x);            \
  |  |  |  |  136|     25|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     25|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 25]
  |  |  |  |  ------------------
  |  |  |  |  137|     25|      return __error;             \
  |  |  |  |  138|     25|  }
  |  |  ------------------
  |  |  194|     25|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     25|  }
  ------------------
  803|     25|  declare_function("to_number", "b", "i", to_number);
  ------------------
  |  |  191|     25|  {                                                                   \
  |  |  192|     25|    YR_OBJECT* function;                                              \
  |  |  193|     25|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     25|  {                               \
  |  |  |  |  135|     25|    int __error = (x);            \
  |  |  |  |  136|     25|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     25|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 25]
  |  |  |  |  ------------------
  |  |  |  |  137|     25|      return __error;             \
  |  |  |  |  138|     25|  }
  |  |  ------------------
  |  |  194|     25|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     25|  }
  ------------------
  804|     25|  declare_function("abs", "i", "i", yr_math_abs);
  ------------------
  |  |  191|     25|  {                                                                   \
  |  |  192|     25|    YR_OBJECT* function;                                              \
  |  |  193|     25|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     25|  {                               \
  |  |  |  |  135|     25|    int __error = (x);            \
  |  |  |  |  136|     25|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     25|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 25]
  |  |  |  |  ------------------
  |  |  |  |  137|     25|      return __error;             \
  |  |  |  |  138|     25|  }
  |  |  ------------------
  |  |  194|     25|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     25|  }
  ------------------
  805|     25|  declare_function("count", "iii", "i", count_range);
  ------------------
  |  |  191|     25|  {                                                                   \
  |  |  192|     25|    YR_OBJECT* function;                                              \
  |  |  193|     25|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     25|  {                               \
  |  |  |  |  135|     25|    int __error = (x);            \
  |  |  |  |  136|     25|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     25|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 25]
  |  |  |  |  ------------------
  |  |  |  |  137|     25|      return __error;             \
  |  |  |  |  138|     25|  }
  |  |  ------------------
  |  |  194|     25|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     25|  }
  ------------------
  806|     25|  declare_function("count", "i", "i", count_global);
  ------------------
  |  |  191|     25|  {                                                                   \
  |  |  192|     25|    YR_OBJECT* function;                                              \
  |  |  193|     25|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     25|  {                               \
  |  |  |  |  135|     25|    int __error = (x);            \
  |  |  |  |  136|     25|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     25|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 25]
  |  |  |  |  ------------------
  |  |  |  |  137|     25|      return __error;             \
  |  |  |  |  138|     25|  }
  |  |  ------------------
  |  |  194|     25|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     25|  }
  ------------------
  807|     25|  declare_function("percentage", "iii", "f", percentage_range);
  ------------------
  |  |  191|     25|  {                                                                   \
  |  |  192|     25|    YR_OBJECT* function;                                              \
  |  |  193|     25|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     25|  {                               \
  |  |  |  |  135|     25|    int __error = (x);            \
  |  |  |  |  136|     25|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     25|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 25]
  |  |  |  |  ------------------
  |  |  |  |  137|     25|      return __error;             \
  |  |  |  |  138|     25|  }
  |  |  ------------------
  |  |  194|     25|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     25|  }
  ------------------
  808|     25|  declare_function("percentage", "i", "f", percentage_global);
  ------------------
  |  |  191|     25|  {                                                                   \
  |  |  192|     25|    YR_OBJECT* function;                                              \
  |  |  193|     25|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     25|  {                               \
  |  |  |  |  135|     25|    int __error = (x);            \
  |  |  |  |  136|     25|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     25|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 25]
  |  |  |  |  ------------------
  |  |  |  |  137|     25|      return __error;             \
  |  |  |  |  138|     25|  }
  |  |  ------------------
  |  |  194|     25|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     25|  }
  ------------------
  809|     25|  declare_function("mode", "ii", "i", mode_range);
  ------------------
  |  |  191|     25|  {                                                                   \
  |  |  192|     25|    YR_OBJECT* function;                                              \
  |  |  193|     25|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     25|  {                               \
  |  |  |  |  135|     25|    int __error = (x);            \
  |  |  |  |  136|     25|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     25|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 25]
  |  |  |  |  ------------------
  |  |  |  |  137|     25|      return __error;             \
  |  |  |  |  138|     25|  }
  |  |  ------------------
  |  |  194|     25|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     25|  }
  ------------------
  810|     25|  declare_function("mode", "", "i", mode_global);
  ------------------
  |  |  191|     25|  {                                                                   \
  |  |  192|     25|    YR_OBJECT* function;                                              \
  |  |  193|     25|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     25|  {                               \
  |  |  |  |  135|     25|    int __error = (x);            \
  |  |  |  |  136|     25|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     25|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 25]
  |  |  |  |  ------------------
  |  |  |  |  137|     25|      return __error;             \
  |  |  |  |  138|     25|  }
  |  |  ------------------
  |  |  194|     25|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     25|  }
  ------------------
  811|     25|  declare_function("to_string", "i", "s", to_string);
  ------------------
  |  |  191|     25|  {                                                                   \
  |  |  192|     25|    YR_OBJECT* function;                                              \
  |  |  193|     25|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     25|  {                               \
  |  |  |  |  135|     25|    int __error = (x);            \
  |  |  |  |  136|     25|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     25|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 25]
  |  |  |  |  ------------------
  |  |  |  |  137|     25|      return __error;             \
  |  |  |  |  138|     25|  }
  |  |  ------------------
  |  |  194|     25|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     25|  }
  ------------------
  812|     25|  declare_function("to_string", "ii", "s", to_string_base);
  ------------------
  |  |  191|     25|  {                                                                   \
  |  |  192|     25|    YR_OBJECT* function;                                              \
  |  |  193|     25|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     25|  {                               \
  |  |  |  |  135|     25|    int __error = (x);            \
  |  |  |  |  136|     25|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     25|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 25]
  |  |  |  |  ------------------
  |  |  |  |  137|     25|      return __error;             \
  |  |  |  |  138|     25|  }
  |  |  ------------------
  |  |  194|     25|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     25|  }
  ------------------
  813|     25|end_declarations
  ------------------
  |  |   65|     25|  return ERROR_SUCCESS;  \
  |  |  ------------------
  |  |  |  |   40|     25|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |   66|     25|  }
  ------------------
math__initialize:
  816|      2|{
  817|      2|  return ERROR_SUCCESS;
  ------------------
  |  |   40|      2|#define ERROR_SUCCESS 0
  ------------------
  818|      2|}

pe__declarations:
 3580|    336|begin_declarations
  ------------------
  |  |   59|    336|  {                                          \
  |  |   60|    336|    YR_OBJECT* stack[64];                    \
  |  |   61|    336|    int stack_top = 0;                       \
  |  |   62|    336|    stack[stack_top] = module;
  ------------------
 3581|    336|  declare_integer("MACHINE_UNKNOWN");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3582|    336|  declare_integer("MACHINE_AM33");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3583|    336|  declare_integer("MACHINE_AMD64");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3584|    336|  declare_integer("MACHINE_ARM");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3585|    336|  declare_integer("MACHINE_ARMNT");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3586|    336|  declare_integer("MACHINE_ARM64");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3587|    336|  declare_integer("MACHINE_EBC");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3588|    336|  declare_integer("MACHINE_I386");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3589|    336|  declare_integer("MACHINE_IA64");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3590|    336|  declare_integer("MACHINE_M32R");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3591|    336|  declare_integer("MACHINE_MIPS16");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3592|    336|  declare_integer("MACHINE_MIPSFPU");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3593|    336|  declare_integer("MACHINE_MIPSFPU16");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3594|    336|  declare_integer("MACHINE_POWERPC");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3595|    336|  declare_integer("MACHINE_POWERPCFP");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3596|    336|  declare_integer("MACHINE_R4000");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3597|    336|  declare_integer("MACHINE_SH3");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3598|    336|  declare_integer("MACHINE_SH3DSP");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3599|    336|  declare_integer("MACHINE_SH4");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3600|    336|  declare_integer("MACHINE_SH5");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3601|    336|  declare_integer("MACHINE_THUMB");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3602|    336|  declare_integer("MACHINE_WCEMIPSV2");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3603|    336|  declare_integer("MACHINE_TARGET_HOST");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3604|    336|  declare_integer("MACHINE_R3000");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3605|    336|  declare_integer("MACHINE_R10000");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3606|    336|  declare_integer("MACHINE_ALPHA");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3607|    336|  declare_integer("MACHINE_SH3E");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3608|    336|  declare_integer("MACHINE_ALPHA64");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3609|    336|  declare_integer("MACHINE_AXP64");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3610|    336|  declare_integer("MACHINE_TRICORE");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3611|    336|  declare_integer("MACHINE_CEF");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3612|    336|  declare_integer("MACHINE_CEE");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3613|       |
 3614|    336|  declare_integer("SUBSYSTEM_UNKNOWN");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3615|    336|  declare_integer("SUBSYSTEM_NATIVE");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3616|    336|  declare_integer("SUBSYSTEM_WINDOWS_GUI");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3617|    336|  declare_integer("SUBSYSTEM_WINDOWS_CUI");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3618|    336|  declare_integer("SUBSYSTEM_OS2_CUI");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3619|    336|  declare_integer("SUBSYSTEM_POSIX_CUI");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3620|    336|  declare_integer("SUBSYSTEM_NATIVE_WINDOWS");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3621|    336|  declare_integer("SUBSYSTEM_WINDOWS_CE_GUI");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3622|    336|  declare_integer("SUBSYSTEM_EFI_APPLICATION");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3623|    336|  declare_integer("SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3624|    336|  declare_integer("SUBSYSTEM_EFI_RUNTIME_DRIVER");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3625|    336|  declare_integer("SUBSYSTEM_EFI_ROM_IMAGE");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3626|    336|  declare_integer("SUBSYSTEM_XBOX");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3627|    336|  declare_integer("SUBSYSTEM_WINDOWS_BOOT_APPLICATION");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3628|       |
 3629|    336|  declare_integer("HIGH_ENTROPY_VA");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3630|    336|  declare_integer("DYNAMIC_BASE");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3631|    336|  declare_integer("FORCE_INTEGRITY");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3632|    336|  declare_integer("NX_COMPAT");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3633|    336|  declare_integer("NO_ISOLATION");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3634|    336|  declare_integer("NO_SEH");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3635|    336|  declare_integer("NO_BIND");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3636|    336|  declare_integer("APPCONTAINER");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3637|    336|  declare_integer("WDM_DRIVER");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3638|    336|  declare_integer("GUARD_CF");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3639|    336|  declare_integer("TERMINAL_SERVER_AWARE");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3640|       |
 3641|    336|  declare_integer("RELOCS_STRIPPED");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3642|    336|  declare_integer("EXECUTABLE_IMAGE");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3643|    336|  declare_integer("LINE_NUMS_STRIPPED");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3644|    336|  declare_integer("LOCAL_SYMS_STRIPPED");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3645|    336|  declare_integer("AGGRESIVE_WS_TRIM");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3646|    336|  declare_integer("LARGE_ADDRESS_AWARE");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3647|    336|  declare_integer("BYTES_REVERSED_LO");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3648|    336|  declare_integer("MACHINE_32BIT");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3649|    336|  declare_integer("DEBUG_STRIPPED");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3650|    336|  declare_integer("REMOVABLE_RUN_FROM_SWAP");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3651|    336|  declare_integer("NET_RUN_FROM_SWAP");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3652|    336|  declare_integer("SYSTEM");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3653|    336|  declare_integer("DLL");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3654|    336|  declare_integer("UP_SYSTEM_ONLY");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3655|    336|  declare_integer("BYTES_REVERSED_HI");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3656|       |
 3657|    336|  declare_integer("IMAGE_DIRECTORY_ENTRY_EXPORT");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3658|    336|  declare_integer("IMAGE_DIRECTORY_ENTRY_IMPORT");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3659|    336|  declare_integer("IMAGE_DIRECTORY_ENTRY_RESOURCE");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3660|    336|  declare_integer("IMAGE_DIRECTORY_ENTRY_EXCEPTION");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3661|    336|  declare_integer("IMAGE_DIRECTORY_ENTRY_SECURITY");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3662|    336|  declare_integer("IMAGE_DIRECTORY_ENTRY_BASERELOC");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3663|    336|  declare_integer("IMAGE_DIRECTORY_ENTRY_DEBUG");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3664|    336|  declare_integer("IMAGE_DIRECTORY_ENTRY_ARCHITECTURE");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3665|    336|  declare_integer("IMAGE_DIRECTORY_ENTRY_COPYRIGHT");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3666|    336|  declare_integer("IMAGE_DIRECTORY_ENTRY_GLOBALPTR");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3667|    336|  declare_integer("IMAGE_DIRECTORY_ENTRY_TLS");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3668|    336|  declare_integer("IMAGE_DIRECTORY_ENTRY_LOAD_CONFIG");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3669|    336|  declare_integer("IMAGE_DIRECTORY_ENTRY_BOUND_IMPORT");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3670|    336|  declare_integer("IMAGE_DIRECTORY_ENTRY_IAT");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3671|    336|  declare_integer("IMAGE_DIRECTORY_ENTRY_DELAY_IMPORT");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3672|    336|  declare_integer("IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3673|       |
 3674|    336|  declare_integer("IMAGE_NT_OPTIONAL_HDR32_MAGIC");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3675|    336|  declare_integer("IMAGE_NT_OPTIONAL_HDR64_MAGIC");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3676|    336|  declare_integer("IMAGE_ROM_OPTIONAL_HDR_MAGIC");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3677|       |
 3678|    336|  declare_integer("SECTION_NO_PAD");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3679|    336|  declare_integer("SECTION_CNT_CODE");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3680|    336|  declare_integer("SECTION_CNT_INITIALIZED_DATA");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3681|    336|  declare_integer("SECTION_CNT_UNINITIALIZED_DATA");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3682|    336|  declare_integer("SECTION_LNK_OTHER");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3683|    336|  declare_integer("SECTION_LNK_INFO");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3684|    336|  declare_integer("SECTION_LNK_REMOVE");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3685|    336|  declare_integer("SECTION_LNK_COMDAT");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3686|    336|  declare_integer("SECTION_NO_DEFER_SPEC_EXC");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3687|    336|  declare_integer("SECTION_GPREL");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3688|    336|  declare_integer("SECTION_MEM_FARDATA");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3689|    336|  declare_integer("SECTION_MEM_PURGEABLE");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3690|    336|  declare_integer("SECTION_MEM_16BIT");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3691|    336|  declare_integer("SECTION_MEM_LOCKED");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3692|    336|  declare_integer("SECTION_MEM_PRELOAD");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3693|    336|  declare_integer("SECTION_ALIGN_1BYTES");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3694|    336|  declare_integer("SECTION_ALIGN_2BYTES");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3695|    336|  declare_integer("SECTION_ALIGN_4BYTES");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3696|    336|  declare_integer("SECTION_ALIGN_8BYTES");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3697|    336|  declare_integer("SECTION_ALIGN_16BYTES");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3698|    336|  declare_integer("SECTION_ALIGN_32BYTES");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3699|    336|  declare_integer("SECTION_ALIGN_64BYTES");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3700|    336|  declare_integer("SECTION_ALIGN_128BYTES");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3701|    336|  declare_integer("SECTION_ALIGN_256BYTES");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3702|    336|  declare_integer("SECTION_ALIGN_512BYTES");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3703|    336|  declare_integer("SECTION_ALIGN_1024BYTES");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3704|    336|  declare_integer("SECTION_ALIGN_2048BYTES");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3705|    336|  declare_integer("SECTION_ALIGN_4096BYTES");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3706|    336|  declare_integer("SECTION_ALIGN_8192BYTES");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3707|    336|  declare_integer("SECTION_ALIGN_MASK");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3708|    336|  declare_integer("SECTION_LNK_NRELOC_OVFL");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3709|    336|  declare_integer("SECTION_MEM_DISCARDABLE");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3710|    336|  declare_integer("SECTION_MEM_NOT_CACHED");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3711|    336|  declare_integer("SECTION_MEM_NOT_PAGED");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3712|    336|  declare_integer("SECTION_MEM_SHARED");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3713|    336|  declare_integer("SECTION_MEM_EXECUTE");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3714|    336|  declare_integer("SECTION_MEM_READ");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3715|    336|  declare_integer("SECTION_MEM_WRITE");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3716|    336|  declare_integer("SECTION_SCALE_INDEX");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3717|       |
 3718|    336|  declare_integer("RESOURCE_TYPE_CURSOR");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3719|    336|  declare_integer("RESOURCE_TYPE_BITMAP");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3720|    336|  declare_integer("RESOURCE_TYPE_ICON");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3721|    336|  declare_integer("RESOURCE_TYPE_MENU");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3722|    336|  declare_integer("RESOURCE_TYPE_DIALOG");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3723|    336|  declare_integer("RESOURCE_TYPE_STRING");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3724|    336|  declare_integer("RESOURCE_TYPE_FONTDIR");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3725|    336|  declare_integer("RESOURCE_TYPE_FONT");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3726|    336|  declare_integer("RESOURCE_TYPE_ACCELERATOR");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3727|    336|  declare_integer("RESOURCE_TYPE_RCDATA");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3728|    336|  declare_integer("RESOURCE_TYPE_MESSAGETABLE");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3729|    336|  declare_integer("RESOURCE_TYPE_GROUP_CURSOR");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3730|    336|  declare_integer("RESOURCE_TYPE_GROUP_ICON");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3731|    336|  declare_integer("RESOURCE_TYPE_VERSION");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3732|    336|  declare_integer("RESOURCE_TYPE_DLGINCLUDE");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3733|    336|  declare_integer("RESOURCE_TYPE_PLUGPLAY");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3734|    336|  declare_integer("RESOURCE_TYPE_VXD");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3735|    336|  declare_integer("RESOURCE_TYPE_ANICURSOR");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3736|    336|  declare_integer("RESOURCE_TYPE_ANIICON");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3737|    336|  declare_integer("RESOURCE_TYPE_HTML");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3738|    336|  declare_integer("RESOURCE_TYPE_MANIFEST");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3739|       |
 3740|    336|  declare_integer("IMAGE_DEBUG_TYPE_UNKNOWN");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3741|    336|  declare_integer("IMAGE_DEBUG_TYPE_COFF");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3742|    336|  declare_integer("IMAGE_DEBUG_TYPE_CODEVIEW");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3743|    336|  declare_integer("IMAGE_DEBUG_TYPE_FPO");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3744|    336|  declare_integer("IMAGE_DEBUG_TYPE_MISC");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3745|    336|  declare_integer("IMAGE_DEBUG_TYPE_EXCEPTION");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3746|    336|  declare_integer("IMAGE_DEBUG_TYPE_FIXUP");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3747|    336|  declare_integer("IMAGE_DEBUG_TYPE_OMAP_TO_SRC");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3748|    336|  declare_integer("IMAGE_DEBUG_TYPE_OMAP_FROM_SRC");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3749|    336|  declare_integer("IMAGE_DEBUG_TYPE_BORLAND");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3750|    336|  declare_integer("IMAGE_DEBUG_TYPE_RESERVED10");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3751|    336|  declare_integer("IMAGE_DEBUG_TYPE_CLSID");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3752|    336|  declare_integer("IMAGE_DEBUG_TYPE_VC_FEATURE");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3753|    336|  declare_integer("IMAGE_DEBUG_TYPE_POGO");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3754|    336|  declare_integer("IMAGE_DEBUG_TYPE_ILTCG");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3755|    336|  declare_integer("IMAGE_DEBUG_TYPE_MPX");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3756|    336|  declare_integer("IMAGE_DEBUG_TYPE_REPRO");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3757|       |
 3758|    336|  declare_integer("IMPORT_DELAYED");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3759|    336|  declare_integer("IMPORT_STANDARD");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3760|    336|  declare_integer("IMPORT_ANY");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3761|       |
 3762|    336|  declare_integer("is_pe");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3763|    336|  declare_integer("machine");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3764|    336|  declare_integer("number_of_sections");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3765|    336|  declare_integer("timestamp");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3766|    336|  declare_integer("pointer_to_symbol_table");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3767|    336|  declare_integer("number_of_symbols");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3768|    336|  declare_integer("size_of_optional_header");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3769|    336|  declare_integer("characteristics");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3770|       |
 3771|    336|  declare_integer("entry_point");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3772|    336|  declare_integer("entry_point_raw");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3773|    336|  declare_integer("image_base");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3774|    336|  declare_integer("number_of_rva_and_sizes");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3775|    336|  declare_integer("number_of_version_infos");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3776|       |
 3777|    672|  declare_string_dictionary("version_info");
  ------------------
  |  |  183|    336|  {                                                                        \
  |  |  184|    336|    YR_OBJECT* dict;                                                       \
  |  |  185|    336|    FAIL_ON_ERROR(yr_object_create(                                        \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  186|    336|        OBJECT_TYPE_DICTIONARY, name, stack[stack_top], &dict));           \
  |  |  187|    336|    FAIL_ON_ERROR(yr_object_create(OBJECT_TYPE_STRING, name, dict, NULL)); \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  188|    336|  }
  ------------------
 3778|       |
 3779|  1.00k|  begin_struct_array("version_info_list")
  ------------------
  |  |   80|    336|  {                                                                           \
  |  |   81|    336|    YR_OBJECT* structure;                                                     \
  |  |   82|    336|    YR_OBJECT* array;                                                         \
  |  |   83|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |   84|    336|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |   86|    336|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|    336|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  164|    336|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  165|    336|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   88|    336|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|    336|        "too many nested structures");                                        \
  |  |   90|    336|    stack[++stack_top] = structure;                                           \
  |  |   91|    336|  }
  ------------------
 3780|    336|    declare_string("key");
  ------------------
  |  |  169|    336|  {                                                                          \
  |  |  170|    336|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  171|    336|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|    336|  }
  ------------------
 3781|    336|    declare_string("value");
  ------------------
  |  |  169|    336|  {                                                                          \
  |  |  170|    336|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  171|    336|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|    336|  }
  ------------------
 3782|    672|  end_struct_array("version_info_list");
  ------------------
  |  |  117|    336|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|    336|  {                                                          \
  |  |  |  |  109|    336|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|    336|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|    336|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (164:7): [True: 0, False: 336]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  165|    336|  {                                                                         \
  |  |  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  |  |  168|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|    336|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|    336|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|    336|    stack_top--;                                             \
  |  |  |  |  114|    336|  }
  |  |  ------------------
  |  |  118|    336|  (name)
  ------------------
  |  Branch (3782:3): [True: 0, False: 336]
  |  Branch (3782:3): [True: 336, False: 0]
  ------------------
 3783|       |
 3784|    672|  declare_integer("opthdr_magic");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3785|    336|  declare_integer("size_of_code");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3786|    336|  declare_integer("size_of_initialized_data");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3787|    336|  declare_integer("size_of_uninitialized_data");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3788|    336|  declare_integer("base_of_code");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3789|    336|  declare_integer("base_of_data");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3790|    336|  declare_integer("section_alignment");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3791|    336|  declare_integer("file_alignment");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3792|       |
 3793|    672|  begin_struct("linker_version")
  ------------------
  |  |   69|    336|  {                                                                  \
  |  |   70|    336|    YR_OBJECT* structure;                                            \
  |  |   71|    336|    FAIL_ON_ERROR(yr_object_create(                                  \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |   72|    336|        OBJECT_TYPE_STRUCTURE, name, stack[stack_top], &structure)); \
  |  |   73|    336|    assertf(                                                         \
  |  |  ------------------
  |  |  |  |  164|    336|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  165|    336|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   74|    336|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,            \
  |  |   75|    336|        "too many nested structures");                               \
  |  |   76|    336|    stack[++stack_top] = structure;                                  \
  |  |   77|    336|  }
  ------------------
 3794|    336|    declare_integer("major");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3795|    336|    declare_integer("minor");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3796|    672|  end_struct("linker_version");
  ------------------
  |  |  108|    336|  {                                                          \
  |  |  109|    336|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  110|    336|    assertf(                                                 \
  |  |  ------------------
  |  |  |  |  164|    336|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  165|    336|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |  111|    336|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  112|    336|        "unbalanced begin_struct/end_struct");               \
  |  |  113|    336|    stack_top--;                                             \
  |  |  114|    336|  }
  ------------------
  |  Branch (3796:3): [True: 0, False: 336]
  |  Branch (3796:3): [True: 336, False: 0]
  ------------------
 3797|       |
 3798|    672|  begin_struct("os_version")
  ------------------
  |  |   69|    336|  {                                                                  \
  |  |   70|    336|    YR_OBJECT* structure;                                            \
  |  |   71|    336|    FAIL_ON_ERROR(yr_object_create(                                  \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |   72|    336|        OBJECT_TYPE_STRUCTURE, name, stack[stack_top], &structure)); \
  |  |   73|    336|    assertf(                                                         \
  |  |  ------------------
  |  |  |  |  164|    336|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  165|    336|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   74|    336|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,            \
  |  |   75|    336|        "too many nested structures");                               \
  |  |   76|    336|    stack[++stack_top] = structure;                                  \
  |  |   77|    336|  }
  ------------------
 3799|    336|    declare_integer("major");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3800|    336|    declare_integer("minor");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3801|    672|  end_struct("os_version");
  ------------------
  |  |  108|    336|  {                                                          \
  |  |  109|    336|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  110|    336|    assertf(                                                 \
  |  |  ------------------
  |  |  |  |  164|    336|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  165|    336|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |  111|    336|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  112|    336|        "unbalanced begin_struct/end_struct");               \
  |  |  113|    336|    stack_top--;                                             \
  |  |  114|    336|  }
  ------------------
  |  Branch (3801:3): [True: 0, False: 336]
  |  Branch (3801:3): [True: 336, False: 0]
  ------------------
 3802|       |
 3803|    672|  begin_struct("image_version")
  ------------------
  |  |   69|    336|  {                                                                  \
  |  |   70|    336|    YR_OBJECT* structure;                                            \
  |  |   71|    336|    FAIL_ON_ERROR(yr_object_create(                                  \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |   72|    336|        OBJECT_TYPE_STRUCTURE, name, stack[stack_top], &structure)); \
  |  |   73|    336|    assertf(                                                         \
  |  |  ------------------
  |  |  |  |  164|    336|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  165|    336|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   74|    336|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,            \
  |  |   75|    336|        "too many nested structures");                               \
  |  |   76|    336|    stack[++stack_top] = structure;                                  \
  |  |   77|    336|  }
  ------------------
 3804|    336|    declare_integer("major");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3805|    336|    declare_integer("minor");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3806|    672|  end_struct("image_version");
  ------------------
  |  |  108|    336|  {                                                          \
  |  |  109|    336|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  110|    336|    assertf(                                                 \
  |  |  ------------------
  |  |  |  |  164|    336|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  165|    336|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |  111|    336|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  112|    336|        "unbalanced begin_struct/end_struct");               \
  |  |  113|    336|    stack_top--;                                             \
  |  |  114|    336|  }
  ------------------
  |  Branch (3806:3): [True: 0, False: 336]
  |  Branch (3806:3): [True: 336, False: 0]
  ------------------
 3807|       |
 3808|    672|  begin_struct("subsystem_version")
  ------------------
  |  |   69|    336|  {                                                                  \
  |  |   70|    336|    YR_OBJECT* structure;                                            \
  |  |   71|    336|    FAIL_ON_ERROR(yr_object_create(                                  \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |   72|    336|        OBJECT_TYPE_STRUCTURE, name, stack[stack_top], &structure)); \
  |  |   73|    336|    assertf(                                                         \
  |  |  ------------------
  |  |  |  |  164|    336|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  165|    336|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   74|    336|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,            \
  |  |   75|    336|        "too many nested structures");                               \
  |  |   76|    336|    stack[++stack_top] = structure;                                  \
  |  |   77|    336|  }
  ------------------
 3809|    336|    declare_integer("major");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3810|    336|    declare_integer("minor");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3811|    672|  end_struct("subsystem_version");
  ------------------
  |  |  108|    336|  {                                                          \
  |  |  109|    336|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  110|    336|    assertf(                                                 \
  |  |  ------------------
  |  |  |  |  164|    336|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  165|    336|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |  111|    336|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  112|    336|        "unbalanced begin_struct/end_struct");               \
  |  |  113|    336|    stack_top--;                                             \
  |  |  114|    336|  }
  ------------------
  |  Branch (3811:3): [True: 0, False: 336]
  |  Branch (3811:3): [True: 336, False: 0]
  ------------------
 3812|       |
 3813|    672|  declare_integer("win32_version_value");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3814|    336|  declare_integer("size_of_image");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3815|    336|  declare_integer("size_of_headers");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3816|       |
 3817|    336|  declare_integer("checksum");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3818|    336|  declare_function("calculate_checksum", "", "i", calculate_checksum);
  ------------------
  |  |  191|    336|  {                                                                   \
  |  |  192|    336|    YR_OBJECT* function;                                              \
  |  |  193|    336|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  194|    336|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|    336|  }
  ------------------
 3819|    336|  declare_integer("subsystem");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3820|       |
 3821|    336|  declare_integer("dll_characteristics");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3822|    336|  declare_integer("size_of_stack_reserve");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3823|    336|  declare_integer("size_of_stack_commit");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3824|    336|  declare_integer("size_of_heap_reserve");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3825|    336|  declare_integer("size_of_heap_commit");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3826|    336|  declare_integer("loader_flags");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3827|       |
 3828|  1.00k|  begin_struct_array("data_directories")
  ------------------
  |  |   80|    336|  {                                                                           \
  |  |   81|    336|    YR_OBJECT* structure;                                                     \
  |  |   82|    336|    YR_OBJECT* array;                                                         \
  |  |   83|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |   84|    336|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |   86|    336|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|    336|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  164|    336|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  165|    336|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   88|    336|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|    336|        "too many nested structures");                                        \
  |  |   90|    336|    stack[++stack_top] = structure;                                           \
  |  |   91|    336|  }
  ------------------
 3829|    336|    declare_integer("virtual_address");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3830|    336|    declare_integer("size");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3831|    672|  end_struct_array("data_directories");
  ------------------
  |  |  117|    336|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|    336|  {                                                          \
  |  |  |  |  109|    336|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|    336|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|    336|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (164:7): [True: 0, False: 336]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  165|    336|  {                                                                         \
  |  |  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  |  |  168|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|    336|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|    336|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|    336|    stack_top--;                                             \
  |  |  |  |  114|    336|  }
  |  |  ------------------
  |  |  118|    336|  (name)
  ------------------
  |  Branch (3831:3): [True: 0, False: 336]
  |  Branch (3831:3): [True: 336, False: 0]
  ------------------
 3832|       |
 3833|  1.00k|  begin_struct_array("sections")
  ------------------
  |  |   80|    336|  {                                                                           \
  |  |   81|    336|    YR_OBJECT* structure;                                                     \
  |  |   82|    336|    YR_OBJECT* array;                                                         \
  |  |   83|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |   84|    336|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |   86|    336|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|    336|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  164|    336|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  165|    336|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   88|    336|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|    336|        "too many nested structures");                                        \
  |  |   90|    336|    stack[++stack_top] = structure;                                           \
  |  |   91|    336|  }
  ------------------
 3834|    336|    declare_string("name");
  ------------------
  |  |  169|    336|  {                                                                          \
  |  |  170|    336|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  171|    336|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|    336|  }
  ------------------
 3835|    336|    declare_string("full_name");
  ------------------
  |  |  169|    336|  {                                                                          \
  |  |  170|    336|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  171|    336|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|    336|  }
  ------------------
 3836|    336|    declare_integer("characteristics");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3837|    336|    declare_integer("virtual_address");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3838|    336|    declare_integer("virtual_size");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3839|    336|    declare_integer("raw_data_offset");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3840|    336|    declare_integer("raw_data_size");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3841|    336|    declare_integer("pointer_to_relocations");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3842|    336|    declare_integer("pointer_to_line_numbers");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3843|    336|    declare_integer("number_of_relocations");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3844|    336|    declare_integer("number_of_line_numbers");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3845|    672|  end_struct_array("sections");
  ------------------
  |  |  117|    336|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|    336|  {                                                          \
  |  |  |  |  109|    336|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|    336|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|    336|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (164:7): [True: 0, False: 336]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  165|    336|  {                                                                         \
  |  |  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  |  |  168|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|    336|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|    336|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|    336|    stack_top--;                                             \
  |  |  |  |  114|    336|  }
  |  |  ------------------
  |  |  118|    336|  (name)
  ------------------
  |  Branch (3845:3): [True: 0, False: 336]
  |  Branch (3845:3): [True: 336, False: 0]
  ------------------
 3846|       |
 3847|    672|  begin_struct("overlay")
  ------------------
  |  |   69|    336|  {                                                                  \
  |  |   70|    336|    YR_OBJECT* structure;                                            \
  |  |   71|    336|    FAIL_ON_ERROR(yr_object_create(                                  \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |   72|    336|        OBJECT_TYPE_STRUCTURE, name, stack[stack_top], &structure)); \
  |  |   73|    336|    assertf(                                                         \
  |  |  ------------------
  |  |  |  |  164|    336|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  165|    336|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   74|    336|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,            \
  |  |   75|    336|        "too many nested structures");                               \
  |  |   76|    336|    stack[++stack_top] = structure;                                  \
  |  |   77|    336|  }
  ------------------
 3848|    336|    declare_integer("offset");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3849|    336|    declare_integer("size");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3850|    672|  end_struct("overlay");
  ------------------
  |  |  108|    336|  {                                                          \
  |  |  109|    336|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  110|    336|    assertf(                                                 \
  |  |  ------------------
  |  |  |  |  164|    336|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  165|    336|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |  111|    336|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  112|    336|        "unbalanced begin_struct/end_struct");               \
  |  |  113|    336|    stack_top--;                                             \
  |  |  114|    336|  }
  ------------------
  |  Branch (3850:3): [True: 0, False: 336]
  |  Branch (3850:3): [True: 336, False: 0]
  ------------------
 3851|       |
 3852|    672|  begin_struct("rich_signature")
  ------------------
  |  |   69|    336|  {                                                                  \
  |  |   70|    336|    YR_OBJECT* structure;                                            \
  |  |   71|    336|    FAIL_ON_ERROR(yr_object_create(                                  \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |   72|    336|        OBJECT_TYPE_STRUCTURE, name, stack[stack_top], &structure)); \
  |  |   73|    336|    assertf(                                                         \
  |  |  ------------------
  |  |  |  |  164|    336|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  165|    336|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   74|    336|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,            \
  |  |   75|    336|        "too many nested structures");                               \
  |  |   76|    336|    stack[++stack_top] = structure;                                  \
  |  |   77|    336|  }
  ------------------
 3853|    336|    declare_integer("offset");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3854|    336|    declare_integer("length");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3855|    336|    declare_integer("key");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3856|    336|    declare_string("raw_data");
  ------------------
  |  |  169|    336|  {                                                                          \
  |  |  170|    336|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  171|    336|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|    336|  }
  ------------------
 3857|    336|    declare_string("clear_data");
  ------------------
  |  |  169|    336|  {                                                                          \
  |  |  170|    336|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  171|    336|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|    336|  }
  ------------------
 3858|    336|    declare_string("version_data");
  ------------------
  |  |  169|    336|  {                                                                          \
  |  |  170|    336|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  171|    336|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|    336|  }
  ------------------
 3859|    336|    declare_function("version", "i", "i", rich_version);
  ------------------
  |  |  191|    336|  {                                                                   \
  |  |  192|    336|    YR_OBJECT* function;                                              \
  |  |  193|    336|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  194|    336|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|    336|  }
  ------------------
 3860|    336|    declare_function("version", "ii", "i", rich_version_toolid);
  ------------------
  |  |  191|    336|  {                                                                   \
  |  |  192|    336|    YR_OBJECT* function;                                              \
  |  |  193|    336|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  194|    336|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|    336|  }
  ------------------
 3861|    336|    declare_function("toolid", "i", "i", rich_toolid);
  ------------------
  |  |  191|    336|  {                                                                   \
  |  |  192|    336|    YR_OBJECT* function;                                              \
  |  |  193|    336|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  194|    336|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|    336|  }
  ------------------
 3862|    336|    declare_function("toolid", "ii", "i", rich_toolid_version);
  ------------------
  |  |  191|    336|  {                                                                   \
  |  |  192|    336|    YR_OBJECT* function;                                              \
  |  |  193|    336|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  194|    336|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|    336|  }
  ------------------
 3863|    672|  end_struct("rich_signature");
  ------------------
  |  |  108|    336|  {                                                          \
  |  |  109|    336|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  110|    336|    assertf(                                                 \
  |  |  ------------------
  |  |  |  |  164|    336|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  165|    336|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |  111|    336|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  112|    336|        "unbalanced begin_struct/end_struct");               \
  |  |  113|    336|    stack_top--;                                             \
  |  |  114|    336|  }
  ------------------
  |  Branch (3863:3): [True: 0, False: 336]
  |  Branch (3863:3): [True: 336, False: 0]
  ------------------
 3864|       |
 3865|       |#if defined(HAVE_LIBCRYPTO) || defined(HAVE_WINCRYPT_H) || \
 3866|       |    defined(HAVE_COMMONCRYPTO_COMMONCRYPTO_H)
 3867|       |  declare_function("imphash", "", "s", imphash);
 3868|       |#endif
 3869|       |
 3870|    672|  declare_function("section_index", "s", "i", section_index_name);
  ------------------
  |  |  191|    336|  {                                                                   \
  |  |  192|    336|    YR_OBJECT* function;                                              \
  |  |  193|    336|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  194|    336|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|    336|  }
  ------------------
 3871|    336|  declare_function("section_index", "i", "i", section_index_addr);
  ------------------
  |  |  191|    336|  {                                                                   \
  |  |  192|    336|    YR_OBJECT* function;                                              \
  |  |  193|    336|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  194|    336|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|    336|  }
  ------------------
 3872|    336|  declare_function("exports", "s", "i", exports);
  ------------------
  |  |  191|    336|  {                                                                   \
  |  |  192|    336|    YR_OBJECT* function;                                              \
  |  |  193|    336|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  194|    336|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|    336|  }
  ------------------
 3873|    336|  declare_function("exports", "r", "i", exports_regexp);
  ------------------
  |  |  191|    336|  {                                                                   \
  |  |  192|    336|    YR_OBJECT* function;                                              \
  |  |  193|    336|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  194|    336|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|    336|  }
  ------------------
 3874|    336|  declare_function("exports", "i", "i", exports_ordinal);
  ------------------
  |  |  191|    336|  {                                                                   \
  |  |  192|    336|    YR_OBJECT* function;                                              \
  |  |  193|    336|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  194|    336|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|    336|  }
  ------------------
 3875|    336|  declare_function("exports_index", "s", "i", exports_index_name);
  ------------------
  |  |  191|    336|  {                                                                   \
  |  |  192|    336|    YR_OBJECT* function;                                              \
  |  |  193|    336|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  194|    336|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|    336|  }
  ------------------
 3876|    336|  declare_function("exports_index", "i", "i", exports_index_ordinal);
  ------------------
  |  |  191|    336|  {                                                                   \
  |  |  192|    336|    YR_OBJECT* function;                                              \
  |  |  193|    336|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  194|    336|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|    336|  }
  ------------------
 3877|    336|  declare_function("exports_index", "r", "i", exports_index_regex);
  ------------------
  |  |  191|    336|  {                                                                   \
  |  |  192|    336|    YR_OBJECT* function;                                              \
  |  |  193|    336|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  194|    336|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|    336|  }
  ------------------
 3878|    336|  declare_function("imports", "ss", "i", imports_standard);
  ------------------
  |  |  191|    336|  {                                                                   \
  |  |  192|    336|    YR_OBJECT* function;                                              \
  |  |  193|    336|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  194|    336|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|    336|  }
  ------------------
 3879|    336|  declare_function("imports", "si", "i", imports_standard_ordinal);
  ------------------
  |  |  191|    336|  {                                                                   \
  |  |  192|    336|    YR_OBJECT* function;                                              \
  |  |  193|    336|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  194|    336|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|    336|  }
  ------------------
 3880|    336|  declare_function("imports", "s", "i", imports_standard_dll);
  ------------------
  |  |  191|    336|  {                                                                   \
  |  |  192|    336|    YR_OBJECT* function;                                              \
  |  |  193|    336|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  194|    336|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|    336|  }
  ------------------
 3881|    336|  declare_function("imports", "rr", "i", imports_standard_regex);
  ------------------
  |  |  191|    336|  {                                                                   \
  |  |  192|    336|    YR_OBJECT* function;                                              \
  |  |  193|    336|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  194|    336|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|    336|  }
  ------------------
 3882|    336|  declare_function("imports", "iss", "i", imports);
  ------------------
  |  |  191|    336|  {                                                                   \
  |  |  192|    336|    YR_OBJECT* function;                                              \
  |  |  193|    336|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  194|    336|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|    336|  }
  ------------------
 3883|    336|  declare_function("imports", "isi", "i", imports_ordinal);
  ------------------
  |  |  191|    336|  {                                                                   \
  |  |  192|    336|    YR_OBJECT* function;                                              \
  |  |  193|    336|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  194|    336|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|    336|  }
  ------------------
 3884|    336|  declare_function("imports", "is", "i", imports_dll);
  ------------------
  |  |  191|    336|  {                                                                   \
  |  |  192|    336|    YR_OBJECT* function;                                              \
  |  |  193|    336|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  194|    336|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|    336|  }
  ------------------
 3885|    336|  declare_function("imports", "irr", "i", imports_regex);
  ------------------
  |  |  191|    336|  {                                                                   \
  |  |  192|    336|    YR_OBJECT* function;                                              \
  |  |  193|    336|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  194|    336|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|    336|  }
  ------------------
 3886|    336|  declare_function("import_rva", "ss", "i", import_rva);
  ------------------
  |  |  191|    336|  {                                                                   \
  |  |  192|    336|    YR_OBJECT* function;                                              \
  |  |  193|    336|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  194|    336|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|    336|  }
  ------------------
 3887|    336|  declare_function("import_rva", "si", "i", import_rva_ordinal);
  ------------------
  |  |  191|    336|  {                                                                   \
  |  |  192|    336|    YR_OBJECT* function;                                              \
  |  |  193|    336|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  194|    336|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|    336|  }
  ------------------
 3888|    336|  declare_function("delayed_import_rva", "ss", "i", delayed_import_rva);
  ------------------
  |  |  191|    336|  {                                                                   \
  |  |  192|    336|    YR_OBJECT* function;                                              \
  |  |  193|    336|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  194|    336|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|    336|  }
  ------------------
 3889|    336|  declare_function("delayed_import_rva", "si", "i", delayed_import_rva_ordinal);
  ------------------
  |  |  191|    336|  {                                                                   \
  |  |  192|    336|    YR_OBJECT* function;                                              \
  |  |  193|    336|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  194|    336|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|    336|  }
  ------------------
 3890|    336|  declare_function("locale", "i", "i", locale);
  ------------------
  |  |  191|    336|  {                                                                   \
  |  |  192|    336|    YR_OBJECT* function;                                              \
  |  |  193|    336|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  194|    336|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|    336|  }
  ------------------
 3891|    336|  declare_function("language", "i", "i", language);
  ------------------
  |  |  191|    336|  {                                                                   \
  |  |  192|    336|    YR_OBJECT* function;                                              \
  |  |  193|    336|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  194|    336|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|    336|  }
  ------------------
 3892|    336|  declare_function("is_dll", "", "i", is_dll);
  ------------------
  |  |  191|    336|  {                                                                   \
  |  |  192|    336|    YR_OBJECT* function;                                              \
  |  |  193|    336|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  194|    336|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|    336|  }
  ------------------
 3893|    336|  declare_function("is_32bit", "", "i", is_32bit);
  ------------------
  |  |  191|    336|  {                                                                   \
  |  |  192|    336|    YR_OBJECT* function;                                              \
  |  |  193|    336|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  194|    336|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|    336|  }
  ------------------
 3894|    336|  declare_function("is_64bit", "", "i", is_64bit);
  ------------------
  |  |  191|    336|  {                                                                   \
  |  |  192|    336|    YR_OBJECT* function;                                              \
  |  |  193|    336|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  194|    336|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|    336|  }
  ------------------
 3895|       |
 3896|    336|  declare_integer("number_of_imports");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3897|    336|  declare_integer("number_of_imported_functions");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3898|    336|  declare_integer("number_of_delayed_imports");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3899|    336|  declare_integer("number_of_delayed_imported_functions");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3900|    336|  declare_integer("number_of_exports");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3901|       |
 3902|    336|  declare_string("dll_name");
  ------------------
  |  |  169|    336|  {                                                                          \
  |  |  170|    336|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  171|    336|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|    336|  }
  ------------------
 3903|    336|  declare_integer("export_timestamp");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3904|  1.00k|  begin_struct_array("export_details")
  ------------------
  |  |   80|    336|  {                                                                           \
  |  |   81|    336|    YR_OBJECT* structure;                                                     \
  |  |   82|    336|    YR_OBJECT* array;                                                         \
  |  |   83|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |   84|    336|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |   86|    336|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|    336|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  164|    336|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  165|    336|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   88|    336|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|    336|        "too many nested structures");                                        \
  |  |   90|    336|    stack[++stack_top] = structure;                                           \
  |  |   91|    336|  }
  ------------------
 3905|    336|    declare_integer("offset");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3906|    336|    declare_string("name");
  ------------------
  |  |  169|    336|  {                                                                          \
  |  |  170|    336|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  171|    336|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|    336|  }
  ------------------
 3907|    336|    declare_string("forward_name");
  ------------------
  |  |  169|    336|  {                                                                          \
  |  |  170|    336|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  171|    336|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|    336|  }
  ------------------
 3908|    336|    declare_integer("ordinal");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3909|    336|    declare_integer("rva");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3910|    672|  end_struct_array("export_details")
  ------------------
  |  |  117|    336|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|    336|  {                                                          \
  |  |  |  |  109|    336|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|    336|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|    336|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (164:7): [True: 0, False: 336]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  165|    336|  {                                                                         \
  |  |  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  |  |  168|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|    336|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|    336|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|    336|    stack_top--;                                             \
  |  |  |  |  114|    336|  }
  |  |  ------------------
  |  |  118|    336|  (name)
  ------------------
  |  Branch (3910:3): [True: 0, False: 336]
  |  Branch (3910:3): [True: 336, False: 0]
  ------------------
 3911|       |
 3912|  1.00k|  begin_struct_array("import_details")
  ------------------
  |  |   80|    336|  {                                                                           \
  |  |   81|    336|    YR_OBJECT* structure;                                                     \
  |  |   82|    336|    YR_OBJECT* array;                                                         \
  |  |   83|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |   84|    336|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |   86|    336|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|    336|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  164|    336|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  165|    336|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   88|    336|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|    336|        "too many nested structures");                                        \
  |  |   90|    336|    stack[++stack_top] = structure;                                           \
  |  |   91|    336|  }
  ------------------
 3913|    336|    declare_string("library_name");
  ------------------
  |  |  169|    336|  {                                                                          \
  |  |  170|    336|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  171|    336|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|    336|  }
  ------------------
 3914|    336|    declare_integer("number_of_functions");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3915|  1.00k|    begin_struct_array("functions")
  ------------------
  |  |   80|    336|  {                                                                           \
  |  |   81|    336|    YR_OBJECT* structure;                                                     \
  |  |   82|    336|    YR_OBJECT* array;                                                         \
  |  |   83|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |   84|    336|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |   86|    336|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|    336|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  164|    336|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  165|    336|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   88|    336|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|    336|        "too many nested structures");                                        \
  |  |   90|    336|    stack[++stack_top] = structure;                                           \
  |  |   91|    336|  }
  ------------------
 3916|    336|      declare_string("name");
  ------------------
  |  |  169|    336|  {                                                                          \
  |  |  170|    336|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  171|    336|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|    336|  }
  ------------------
 3917|    336|      declare_integer("ordinal");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3918|    336|      declare_integer("rva");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3919|    672|    end_struct_array("functions");
  ------------------
  |  |  117|    336|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|    336|  {                                                          \
  |  |  |  |  109|    336|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|    336|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|    336|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (164:7): [True: 0, False: 336]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  165|    336|  {                                                                         \
  |  |  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  |  |  168|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|    336|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|    336|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|    336|    stack_top--;                                             \
  |  |  |  |  114|    336|  }
  |  |  ------------------
  |  |  118|    336|  (name)
  ------------------
  |  Branch (3919:5): [True: 0, False: 336]
  |  Branch (3919:5): [True: 336, False: 0]
  ------------------
 3920|    672|  end_struct_array("import_details");
  ------------------
  |  |  117|    336|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|    336|  {                                                          \
  |  |  |  |  109|    336|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|    336|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|    336|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (164:7): [True: 0, False: 336]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  165|    336|  {                                                                         \
  |  |  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  |  |  168|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|    336|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|    336|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|    336|    stack_top--;                                             \
  |  |  |  |  114|    336|  }
  |  |  ------------------
  |  |  118|    336|  (name)
  ------------------
  |  Branch (3920:3): [True: 0, False: 336]
  |  Branch (3920:3): [True: 336, False: 0]
  ------------------
 3921|       |
 3922|  1.00k|  begin_struct_array("delayed_import_details")
  ------------------
  |  |   80|    336|  {                                                                           \
  |  |   81|    336|    YR_OBJECT* structure;                                                     \
  |  |   82|    336|    YR_OBJECT* array;                                                         \
  |  |   83|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |   84|    336|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |   86|    336|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|    336|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  164|    336|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  165|    336|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   88|    336|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|    336|        "too many nested structures");                                        \
  |  |   90|    336|    stack[++stack_top] = structure;                                           \
  |  |   91|    336|  }
  ------------------
 3923|    336|    declare_string("library_name");
  ------------------
  |  |  169|    336|  {                                                                          \
  |  |  170|    336|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  171|    336|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|    336|  }
  ------------------
 3924|    336|    declare_integer("number_of_functions");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3925|  1.00k|    begin_struct_array("functions")
  ------------------
  |  |   80|    336|  {                                                                           \
  |  |   81|    336|    YR_OBJECT* structure;                                                     \
  |  |   82|    336|    YR_OBJECT* array;                                                         \
  |  |   83|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |   84|    336|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |   86|    336|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|    336|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  164|    336|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  165|    336|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   88|    336|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|    336|        "too many nested structures");                                        \
  |  |   90|    336|    stack[++stack_top] = structure;                                           \
  |  |   91|    336|  }
  ------------------
 3926|    336|      declare_string("name");
  ------------------
  |  |  169|    336|  {                                                                          \
  |  |  170|    336|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  171|    336|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|    336|  }
  ------------------
 3927|    336|      declare_integer("ordinal");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3928|    336|      declare_integer("rva");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3929|    672|    end_struct_array("functions");
  ------------------
  |  |  117|    336|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|    336|  {                                                          \
  |  |  |  |  109|    336|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|    336|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|    336|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (164:7): [True: 0, False: 336]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  165|    336|  {                                                                         \
  |  |  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  |  |  168|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|    336|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|    336|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|    336|    stack_top--;                                             \
  |  |  |  |  114|    336|  }
  |  |  ------------------
  |  |  118|    336|  (name)
  ------------------
  |  Branch (3929:5): [True: 0, False: 336]
  |  Branch (3929:5): [True: 336, False: 0]
  ------------------
 3930|    672|  end_struct_array("delayed_import_details");
  ------------------
  |  |  117|    336|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|    336|  {                                                          \
  |  |  |  |  109|    336|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|    336|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|    336|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (164:7): [True: 0, False: 336]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  165|    336|  {                                                                         \
  |  |  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  |  |  168|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|    336|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|    336|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|    336|    stack_top--;                                             \
  |  |  |  |  114|    336|  }
  |  |  ------------------
  |  |  118|    336|  (name)
  ------------------
  |  Branch (3930:3): [True: 0, False: 336]
  |  Branch (3930:3): [True: 336, False: 0]
  ------------------
 3931|       |
 3932|    672|  declare_integer("resource_timestamp");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3933|       |
 3934|    672|  begin_struct("resource_version")
  ------------------
  |  |   69|    336|  {                                                                  \
  |  |   70|    336|    YR_OBJECT* structure;                                            \
  |  |   71|    336|    FAIL_ON_ERROR(yr_object_create(                                  \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |   72|    336|        OBJECT_TYPE_STRUCTURE, name, stack[stack_top], &structure)); \
  |  |   73|    336|    assertf(                                                         \
  |  |  ------------------
  |  |  |  |  164|    336|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  165|    336|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   74|    336|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,            \
  |  |   75|    336|        "too many nested structures");                               \
  |  |   76|    336|    stack[++stack_top] = structure;                                  \
  |  |   77|    336|  }
  ------------------
 3935|    336|    declare_integer("major");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3936|    336|    declare_integer("minor");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3937|    672|  end_struct("resource_version")
  ------------------
  |  |  108|    336|  {                                                          \
  |  |  109|    336|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  110|    336|    assertf(                                                 \
  |  |  ------------------
  |  |  |  |  164|    336|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  165|    336|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |  111|    336|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  112|    336|        "unbalanced begin_struct/end_struct");               \
  |  |  113|    336|    stack_top--;                                             \
  |  |  114|    336|  }
  ------------------
  |  Branch (3937:3): [True: 0, False: 336]
  |  Branch (3937:3): [True: 336, False: 0]
  ------------------
 3938|       |
 3939|  1.00k|  begin_struct_array("resources")
  ------------------
  |  |   80|    336|  {                                                                           \
  |  |   81|    336|    YR_OBJECT* structure;                                                     \
  |  |   82|    336|    YR_OBJECT* array;                                                         \
  |  |   83|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |   84|    336|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |   86|    336|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|    336|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  164|    336|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (164:7): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  165|    336|  {                                                                         \
  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  168|      0|  }
  |  |  ------------------
  |  |   88|    336|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|    336|        "too many nested structures");                                        \
  |  |   90|    336|    stack[++stack_top] = structure;                                           \
  |  |   91|    336|  }
  ------------------
 3940|    336|    declare_integer("rva");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3941|    336|    declare_integer("offset");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3942|    336|    declare_integer("length");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3943|    336|    declare_integer("type");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3944|    336|    declare_integer("id");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3945|    336|    declare_integer("language");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3946|    336|    declare_string("type_string");
  ------------------
  |  |  169|    336|  {                                                                          \
  |  |  170|    336|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  171|    336|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|    336|  }
  ------------------
 3947|    336|    declare_string("name_string");
  ------------------
  |  |  169|    336|  {                                                                          \
  |  |  170|    336|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  171|    336|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|    336|  }
  ------------------
 3948|    336|    declare_string("language_string");
  ------------------
  |  |  169|    336|  {                                                                          \
  |  |  170|    336|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  171|    336|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|    336|  }
  ------------------
 3949|    672|  end_struct_array("resources")
  ------------------
  |  |  117|    336|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|    336|  {                                                          \
  |  |  |  |  109|    336|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|    336|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  164|    336|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (164:7): [True: 0, False: 336]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  165|    336|  {                                                                         \
  |  |  |  |  |  |  166|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  167|      0|    abort();                                                                \
  |  |  |  |  |  |  168|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|    336|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|    336|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|    336|    stack_top--;                                             \
  |  |  |  |  114|    336|  }
  |  |  ------------------
  |  |  118|    336|  (name)
  ------------------
  |  Branch (3949:3): [True: 0, False: 336]
  |  Branch (3949:3): [True: 336, False: 0]
  ------------------
 3950|       |
 3951|    336|  declare_integer("number_of_resources");
  ------------------
  |  |  125|    336|  {                                                                           \
  |  |  126|    336|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  127|    336|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|    336|  }
  ------------------
 3952|    336|  declare_string("pdb_path");
  ------------------
  |  |  169|    336|  {                                                                          \
  |  |  170|    336|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  171|    336|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|    336|  }
  ------------------
 3953|       |
 3954|       |#if defined(HAVE_LIBCRYPTO) && !defined(BORINGSSL)
 3955|       |  begin_struct_array("signatures")
 3956|       |    declare_string("thumbprint");
 3957|       |    declare_string("issuer");
 3958|       |    declare_string("subject");
 3959|       |    declare_integer("version");
 3960|       |    declare_string("algorithm");
 3961|       |    declare_string("algorithm_oid");
 3962|       |    declare_string("serial");
 3963|       |    declare_integer("not_before");
 3964|       |    declare_integer("not_after");
 3965|       |
 3966|       |    declare_integer("verified");
 3967|       |    declare_string("digest_alg");
 3968|       |    declare_string("digest");
 3969|       |    declare_string("file_digest");
 3970|       |    declare_integer("number_of_certificates");
 3971|       |    begin_struct_array("certificates")
 3972|       |      ;
 3973|       |      declare_string("thumbprint");
 3974|       |      declare_string("issuer");
 3975|       |      declare_string("subject");
 3976|       |      declare_integer("version");
 3977|       |      declare_string("algorithm");
 3978|       |      declare_string("algorithm_oid");
 3979|       |      declare_string("serial");
 3980|       |      declare_integer("not_before");
 3981|       |      declare_integer("not_after");
 3982|       |    end_struct_array("certificates");
 3983|       |
 3984|       |    begin_struct("signer_info")
 3985|       |      ;
 3986|       |      declare_string("program_name");
 3987|       |      declare_string("digest");
 3988|       |      declare_string("digest_alg");
 3989|       |      declare_integer("length_of_chain");
 3990|       |      begin_struct_array("chain")
 3991|       |        ;
 3992|       |        declare_string("thumbprint");
 3993|       |        declare_string("issuer");
 3994|       |        declare_string("subject");
 3995|       |        declare_integer("version");
 3996|       |        declare_string("algorithm");
 3997|       |        declare_string("algorithm_oid");
 3998|       |        declare_string("serial");
 3999|       |        declare_integer("not_before");
 4000|       |        declare_integer("not_after");
 4001|       |      end_struct_array("chain");
 4002|       |    end_struct("signer_info");
 4003|       |
 4004|       |    declare_integer("number_of_countersignatures");
 4005|       |    begin_struct_array("countersignatures")
 4006|       |      ;
 4007|       |      declare_integer("verified");
 4008|       |      declare_integer("sign_time");
 4009|       |      declare_string("digest_alg");
 4010|       |      declare_string("digest");
 4011|       |      declare_integer("length_of_chain");
 4012|       |      begin_struct_array("chain")
 4013|       |        ;
 4014|       |        declare_string("thumbprint");
 4015|       |        declare_string("issuer");
 4016|       |        declare_string("subject");
 4017|       |        declare_integer("version");
 4018|       |        declare_string("algorithm");
 4019|       |        declare_string("algorithm_oid");
 4020|       |        declare_string("serial");
 4021|       |        declare_integer("not_before");
 4022|       |        declare_integer("not_after");
 4023|       |      end_struct_array("chain");
 4024|       |    end_struct_array("countersignatures")
 4025|       |
 4026|       |    declare_function("valid_on", "i", "i", valid_on);
 4027|       |
 4028|       |  end_struct_array("signatures")
 4029|       |
 4030|       |  // If any of the signatures correctly signs the binary
 4031|       |  declare_integer("is_signed");
 4032|       |  declare_integer("number_of_signatures");
 4033|       |#endif
 4034|       |
 4035|    336|  declare_function("rva_to_offset", "i", "i", rva_to_offset);
  ------------------
  |  |  191|    336|  {                                                                   \
  |  |  192|    336|    YR_OBJECT* function;                                              \
  |  |  193|    336|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|    336|  {                               \
  |  |  |  |  135|    336|    int __error = (x);            \
  |  |  |  |  136|    336|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 336]
  |  |  |  |  ------------------
  |  |  |  |  137|    336|      return __error;             \
  |  |  |  |  138|    336|  }
  |  |  ------------------
  |  |  194|    336|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|    336|  }
  ------------------
 4036|    336|end_declarations
  ------------------
  |  |   65|    336|  return ERROR_SUCCESS;  \
  |  |  ------------------
  |  |  |  |   40|    336|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |   66|    336|  }
  ------------------
pe__initialize:
 4039|      2|{
 4040|       |#if defined(HAVE_LIBCRYPTO) && !defined(BORINGSSL)
 4041|       |  // Initialize OpenSSL global objects for the auth library before any
 4042|       |  // multithreaded environment as it is not thread-safe. This can
 4043|       |  // only be called once per process.
 4044|       |  static bool s_initialized = false;
 4045|       |
 4046|       |  if (!s_initialized)
 4047|       |  {
 4048|       |    s_initialized = true;
 4049|       |    initialize_authenticode_parser();
 4050|       |  }
 4051|       |#endif
 4052|      2|  return ERROR_SUCCESS;
  ------------------
  |  |   40|      2|#define ERROR_SUCCESS 0
  ------------------
 4053|      2|}

string__declarations:
   96|     19|begin_declarations
  ------------------
  |  |   59|     19|  {                                          \
  |  |   60|     19|    YR_OBJECT* stack[64];                    \
  |  |   61|     19|    int stack_top = 0;                       \
  |  |   62|     19|    stack[stack_top] = module;
  ------------------
   97|     19|  declare_function("to_int", "s", "i", to_int);
  ------------------
  |  |  191|     19|  {                                                                   \
  |  |  192|     19|    YR_OBJECT* function;                                              \
  |  |  193|     19|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     19|  {                               \
  |  |  |  |  135|     19|    int __error = (x);            \
  |  |  |  |  136|     19|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     19|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 19]
  |  |  |  |  ------------------
  |  |  |  |  137|     19|      return __error;             \
  |  |  |  |  138|     19|  }
  |  |  ------------------
  |  |  194|     19|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     19|  }
  ------------------
   98|     19|  declare_function("to_int", "si", "i", to_int_base);
  ------------------
  |  |  191|     19|  {                                                                   \
  |  |  192|     19|    YR_OBJECT* function;                                              \
  |  |  193|     19|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     19|  {                               \
  |  |  |  |  135|     19|    int __error = (x);            \
  |  |  |  |  136|     19|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     19|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 19]
  |  |  |  |  ------------------
  |  |  |  |  137|     19|      return __error;             \
  |  |  |  |  138|     19|  }
  |  |  ------------------
  |  |  194|     19|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     19|  }
  ------------------
   99|     19|  declare_function("length", "s", "i", string_length);
  ------------------
  |  |  191|     19|  {                                                                   \
  |  |  192|     19|    YR_OBJECT* function;                                              \
  |  |  193|     19|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     19|  {                               \
  |  |  |  |  135|     19|    int __error = (x);            \
  |  |  |  |  136|     19|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     19|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 19]
  |  |  |  |  ------------------
  |  |  |  |  137|     19|      return __error;             \
  |  |  |  |  138|     19|  }
  |  |  ------------------
  |  |  194|     19|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     19|  }
  ------------------
  100|     19|end_declarations
  ------------------
  |  |   65|     19|  return ERROR_SUCCESS;  \
  |  |  ------------------
  |  |  |  |   40|     19|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |   66|     19|  }
  ------------------
string__initialize:
  103|      2|{
  104|      2|  return ERROR_SUCCESS;
  ------------------
  |  |   40|      2|#define ERROR_SUCCESS 0
  ------------------
  105|      2|}

tests__declarations:
  104|     24|begin_declarations
  ------------------
  |  |   59|     24|  {                                          \
  |  |   60|     24|    YR_OBJECT* stack[64];                    \
  |  |   61|     24|    int stack_top = 0;                       \
  |  |   62|     24|    stack[stack_top] = module;
  ------------------
  105|     48|  begin_struct("constants")
  ------------------
  |  |   69|     24|  {                                                                  \
  |  |   70|     24|    YR_OBJECT* structure;                                            \
  |  |   71|     24|    FAIL_ON_ERROR(yr_object_create(                                  \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |   72|     24|        OBJECT_TYPE_STRUCTURE, name, stack[stack_top], &structure)); \
  |  |   73|     24|    assertf(                                                         \
  |  |  ------------------
  |  |  |  |  132|     24|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (132:7): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  133|     24|  {                                                                         \
  |  |  |  |  134|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  135|      0|    abort();                                                                \
  |  |  |  |  136|      0|  }
  |  |  ------------------
  |  |   74|     24|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,            \
  |  |   75|     24|        "too many nested structures");                               \
  |  |   76|     24|    stack[++stack_top] = structure;                                  \
  |  |   77|     24|  }
  ------------------
  106|     24|    declare_integer("one");
  ------------------
  |  |  125|     24|  {                                                                           \
  |  |  126|     24|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |  127|     24|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     24|  }
  ------------------
  107|     24|    declare_integer("two");
  ------------------
  |  |  125|     24|  {                                                                           \
  |  |  126|     24|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |  127|     24|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     24|  }
  ------------------
  108|     24|    declare_string("foo");
  ------------------
  |  |  169|     24|  {                                                                          \
  |  |  170|     24|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |  171|     24|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|     24|  }
  ------------------
  109|     24|    declare_string("empty");
  ------------------
  |  |  169|     24|  {                                                                          \
  |  |  170|     24|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |  171|     24|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|     24|  }
  ------------------
  110|     48|  end_struct("constants")
  ------------------
  |  |  108|     24|  {                                                          \
  |  |  109|     24|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  110|     24|    assertf(                                                 \
  |  |  ------------------
  |  |  |  |  132|     24|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (132:7): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  133|     24|  {                                                                         \
  |  |  |  |  134|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  135|      0|    abort();                                                                \
  |  |  |  |  136|      0|  }
  |  |  ------------------
  |  |  111|     24|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  112|     24|        "unbalanced begin_struct/end_struct");               \
  |  |  113|     24|    stack_top--;                                             \
  |  |  114|     24|  }
  ------------------
  |  Branch (110:3): [True: 0, False: 24]
  |  Branch (110:3): [True: 24, False: 0]
  ------------------
  111|       |
  112|     48|  begin_struct("undefined")
  ------------------
  |  |   69|     24|  {                                                                  \
  |  |   70|     24|    YR_OBJECT* structure;                                            \
  |  |   71|     24|    FAIL_ON_ERROR(yr_object_create(                                  \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |   72|     24|        OBJECT_TYPE_STRUCTURE, name, stack[stack_top], &structure)); \
  |  |   73|     24|    assertf(                                                         \
  |  |  ------------------
  |  |  |  |  132|     24|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (132:7): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  133|     24|  {                                                                         \
  |  |  |  |  134|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  135|      0|    abort();                                                                \
  |  |  |  |  136|      0|  }
  |  |  ------------------
  |  |   74|     24|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,            \
  |  |   75|     24|        "too many nested structures");                               \
  |  |   76|     24|    stack[++stack_top] = structure;                                  \
  |  |   77|     24|  }
  ------------------
  113|     24|    declare_integer("i");
  ------------------
  |  |  125|     24|  {                                                                           \
  |  |  126|     24|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |  127|     24|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     24|  }
  ------------------
  114|     24|    declare_float("f");
  ------------------
  |  |  147|     24|  {                                                                         \
  |  |  148|     24|    FAIL_ON_ERROR(                                                          \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |  149|     24|        yr_object_create(OBJECT_TYPE_FLOAT, name, stack[stack_top], NULL)); \
  |  |  150|     24|  }
  ------------------
  115|     48|  end_struct("undefined")
  ------------------
  |  |  108|     24|  {                                                          \
  |  |  109|     24|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  110|     24|    assertf(                                                 \
  |  |  ------------------
  |  |  |  |  132|     24|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (132:7): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  133|     24|  {                                                                         \
  |  |  |  |  134|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  135|      0|    abort();                                                                \
  |  |  |  |  136|      0|  }
  |  |  ------------------
  |  |  111|     24|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  112|     24|        "unbalanced begin_struct/end_struct");               \
  |  |  113|     24|    stack_top--;                                             \
  |  |  114|     24|  }
  ------------------
  |  Branch (115:3): [True: 0, False: 24]
  |  Branch (115:3): [True: 24, False: 0]
  ------------------
  116|       |
  117|     24|  declare_string("module_data");
  ------------------
  |  |  169|     24|  {                                                                          \
  |  |  170|     24|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |  171|     24|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|     24|  }
  ------------------
  118|     48|  declare_integer_array("integer_array");
  ------------------
  |  |  131|     24|  {                                                                           \
  |  |  132|     24|    YR_OBJECT* array;                                                         \
  |  |  133|     24|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |  134|     24|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |  135|     24|    FAIL_ON_ERROR(yr_object_create(OBJECT_TYPE_INTEGER, name, array, NULL));  \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |  136|     24|  }
  ------------------
  119|     48|  declare_string_array("string_array");
  ------------------
  |  |  175|     24|  {                                                                           \
  |  |  176|     24|    YR_OBJECT* array;                                                         \
  |  |  177|     24|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |  178|     24|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |  179|     24|    FAIL_ON_ERROR(yr_object_create(OBJECT_TYPE_STRING, name, array, NULL));   \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |  180|     24|  }
  ------------------
  120|       |
  121|     48|  declare_integer_dictionary("integer_dict");
  ------------------
  |  |  139|     24|  {                                                                         \
  |  |  140|     24|    YR_OBJECT* dict;                                                        \
  |  |  141|     24|    FAIL_ON_ERROR(yr_object_create(                                         \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |  142|     24|        OBJECT_TYPE_DICTIONARY, name, stack[stack_top], &dict));            \
  |  |  143|     24|    FAIL_ON_ERROR(yr_object_create(OBJECT_TYPE_INTEGER, name, dict, NULL)); \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |  144|     24|  }
  ------------------
  122|     48|  declare_string_dictionary("string_dict");
  ------------------
  |  |  183|     24|  {                                                                        \
  |  |  184|     24|    YR_OBJECT* dict;                                                       \
  |  |  185|     24|    FAIL_ON_ERROR(yr_object_create(                                        \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |  186|     24|        OBJECT_TYPE_DICTIONARY, name, stack[stack_top], &dict));           \
  |  |  187|     24|    FAIL_ON_ERROR(yr_object_create(OBJECT_TYPE_STRING, name, dict, NULL)); \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |  188|     24|  }
  ------------------
  123|       |
  124|     72|  begin_struct_array("struct_array")
  ------------------
  |  |   80|     24|  {                                                                           \
  |  |   81|     24|    YR_OBJECT* structure;                                                     \
  |  |   82|     24|    YR_OBJECT* array;                                                         \
  |  |   83|     24|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |   84|     24|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|     24|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |   86|     24|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|     24|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  132|     24|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (132:7): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  133|     24|  {                                                                         \
  |  |  |  |  134|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  135|      0|    abort();                                                                \
  |  |  |  |  136|      0|  }
  |  |  ------------------
  |  |   88|     24|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|     24|        "too many nested structures");                                        \
  |  |   90|     24|    stack[++stack_top] = structure;                                           \
  |  |   91|     24|  }
  ------------------
  125|     24|    declare_integer("i");
  ------------------
  |  |  125|     24|  {                                                                           \
  |  |  126|     24|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |  127|     24|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     24|  }
  ------------------
  126|     24|    declare_string("s");
  ------------------
  |  |  169|     24|  {                                                                          \
  |  |  170|     24|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |  171|     24|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|     24|  }
  ------------------
  127|     48|  end_struct_array("struct_array")
  ------------------
  |  |  117|     24|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|     24|  {                                                          \
  |  |  |  |  109|     24|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|     24|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  132|     24|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (132:7): [True: 0, False: 24]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     24|  {                                                                         \
  |  |  |  |  |  |  134|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  135|      0|    abort();                                                                \
  |  |  |  |  |  |  136|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|     24|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|     24|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|     24|    stack_top--;                                             \
  |  |  |  |  114|     24|  }
  |  |  ------------------
  |  |  118|     24|  (name)
  ------------------
  |  Branch (127:3): [True: 0, False: 24]
  |  Branch (127:3): [True: 24, False: 0]
  ------------------
  128|       |
  129|     72|  begin_struct_dictionary("struct_dict")
  ------------------
  |  |   94|     24|  {                                                                        \
  |  |   95|     24|    YR_OBJECT* structure;                                                  \
  |  |   96|     24|    YR_OBJECT* array;                                                      \
  |  |   97|     24|    FAIL_ON_ERROR(yr_object_create(                                        \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |   98|     24|        OBJECT_TYPE_DICTIONARY, name, stack[stack_top], &array));          \
  |  |   99|     24|    FAIL_ON_ERROR(                                                         \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |  100|     24|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure)); \
  |  |  101|     24|    assertf(                                                               \
  |  |  ------------------
  |  |  |  |  132|     24|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (132:7): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  133|     24|  {                                                                         \
  |  |  |  |  134|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  135|      0|    abort();                                                                \
  |  |  |  |  136|      0|  }
  |  |  ------------------
  |  |  102|     24|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                  \
  |  |  103|     24|        "too many nested structures");                                     \
  |  |  104|     24|    stack[++stack_top] = structure;                                        \
  |  |  105|     24|  }
  ------------------
  130|     24|    declare_integer("i");
  ------------------
  |  |  125|     24|  {                                                                           \
  |  |  126|     24|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |  127|     24|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     24|  }
  ------------------
  131|     24|    declare_string("s");
  ------------------
  |  |  169|     24|  {                                                                          \
  |  |  170|     24|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |  171|     24|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|     24|  }
  ------------------
  132|     48|  end_struct_dictionary("struct_dict");
  ------------------
  |  |  121|     24|  end_struct                        \
  |  |  ------------------
  |  |  |  |  108|     24|  {                                                          \
  |  |  |  |  109|     24|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|     24|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  132|     24|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (132:7): [True: 0, False: 24]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     24|  {                                                                         \
  |  |  |  |  |  |  134|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  135|      0|    abort();                                                                \
  |  |  |  |  |  |  136|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|     24|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|     24|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|     24|    stack_top--;                                             \
  |  |  |  |  114|     24|  }
  |  |  ------------------
  |  |  122|     24|  (name)
  ------------------
  |  Branch (132:3): [True: 0, False: 24]
  |  Branch (132:3): [True: 24, False: 0]
  ------------------
  133|       |
  134|     72|  begin_struct_dictionary("empty_struct_dict")
  ------------------
  |  |   94|     24|  {                                                                        \
  |  |   95|     24|    YR_OBJECT* structure;                                                  \
  |  |   96|     24|    YR_OBJECT* array;                                                      \
  |  |   97|     24|    FAIL_ON_ERROR(yr_object_create(                                        \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |   98|     24|        OBJECT_TYPE_DICTIONARY, name, stack[stack_top], &array));          \
  |  |   99|     24|    FAIL_ON_ERROR(                                                         \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |  100|     24|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure)); \
  |  |  101|     24|    assertf(                                                               \
  |  |  ------------------
  |  |  |  |  132|     24|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (132:7): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  133|     24|  {                                                                         \
  |  |  |  |  134|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  135|      0|    abort();                                                                \
  |  |  |  |  136|      0|  }
  |  |  ------------------
  |  |  102|     24|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                  \
  |  |  103|     24|        "too many nested structures");                                     \
  |  |  104|     24|    stack[++stack_top] = structure;                                        \
  |  |  105|     24|  }
  ------------------
  135|     24|    declare_integer("unused");
  ------------------
  |  |  125|     24|  {                                                                           \
  |  |  126|     24|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |  127|     24|        yr_object_create(OBJECT_TYPE_INTEGER, name, stack[stack_top], NULL)); \
  |  |  128|     24|  }
  ------------------
  136|     48|  end_struct_dictionary("empty_struct_dict")
  ------------------
  |  |  121|     24|  end_struct                        \
  |  |  ------------------
  |  |  |  |  108|     24|  {                                                          \
  |  |  |  |  109|     24|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|     24|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  132|     24|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (132:7): [True: 0, False: 24]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     24|  {                                                                         \
  |  |  |  |  |  |  134|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  135|      0|    abort();                                                                \
  |  |  |  |  |  |  136|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|     24|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|     24|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|     24|    stack_top--;                                             \
  |  |  |  |  114|     24|  }
  |  |  ------------------
  |  |  122|     24|  (name)
  ------------------
  |  Branch (136:3): [True: 0, False: 24]
  |  Branch (136:3): [True: 24, False: 0]
  ------------------
  137|       |
  138|     72|  begin_struct_array("empty_struct_array")
  ------------------
  |  |   80|     24|  {                                                                           \
  |  |   81|     24|    YR_OBJECT* structure;                                                     \
  |  |   82|     24|    YR_OBJECT* array;                                                         \
  |  |   83|     24|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |   84|     24|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|     24|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |   86|     24|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|     24|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  132|     24|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (132:7): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  133|     24|  {                                                                         \
  |  |  |  |  134|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  135|      0|    abort();                                                                \
  |  |  |  |  136|      0|  }
  |  |  ------------------
  |  |   88|     24|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|     24|        "too many nested structures");                                        \
  |  |   90|     24|    stack[++stack_top] = structure;                                           \
  |  |   91|     24|  }
  ------------------
  139|     72|    begin_struct_array("struct_array")
  ------------------
  |  |   80|     24|  {                                                                           \
  |  |   81|     24|    YR_OBJECT* structure;                                                     \
  |  |   82|     24|    YR_OBJECT* array;                                                         \
  |  |   83|     24|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |   84|     24|        yr_object_create(OBJECT_TYPE_ARRAY, name, stack[stack_top], &array)); \
  |  |   85|     24|    FAIL_ON_ERROR(                                                            \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |   86|     24|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure));    \
  |  |   87|     24|    assertf(                                                                  \
  |  |  ------------------
  |  |  |  |  132|     24|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (132:7): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  133|     24|  {                                                                         \
  |  |  |  |  134|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  135|      0|    abort();                                                                \
  |  |  |  |  136|      0|  }
  |  |  ------------------
  |  |   88|     24|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                     \
  |  |   89|     24|        "too many nested structures");                                        \
  |  |   90|     24|    stack[++stack_top] = structure;                                           \
  |  |   91|     24|  }
  ------------------
  140|     24|      declare_string("unused");
  ------------------
  |  |  169|     24|  {                                                                          \
  |  |  170|     24|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |  171|     24|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|     24|  }
  ------------------
  141|     48|    end_struct_array("struct_array");
  ------------------
  |  |  117|     24|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|     24|  {                                                          \
  |  |  |  |  109|     24|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|     24|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  132|     24|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (132:7): [True: 0, False: 24]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     24|  {                                                                         \
  |  |  |  |  |  |  134|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  135|      0|    abort();                                                                \
  |  |  |  |  |  |  136|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|     24|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|     24|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|     24|    stack_top--;                                             \
  |  |  |  |  114|     24|  }
  |  |  ------------------
  |  |  118|     24|  (name)
  ------------------
  |  Branch (141:5): [True: 0, False: 24]
  |  Branch (141:5): [True: 24, False: 0]
  ------------------
  142|     72|    begin_struct_dictionary("struct_dict")
  ------------------
  |  |   94|     24|  {                                                                        \
  |  |   95|     24|    YR_OBJECT* structure;                                                  \
  |  |   96|     24|    YR_OBJECT* array;                                                      \
  |  |   97|     24|    FAIL_ON_ERROR(yr_object_create(                                        \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |   98|     24|        OBJECT_TYPE_DICTIONARY, name, stack[stack_top], &array));          \
  |  |   99|     24|    FAIL_ON_ERROR(                                                         \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |  100|     24|        yr_object_create(OBJECT_TYPE_STRUCTURE, name, array, &structure)); \
  |  |  101|     24|    assertf(                                                               \
  |  |  ------------------
  |  |  |  |  132|     24|  if (!(expr))                                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (132:7): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  133|     24|  {                                                                         \
  |  |  |  |  134|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  135|      0|    abort();                                                                \
  |  |  |  |  136|      0|  }
  |  |  ------------------
  |  |  102|     24|        stack_top < sizeof(stack) / sizeof(stack[0]) - 1,                  \
  |  |  103|     24|        "too many nested structures");                                     \
  |  |  104|     24|    stack[++stack_top] = structure;                                        \
  |  |  105|     24|  }
  ------------------
  143|     24|      declare_string("unused");
  ------------------
  |  |  169|     24|  {                                                                          \
  |  |  170|     24|    FAIL_ON_ERROR(                                                           \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |  171|     24|        yr_object_create(OBJECT_TYPE_STRING, name, stack[stack_top], NULL)); \
  |  |  172|     24|  }
  ------------------
  144|     48|    end_struct_dictionary("struct_dict");
  ------------------
  |  |  121|     24|  end_struct                        \
  |  |  ------------------
  |  |  |  |  108|     24|  {                                                          \
  |  |  |  |  109|     24|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|     24|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  132|     24|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (132:7): [True: 0, False: 24]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     24|  {                                                                         \
  |  |  |  |  |  |  134|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  135|      0|    abort();                                                                \
  |  |  |  |  |  |  136|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|     24|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|     24|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|     24|    stack_top--;                                             \
  |  |  |  |  114|     24|  }
  |  |  ------------------
  |  |  122|     24|  (name)
  ------------------
  |  Branch (144:5): [True: 0, False: 24]
  |  Branch (144:5): [True: 24, False: 0]
  ------------------
  145|     48|  end_struct_array("empty_struct_array");
  ------------------
  |  |  117|     24|  end_struct                   \
  |  |  ------------------
  |  |  |  |  108|     24|  {                                                          \
  |  |  |  |  109|     24|    assert(stack[stack_top]->type == OBJECT_TYPE_STRUCTURE); \
  |  |  |  |  110|     24|    assertf(                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  |  132|     24|  if (!(expr))                                                              \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (132:7): [True: 0, False: 24]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  133|     24|  {                                                                         \
  |  |  |  |  |  |  134|      0|    fprintf(stderr, "%s:%d: " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \
  |  |  |  |  |  |  135|      0|    abort();                                                                \
  |  |  |  |  |  |  136|      0|  }
  |  |  |  |  ------------------
  |  |  |  |  111|     24|        strcmp(stack[stack_top]->identifier, name) == 0,     \
  |  |  |  |  112|     24|        "unbalanced begin_struct/end_struct");               \
  |  |  |  |  113|     24|    stack_top--;                                             \
  |  |  |  |  114|     24|  }
  |  |  ------------------
  |  |  118|     24|  (name)
  ------------------
  |  Branch (145:3): [True: 0, False: 24]
  |  Branch (145:3): [True: 24, False: 0]
  ------------------
  146|       |
  147|     48|  declare_function("match", "rs", "i", match);
  ------------------
  |  |  191|     24|  {                                                                   \
  |  |  192|     24|    YR_OBJECT* function;                                              \
  |  |  193|     24|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |  194|     24|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     24|  }
  ------------------
  148|     24|  declare_function("isum", "ii", "i", isum_2);
  ------------------
  |  |  191|     24|  {                                                                   \
  |  |  192|     24|    YR_OBJECT* function;                                              \
  |  |  193|     24|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |  194|     24|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     24|  }
  ------------------
  149|     24|  declare_function("isum", "iii", "i", isum_3);
  ------------------
  |  |  191|     24|  {                                                                   \
  |  |  192|     24|    YR_OBJECT* function;                                              \
  |  |  193|     24|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |  194|     24|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     24|  }
  ------------------
  150|     24|  declare_function("fsum", "ff", "f", fsum_2);
  ------------------
  |  |  191|     24|  {                                                                   \
  |  |  192|     24|    YR_OBJECT* function;                                              \
  |  |  193|     24|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |  194|     24|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     24|  }
  ------------------
  151|     24|  declare_function("fsum", "fff", "f", fsum_3);
  ------------------
  |  |  191|     24|  {                                                                   \
  |  |  192|     24|    YR_OBJECT* function;                                              \
  |  |  193|     24|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |  194|     24|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     24|  }
  ------------------
  152|     24|  declare_function("length", "s", "i", length);
  ------------------
  |  |  191|     24|  {                                                                   \
  |  |  192|     24|    YR_OBJECT* function;                                              \
  |  |  193|     24|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |  194|     24|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     24|  }
  ------------------
  153|     24|  declare_function("empty", "", "s", empty);
  ------------------
  |  |  191|     24|  {                                                                   \
  |  |  192|     24|    YR_OBJECT* function;                                              \
  |  |  193|     24|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |  194|     24|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     24|  }
  ------------------
  154|     24|  declare_function("foobar", "i", "s", foobar);
  ------------------
  |  |  191|     24|  {                                                                   \
  |  |  192|     24|    YR_OBJECT* function;                                              \
  |  |  193|     24|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|     24|  {                               \
  |  |  |  |  135|     24|    int __error = (x);            \
  |  |  |  |  136|     24|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 24]
  |  |  |  |  ------------------
  |  |  |  |  137|     24|      return __error;             \
  |  |  |  |  138|     24|  }
  |  |  ------------------
  |  |  194|     24|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|     24|  }
  ------------------
  155|     24|end_declarations
  ------------------
  |  |   65|     24|  return ERROR_SUCCESS;  \
  |  |  ------------------
  |  |  |  |   40|     24|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |   66|     24|  }
  ------------------
tests__initialize:
  158|      2|{
  159|      2|  return ERROR_SUCCESS;
  ------------------
  |  |   40|      2|#define ERROR_SUCCESS 0
  ------------------
  160|      2|}

time__declarations:
   45|      7|begin_declarations
  ------------------
  |  |   59|      7|  {                                          \
  |  |   60|      7|    YR_OBJECT* stack[64];                    \
  |  |   61|      7|    int stack_top = 0;                       \
  |  |   62|      7|    stack[stack_top] = module;
  ------------------
   46|      7|  declare_function("now", "", "i", now);
  ------------------
  |  |  191|      7|  {                                                                   \
  |  |  192|      7|    YR_OBJECT* function;                                              \
  |  |  193|      7|    FAIL_ON_ERROR(yr_object_function_create(                          \
  |  |  ------------------
  |  |  |  |  134|      7|  {                               \
  |  |  |  |  135|      7|    int __error = (x);            \
  |  |  |  |  136|      7|    if (__error != ERROR_SUCCESS) \
  |  |  |  |  ------------------
  |  |  |  |  |  |   40|      7|#define ERROR_SUCCESS 0
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (136:9): [True: 0, False: 7]
  |  |  |  |  ------------------
  |  |  |  |  137|      7|      return __error;             \
  |  |  |  |  138|      7|  }
  |  |  ------------------
  |  |  194|      7|        name, args_fmt, ret_fmt, func, stack[stack_top], &function)); \
  |  |  195|      7|  }
  ------------------
   47|      7|end_declarations;
  ------------------
  |  |   65|      7|  return ERROR_SUCCESS;  \
  |  |  ------------------
  |  |  |  |   40|      7|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |   66|      7|  }
  ------------------
time__initialize:
   51|      2|{
   52|      2|  return ERROR_SUCCESS;
  ------------------
  |  |   40|      2|#define ERROR_SUCCESS 0
  ------------------
   53|      2|}

yr_object_create:
   56|   119k|{
   57|   119k|  YR_OBJECT* obj;
   58|   119k|  size_t object_size = 0;
   59|       |
   60|   119k|  assert(parent != NULL || object != NULL);
  ------------------
  |  Branch (60:3): [True: 119k, False: 0]
  |  Branch (60:3): [True: 0, False: 0]
  |  Branch (60:3): [True: 119k, False: 832]
  |  Branch (60:3): [True: 832, False: 0]
  ------------------
   61|   119k|  assert(identifier != NULL);
  ------------------
  |  Branch (61:3): [True: 0, False: 119k]
  |  Branch (61:3): [True: 119k, False: 0]
  ------------------
   62|       |
   63|   119k|  switch (type)
   64|   119k|  {
   65|  6.75k|  case OBJECT_TYPE_STRUCTURE:
  ------------------
  |  |   60|  6.75k|#define OBJECT_TYPE_STRUCTURE  3
  ------------------
  |  Branch (65:3): [True: 6.75k, False: 113k]
  ------------------
   66|  6.75k|    object_size = sizeof(YR_OBJECT_STRUCTURE);
   67|  6.75k|    break;
   68|  3.47k|  case OBJECT_TYPE_ARRAY:
  ------------------
  |  |   61|  3.47k|#define OBJECT_TYPE_ARRAY      4
  ------------------
  |  Branch (68:3): [True: 3.47k, False: 116k]
  ------------------
   69|  3.47k|    object_size = sizeof(YR_OBJECT_ARRAY);
   70|  3.47k|    break;
   71|    456|  case OBJECT_TYPE_DICTIONARY:
  ------------------
  |  |   63|    456|#define OBJECT_TYPE_DICTIONARY 6
  ------------------
  |  Branch (71:3): [True: 456, False: 119k]
  ------------------
   72|    456|    object_size = sizeof(YR_OBJECT_DICTIONARY);
   73|    456|    break;
   74|  96.3k|  case OBJECT_TYPE_INTEGER:
  ------------------
  |  |   58|  96.3k|#define OBJECT_TYPE_INTEGER    1
  ------------------
  |  Branch (74:3): [True: 96.3k, False: 23.6k]
  ------------------
   75|  96.3k|    object_size = sizeof(YR_OBJECT);
   76|  96.3k|    break;
   77|    223|  case OBJECT_TYPE_FLOAT:
  ------------------
  |  |   64|    223|#define OBJECT_TYPE_FLOAT      7
  ------------------
  |  Branch (77:3): [True: 223, False: 119k]
  ------------------
   78|    223|    object_size = sizeof(YR_OBJECT);
   79|    223|    break;
   80|  7.11k|  case OBJECT_TYPE_STRING:
  ------------------
  |  |   59|  7.11k|#define OBJECT_TYPE_STRING     2
  ------------------
  |  Branch (80:3): [True: 7.11k, False: 112k]
  ------------------
   81|  7.11k|    object_size = sizeof(YR_OBJECT);
   82|  7.11k|    break;
   83|  5.66k|  case OBJECT_TYPE_FUNCTION:
  ------------------
  |  |   62|  5.66k|#define OBJECT_TYPE_FUNCTION   5
  ------------------
  |  Branch (83:3): [True: 5.66k, False: 114k]
  ------------------
   84|  5.66k|    object_size = sizeof(YR_OBJECT_FUNCTION);
   85|  5.66k|    break;
   86|      0|  default:
  ------------------
  |  Branch (86:3): [True: 0, False: 119k]
  ------------------
   87|      0|    assert(false);
  ------------------
  |  Branch (87:5): [Folded, False: 0]
  |  Branch (87:5): [Folded, False: 0]
  ------------------
   88|      0|    return ERROR_INVALID_ARGUMENT;
  ------------------
  |  |   76|      0|#define ERROR_INVALID_ARGUMENT               29
  ------------------
   89|   119k|  }
   90|       |
   91|   119k|  obj = (YR_OBJECT*) yr_malloc(object_size);
   92|       |
   93|   119k|  if (obj == NULL)
  ------------------
  |  Branch (93:7): [True: 0, False: 119k]
  ------------------
   94|      0|    return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
   95|       |
   96|   119k|  obj->type = type;
   97|   119k|  obj->identifier = yr_strdup(identifier);
   98|   119k|  obj->parent = parent;
   99|   119k|  obj->data = NULL;
  100|       |
  101|   119k|  switch (type)
  ------------------
  |  Branch (101:11): [True: 119k, False: 0]
  ------------------
  102|   119k|  {
  103|  96.3k|  case OBJECT_TYPE_INTEGER:
  ------------------
  |  |   58|  96.3k|#define OBJECT_TYPE_INTEGER    1
  ------------------
  |  Branch (103:3): [True: 96.3k, False: 23.6k]
  ------------------
  104|  96.3k|    obj->value.i = YR_UNDEFINED;
  ------------------
  |  |   38|  96.3k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  ------------------
  105|  96.3k|    break;
  106|    223|  case OBJECT_TYPE_FLOAT:
  ------------------
  |  |   64|    223|#define OBJECT_TYPE_FLOAT      7
  ------------------
  |  Branch (106:3): [True: 223, False: 119k]
  ------------------
  107|    223|    obj->value.d = NAN;
  108|    223|    break;
  109|  7.11k|  case OBJECT_TYPE_STRING:
  ------------------
  |  |   59|  7.11k|#define OBJECT_TYPE_STRING     2
  ------------------
  |  Branch (109:3): [True: 7.11k, False: 112k]
  ------------------
  110|  7.11k|    obj->value.ss = NULL;
  111|  7.11k|    break;
  112|  6.75k|  case OBJECT_TYPE_STRUCTURE:
  ------------------
  |  |   60|  6.75k|#define OBJECT_TYPE_STRUCTURE  3
  ------------------
  |  Branch (112:3): [True: 6.75k, False: 113k]
  ------------------
  113|  6.75k|    object_as_structure(obj)->members = NULL;
  ------------------
  |  |  910|  6.75k|#define object_as_structure(obj)  ((YR_OBJECT_STRUCTURE*) (obj))
  ------------------
  114|  6.75k|    break;
  115|  3.47k|  case OBJECT_TYPE_ARRAY:
  ------------------
  |  |   61|  3.47k|#define OBJECT_TYPE_ARRAY      4
  ------------------
  |  Branch (115:3): [True: 3.47k, False: 116k]
  ------------------
  116|  3.47k|    object_as_array(obj)->items = NULL;
  ------------------
  |  |  911|  3.47k|#define object_as_array(obj)      ((YR_OBJECT_ARRAY*) (obj))
  ------------------
  117|  3.47k|    object_as_array(obj)->prototype_item = NULL;
  ------------------
  |  |  911|  3.47k|#define object_as_array(obj)      ((YR_OBJECT_ARRAY*) (obj))
  ------------------
  118|  3.47k|    break;
  119|    456|  case OBJECT_TYPE_DICTIONARY:
  ------------------
  |  |   63|    456|#define OBJECT_TYPE_DICTIONARY 6
  ------------------
  |  Branch (119:3): [True: 456, False: 119k]
  ------------------
  120|    456|    object_as_dictionary(obj)->items = NULL;
  ------------------
  |  |  912|    456|#define object_as_dictionary(obj) ((YR_OBJECT_DICTIONARY*) (obj))
  ------------------
  121|    456|    object_as_dictionary(obj)->prototype_item = NULL;
  ------------------
  |  |  912|    456|#define object_as_dictionary(obj) ((YR_OBJECT_DICTIONARY*) (obj))
  ------------------
  122|    456|    break;
  123|  5.66k|  case OBJECT_TYPE_FUNCTION:
  ------------------
  |  |   62|  5.66k|#define OBJECT_TYPE_FUNCTION   5
  ------------------
  |  Branch (123:3): [True: 5.66k, False: 114k]
  ------------------
  124|  5.66k|    object_as_function(obj)->return_obj = NULL;
  ------------------
  |  |  913|  5.66k|#define object_as_function(obj)   ((YR_OBJECT_FUNCTION*) (obj))
  ------------------
  125|  62.2k|    for (int i = 0; i < YR_MAX_OVERLOADED_FUNCTIONS; i++)
  ------------------
  |  |  135|  62.2k|#define YR_MAX_OVERLOADED_FUNCTIONS 10
  ------------------
  |  Branch (125:21): [True: 56.6k, False: 5.66k]
  ------------------
  126|  56.6k|    {
  127|  56.6k|      object_as_function(obj)->prototypes[i].arguments_fmt = NULL;
  ------------------
  |  |  913|  56.6k|#define object_as_function(obj)   ((YR_OBJECT_FUNCTION*) (obj))
  ------------------
  128|  56.6k|      object_as_function(obj)->prototypes[i].code = NULL;
  ------------------
  |  |  913|  56.6k|#define object_as_function(obj)   ((YR_OBJECT_FUNCTION*) (obj))
  ------------------
  129|  56.6k|    }
  130|  5.66k|    break;
  131|   119k|  }
  132|       |
  133|   119k|  if (obj->identifier == NULL)
  ------------------
  |  Branch (133:7): [True: 0, False: 119k]
  ------------------
  134|      0|  {
  135|      0|    yr_free(obj);
  136|      0|    return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
  137|      0|  }
  138|       |
  139|   119k|  if (parent != NULL)
  ------------------
  |  Branch (139:7): [True: 119k, False: 832]
  ------------------
  140|   119k|  {
  141|   119k|    assert(
  ------------------
  |  Branch (141:5): [True: 119k, False: 0]
  |  Branch (141:5): [True: 0, False: 0]
  |  Branch (141:5): [True: 0, False: 0]
  |  Branch (141:5): [True: 0, False: 0]
  |  Branch (141:5): [True: 109k, False: 9.59k]
  |  Branch (141:5): [True: 3.47k, False: 6.11k]
  |  Branch (141:5): [True: 456, False: 5.66k]
  |  Branch (141:5): [True: 5.66k, False: 0]
  ------------------
  142|   119k|        parent->type == OBJECT_TYPE_STRUCTURE ||
  143|   119k|        parent->type == OBJECT_TYPE_ARRAY ||
  144|   119k|        parent->type == OBJECT_TYPE_DICTIONARY ||
  145|   119k|        parent->type == OBJECT_TYPE_FUNCTION);
  146|       |
  147|       |    // Objects with a parent take the canary from it.
  148|   119k|    obj->canary = parent->canary;
  149|       |
  150|   119k|    switch (parent->type)
  ------------------
  |  Branch (150:13): [True: 119k, False: 0]
  ------------------
  151|   119k|    {
  152|   109k|    case OBJECT_TYPE_STRUCTURE:
  ------------------
  |  |   60|   109k|#define OBJECT_TYPE_STRUCTURE  3
  ------------------
  |  Branch (152:5): [True: 109k, False: 9.59k]
  ------------------
  153|   109k|      FAIL_ON_ERROR_WITH_CLEANUP(yr_object_structure_set_member(parent, obj), {
  ------------------
  |  |  142|   109k|  {                                            \
  |  |  143|   109k|    int __error = (x);                         \
  |  |  144|   109k|    if (__error != ERROR_SUCCESS)              \
  |  |  ------------------
  |  |  |  |   40|   109k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (144:9): [True: 0, False: 109k]
  |  |  ------------------
  |  |  145|   109k|    {                                          \
  |  |  146|      0|      cleanup;                                 \
  |  |  147|      0|      return __error;                          \
  |  |  148|      0|    }                                          \
  |  |  149|   109k|  }
  ------------------
  154|   109k|        yr_free((void*) obj->identifier);
  155|   109k|        yr_free(obj);
  156|   109k|      });
  157|   109k|      break;
  158|       |
  159|  3.47k|    case OBJECT_TYPE_ARRAY:
  ------------------
  |  |   61|  3.47k|#define OBJECT_TYPE_ARRAY      4
  ------------------
  |  Branch (159:5): [True: 3.47k, False: 115k]
  ------------------
  160|  3.47k|      object_as_array(parent)->prototype_item = obj;
  ------------------
  |  |  911|  3.47k|#define object_as_array(obj)      ((YR_OBJECT_ARRAY*) (obj))
  ------------------
  161|  3.47k|      break;
  162|       |
  163|    456|    case OBJECT_TYPE_DICTIONARY:
  ------------------
  |  |   63|    456|#define OBJECT_TYPE_DICTIONARY 6
  ------------------
  |  Branch (163:5): [True: 456, False: 118k]
  ------------------
  164|    456|      object_as_dictionary(parent)->prototype_item = obj;
  ------------------
  |  |  912|    456|#define object_as_dictionary(obj) ((YR_OBJECT_DICTIONARY*) (obj))
  ------------------
  165|    456|      break;
  166|       |
  167|  5.66k|    case OBJECT_TYPE_FUNCTION:
  ------------------
  |  |   62|  5.66k|#define OBJECT_TYPE_FUNCTION   5
  ------------------
  |  Branch (167:5): [True: 5.66k, False: 113k]
  ------------------
  168|  5.66k|      object_as_function(parent)->return_obj = obj;
  ------------------
  |  |  913|  5.66k|#define object_as_function(obj)   ((YR_OBJECT_FUNCTION*) (obj))
  ------------------
  169|  5.66k|      break;
  170|   119k|    }
  171|   119k|  }
  172|       |
  173|   119k|  if (object != NULL)
  ------------------
  |  Branch (173:7): [True: 22.0k, False: 97.9k]
  ------------------
  174|  22.0k|    *object = obj;
  175|       |
  176|   119k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|   119k|#define ERROR_SUCCESS 0
  ------------------
  177|   119k|}
yr_object_function_create:
  191|  11.4k|{
  192|  11.4k|  YR_OBJECT* return_obj;
  193|  11.4k|  YR_OBJECT* o = NULL;
  194|  11.4k|  YR_OBJECT_FUNCTION* f = NULL;
  195|       |
  196|  11.4k|  int8_t return_type;
  197|       |
  198|       |  // The parent of a function must be a structure.
  199|  11.4k|  assert(parent != NULL && parent->type == OBJECT_TYPE_STRUCTURE);
  ------------------
  |  Branch (199:3): [True: 0, False: 11.4k]
  |  Branch (199:3): [True: 0, False: 0]
  |  Branch (199:3): [True: 11.4k, False: 0]
  |  Branch (199:3): [True: 11.4k, False: 0]
  ------------------
  200|       |
  201|  11.4k|  switch (*return_fmt)
  202|  11.4k|  {
  203|  11.0k|  case 'i':
  ------------------
  |  Branch (203:3): [True: 11.0k, False: 456]
  ------------------
  204|  11.0k|    return_type = OBJECT_TYPE_INTEGER;
  ------------------
  |  |   58|  11.0k|#define OBJECT_TYPE_INTEGER    1
  ------------------
  205|  11.0k|    break;
  206|    108|  case 's':
  ------------------
  |  Branch (206:3): [True: 108, False: 11.3k]
  ------------------
  207|    108|    return_type = OBJECT_TYPE_STRING;
  ------------------
  |  |   59|    108|#define OBJECT_TYPE_STRING     2
  ------------------
  208|    108|    break;
  209|    348|  case 'f':
  ------------------
  |  Branch (209:3): [True: 348, False: 11.1k]
  ------------------
  210|    348|    return_type = OBJECT_TYPE_FLOAT;
  ------------------
  |  |   64|    348|#define OBJECT_TYPE_FLOAT      7
  ------------------
  211|    348|    break;
  212|      0|  default:
  ------------------
  |  Branch (212:3): [True: 0, False: 11.4k]
  ------------------
  213|      0|    return ERROR_INVALID_FORMAT;
  ------------------
  |  |   85|      0|#define ERROR_INVALID_FORMAT                 38
  ------------------
  214|  11.4k|  }
  215|       |
  216|       |  // Try to find if the structure already has a function
  217|       |  // with that name. In that case this is a function overload.
  218|  11.4k|  f = object_as_function(yr_object_lookup_field(parent, identifier));
  ------------------
  |  |  913|  11.4k|#define object_as_function(obj)   ((YR_OBJECT_FUNCTION*) (obj))
  ------------------
  219|       |
  220|       |  // Overloaded functions must have the same return type.
  221|  11.4k|  if (f != NULL && return_type != f->return_obj->type)
  ------------------
  |  Branch (221:7): [True: 5.80k, False: 5.66k]
  |  Branch (221:20): [True: 0, False: 5.80k]
  ------------------
  222|      0|    return ERROR_WRONG_RETURN_TYPE;
  ------------------
  |  |   88|      0|#define ERROR_WRONG_RETURN_TYPE              41
  ------------------
  223|       |
  224|  11.4k|  if (f == NULL)  // Function doesn't exist yet
  ------------------
  |  Branch (224:7): [True: 5.66k, False: 5.80k]
  ------------------
  225|  5.66k|  {
  226|  5.66k|    FAIL_ON_ERROR(
  ------------------
  |  |  134|  5.66k|  {                               \
  |  |  135|  5.66k|    int __error = (x);            \
  |  |  136|  5.66k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  5.66k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 5.66k]
  |  |  ------------------
  |  |  137|  5.66k|      return __error;             \
  |  |  138|  5.66k|  }
  ------------------
  227|  5.66k|        yr_object_create(OBJECT_TYPE_FUNCTION, identifier, parent, &o));
  228|       |
  229|       |    // In case of failure while creating return_obj we don't need to free the
  230|       |    // previously created "o" object, as it is already associated with its
  231|       |    // parent and will be destroyed when the parent is destroyed.
  232|  5.66k|    FAIL_ON_ERROR(yr_object_create(return_type, "result", o, &return_obj));
  ------------------
  |  |  134|  5.66k|  {                               \
  |  |  135|  5.66k|    int __error = (x);            \
  |  |  136|  5.66k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  5.66k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 5.66k]
  |  |  ------------------
  |  |  137|  5.66k|      return __error;             \
  |  |  138|  5.66k|  }
  ------------------
  233|       |
  234|  5.66k|    f = object_as_function(o);
  ------------------
  |  |  913|  5.66k|#define object_as_function(obj)   ((YR_OBJECT_FUNCTION*) (obj))
  ------------------
  235|  5.66k|  }
  236|       |
  237|  25.1k|  for (int i = 0; i < YR_MAX_OVERLOADED_FUNCTIONS; i++)
  ------------------
  |  |  135|  25.1k|#define YR_MAX_OVERLOADED_FUNCTIONS 10
  ------------------
  |  Branch (237:19): [True: 25.1k, False: 0]
  ------------------
  238|  25.1k|  {
  239|  25.1k|    if (f->prototypes[i].arguments_fmt == NULL)
  ------------------
  |  Branch (239:9): [True: 11.4k, False: 13.6k]
  ------------------
  240|  11.4k|    {
  241|  11.4k|      f->prototypes[i].arguments_fmt = arguments_fmt;
  242|  11.4k|      f->prototypes[i].code = code;
  243|       |
  244|  11.4k|      break;
  245|  11.4k|    }
  246|  25.1k|  }
  247|       |
  248|  11.4k|  if (function != NULL)
  ------------------
  |  Branch (248:7): [True: 11.4k, False: 0]
  ------------------
  249|  11.4k|    *function = (YR_OBJECT*) f;
  250|       |
  251|  11.4k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  11.4k|#define ERROR_SUCCESS 0
  ------------------
  252|  11.4k|}
yr_object_destroy:
  324|   119k|{
  325|   119k|  YR_STRUCTURE_MEMBER* member;
  326|   119k|  YR_STRUCTURE_MEMBER* next_member;
  327|   119k|  YR_ARRAY_ITEMS* array_items;
  328|   119k|  YR_DICTIONARY_ITEMS* dict_items;
  329|       |
  330|   119k|  if (object == NULL)
  ------------------
  |  Branch (330:7): [True: 0, False: 119k]
  ------------------
  331|      0|    return;
  332|       |
  333|   119k|  switch (object->type)
  ------------------
  |  Branch (333:11): [True: 23.4k, False: 96.5k]
  ------------------
  334|   119k|  {
  335|  6.75k|  case OBJECT_TYPE_STRUCTURE:
  ------------------
  |  |   60|  6.75k|#define OBJECT_TYPE_STRUCTURE  3
  ------------------
  |  Branch (335:3): [True: 6.75k, False: 113k]
  ------------------
  336|  6.75k|    member = object_as_structure(object)->members;
  ------------------
  |  |  910|  6.75k|#define object_as_structure(obj)  ((YR_OBJECT_STRUCTURE*) (obj))
  ------------------
  337|       |
  338|   116k|    while (member != NULL)
  ------------------
  |  Branch (338:12): [True: 109k, False: 6.75k]
  ------------------
  339|   109k|    {
  340|   109k|      next_member = member->next;
  341|   109k|      yr_object_destroy(member->object);
  342|   109k|      yr_free(member);
  343|   109k|      member = next_member;
  344|   109k|    }
  345|  6.75k|    break;
  346|       |
  347|  7.11k|  case OBJECT_TYPE_STRING:
  ------------------
  |  |   59|  7.11k|#define OBJECT_TYPE_STRING     2
  ------------------
  |  Branch (347:3): [True: 7.11k, False: 112k]
  ------------------
  348|  7.11k|    if (object->value.ss != NULL)
  ------------------
  |  Branch (348:9): [True: 0, False: 7.11k]
  ------------------
  349|      0|      yr_free(object->value.ss);
  350|  7.11k|    break;
  351|       |
  352|  3.47k|  case OBJECT_TYPE_ARRAY:
  ------------------
  |  |   61|  3.47k|#define OBJECT_TYPE_ARRAY      4
  ------------------
  |  Branch (352:3): [True: 3.47k, False: 116k]
  ------------------
  353|  3.47k|    if (object_as_array(object)->prototype_item != NULL)
  ------------------
  |  |  911|  3.47k|#define object_as_array(obj)      ((YR_OBJECT_ARRAY*) (obj))
  ------------------
  |  Branch (353:9): [True: 3.47k, False: 0]
  ------------------
  354|  3.47k|      yr_object_destroy(object_as_array(object)->prototype_item);
  ------------------
  |  |  911|  3.47k|#define object_as_array(obj)      ((YR_OBJECT_ARRAY*) (obj))
  ------------------
  355|       |
  356|  3.47k|    array_items = object_as_array(object)->items;
  ------------------
  |  |  911|  3.47k|#define object_as_array(obj)      ((YR_OBJECT_ARRAY*) (obj))
  ------------------
  357|       |
  358|  3.47k|    if (array_items != NULL)
  ------------------
  |  Branch (358:9): [True: 0, False: 3.47k]
  ------------------
  359|      0|    {
  360|      0|      for (int i = 0; i < array_items->length; i++)
  ------------------
  |  Branch (360:23): [True: 0, False: 0]
  ------------------
  361|      0|        if (array_items->objects[i] != NULL)
  ------------------
  |  Branch (361:13): [True: 0, False: 0]
  ------------------
  362|      0|          yr_object_destroy(array_items->objects[i]);
  363|      0|    }
  364|       |
  365|  3.47k|    yr_free(array_items);
  366|  3.47k|    break;
  367|       |
  368|    456|  case OBJECT_TYPE_DICTIONARY:
  ------------------
  |  |   63|    456|#define OBJECT_TYPE_DICTIONARY 6
  ------------------
  |  Branch (368:3): [True: 456, False: 119k]
  ------------------
  369|    456|    if (object_as_dictionary(object)->prototype_item != NULL)
  ------------------
  |  |  912|    456|#define object_as_dictionary(obj) ((YR_OBJECT_DICTIONARY*) (obj))
  ------------------
  |  Branch (369:9): [True: 456, False: 0]
  ------------------
  370|    456|      yr_object_destroy(object_as_dictionary(object)->prototype_item);
  ------------------
  |  |  912|    456|#define object_as_dictionary(obj) ((YR_OBJECT_DICTIONARY*) (obj))
  ------------------
  371|       |
  372|    456|    dict_items = object_as_dictionary(object)->items;
  ------------------
  |  |  912|    456|#define object_as_dictionary(obj) ((YR_OBJECT_DICTIONARY*) (obj))
  ------------------
  373|       |
  374|    456|    if (dict_items != NULL)
  ------------------
  |  Branch (374:9): [True: 0, False: 456]
  ------------------
  375|      0|    {
  376|      0|      for (int i = 0; i < dict_items->used; i++)
  ------------------
  |  Branch (376:23): [True: 0, False: 0]
  ------------------
  377|      0|      {
  378|      0|        if (dict_items->objects[i].key != NULL)
  ------------------
  |  Branch (378:13): [True: 0, False: 0]
  ------------------
  379|      0|          yr_free(dict_items->objects[i].key);
  380|       |
  381|      0|        if (dict_items->objects[i].obj != NULL)
  ------------------
  |  Branch (381:13): [True: 0, False: 0]
  ------------------
  382|      0|          yr_object_destroy(dict_items->objects[i].obj);
  383|      0|      }
  384|      0|    }
  385|       |
  386|    456|    yr_free(dict_items);
  387|    456|    break;
  388|       |
  389|  5.66k|  case OBJECT_TYPE_FUNCTION:
  ------------------
  |  |   62|  5.66k|#define OBJECT_TYPE_FUNCTION   5
  ------------------
  |  Branch (389:3): [True: 5.66k, False: 114k]
  ------------------
  390|  5.66k|    yr_object_destroy(object_as_function(object)->return_obj);
  ------------------
  |  |  913|  5.66k|#define object_as_function(obj)   ((YR_OBJECT_FUNCTION*) (obj))
  ------------------
  391|  5.66k|    break;
  392|   119k|  }
  393|       |
  394|   119k|  yr_free((void*) object->identifier);
  395|   119k|  yr_free(object);
  396|   119k|}
yr_object_lookup_field:
  399|   122k|{
  400|   122k|  YR_STRUCTURE_MEMBER* member;
  401|       |
  402|   122k|  assert(object != NULL);
  ------------------
  |  Branch (402:3): [True: 0, False: 122k]
  |  Branch (402:3): [True: 122k, False: 0]
  ------------------
  403|   122k|  assert(object->type == OBJECT_TYPE_STRUCTURE);
  ------------------
  |  Branch (403:3): [True: 0, False: 122k]
  |  Branch (403:3): [True: 122k, False: 0]
  ------------------
  404|       |
  405|   122k|  member = object_as_structure(object)->members;
  ------------------
  |  |  910|   122k|#define object_as_structure(obj)  ((YR_OBJECT_STRUCTURE*) (obj))
  ------------------
  406|       |
  407|  11.2M|  while (member != NULL)
  ------------------
  |  Branch (407:10): [True: 11.1M, False: 115k]
  ------------------
  408|  11.1M|  {
  409|  11.1M|    if (strcmp(member->object->identifier, field_name) == 0)
  ------------------
  |  Branch (409:9): [True: 6.97k, False: 11.1M]
  ------------------
  410|  6.97k|      return member->object;
  411|       |
  412|  11.1M|    member = member->next;
  413|  11.1M|  }
  414|       |
  415|   115k|  return NULL;
  416|   122k|}
yr_object_structure_set_member:
  637|   109k|{
  638|   109k|  YR_STRUCTURE_MEMBER* sm;
  639|       |
  640|   109k|  assert(object->type == OBJECT_TYPE_STRUCTURE);
  ------------------
  |  Branch (640:3): [True: 0, False: 109k]
  |  Branch (640:3): [True: 109k, False: 0]
  ------------------
  641|       |
  642|       |  // Check if the object already have a member with the same identifier
  643|       |
  644|   109k|  if (yr_object_lookup_field(object, member->identifier) != NULL)
  ------------------
  |  Branch (644:7): [True: 0, False: 109k]
  ------------------
  645|      0|    return ERROR_DUPLICATED_STRUCTURE_MEMBER;
  ------------------
  |  |   89|      0|#define ERROR_DUPLICATED_STRUCTURE_MEMBER    42
  ------------------
  646|       |
  647|   109k|  sm = (YR_STRUCTURE_MEMBER*) yr_malloc(sizeof(YR_STRUCTURE_MEMBER));
  648|       |
  649|   109k|  if (sm == NULL)
  ------------------
  |  Branch (649:7): [True: 0, False: 109k]
  ------------------
  650|      0|    return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
  651|       |
  652|   109k|  member->parent = object;
  653|   109k|  sm->object = member;
  654|   109k|  sm->next = object_as_structure(object)->members;
  ------------------
  |  |  910|   109k|#define object_as_structure(obj)  ((YR_OBJECT_STRUCTURE*) (obj))
  ------------------
  655|       |
  656|   109k|  object_as_structure(object)->members = sm;
  ------------------
  |  |  910|   109k|#define object_as_structure(obj)  ((YR_OBJECT_STRUCTURE*) (obj))
  ------------------
  657|       |
  658|   109k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|   109k|#define ERROR_SUCCESS 0
  ------------------
  659|   109k|}

yr_parser_emit:
   57|   139k|{
   58|   139k|  return yr_arena_write_data(
   59|   139k|      yyget_extra(yyscanner)->arena,
  ------------------
  |  |   54|   139k|#define yyget_extra  yara_yyget_extra
  ------------------
   60|   139k|      YR_CODE_SECTION,
  ------------------
  |  |   63|   139k|#define YR_CODE_SECTION             6
  ------------------
   61|   139k|      &instruction,
   62|   139k|      sizeof(uint8_t),
   63|   139k|      instruction_ref);
   64|   139k|}
yr_parser_emit_with_arg_double:
   72|  2.99k|{
   73|  2.99k|  int result = yr_arena_write_data(
   74|  2.99k|      yyget_extra(yyscanner)->arena,
  ------------------
  |  |   54|  2.99k|#define yyget_extra  yara_yyget_extra
  ------------------
   75|  2.99k|      YR_CODE_SECTION,
  ------------------
  |  |   63|  2.99k|#define YR_CODE_SECTION             6
  ------------------
   76|  2.99k|      &instruction,
   77|  2.99k|      sizeof(uint8_t),
   78|  2.99k|      instruction_ref);
   79|       |
   80|  2.99k|  if (result == ERROR_SUCCESS)
  ------------------
  |  |   40|  2.99k|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (80:7): [True: 2.99k, False: 0]
  ------------------
   81|  2.99k|    result = yr_arena_write_data(
   82|  2.99k|        yyget_extra(yyscanner)->arena,
  ------------------
  |  |   54|  2.99k|#define yyget_extra  yara_yyget_extra
  ------------------
   83|  2.99k|        YR_CODE_SECTION,
  ------------------
  |  |   63|  2.99k|#define YR_CODE_SECTION             6
  ------------------
   84|  2.99k|        &argument,
   85|  2.99k|        sizeof(double),
   86|  2.99k|        argument_ref);
   87|       |
   88|  2.99k|  return result;
   89|  2.99k|}
yr_parser_emit_with_arg_int32:
   97|  42.6k|{
   98|  42.6k|  int result = yr_arena_write_data(
   99|  42.6k|      yyget_extra(yyscanner)->arena,
  ------------------
  |  |   54|  42.6k|#define yyget_extra  yara_yyget_extra
  ------------------
  100|  42.6k|      YR_CODE_SECTION,
  ------------------
  |  |   63|  42.6k|#define YR_CODE_SECTION             6
  ------------------
  101|  42.6k|      &instruction,
  102|  42.6k|      sizeof(uint8_t),
  103|  42.6k|      instruction_ref);
  104|       |
  105|  42.6k|  if (result == ERROR_SUCCESS)
  ------------------
  |  |   40|  42.6k|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (105:7): [True: 42.6k, False: 0]
  ------------------
  106|  42.6k|    result = yr_arena_write_data(
  107|  42.6k|        yyget_extra(yyscanner)->arena,
  ------------------
  |  |   54|  42.6k|#define yyget_extra  yara_yyget_extra
  ------------------
  108|  42.6k|        YR_CODE_SECTION,
  ------------------
  |  |   63|  42.6k|#define YR_CODE_SECTION             6
  ------------------
  109|  42.6k|        &argument,
  110|  42.6k|        sizeof(int32_t),
  111|  42.6k|        argument_ref);
  112|       |
  113|  42.6k|  return result;
  114|  42.6k|}
yr_parser_emit_with_arg:
  122|  54.1k|{
  123|  54.1k|  int result = yr_arena_write_data(
  124|  54.1k|      yyget_extra(yyscanner)->arena,
  ------------------
  |  |   54|  54.1k|#define yyget_extra  yara_yyget_extra
  ------------------
  125|  54.1k|      YR_CODE_SECTION,
  ------------------
  |  |   63|  54.1k|#define YR_CODE_SECTION             6
  ------------------
  126|  54.1k|      &instruction,
  127|  54.1k|      sizeof(uint8_t),
  128|  54.1k|      instruction_ref);
  129|       |
  130|  54.1k|  if (result == ERROR_SUCCESS)
  ------------------
  |  |   40|  54.1k|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (130:7): [True: 54.1k, False: 0]
  ------------------
  131|  54.1k|    result = yr_arena_write_data(
  132|  54.1k|        yyget_extra(yyscanner)->arena,
  ------------------
  |  |   54|  54.1k|#define yyget_extra  yara_yyget_extra
  ------------------
  133|  54.1k|        YR_CODE_SECTION,
  ------------------
  |  |   63|  54.1k|#define YR_CODE_SECTION             6
  ------------------
  134|  54.1k|        &argument,
  135|  54.1k|        sizeof(int64_t),
  136|  54.1k|        argument_ref);
  137|       |
  138|  54.1k|  return result;
  139|  54.1k|}
yr_parser_emit_with_arg_reloc:
  147|  1.34M|{
  148|  1.34M|  YR_ARENA_REF ref = YR_ARENA_NULL_REF;
  ------------------
  |  |   43|  1.34M|  (YR_ARENA_REF)           \
  |  |   44|  1.34M|  {                        \
  |  |   45|  1.34M|    UINT32_MAX, UINT32_MAX \
  |  |   46|  1.34M|  }
  ------------------
  149|       |
  150|  1.34M|  DECLARE_REFERENCE(void*, ptr) arg;
  ------------------
  |  |   45|  1.34M|  union                               \
  |  |   46|  1.34M|  {                                   \
  |  |   47|  1.34M|    type name;                        \
  |  |   48|  1.34M|    YR_ARENA_REF name##_;             \
  |  |   49|  1.34M|  } YR_ALIGN(8)
  ------------------
  151|       |
  152|  1.34M|  memset(&arg, 0, sizeof(arg));
  153|  1.34M|  arg.ptr = argument;
  154|       |
  155|  1.34M|  int result = yr_arena_write_data(
  156|  1.34M|      yyget_extra(yyscanner)->arena,
  ------------------
  |  |   54|  1.34M|#define yyget_extra  yara_yyget_extra
  ------------------
  157|  1.34M|      YR_CODE_SECTION,
  ------------------
  |  |   63|  1.34M|#define YR_CODE_SECTION             6
  ------------------
  158|  1.34M|      &instruction,
  159|  1.34M|      sizeof(uint8_t),
  160|  1.34M|      instruction_ref);
  161|       |
  162|  1.34M|  if (result == ERROR_SUCCESS)
  ------------------
  |  |   40|  1.34M|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (162:7): [True: 1.34M, False: 0]
  ------------------
  163|  1.34M|    result = yr_arena_write_data(
  164|  1.34M|        yyget_extra(yyscanner)->arena,
  ------------------
  |  |   54|  1.34M|#define yyget_extra  yara_yyget_extra
  ------------------
  165|  1.34M|        YR_CODE_SECTION,
  ------------------
  |  |   63|  1.34M|#define YR_CODE_SECTION             6
  ------------------
  166|  1.34M|        &arg,
  167|  1.34M|        sizeof(arg),
  168|  1.34M|        &ref);
  169|       |
  170|  1.34M|  if (result == ERROR_SUCCESS)
  ------------------
  |  |   40|  1.34M|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (170:7): [True: 1.34M, False: 0]
  ------------------
  171|  1.34M|    result = yr_arena_make_ptr_relocatable(
  172|  1.34M|        yyget_extra(yyscanner)->arena, YR_CODE_SECTION, ref.offset, EOL);
  ------------------
  |  |   54|  1.34M|#define yyget_extra  yara_yyget_extra
  ------------------
                      yyget_extra(yyscanner)->arena, YR_CODE_SECTION, ref.offset, EOL);
  ------------------
  |  |   63|  1.34M|#define YR_CODE_SECTION             6
  ------------------
                      yyget_extra(yyscanner)->arena, YR_CODE_SECTION, ref.offset, EOL);
  ------------------
  |  |   38|  1.34M|#define EOL ((size_t) -1)
  ------------------
  173|       |
  174|  1.34M|  if (argument_ref != NULL)
  ------------------
  |  Branch (174:7): [True: 0, False: 1.34M]
  ------------------
  175|      0|    *argument_ref = ref;
  176|       |
  177|  1.34M|  return result;
  178|  1.34M|}
yr_parser_emit_pushes_for_strings:
  184|  14.4k|{
  185|  14.4k|  YR_COMPILER* compiler = yyget_extra(yyscanner);
  ------------------
  |  |   54|  14.4k|#define yyget_extra  yara_yyget_extra
  ------------------
  186|       |
  187|  14.4k|  YR_RULE* current_rule = _yr_compiler_get_rule_by_idx(
  188|  14.4k|      compiler, compiler->current_rule_idx);
  189|       |
  190|  14.4k|  YR_STRING* string;
  191|       |
  192|  14.4k|  const char* string_identifier;
  193|  14.4k|  const char* target_identifier;
  194|       |
  195|  14.4k|  strings->count = 0;
  196|  14.4k|  strings->head = NULL;
  197|  14.4k|  YR_STRING_SET_ELEMENT** tail_ptr = &strings->head;
  198|       |
  199|  14.4k|  yr_rule_strings_foreach(current_rule, string)
  ------------------
  |  |   60|  1.36M|  for (string = rule->strings; string != NULL; \
  |  |  ------------------
  |  |  |  Branch (60:32): [True: 1.34M, False: 14.4k]
  |  |  ------------------
  |  |   61|  1.34M|       string = STRING_IS_LAST_IN_RULE(string) ? NULL : string + 1)
  |  |  ------------------
  |  |  |  |  122|  1.34M|#define STRING_IS_LAST_IN_RULE(x) (((x)->flags) & STRING_FLAGS_LAST_IN_RULE)
  |  |  |  |  ------------------
  |  |  |  |  |  |   78|  1.34M|#define STRING_FLAGS_LAST_IN_RULE  0x1000
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (122:35): [True: 14.3k, False: 1.33M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  200|  1.34M|  {
  201|       |    // Don't generate pushes for strings chained to another one, we are
  202|       |    // only interested in non-chained strings or the head of the chain.
  203|       |
  204|  1.34M|    if (string->chained_to == NULL)
  ------------------
  |  Branch (204:9): [True: 1.33M, False: 11.8k]
  ------------------
  205|  1.33M|    {
  206|  1.33M|      string_identifier = string->identifier;
  207|  1.33M|      target_identifier = identifier;
  208|       |
  209|  2.66M|      while (*target_identifier != '\0' && *string_identifier != '\0' &&
  ------------------
  |  Branch (209:14): [True: 1.34M, False: 1.32M]
  |  Branch (209:44): [True: 1.33M, False: 13.4k]
  ------------------
  210|  1.33M|             *target_identifier == *string_identifier)
  ------------------
  |  Branch (210:14): [True: 1.33M, False: 382]
  ------------------
  211|  1.33M|      {
  212|  1.33M|        target_identifier++;
  213|  1.33M|        string_identifier++;
  214|  1.33M|      }
  215|       |
  216|  1.33M|      if ((*target_identifier == '\0' && *string_identifier == '\0') ||
  ------------------
  |  Branch (216:12): [True: 1.32M, False: 13.8k]
  |  Branch (216:42): [True: 1.31M, False: 6.45k]
  ------------------
  217|  20.3k|          *target_identifier == '*')
  ------------------
  |  Branch (217:11): [True: 13.6k, False: 6.67k]
  ------------------
  218|  1.32M|      {
  219|  1.32M|        yr_parser_emit_with_arg_reloc(yyscanner, OP_PUSH, string, NULL, NULL);
  ------------------
  |  |   61|  1.32M|#define OP_PUSH                       13
  ------------------
  220|       |
  221|  1.32M|        string->flags |= STRING_FLAGS_REFERENCED;
  ------------------
  |  |   66|  1.32M|#define STRING_FLAGS_REFERENCED    0x01
  ------------------
  222|  1.32M|        string->flags &= ~STRING_FLAGS_FIXED_OFFSET;
  ------------------
  |  |   81|  1.32M|#define STRING_FLAGS_FIXED_OFFSET  0x8000
  ------------------
  223|  1.32M|        strings->count++;
  224|       |
  225|  1.32M|        *tail_ptr = yr_malloc(sizeof(YR_STRING_SET_ELEMENT));
  226|  1.32M|        yr_arena_ptr_to_ref(compiler->arena, string, &((*tail_ptr)->element));
  227|  1.32M|        (*tail_ptr)->next = NULL;
  228|  1.32M|        tail_ptr = &(*tail_ptr)->next;
  229|  1.32M|      }
  230|  1.33M|    }
  231|  1.34M|  }
  232|       |
  233|  14.4k|  if (strings->count == 0)
  ------------------
  |  Branch (233:7): [True: 170, False: 14.2k]
  ------------------
  234|    170|  {
  235|    170|    yr_compiler_set_error_extra_info(
  ------------------
  |  |  320|    170|  strlcpy(                                               \
  |  |  321|    170|      compiler->last_error_extra_info,                   \
  |  |  322|    170|      info,                                              \
  |  |  323|    170|      sizeof(compiler->last_error_extra_info));
  ------------------
  236|    170|        compiler, identifier) return ERROR_UNDEFINED_STRING;
  ------------------
  |  |   64|    170|#define ERROR_UNDEFINED_STRING               19
  ------------------
  237|    170|  }
  238|       |
  239|  14.2k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  14.2k|#define ERROR_SUCCESS 0
  ------------------
  240|  14.4k|}
yr_parser_emit_pushes_for_rules:
  248|  1.35k|{
  249|  1.35k|  YR_COMPILER* compiler = yyget_extra(yyscanner);
  ------------------
  |  |   54|  1.35k|#define yyget_extra  yara_yyget_extra
  ------------------
  250|       |
  251|       |  // Make sure the compiler is parsing a rule
  252|  1.35k|  assert(compiler->current_rule_idx != UINT32_MAX);
  ------------------
  |  Branch (252:3): [True: 0, False: 1.35k]
  |  Branch (252:3): [True: 1.35k, False: 0]
  ------------------
  253|       |
  254|  1.35k|  YR_RULE* rule;
  255|  1.35k|  int matching = 0;
  256|       |
  257|  1.35k|  YR_NAMESPACE* ns = (YR_NAMESPACE*) yr_arena_get_ptr(
  258|  1.35k|      compiler->arena,
  259|  1.35k|      YR_NAMESPACES_TABLE,
  ------------------
  |  |   57|  1.35k|#define YR_NAMESPACES_TABLE         0
  ------------------
  260|  1.35k|      compiler->current_namespace_idx * sizeof(struct YR_NAMESPACE));
  261|       |
  262|       |  // Can't use yr_rules_foreach here as that requires the rules to have been
  263|       |  // finalized (inserting a NULL rule at the end). This is done when
  264|       |  // yr_compiler_get_rules() is called, which also inserts a HALT instruction
  265|       |  // into the current position in the code arena. Obviously we aren't done
  266|       |  // compiling the rules yet so inserting a HALT is a bad idea. To deal with
  267|       |  // this I'm manually walking all the currently compiled rules (up to the
  268|       |  // current rule index) and comparing identifiers to see if it is one we should
  269|       |  // use.
  270|       |  //
  271|       |  // Further, we have to get compiler->current_rule_idx before we start because
  272|       |  // if we emit an OP_PUSH_RULE
  273|  1.35k|  rule = yr_arena_get_ptr(compiler->arena, YR_RULES_TABLE, 0);
  ------------------
  |  |   58|  1.35k|#define YR_RULES_TABLE              1
  ------------------
  274|       |
  275|  7.08k|  for (uint32_t i = 0; i <= compiler->current_rule_idx; i++)
  ------------------
  |  Branch (275:24): [True: 5.73k, False: 1.35k]
  ------------------
  276|  5.73k|  {
  277|       |    // Is rule->identifier prefixed by prefix?
  278|  5.73k|    if (strncmp(prefix, rule->identifier, strlen(prefix)) == 0)
  ------------------
  |  Branch (278:9): [True: 1.08k, False: 4.65k]
  ------------------
  279|  1.08k|    {
  280|  1.08k|      uint32_t rule_idx = yr_hash_table_lookup_uint32(
  281|  1.08k|          compiler->rules_table, rule->identifier, ns->name);
  282|       |
  283|  1.08k|      if (rule_idx != UINT32_MAX)
  ------------------
  |  Branch (283:11): [True: 1.08k, False: 0]
  ------------------
  284|  1.08k|      {
  285|  1.08k|        FAIL_ON_ERROR(yr_parser_emit_with_arg(
  ------------------
  |  |  134|  1.08k|  {                               \
  |  |  135|  1.08k|    int __error = (x);            \
  |  |  136|  1.08k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  1.08k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 1.08k]
  |  |  ------------------
  |  |  137|  1.08k|      return __error;             \
  |  |  138|  1.08k|  }
  ------------------
  286|  1.08k|            yyscanner, OP_PUSH_RULE, rule_idx, NULL, NULL));
  287|  1.08k|        matching++;
  288|  1.08k|      }
  289|  1.08k|    }
  290|       |
  291|  5.73k|    rule++;
  292|  5.73k|  }
  293|       |
  294|  1.35k|  if (count != NULL)
  ------------------
  |  Branch (294:7): [True: 1.35k, False: 0]
  ------------------
  295|  1.35k|  {
  296|  1.35k|    *count = matching;
  297|  1.35k|  }
  298|       |
  299|  1.35k|  if (matching == 0)
  ------------------
  |  Branch (299:7): [True: 289, False: 1.06k]
  ------------------
  300|    289|  {
  301|    289|    yr_compiler_set_error_extra_info(compiler, prefix);
  ------------------
  |  |  320|    289|  strlcpy(                                               \
  |  |  321|    289|      compiler->last_error_extra_info,                   \
  |  |  322|    289|      info,                                              \
  |  |  323|    289|      sizeof(compiler->last_error_extra_info));
  ------------------
  302|    289|    return ERROR_UNDEFINED_IDENTIFIER;
  ------------------
  |  |   65|    289|#define ERROR_UNDEFINED_IDENTIFIER           20
  ------------------
  303|    289|  }
  304|       |
  305|  1.06k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  1.06k|#define ERROR_SUCCESS 0
  ------------------
  306|  1.35k|}
yr_parser_emit_push_const:
  309|  97.3k|{
  310|  97.3k|  uint8_t opcode[9];
  311|  97.3k|  int opcode_len = 1;
  312|       |
  313|  97.3k|  if (argument == YR_UNDEFINED)
  ------------------
  |  |   38|  97.3k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  ------------------
  |  Branch (313:7): [True: 18.9k, False: 78.4k]
  ------------------
  314|  18.9k|  {
  315|  18.9k|    opcode[0] = OP_PUSH_U;
  ------------------
  |  |  114|  18.9k|#define OP_PUSH_U                     66
  ------------------
  316|  18.9k|  }
  317|  78.4k|  else if (argument <= 0xff)
  ------------------
  |  Branch (317:12): [True: 65.2k, False: 13.2k]
  ------------------
  318|  65.2k|  {
  319|  65.2k|    opcode[0] = OP_PUSH_8;
  ------------------
  |  |  111|  65.2k|#define OP_PUSH_8                     63
  ------------------
  320|  65.2k|    opcode[1] = (uint8_t) argument;
  321|  65.2k|    opcode_len += sizeof(uint8_t);
  322|  65.2k|  }
  323|  13.2k|  else if (argument <= 0xffff)
  ------------------
  |  Branch (323:12): [True: 6.10k, False: 7.13k]
  ------------------
  324|  6.10k|  {
  325|  6.10k|    opcode[0] = OP_PUSH_16;
  ------------------
  |  |  112|  6.10k|#define OP_PUSH_16                    64
  ------------------
  326|  6.10k|    uint16_t u = (uint16_t) argument;
  327|  6.10k|    memcpy(opcode + 1, &u, sizeof(uint16_t));
  328|  6.10k|    opcode_len += sizeof(uint16_t);
  329|  6.10k|  }
  330|  7.13k|  else if (argument <= 0xffffffff)
  ------------------
  |  Branch (330:12): [True: 3.98k, False: 3.15k]
  ------------------
  331|  3.98k|  {
  332|  3.98k|    opcode[0] = OP_PUSH_32;
  ------------------
  |  |  113|  3.98k|#define OP_PUSH_32                    65
  ------------------
  333|  3.98k|    uint32_t u = (uint32_t) argument;
  334|  3.98k|    memcpy(opcode + 1, &u, sizeof(uint32_t));
  335|  3.98k|    opcode_len += sizeof(uint32_t);
  336|  3.98k|  }
  337|  3.15k|  else
  338|  3.15k|  {
  339|  3.15k|    opcode[0] = OP_PUSH;
  ------------------
  |  |   61|  3.15k|#define OP_PUSH                       13
  ------------------
  340|  3.15k|    memcpy(opcode + 1, &argument, sizeof(uint64_t));
  341|  3.15k|    opcode_len += sizeof(uint64_t);
  342|  3.15k|  }
  343|       |
  344|  97.3k|  return yr_arena_write_data(
  345|  97.3k|      yyget_extra(yyscanner)->arena, YR_CODE_SECTION, opcode, opcode_len, NULL);
  ------------------
  |  |   54|  97.3k|#define yyget_extra  yara_yyget_extra
  ------------------
                    yyget_extra(yyscanner)->arena, YR_CODE_SECTION, opcode, opcode_len, NULL);
  ------------------
  |  |   63|  97.3k|#define YR_CODE_SECTION             6
  ------------------
  346|  97.3k|}
yr_parser_check_types:
  352|    509|{
  353|    509|  int i;
  354|       |
  355|    935|  for (i = 0; i < YR_MAX_OVERLOADED_FUNCTIONS; i++)
  ------------------
  |  |  135|    935|#define YR_MAX_OVERLOADED_FUNCTIONS 10
  ------------------
  |  Branch (355:15): [True: 935, False: 0]
  ------------------
  356|    935|  {
  357|    935|    if (function->prototypes[i].arguments_fmt == NULL)
  ------------------
  |  Branch (357:9): [True: 13, False: 922]
  ------------------
  358|     13|      break;
  359|       |
  360|    922|    if (strcmp(function->prototypes[i].arguments_fmt, actual_args_fmt) == 0)
  ------------------
  |  Branch (360:9): [True: 496, False: 426]
  ------------------
  361|    496|      return ERROR_SUCCESS;
  ------------------
  |  |   40|    496|#define ERROR_SUCCESS 0
  ------------------
  362|    922|  }
  363|       |
  364|     13|  yr_compiler_set_error_extra_info(compiler, function->identifier)
  ------------------
  |  |  320|     13|  strlcpy(                                               \
  |  |  321|     13|      compiler->last_error_extra_info,                   \
  |  |  322|     13|      info,                                              \
  |  |  323|     13|      sizeof(compiler->last_error_extra_info));
  ------------------
  365|       |
  366|     13|      return ERROR_WRONG_ARGUMENTS;
  ------------------
  |  |   87|     13|#define ERROR_WRONG_ARGUMENTS                40
  ------------------
  367|    509|}
yr_parser_lookup_string:
  373|  3.33k|{
  374|  3.33k|  YR_COMPILER* compiler = yyget_extra(yyscanner);
  ------------------
  |  |   54|  3.33k|#define yyget_extra  yara_yyget_extra
  ------------------
  375|       |
  376|  3.33k|  YR_RULE* current_rule = _yr_compiler_get_rule_by_idx(
  377|  3.33k|      compiler, compiler->current_rule_idx);
  378|       |
  379|  3.33k|  yr_rule_strings_foreach(current_rule, *string)
  ------------------
  |  |   60|  3.98k|  for (string = rule->strings; string != NULL; \
  |  |  ------------------
  |  |  |  Branch (60:32): [True: 3.79k, False: 193]
  |  |  ------------------
  |  |   61|  3.33k|       string = STRING_IS_LAST_IN_RULE(string) ? NULL : string + 1)
  |  |  ------------------
  |  |  |  |  122|    651|#define STRING_IS_LAST_IN_RULE(x) (((x)->flags) & STRING_FLAGS_LAST_IN_RULE)
  |  |  |  |  ------------------
  |  |  |  |  |  |   78|    651|#define STRING_FLAGS_LAST_IN_RULE  0x1000
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (122:35): [True: 153, False: 498]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  380|  3.79k|  {
  381|       |    // If some string $a gets fragmented into multiple chained
  382|       |    // strings, all those fragments have the same $a identifier
  383|       |    // but we are interested in the heading fragment, which is
  384|       |    // that with chained_to == NULL
  385|       |
  386|  3.79k|    if ((*string)->chained_to == NULL &&
  ------------------
  |  Branch (386:9): [True: 3.60k, False: 196]
  ------------------
  387|  3.60k|        strcmp((*string)->identifier, identifier) == 0)
  ------------------
  |  Branch (387:9): [True: 3.14k, False: 455]
  ------------------
  388|  3.14k|    {
  389|  3.14k|      return ERROR_SUCCESS;
  ------------------
  |  |   40|  3.14k|#define ERROR_SUCCESS 0
  ------------------
  390|  3.14k|    }
  391|  3.79k|  }
  392|       |
  393|    193|  yr_compiler_set_error_extra_info(compiler, identifier)
  ------------------
  |  |  320|    193|  strlcpy(                                               \
  |  |  321|    193|      compiler->last_error_extra_info,                   \
  |  |  322|    193|      info,                                              \
  |  |  323|    193|      sizeof(compiler->last_error_extra_info));
  ------------------
  394|       |
  395|    193|      * string = NULL;
  396|       |
  397|    193|  return ERROR_UNDEFINED_STRING;
  ------------------
  |  |   64|    193|#define ERROR_UNDEFINED_STRING               19
  ------------------
  398|  3.33k|}
yr_parser_lookup_loop_variable:
  419|  18.5k|{
  420|  18.5k|  YR_COMPILER* compiler = yyget_extra(yyscanner);
  ------------------
  |  |   54|  18.5k|#define yyget_extra  yara_yyget_extra
  ------------------
  421|  18.5k|  int i, j;
  422|  18.5k|  int var_offset = 0;
  423|       |
  424|  26.0k|  for (i = 0; i <= compiler->loop_index; i++)
  ------------------
  |  Branch (424:15): [True: 13.8k, False: 12.1k]
  ------------------
  425|  13.8k|  {
  426|  13.8k|    var_offset += compiler->loop[i].vars_internal_count;
  427|       |
  428|  21.1k|    for (j = 0; j < compiler->loop[i].vars_count; j++)
  ------------------
  |  Branch (428:17): [True: 13.6k, False: 7.50k]
  ------------------
  429|  13.6k|    {
  430|  13.6k|      if (compiler->loop[i].vars[j].identifier.ptr != NULL &&
  ------------------
  |  Branch (430:11): [True: 13.0k, False: 599]
  ------------------
  431|  13.0k|          strcmp(identifier, compiler->loop[i].vars[j].identifier.ptr) == 0)
  ------------------
  |  Branch (431:11): [True: 6.34k, False: 6.71k]
  ------------------
  432|  6.34k|      {
  433|  6.34k|        if (expr != NULL)
  ------------------
  |  Branch (433:13): [True: 5.99k, False: 354]
  ------------------
  434|  5.99k|          *expr = compiler->loop[i].vars[j];
  435|       |
  436|  6.34k|        return var_offset + j;
  437|  6.34k|      }
  438|  13.6k|    }
  439|       |
  440|  7.50k|    var_offset += compiler->loop[i].vars_count;
  441|  7.50k|  }
  442|       |
  443|  12.1k|  return -1;
  444|  18.5k|}
yr_parser_reduce_string_declaration:
  690|  41.7k|{
  691|  41.7k|  int result = ERROR_SUCCESS;
  ------------------
  |  |   40|  41.7k|#define ERROR_SUCCESS 0
  ------------------
  692|  41.7k|  int min_atom_quality = YR_MAX_ATOM_QUALITY;
  ------------------
  |  |   71|  41.7k|#define YR_MAX_ATOM_QUALITY 255
  ------------------
  693|  41.7k|  int atom_quality;
  694|       |
  695|  41.7k|  char message[512];
  696|       |
  697|  41.7k|  int32_t min_gap = 0;
  698|  41.7k|  int32_t max_gap = 0;
  699|       |
  700|  41.7k|  YR_COMPILER* compiler = yyget_extra(yyscanner);
  ------------------
  |  |   54|  41.7k|#define yyget_extra  yara_yyget_extra
  ------------------
  701|       |
  702|  41.7k|  RE_AST* re_ast = NULL;
  703|  41.7k|  RE_AST* remainder_re_ast = NULL;
  704|  41.7k|  RE_ERROR re_error;
  705|       |
  706|  41.7k|  YR_RULE* current_rule = _yr_compiler_get_rule_by_idx(
  707|  41.7k|      compiler, compiler->current_rule_idx);
  708|       |
  709|       |  // Determine if a string with the same identifier was already defined
  710|       |  // by searching for the identifier in strings_table.
  711|  41.7k|  uint32_t string_idx = yr_hash_table_lookup_uint32(
  712|  41.7k|      compiler->strings_table, identifier, NULL);
  713|       |
  714|       |  // The string was already defined, return an error.
  715|  41.7k|  if (string_idx != UINT32_MAX)
  ------------------
  |  Branch (715:7): [True: 47, False: 41.7k]
  ------------------
  716|     47|  {
  717|     47|    yr_compiler_set_error_extra_info(compiler, identifier);
  ------------------
  |  |  320|     47|  strlcpy(                                               \
  |  |  321|     47|      compiler->last_error_extra_info,                   \
  |  |  322|     47|      info,                                              \
  |  |  323|     47|      sizeof(compiler->last_error_extra_info));
  ------------------
  718|     47|    return ERROR_DUPLICATED_STRING_IDENTIFIER;
  ------------------
  |  |   62|     47|#define ERROR_DUPLICATED_STRING_IDENTIFIER   17
  ------------------
  719|     47|  }
  720|       |
  721|       |  // Empty strings are not allowed.
  722|  41.7k|  if (str->length == 0)
  ------------------
  |  Branch (722:7): [True: 63, False: 41.6k]
  ------------------
  723|     63|  {
  724|     63|    yr_compiler_set_error_extra_info(compiler, identifier);
  ------------------
  |  |  320|     63|  strlcpy(                                               \
  |  |  321|     63|      compiler->last_error_extra_info,                   \
  |  |  322|     63|      info,                                              \
  |  |  323|     63|      sizeof(compiler->last_error_extra_info));
  ------------------
  725|     63|    return ERROR_EMPTY_STRING;
  ------------------
  |  |   90|     63|#define ERROR_EMPTY_STRING                   43
  ------------------
  726|     63|  }
  727|       |
  728|  41.6k|  if (str->flags & SIZED_STRING_FLAGS_NO_CASE)
  ------------------
  |  |   39|  41.6k|#define SIZED_STRING_FLAGS_NO_CASE 1
  ------------------
  |  Branch (728:7): [True: 4.02k, False: 37.6k]
  ------------------
  729|  4.02k|    modifier.flags |= STRING_FLAGS_NO_CASE;
  ------------------
  |  |   68|  4.02k|#define STRING_FLAGS_NO_CASE       0x04
  ------------------
  730|       |
  731|  41.6k|  if (str->flags & SIZED_STRING_FLAGS_DOT_ALL)
  ------------------
  |  |   43|  41.6k|#define SIZED_STRING_FLAGS_DOT_ALL 2
  ------------------
  |  Branch (731:7): [True: 531, False: 41.1k]
  ------------------
  732|    531|    modifier.flags |= STRING_FLAGS_DOT_ALL;
  ------------------
  |  |   83|    531|#define STRING_FLAGS_DOT_ALL       0x20000
  ------------------
  733|       |
  734|       |  // Hex strings are always handled as DOT_ALL regexps.
  735|  41.6k|  if (modifier.flags & STRING_FLAGS_HEXADECIMAL)
  ------------------
  |  |   67|  41.6k|#define STRING_FLAGS_HEXADECIMAL   0x02
  ------------------
  |  Branch (735:7): [True: 2.27k, False: 39.4k]
  ------------------
  736|  2.27k|    modifier.flags |= STRING_FLAGS_DOT_ALL;
  ------------------
  |  |   83|  2.27k|#define STRING_FLAGS_DOT_ALL       0x20000
  ------------------
  737|       |
  738|  41.6k|  if (!(modifier.flags & STRING_FLAGS_WIDE) &&
  ------------------
  |  |   70|  41.6k|#define STRING_FLAGS_WIDE          0x10
  ------------------
  |  Branch (738:7): [True: 39.8k, False: 1.79k]
  ------------------
  739|  39.8k|      !(modifier.flags & STRING_FLAGS_BASE64 ||
  ------------------
  |  |   87|  79.7k|#define STRING_FLAGS_BASE64        0x200000
  ------------------
  |  Branch (739:9): [True: 1.13k, False: 38.7k]
  ------------------
  740|  38.7k|        modifier.flags & STRING_FLAGS_BASE64_WIDE))
  ------------------
  |  |   88|  38.7k|#define STRING_FLAGS_BASE64_WIDE   0x400000
  ------------------
  |  Branch (740:9): [True: 394, False: 38.3k]
  ------------------
  741|  38.3k|  {
  742|  38.3k|    modifier.flags |= STRING_FLAGS_ASCII;
  ------------------
  |  |   69|  38.3k|#define STRING_FLAGS_ASCII         0x08
  ------------------
  743|  38.3k|  }
  744|       |
  745|       |  // The STRING_FLAGS_SINGLE_MATCH flag indicates that finding
  746|       |  // a single match for the string is enough. This is true in
  747|       |  // most cases, except when the string count (#) and string offset (@)
  748|       |  // operators are used. All strings are marked STRING_FLAGS_SINGLE_MATCH
  749|       |  // initially, and unmarked later if required.
  750|  41.6k|  modifier.flags |= STRING_FLAGS_SINGLE_MATCH;
  ------------------
  |  |   75|  41.6k|#define STRING_FLAGS_SINGLE_MATCH  0x200
  ------------------
  751|       |
  752|       |  // The STRING_FLAGS_FIXED_OFFSET indicates that the string doesn't
  753|       |  // need to be searched all over the file because the user is using the
  754|       |  // "at" operator. The string must be searched at a fixed offset in the
  755|       |  // file. All strings are marked STRING_FLAGS_FIXED_OFFSET initially,
  756|       |  // and unmarked later if required.
  757|  41.6k|  modifier.flags |= STRING_FLAGS_FIXED_OFFSET;
  ------------------
  |  |   81|  41.6k|#define STRING_FLAGS_FIXED_OFFSET  0x8000
  ------------------
  758|       |
  759|       |  // If string identifier is $ this is an anonymous string, if not add the
  760|       |  // identifier to strings_table.
  761|  41.6k|  if (strcmp(identifier, "$") == 0)
  ------------------
  |  Branch (761:7): [True: 39.7k, False: 1.96k]
  ------------------
  762|  39.7k|  {
  763|  39.7k|    modifier.flags |= STRING_FLAGS_ANONYMOUS;
  ------------------
  |  |   74|  39.7k|#define STRING_FLAGS_ANONYMOUS     0x100
  ------------------
  764|  39.7k|  }
  765|  1.96k|  else
  766|  1.96k|  {
  767|  1.96k|    FAIL_ON_ERROR(yr_hash_table_add_uint32(
  ------------------
  |  |  134|  1.96k|  {                               \
  |  |  135|  1.96k|    int __error = (x);            \
  |  |  136|  1.96k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  1.96k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 1.96k]
  |  |  ------------------
  |  |  137|  1.96k|      return __error;             \
  |  |  138|  1.96k|  }
  ------------------
  768|  1.96k|        compiler->strings_table,
  769|  1.96k|        identifier,
  770|  1.96k|        NULL,
  771|  1.96k|        compiler->current_string_idx));
  772|  1.96k|  }
  773|       |
  774|       |  // Make sure that the the string does not have an invalid combination of
  775|       |  // modifiers.
  776|  41.6k|  FAIL_ON_ERROR(_yr_parser_check_string_modifiers(yyscanner, modifier));
  ------------------
  |  |  134|  41.6k|  {                               \
  |  |  135|  41.6k|    int __error = (x);            \
  |  |  136|  41.6k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  41.6k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 77, False: 41.6k]
  |  |  ------------------
  |  |  137|  41.6k|      return __error;             \
  |  |  138|  41.6k|  }
  ------------------
  777|       |
  778|  41.6k|  if (modifier.flags & STRING_FLAGS_HEXADECIMAL ||
  ------------------
  |  |   67|  83.2k|#define STRING_FLAGS_HEXADECIMAL   0x02
  ------------------
  |  Branch (778:7): [True: 2.27k, False: 39.3k]
  ------------------
  779|  39.3k|      modifier.flags & STRING_FLAGS_REGEXP ||
  ------------------
  |  |   71|  80.9k|#define STRING_FLAGS_REGEXP        0x20
  ------------------
  |  Branch (779:7): [True: 34.1k, False: 5.14k]
  ------------------
  780|  5.14k|      modifier.flags & STRING_FLAGS_BASE64 ||
  ------------------
  |  |   87|  46.7k|#define STRING_FLAGS_BASE64        0x200000
  ------------------
  |  Branch (780:7): [True: 1.44k, False: 3.69k]
  ------------------
  781|  3.69k|      modifier.flags & STRING_FLAGS_BASE64_WIDE)
  ------------------
  |  |   88|  3.69k|#define STRING_FLAGS_BASE64_WIDE   0x400000
  ------------------
  |  Branch (781:7): [True: 984, False: 2.70k]
  ------------------
  782|  38.9k|  {
  783|  38.9k|    if (modifier.flags & STRING_FLAGS_HEXADECIMAL)
  ------------------
  |  |   67|  38.9k|#define STRING_FLAGS_HEXADECIMAL   0x02
  ------------------
  |  Branch (783:9): [True: 2.27k, False: 36.6k]
  ------------------
  784|  2.27k|      result = yr_re_parse_hex(str->c_string, &re_ast, &re_error);
  785|  36.6k|    else if (modifier.flags & STRING_FLAGS_REGEXP)
  ------------------
  |  |   71|  36.6k|#define STRING_FLAGS_REGEXP        0x20
  ------------------
  |  Branch (785:14): [True: 34.1k, False: 2.43k]
  ------------------
  786|  34.1k|    {
  787|  34.1k|      int flags = RE_PARSER_FLAG_NONE;
  788|  34.1k|      if (compiler->strict_escape)
  ------------------
  |  Branch (788:11): [True: 0, False: 34.1k]
  ------------------
  789|      0|        flags |= RE_PARSER_FLAG_ENABLE_STRICT_ESCAPE_SEQUENCES;
  790|  34.1k|      result = yr_re_parse(str->c_string, &re_ast, &re_error, flags);
  791|  34.1k|    }
  792|  2.43k|    else
  793|  2.43k|      result = yr_base64_ast_from_string(str, modifier, &re_ast, &re_error);
  794|       |
  795|  38.9k|    if (result != ERROR_SUCCESS)
  ------------------
  |  |   40|  38.9k|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (795:9): [True: 2.12k, False: 36.7k]
  ------------------
  796|  2.12k|    {
  797|  2.12k|      if (result == ERROR_UNKNOWN_ESCAPE_SEQUENCE)
  ------------------
  |  |  113|  2.12k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  ------------------
  |  Branch (797:11): [True: 0, False: 2.12k]
  ------------------
  798|      0|      {
  799|      0|        yywarning(yyscanner, "unknown escape sequence");
  ------------------
  |  |   50|      0|#define yywarning    yara_yywarning
  ------------------
  800|      0|      }
  801|  2.12k|      else
  802|  2.12k|      {
  803|  2.12k|        snprintf(
  804|  2.12k|            message,
  805|  2.12k|            sizeof(message),
  806|  2.12k|            "invalid %s \"%s\": %s",
  807|  2.12k|            (modifier.flags & STRING_FLAGS_HEXADECIMAL) ? "hex string"
  ------------------
  |  |   67|  2.12k|#define STRING_FLAGS_HEXADECIMAL   0x02
  ------------------
  |  Branch (807:13): [True: 981, False: 1.13k]
  ------------------
  808|  2.12k|                                                        : "regular expression",
  809|  2.12k|            identifier,
  810|  2.12k|            re_error.message);
  811|       |
  812|  2.12k|        yr_compiler_set_error_extra_info(compiler, message);
  ------------------
  |  |  320|  2.12k|  strlcpy(                                               \
  |  |  321|  2.12k|      compiler->last_error_extra_info,                   \
  |  |  322|  2.12k|      info,                                              \
  |  |  323|  2.12k|      sizeof(compiler->last_error_extra_info));
  ------------------
  813|  2.12k|        goto _exit;
  814|  2.12k|      }
  815|  2.12k|    }
  816|       |
  817|  36.7k|    if (re_ast->flags & RE_FLAGS_FAST_REGEXP)
  ------------------
  |  |   94|  36.7k|#define RE_FLAGS_FAST_REGEXP 0x02
  ------------------
  |  Branch (817:9): [True: 1.23k, False: 35.5k]
  ------------------
  818|  1.23k|      modifier.flags |= STRING_FLAGS_FAST_REGEXP;
  ------------------
  |  |   72|  1.23k|#define STRING_FLAGS_FAST_REGEXP   0x40
  ------------------
  819|       |
  820|  36.7k|    if (re_ast->flags & RE_FLAGS_GREEDY)
  ------------------
  |  |  101|  36.7k|#define RE_FLAGS_GREEDY      0x400
  ------------------
  |  Branch (820:9): [True: 3.59k, False: 33.1k]
  ------------------
  821|  3.59k|      modifier.flags |= STRING_FLAGS_GREEDY_REGEXP;
  ------------------
  |  |   82|  3.59k|#define STRING_FLAGS_GREEDY_REGEXP 0x10000
  ------------------
  822|       |
  823|       |    // Regular expressions in the strings section can't mix greedy and
  824|       |    // ungreedy quantifiers like .* and .*?. That's because these regular
  825|       |    // expressions can be matched forwards and/or backwards depending on the
  826|       |    // atom found, and we need the regexp to be all-greedy or all-ungreedy to
  827|       |    // be able to properly calculate the length of the match.
  828|       |
  829|  36.7k|    if ((re_ast->flags & RE_FLAGS_GREEDY) &&
  ------------------
  |  |  101|  36.7k|#define RE_FLAGS_GREEDY      0x400
  ------------------
  |  Branch (829:9): [True: 3.59k, False: 33.1k]
  ------------------
  830|  3.59k|        (re_ast->flags & RE_FLAGS_UNGREEDY))
  ------------------
  |  |  102|  3.59k|#define RE_FLAGS_UNGREEDY    0x800
  ------------------
  |  Branch (830:9): [True: 22, False: 3.57k]
  ------------------
  831|     22|    {
  832|     22|      result = ERROR_INVALID_REGULAR_EXPRESSION;
  ------------------
  |  |   54|     22|#define ERROR_INVALID_REGULAR_EXPRESSION     9
  ------------------
  833|       |
  834|     22|      yr_compiler_set_error_extra_info(
  ------------------
  |  |  320|     22|  strlcpy(                                               \
  |  |  321|     22|      compiler->last_error_extra_info,                   \
  |  |  322|     22|      info,                                              \
  |  |  323|     22|      sizeof(compiler->last_error_extra_info));
  ------------------
  835|     22|          compiler,
  836|     22|          "greedy and ungreedy quantifiers can't be mixed in a regular "
  837|     22|          "expression");
  838|       |
  839|     22|      goto _exit;
  840|     22|    }
  841|       |
  842|  36.7k|    if (yr_re_ast_has_unbounded_quantifier_for_dot(re_ast))
  ------------------
  |  Branch (842:9): [True: 12.2k, False: 24.5k]
  ------------------
  843|  12.2k|    {
  844|  12.2k|      yywarning(
  ------------------
  |  |   50|  12.2k|#define yywarning    yara_yywarning
  ------------------
  845|  12.2k|          yyscanner,
  846|  12.2k|          "%s contains .*, .+ or .{x,} consider using .{,N}, .{1,N} or {x,N} "
  847|  12.2k|          "with a reasonable value for N",
  848|  12.2k|          identifier);
  849|  12.2k|    }
  850|       |
  851|  36.7k|    if (compiler->re_ast_callback != NULL)
  ------------------
  |  Branch (851:9): [True: 0, False: 36.7k]
  ------------------
  852|      0|    {
  853|      0|      compiler->re_ast_callback(
  854|      0|          current_rule, identifier, re_ast, compiler->re_ast_clbk_user_data);
  855|      0|    }
  856|       |
  857|  36.7k|    *string_ref = YR_ARENA_NULL_REF;
  ------------------
  |  |   43|  36.7k|  (YR_ARENA_REF)           \
  |  |   44|  36.7k|  {                        \
  |  |   45|  36.7k|    UINT32_MAX, UINT32_MAX \
  |  |   46|  36.7k|  }
  ------------------
  858|       |
  859|  88.4k|    while (re_ast != NULL)
  ------------------
  |  Branch (859:12): [True: 51.8k, False: 36.5k]
  ------------------
  860|  51.8k|    {
  861|  51.8k|      YR_ARENA_REF ref;
  862|       |
  863|  51.8k|      uint32_t prev_string_idx = compiler->current_string_idx - 1;
  864|       |
  865|  51.8k|      int32_t prev_min_gap = min_gap;
  866|  51.8k|      int32_t prev_max_gap = max_gap;
  867|       |
  868|  51.8k|      result = yr_re_ast_split_at_chaining_point(
  869|  51.8k|          re_ast, &remainder_re_ast, &min_gap, &max_gap);
  870|       |
  871|  51.8k|      if (result != ERROR_SUCCESS)
  ------------------
  |  |   40|  51.8k|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (871:11): [True: 0, False: 51.8k]
  ------------------
  872|      0|        goto _exit;
  873|       |
  874|  51.8k|      result = _yr_parser_write_string(
  875|  51.8k|          identifier,
  876|  51.8k|          modifier,
  877|  51.8k|          compiler,
  878|  51.8k|          NULL,
  879|  51.8k|          re_ast,
  880|  51.8k|          &ref,
  881|  51.8k|          &atom_quality,
  882|  51.8k|          &current_rule->num_atoms);
  883|       |
  884|  51.8k|      if (result != ERROR_SUCCESS)
  ------------------
  |  |   40|  51.8k|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (884:11): [True: 172, False: 51.6k]
  ------------------
  885|    172|        goto _exit;
  886|       |
  887|  51.6k|      if (atom_quality < min_atom_quality)
  ------------------
  |  Branch (887:11): [True: 44.5k, False: 7.16k]
  ------------------
  888|  44.5k|        min_atom_quality = atom_quality;
  889|       |
  890|  51.6k|      if (YR_ARENA_IS_NULL_REF(*string_ref))
  ------------------
  |  |   49|  51.6k|  (memcmp(&(ref), &YR_ARENA_NULL_REF, sizeof(YR_ARENA_NULL_REF)) == 0)
  |  |  ------------------
  |  |  |  |   43|  51.6k|  (YR_ARENA_REF)           \
  |  |  |  |   44|  51.6k|  {                        \
  |  |  |  |   45|  51.6k|    UINT32_MAX, UINT32_MAX \
  |  |  |  |   46|  51.6k|  }
  |  |  ------------------
  |  |                 (memcmp(&(ref), &YR_ARENA_NULL_REF, sizeof(YR_ARENA_NULL_REF)) == 0)
  |  |  ------------------
  |  |  |  |   43|  51.6k|  (YR_ARENA_REF)           \
  |  |  |  |   44|  51.6k|  {                        \
  |  |  |  |   45|  51.6k|    UINT32_MAX, UINT32_MAX \
  |  |  |  |   46|  51.6k|  }
  |  |  ------------------
  |  |  |  Branch (49:3): [True: 36.5k, False: 15.0k]
  |  |  ------------------
  ------------------
  891|  36.5k|      {
  892|       |        // This is the first string in the chain, the string reference
  893|       |        // returned by this function must point to this string.
  894|  36.5k|        *string_ref = ref;
  895|  36.5k|      }
  896|  15.0k|      else
  897|  15.0k|      {
  898|       |        // This is not the first string in the chain, set the appropriate
  899|       |        // flags and fill the chained_to, chain_gap_min and chain_gap_max
  900|       |        // fields.
  901|  15.0k|        YR_STRING* prev_string = (YR_STRING*) yr_arena_get_ptr(
  902|  15.0k|            compiler->arena,
  903|  15.0k|            YR_STRINGS_TABLE,
  ------------------
  |  |   60|  15.0k|#define YR_STRINGS_TABLE            3
  ------------------
  904|  15.0k|            prev_string_idx * sizeof(YR_STRING));
  905|       |
  906|  15.0k|        YR_STRING* new_string = (YR_STRING*) yr_arena_ref_to_ptr(
  907|  15.0k|            compiler->arena, &ref);
  908|       |
  909|  15.0k|        new_string->chained_to = prev_string;
  910|  15.0k|        new_string->chain_gap_min = prev_min_gap;
  911|  15.0k|        new_string->chain_gap_max = prev_max_gap;
  912|       |
  913|       |        // A string chained to another one can't have a fixed offset, only the
  914|       |        // head of the string chain can have a fixed offset.
  915|  15.0k|        new_string->flags &= ~STRING_FLAGS_FIXED_OFFSET;
  ------------------
  |  |   81|  15.0k|#define STRING_FLAGS_FIXED_OFFSET  0x8000
  ------------------
  916|       |
  917|       |        // There is a previous string, but that string wasn't marked as part
  918|       |        // of a chain because we can't do that until knowing there will be
  919|       |        // another string, let's flag it now the we know.
  920|  15.0k|        prev_string->flags |= STRING_FLAGS_CHAIN_PART;
  ------------------
  |  |   79|  15.0k|#define STRING_FLAGS_CHAIN_PART    0x2000
  ------------------
  921|       |
  922|       |        // There is a previous string, so this string is part of a chain, but
  923|       |        // there will be no more strings because there are no more AST to
  924|       |        // split, which means that this is the chain's tail.
  925|  15.0k|        if (remainder_re_ast == NULL)
  ------------------
  |  Branch (925:13): [True: 11.0k, False: 4.00k]
  ------------------
  926|  11.0k|          new_string->flags |= STRING_FLAGS_CHAIN_PART |
  ------------------
  |  |   79|  11.0k|#define STRING_FLAGS_CHAIN_PART    0x2000
  ------------------
  927|  11.0k|                               STRING_FLAGS_CHAIN_TAIL;
  ------------------
  |  |   80|  11.0k|#define STRING_FLAGS_CHAIN_TAIL    0x4000
  ------------------
  928|  15.0k|      }
  929|       |
  930|  51.6k|      yr_re_ast_destroy(re_ast);
  931|  51.6k|      re_ast = remainder_re_ast;
  932|  51.6k|    }
  933|  36.7k|  }
  934|  2.70k|  else  // not a STRING_FLAGS_HEXADECIMAL or STRING_FLAGS_REGEXP or
  935|       |        // STRING_FLAGS_BASE64 or STRING_FLAGS_BASE64_WIDE
  936|  2.70k|  {
  937|  2.70k|    result = _yr_parser_write_string(
  938|  2.70k|        identifier,
  939|  2.70k|        modifier,
  940|  2.70k|        compiler,
  941|  2.70k|        str,
  942|  2.70k|        NULL,
  943|  2.70k|        string_ref,
  944|  2.70k|        &min_atom_quality,
  945|  2.70k|        &current_rule->num_atoms);
  946|       |
  947|  2.70k|    if (result != ERROR_SUCCESS)
  ------------------
  |  |   40|  2.70k|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (947:9): [True: 0, False: 2.70k]
  ------------------
  948|      0|      goto _exit;
  949|  2.70k|  }
  950|       |
  951|  39.2k|  if (min_atom_quality < compiler->atoms_config.quality_warning_threshold)
  ------------------
  |  Branch (951:7): [True: 20.6k, False: 18.6k]
  ------------------
  952|  20.6k|  {
  953|  20.6k|    yywarning(yyscanner, "string \"%s\" may slow down scanning", identifier);
  ------------------
  |  |   50|  20.6k|#define yywarning    yara_yywarning
  ------------------
  954|  20.6k|  }
  955|       |
  956|  41.6k|_exit:
  957|       |
  958|  41.6k|  if (re_ast != NULL)
  ------------------
  |  Branch (958:7): [True: 194, False: 41.4k]
  ------------------
  959|    194|    yr_re_ast_destroy(re_ast);
  960|       |
  961|  41.6k|  if (remainder_re_ast != NULL)
  ------------------
  |  Branch (961:7): [True: 1, False: 41.6k]
  ------------------
  962|      1|    yr_re_ast_destroy(remainder_re_ast);
  963|       |
  964|  41.6k|  return result;
  965|  39.2k|}
yr_parser_reduce_rule_declaration_phase_1:
  987|  50.1k|{
  988|  50.1k|  int result;
  989|  50.1k|  YR_FIXUP* fixup;
  990|  50.1k|  YR_COMPILER* compiler = yyget_extra(yyscanner);
  ------------------
  |  |   54|  50.1k|#define yyget_extra  yara_yyget_extra
  ------------------
  991|       |
  992|  50.1k|  YR_NAMESPACE* ns = (YR_NAMESPACE*) yr_arena_get_ptr(
  993|  50.1k|      compiler->arena,
  994|  50.1k|      YR_NAMESPACES_TABLE,
  ------------------
  |  |   57|  50.1k|#define YR_NAMESPACES_TABLE         0
  ------------------
  995|  50.1k|      compiler->current_namespace_idx * sizeof(struct YR_NAMESPACE));
  996|       |
  997|  50.1k|  if (yr_hash_table_lookup_uint32(
  ------------------
  |  Branch (997:7): [True: 24.0k, False: 26.1k]
  ------------------
  998|  50.1k|          compiler->rules_table, identifier, ns->name) != UINT32_MAX ||
  999|  26.1k|      yr_hash_table_lookup(compiler->objects_table, identifier, NULL) != NULL)
  ------------------
  |  Branch (999:7): [True: 0, False: 26.1k]
  ------------------
 1000|  24.0k|  {
 1001|       |    // A rule or variable with the same identifier already exists, return the
 1002|       |    // appropriate error.
 1003|       |
 1004|  24.0k|    yr_compiler_set_error_extra_info(compiler, identifier);
  ------------------
  |  |  320|  24.0k|  strlcpy(                                               \
  |  |  321|  24.0k|      compiler->last_error_extra_info,                   \
  |  |  322|  24.0k|      info,                                              \
  |  |  323|  24.0k|      sizeof(compiler->last_error_extra_info));
  ------------------
 1005|  24.0k|    return ERROR_DUPLICATED_IDENTIFIER;
  ------------------
  |  |   59|  24.0k|#define ERROR_DUPLICATED_IDENTIFIER          14
  ------------------
 1006|  24.0k|  }
 1007|       |
 1008|       |  // Iterate over all identifiers in wildcard_identifiers_table, and check if
 1009|       |  // any of them are a prefix of the identifier being declared. If so, return
 1010|       |  // ERROR_IDENTIFIER_MATCHES_WILDCARD.
 1011|  26.1k|  result = yr_hash_table_iterate(
 1012|  26.1k|      compiler->wildcard_identifiers_table,
 1013|  26.1k|      ns->name,
 1014|  26.1k|      wildcard_iterator,
 1015|  26.1k|      (void*) identifier);
 1016|       |
 1017|  26.1k|  if (result == ERROR_IDENTIFIER_MATCHES_WILDCARD)
  ------------------
  |  |  110|  26.1k|#define ERROR_IDENTIFIER_MATCHES_WILDCARD    63
  ------------------
  |  Branch (1017:7): [True: 260, False: 25.8k]
  ------------------
 1018|    260|  {
 1019|       |    // This rule matches an existing wildcard rule set.
 1020|    260|    yr_compiler_set_error_extra_info(compiler, identifier);
  ------------------
  |  |  320|    260|  strlcpy(                                               \
  |  |  321|    260|      compiler->last_error_extra_info,                   \
  |  |  322|    260|      info,                                              \
  |  |  323|    260|      sizeof(compiler->last_error_extra_info));
  ------------------
 1021|    260|  }
 1022|       |
 1023|  26.1k|  FAIL_ON_ERROR(result);
  ------------------
  |  |  134|  26.1k|  {                               \
  |  |  135|  26.1k|    int __error = (x);            \
  |  |  136|  26.1k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  26.1k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 260, False: 25.8k]
  |  |  ------------------
  |  |  137|  26.1k|      return __error;             \
  |  |  138|  26.1k|  }
  ------------------
 1024|       |
 1025|  25.8k|  FAIL_ON_ERROR(yr_arena_allocate_struct(
  ------------------
  |  |  134|  25.8k|  {                               \
  |  |  135|  25.8k|    int __error = (x);            \
  |  |  136|  25.8k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  25.8k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 25.8k]
  |  |  ------------------
  |  |  137|  25.8k|      return __error;             \
  |  |  138|  25.8k|  }
  ------------------
 1026|  25.8k|      compiler->arena,
 1027|  25.8k|      YR_RULES_TABLE,
 1028|  25.8k|      sizeof(YR_RULE),
 1029|  25.8k|      rule_ref,
 1030|  25.8k|      offsetof(YR_RULE, identifier),
 1031|  25.8k|      offsetof(YR_RULE, tags),
 1032|  25.8k|      offsetof(YR_RULE, strings),
 1033|  25.8k|      offsetof(YR_RULE, metas),
 1034|  25.8k|      offsetof(YR_RULE, ns),
 1035|  25.8k|      EOL));
 1036|       |
 1037|  25.8k|  YR_RULE* rule = (YR_RULE*) yr_arena_ref_to_ptr(compiler->arena, rule_ref);
 1038|       |
 1039|  25.8k|  YR_ARENA_REF ref;
 1040|       |
 1041|  25.8k|  FAIL_ON_ERROR(_yr_compiler_store_string(compiler, identifier, &ref));
  ------------------
  |  |  134|  25.8k|  {                               \
  |  |  135|  25.8k|    int __error = (x);            \
  |  |  136|  25.8k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  25.8k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 25.8k]
  |  |  ------------------
  |  |  137|  25.8k|      return __error;             \
  |  |  138|  25.8k|  }
  ------------------
 1042|       |
 1043|  25.8k|  rule->identifier = (const char*) yr_arena_ref_to_ptr(compiler->arena, &ref);
 1044|  25.8k|  rule->flags = flags;
 1045|  25.8k|  rule->ns = ns;
 1046|  25.8k|  rule->num_atoms = 0;
 1047|       |
 1048|  25.8k|  YR_ARENA_REF jmp_offset_ref;
 1049|       |
 1050|       |  // We are starting to parse a new rule, set current_rule_idx accordingly.
 1051|  25.8k|  compiler->current_rule_idx = compiler->next_rule_idx;
 1052|  25.8k|  compiler->next_rule_idx++;
 1053|       |
 1054|       |  // The OP_INIT_RULE instruction behaves like a jump. When the rule is
 1055|       |  // disabled it skips over the rule's code and go straight to the next rule's
 1056|       |  // code. The jmp_offset_ref variable points to the jump's offset. The offset
 1057|       |  // is set to 0 as we don't know the jump target yet. When we finish
 1058|       |  // generating the rule's code in yr_parser_reduce_rule_declaration_phase_2
 1059|       |  // the jump offset is set to its final value.
 1060|       |
 1061|  25.8k|  FAIL_ON_ERROR(yr_parser_emit_with_arg_int32(
  ------------------
  |  |  134|  25.8k|  {                               \
  |  |  135|  25.8k|    int __error = (x);            \
  |  |  136|  25.8k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  25.8k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 25.8k]
  |  |  ------------------
  |  |  137|  25.8k|      return __error;             \
  |  |  138|  25.8k|  }
  ------------------
 1062|  25.8k|      yyscanner, OP_INIT_RULE, 0, NULL, &jmp_offset_ref));
 1063|       |
 1064|  25.8k|  FAIL_ON_ERROR(yr_arena_write_data(
  ------------------
  |  |  134|  25.8k|  {                               \
  |  |  135|  25.8k|    int __error = (x);            \
  |  |  136|  25.8k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  25.8k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 25.8k]
  |  |  ------------------
  |  |  137|  25.8k|      return __error;             \
  |  |  138|  25.8k|  }
  ------------------
 1065|  25.8k|      compiler->arena,
 1066|  25.8k|      YR_CODE_SECTION,
 1067|  25.8k|      &compiler->current_rule_idx,
 1068|  25.8k|      sizeof(compiler->current_rule_idx),
 1069|  25.8k|      NULL));
 1070|       |
 1071|       |  // Create a fixup entry for the jump and push it in the stack
 1072|  25.8k|  fixup = (YR_FIXUP*) yr_malloc(sizeof(YR_FIXUP));
 1073|       |
 1074|  25.8k|  if (fixup == NULL)
  ------------------
  |  Branch (1074:7): [True: 0, False: 25.8k]
  ------------------
 1075|      0|    return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
 1076|       |
 1077|  25.8k|  fixup->ref = jmp_offset_ref;
 1078|  25.8k|  fixup->next = compiler->fixup_stack_head;
 1079|  25.8k|  compiler->fixup_stack_head = fixup;
 1080|       |
 1081|       |  // Clean strings_table as we are starting to parse a new rule.
 1082|  25.8k|  yr_hash_table_clean(compiler->strings_table, NULL);
 1083|       |
 1084|  25.8k|  FAIL_ON_ERROR(yr_hash_table_add_uint32(
  ------------------
  |  |  134|  25.8k|  {                               \
  |  |  135|  25.8k|    int __error = (x);            \
  |  |  136|  25.8k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  25.8k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 25.8k]
  |  |  ------------------
  |  |  137|  25.8k|      return __error;             \
  |  |  138|  25.8k|  }
  ------------------
 1085|  25.8k|      compiler->rules_table, identifier, ns->name, compiler->current_rule_idx));
 1086|       |
 1087|  25.8k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  25.8k|#define ERROR_SUCCESS 0
  ------------------
 1088|  25.8k|}
yr_parser_reduce_rule_declaration_phase_2:
 1093|    593|{
 1094|    593|  uint32_t max_strings_per_rule;
 1095|    593|  uint32_t strings_in_rule = 0;
 1096|       |
 1097|    593|  YR_FIXUP* fixup;
 1098|    593|  YR_STRING* string;
 1099|    593|  YR_COMPILER* compiler = yyget_extra(yyscanner);
  ------------------
  |  |   54|    593|#define yyget_extra  yara_yyget_extra
  ------------------
 1100|       |
 1101|    593|  yr_get_configuration_uint32(
 1102|    593|      YR_CONFIG_MAX_STRINGS_PER_RULE, &max_strings_per_rule);
 1103|       |
 1104|    593|  YR_RULE* rule = (YR_RULE*) yr_arena_ref_to_ptr(compiler->arena, rule_ref);
 1105|       |
 1106|       |  // Show warning if the rule is generating too many atoms. The warning is
 1107|       |  // shown if the number of atoms is greater than 20 times the maximum number
 1108|       |  // of strings allowed for a rule, as 20 is minimum number of atoms generated
 1109|       |  // for a string using *nocase*, *ascii* and *wide* modifiers simultaneously.
 1110|       |
 1111|    593|  if (rule->num_atoms > YR_ATOMS_PER_RULE_WARNING_THRESHOLD)
  ------------------
  |  |   89|    593|#define YR_ATOMS_PER_RULE_WARNING_THRESHOLD 12000
  ------------------
  |  Branch (1111:7): [True: 44, False: 549]
  ------------------
 1112|     44|  {
 1113|     44|    yywarning(yyscanner, "rule is slowing down scanning");
  ------------------
  |  |   50|     44|#define yywarning    yara_yywarning
  ------------------
 1114|     44|  }
 1115|       |
 1116|    593|  yr_rule_strings_foreach(rule, string)
  ------------------
  |  |   60|  20.4k|  for (string = rule->strings; string != NULL; \
  |  |  ------------------
  |  |  |  Branch (60:32): [True: 19.9k, False: 550]
  |  |  ------------------
  |  |   61|  19.9k|       string = STRING_IS_LAST_IN_RULE(string) ? NULL : string + 1)
  |  |  ------------------
  |  |  |  |  122|  19.9k|#define STRING_IS_LAST_IN_RULE(x) (((x)->flags) & STRING_FLAGS_LAST_IN_RULE)
  |  |  |  |  ------------------
  |  |  |  |  |  |   78|  19.9k|#define STRING_FLAGS_LAST_IN_RULE  0x1000
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (122:35): [True: 443, False: 19.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1117|  19.9k|  {
 1118|       |    // Only the heading fragment in a chain of strings (the one with
 1119|       |    // chained_to == NULL) must be referenced. All other fragments
 1120|       |    // are never marked as referenced.
 1121|       |    //
 1122|       |    // Any string identifier that starts with '_' can be unreferenced. Anonymous
 1123|       |    // strings must always be referenced.
 1124|       |
 1125|  19.9k|    if (!STRING_IS_REFERENCED(string) && string->chained_to == NULL &&
  ------------------
  |  |  108|  39.8k|#define STRING_IS_REFERENCED(x) (((x)->flags) & STRING_FLAGS_REFERENCED)
  |  |  ------------------
  |  |  |  |   66|  19.9k|#define STRING_FLAGS_REFERENCED    0x01
  |  |  ------------------
  ------------------
  |  Branch (1125:9): [True: 7.41k, False: 12.5k]
  |  Branch (1125:42): [True: 174, False: 7.23k]
  ------------------
 1126|    174|        (STRING_IS_ANONYMOUS(string) ||
  ------------------
  |  |  106|    348|#define STRING_IS_ANONYMOUS(x) (((x)->flags) & STRING_FLAGS_ANONYMOUS)
  |  |  ------------------
  |  |  |  |   74|    174|#define STRING_FLAGS_ANONYMOUS     0x100
  |  |  ------------------
  |  |  |  Branch (106:32): [True: 14, False: 160]
  |  |  ------------------
  ------------------
 1127|    160|         (!STRING_IS_ANONYMOUS(string) && string->identifier[1] != '_')))
  ------------------
  |  |  106|    320|#define STRING_IS_ANONYMOUS(x) (((x)->flags) & STRING_FLAGS_ANONYMOUS)
  |  |  ------------------
  |  |  |  |   74|    160|#define STRING_FLAGS_ANONYMOUS     0x100
  |  |  ------------------
  ------------------
  |  Branch (1127:11): [True: 160, False: 0]
  |  Branch (1127:43): [True: 29, False: 131]
  ------------------
 1128|     43|    {
 1129|     43|      yr_compiler_set_error_extra_info(
  ------------------
  |  |  320|     43|  strlcpy(                                               \
  |  |  321|     43|      compiler->last_error_extra_info,                   \
  |  |  322|     43|      info,                                              \
  |  |  323|     43|      sizeof(compiler->last_error_extra_info));
  ------------------
 1130|     43|          compiler, string->identifier) return ERROR_UNREFERENCED_STRING;
  ------------------
  |  |   63|     43|#define ERROR_UNREFERENCED_STRING            18
  ------------------
 1131|     43|    }
 1132|       |
 1133|       |    // If a string is unreferenced we need to unset the FIXED_OFFSET flag so
 1134|       |    // that it will match anywhere.
 1135|  19.9k|    if (!STRING_IS_REFERENCED(string) && string->chained_to == NULL &&
  ------------------
  |  |  108|  39.8k|#define STRING_IS_REFERENCED(x) (((x)->flags) & STRING_FLAGS_REFERENCED)
  |  |  ------------------
  |  |  |  |   66|  19.9k|#define STRING_FLAGS_REFERENCED    0x01
  |  |  ------------------
  ------------------
  |  Branch (1135:9): [True: 7.36k, False: 12.5k]
  |  Branch (1135:42): [True: 131, False: 7.23k]
  ------------------
 1136|    131|        STRING_IS_FIXED_OFFSET(string))
  ------------------
  |  |  112|    131|#define STRING_IS_FIXED_OFFSET(x) (((x)->flags) & STRING_FLAGS_FIXED_OFFSET)
  |  |  ------------------
  |  |  |  |   81|    131|#define STRING_FLAGS_FIXED_OFFSET  0x8000
  |  |  ------------------
  |  |  |  Branch (112:35): [True: 88, False: 43]
  |  |  ------------------
  ------------------
 1137|     88|    {
 1138|     88|      string->flags &= ~STRING_FLAGS_FIXED_OFFSET;
  ------------------
  |  |   81|     88|#define STRING_FLAGS_FIXED_OFFSET  0x8000
  ------------------
 1139|     88|    }
 1140|       |
 1141|  19.9k|    strings_in_rule++;
 1142|       |
 1143|  19.9k|    if (strings_in_rule > max_strings_per_rule)
  ------------------
  |  Branch (1143:9): [True: 0, False: 19.9k]
  ------------------
 1144|      0|    {
 1145|      0|      yr_compiler_set_error_extra_info(
  ------------------
  |  |  320|      0|  strlcpy(                                               \
  |  |  321|      0|      compiler->last_error_extra_info,                   \
  |  |  322|      0|      info,                                              \
  |  |  323|      0|      sizeof(compiler->last_error_extra_info));
  ------------------
 1146|      0|          compiler, rule->identifier) return ERROR_TOO_MANY_STRINGS;
  ------------------
  |  |   98|      0|#define ERROR_TOO_MANY_STRINGS               51
  ------------------
 1147|      0|    }
 1148|  19.9k|  }
 1149|       |
 1150|    550|  FAIL_ON_ERROR(yr_parser_emit_with_arg(
  ------------------
  |  |  134|    550|  {                               \
  |  |  135|    550|    int __error = (x);            \
  |  |  136|    550|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|    550|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 550]
  |  |  ------------------
  |  |  137|    550|      return __error;             \
  |  |  138|    550|  }
  ------------------
 1151|    550|      yyscanner, OP_MATCH_RULE, compiler->current_rule_idx, NULL, NULL));
 1152|       |
 1153|    550|  fixup = compiler->fixup_stack_head;
 1154|       |
 1155|    550|  void* jmp_offset_addr = yr_arena_ref_to_ptr(compiler->arena, &fixup->ref);
 1156|       |
 1157|    550|  int32_t jmp_offset = yr_arena_get_current_offset(
 1158|    550|                           compiler->arena, YR_CODE_SECTION) -
  ------------------
  |  |   63|    550|#define YR_CODE_SECTION             6
  ------------------
 1159|    550|                       fixup->ref.offset + 1;
 1160|       |
 1161|    550|  memcpy(jmp_offset_addr, &jmp_offset, sizeof(jmp_offset));
 1162|       |
 1163|       |  // Remove fixup from the stack.
 1164|    550|  compiler->fixup_stack_head = fixup->next;
 1165|    550|  yr_free(fixup);
 1166|       |
 1167|       |  // We have finished parsing the current rule set current_rule_idx to
 1168|       |  // UINT32_MAX indicating that we are not currently parsing a rule.
 1169|    550|  compiler->current_rule_idx = UINT32_MAX;
 1170|       |
 1171|    550|  return ERROR_SUCCESS;
  ------------------
  |  |   40|    550|#define ERROR_SUCCESS 0
  ------------------
 1172|    550|}
yr_parser_reduce_string_identifier:
 1179|  22.1k|{
 1180|  22.1k|  YR_STRING* string;
 1181|  22.1k|  YR_COMPILER* compiler = yyget_extra(yyscanner);
  ------------------
  |  |   54|  22.1k|#define yyget_extra  yara_yyget_extra
  ------------------
 1182|       |
 1183|  22.1k|  if (strcmp(identifier, "$") == 0)  // is an anonymous string ?
  ------------------
  |  Branch (1183:7): [True: 18.8k, False: 3.33k]
  ------------------
 1184|  18.8k|  {
 1185|  18.8k|    if (compiler->loop_for_of_var_index >= 0)  // inside a loop ?
  ------------------
  |  Branch (1185:9): [True: 18.6k, False: 199]
  ------------------
 1186|  18.6k|    {
 1187|  18.6k|      yr_parser_emit_with_arg(
 1188|  18.6k|          yyscanner, OP_PUSH_M, compiler->loop_for_of_var_index, NULL, NULL);
  ------------------
  |  |   82|  18.6k|#define OP_PUSH_M                     34
  ------------------
 1189|       |
 1190|  18.6k|      yr_parser_emit(yyscanner, instruction, NULL);
 1191|       |
 1192|  18.6k|      YR_RULE* current_rule = _yr_compiler_get_rule_by_idx(
 1193|  18.6k|          compiler, compiler->current_rule_idx);
 1194|       |
 1195|  18.6k|      yr_rule_strings_foreach(current_rule, string)
  ------------------
  |  |   60|  1.34M|  for (string = rule->strings; string != NULL; \
  |  |  ------------------
  |  |  |  Branch (60:32): [True: 1.32M, False: 18.6k]
  |  |  ------------------
  |  |   61|  1.32M|       string = STRING_IS_LAST_IN_RULE(string) ? NULL : string + 1)
  |  |  ------------------
  |  |  |  |  122|  1.32M|#define STRING_IS_LAST_IN_RULE(x) (((x)->flags) & STRING_FLAGS_LAST_IN_RULE)
  |  |  |  |  ------------------
  |  |  |  |  |  |   78|  1.32M|#define STRING_FLAGS_LAST_IN_RULE  0x1000
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (122:35): [True: 17.7k, False: 1.31M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1196|  1.32M|      {
 1197|  1.32M|        if (instruction != OP_FOUND)
  ------------------
  |  |   70|  1.32M|#define OP_FOUND                      22
  ------------------
  |  Branch (1197:13): [True: 1.32M, False: 736]
  ------------------
 1198|  1.32M|          string->flags &= ~STRING_FLAGS_SINGLE_MATCH;
  ------------------
  |  |   75|  1.32M|#define STRING_FLAGS_SINGLE_MATCH  0x200
  ------------------
 1199|       |
 1200|  1.32M|        if (instruction == OP_FOUND_AT)
  ------------------
  |  |   71|  1.32M|#define OP_FOUND_AT                   23
  ------------------
  |  Branch (1200:13): [True: 1.55k, False: 1.32M]
  ------------------
 1201|  1.55k|        {
 1202|       |          // Avoid overwriting any previous fixed offset
 1203|  1.55k|          if (string->fixed_offset == YR_UNDEFINED)
  ------------------
  |  |   38|  1.55k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  ------------------
  |  Branch (1203:15): [True: 685, False: 872]
  ------------------
 1204|    685|            string->fixed_offset = at_offset;
 1205|       |
 1206|       |          // If a previous fixed offset was different, disable
 1207|       |          // the STRING_GFLAGS_FIXED_OFFSET flag because we only
 1208|       |          // have room to store a single fixed offset value
 1209|  1.55k|          if (string->fixed_offset != at_offset)
  ------------------
  |  Branch (1209:15): [True: 608, False: 949]
  ------------------
 1210|    608|            string->flags &= ~STRING_FLAGS_FIXED_OFFSET;
  ------------------
  |  |   81|    608|#define STRING_FLAGS_FIXED_OFFSET  0x8000
  ------------------
 1211|  1.55k|        }
 1212|  1.32M|        else
 1213|  1.32M|        {
 1214|  1.32M|          string->flags &= ~STRING_FLAGS_FIXED_OFFSET;
  ------------------
  |  |   81|  1.32M|#define STRING_FLAGS_FIXED_OFFSET  0x8000
  ------------------
 1215|  1.32M|        }
 1216|  1.32M|      }
 1217|  18.6k|    }
 1218|    199|    else
 1219|    199|    {
 1220|       |      // Anonymous strings not allowed outside of a loop
 1221|    199|      return ERROR_MISPLACED_ANONYMOUS_STRING;
  ------------------
  |  |   66|    199|#define ERROR_MISPLACED_ANONYMOUS_STRING     21
  ------------------
 1222|    199|    }
 1223|  18.8k|  }
 1224|  3.33k|  else
 1225|  3.33k|  {
 1226|  3.33k|    FAIL_ON_ERROR(yr_parser_lookup_string(yyscanner, identifier, &string));
  ------------------
  |  |  134|  3.33k|  {                               \
  |  |  135|  3.33k|    int __error = (x);            \
  |  |  136|  3.33k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  3.33k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 193, False: 3.14k]
  |  |  ------------------
  |  |  137|  3.33k|      return __error;             \
  |  |  138|  3.33k|  }
  ------------------
 1227|       |
 1228|  3.14k|    FAIL_ON_ERROR(
  ------------------
  |  |  134|  3.14k|  {                               \
  |  |  135|  3.14k|    int __error = (x);            \
  |  |  136|  3.14k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  3.14k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 3.14k]
  |  |  ------------------
  |  |  137|  3.14k|      return __error;             \
  |  |  138|  3.14k|  }
  ------------------
 1229|  3.14k|        yr_parser_emit_with_arg_reloc(yyscanner, OP_PUSH, string, NULL, NULL));
 1230|       |
 1231|  3.14k|    if (instruction != OP_FOUND)
  ------------------
  |  |   70|  3.14k|#define OP_FOUND                      22
  ------------------
  |  Branch (1231:9): [True: 2.73k, False: 407]
  ------------------
 1232|  2.73k|      string->flags &= ~STRING_FLAGS_SINGLE_MATCH;
  ------------------
  |  |   75|  2.73k|#define STRING_FLAGS_SINGLE_MATCH  0x200
  ------------------
 1233|       |
 1234|  3.14k|    if (instruction == OP_FOUND_AT)
  ------------------
  |  |   71|  3.14k|#define OP_FOUND_AT                   23
  ------------------
  |  Branch (1234:9): [True: 758, False: 2.38k]
  ------------------
 1235|    758|    {
 1236|       |      // Avoid overwriting any previous fixed offset
 1237|       |
 1238|    758|      if (string->fixed_offset == YR_UNDEFINED)
  ------------------
  |  |   38|    758|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  ------------------
  |  Branch (1238:11): [True: 302, False: 456]
  ------------------
 1239|    302|        string->fixed_offset = at_offset;
 1240|       |
 1241|       |      // If a previous fixed offset was different, disable
 1242|       |      // the STRING_GFLAGS_FIXED_OFFSET flag because we only
 1243|       |      // have room to store a single fixed offset value
 1244|       |
 1245|    758|      if (string->fixed_offset == YR_UNDEFINED ||
  ------------------
  |  |   38|  1.51k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  ------------------
  |  Branch (1245:11): [True: 73, False: 685]
  ------------------
 1246|    685|          string->fixed_offset != at_offset)
  ------------------
  |  Branch (1246:11): [True: 338, False: 347]
  ------------------
 1247|    411|      {
 1248|    411|        string->flags &= ~STRING_FLAGS_FIXED_OFFSET;
  ------------------
  |  |   81|    411|#define STRING_FLAGS_FIXED_OFFSET  0x8000
  ------------------
 1249|    411|      }
 1250|    758|    }
 1251|  2.38k|    else
 1252|  2.38k|    {
 1253|  2.38k|      string->flags &= ~STRING_FLAGS_FIXED_OFFSET;
  ------------------
  |  |   81|  2.38k|#define STRING_FLAGS_FIXED_OFFSET  0x8000
  ------------------
 1254|  2.38k|    }
 1255|       |
 1256|  3.14k|    FAIL_ON_ERROR(yr_parser_emit(yyscanner, instruction, NULL));
  ------------------
  |  |  134|  3.14k|  {                               \
  |  |  135|  3.14k|    int __error = (x);            \
  |  |  136|  3.14k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  3.14k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 3.14k]
  |  |  ------------------
  |  |  137|  3.14k|      return __error;             \
  |  |  138|  3.14k|  }
  ------------------
 1257|       |
 1258|  3.14k|    string->flags |= STRING_FLAGS_REFERENCED;
  ------------------
  |  |   66|  3.14k|#define STRING_FLAGS_REFERENCED    0x01
  ------------------
 1259|  3.14k|  }
 1260|       |
 1261|  21.7k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  21.7k|#define ERROR_SUCCESS 0
  ------------------
 1262|  22.1k|}
yr_parser_reduce_meta_declaration:
 1271|  1.52k|{
 1272|  1.52k|  YR_ARENA_REF ref;
 1273|  1.52k|  YR_COMPILER* compiler = yyget_extra(yyscanner);
  ------------------
  |  |   54|  1.52k|#define yyget_extra  yara_yyget_extra
  ------------------
 1274|       |
 1275|  1.52k|  FAIL_ON_ERROR(yr_arena_allocate_struct(
  ------------------
  |  |  134|  1.52k|  {                               \
  |  |  135|  1.52k|    int __error = (x);            \
  |  |  136|  1.52k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  1.52k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 1.52k]
  |  |  ------------------
  |  |  137|  1.52k|      return __error;             \
  |  |  138|  1.52k|  }
  ------------------
 1276|  1.52k|      compiler->arena,
 1277|  1.52k|      YR_METAS_TABLE,
 1278|  1.52k|      sizeof(YR_META),
 1279|  1.52k|      meta_ref,
 1280|  1.52k|      offsetof(YR_META, identifier),
 1281|  1.52k|      offsetof(YR_META, string),
 1282|  1.52k|      EOL));
 1283|       |
 1284|  1.52k|  YR_META* meta = (YR_META*) yr_arena_ref_to_ptr(compiler->arena, meta_ref);
 1285|       |
 1286|  1.52k|  meta->type = type;
 1287|  1.52k|  meta->integer = integer;
 1288|       |
 1289|  1.52k|  FAIL_ON_ERROR(_yr_compiler_store_string(compiler, identifier, &ref));
  ------------------
  |  |  134|  1.52k|  {                               \
  |  |  135|  1.52k|    int __error = (x);            \
  |  |  136|  1.52k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  1.52k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 1.52k]
  |  |  ------------------
  |  |  137|  1.52k|      return __error;             \
  |  |  138|  1.52k|  }
  ------------------
 1290|       |
 1291|  1.52k|  meta->identifier = (const char*) yr_arena_ref_to_ptr(compiler->arena, &ref);
 1292|       |
 1293|  1.52k|  if (string != NULL)
  ------------------
  |  Branch (1293:7): [True: 477, False: 1.04k]
  ------------------
 1294|    477|  {
 1295|    477|    FAIL_ON_ERROR(_yr_compiler_store_string(compiler, string, &ref));
  ------------------
  |  |  134|    477|  {                               \
  |  |  135|    477|    int __error = (x);            \
  |  |  136|    477|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|    477|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 477]
  |  |  ------------------
  |  |  137|    477|      return __error;             \
  |  |  138|    477|  }
  ------------------
 1296|       |
 1297|    477|    meta->string = (const char*) yr_arena_ref_to_ptr(compiler->arena, &ref);
 1298|    477|  }
 1299|  1.04k|  else
 1300|  1.04k|  {
 1301|  1.04k|    meta->string = NULL;
 1302|  1.04k|  }
 1303|       |
 1304|  1.52k|  compiler->current_meta_idx++;
 1305|       |
 1306|  1.52k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  1.52k|#define ERROR_SUCCESS 0
  ------------------
 1307|  1.52k|}
yr_parser_reduce_import:
 1321|  8.41k|{
 1322|  8.41k|  int result;
 1323|       |
 1324|  8.41k|  YR_ARENA_REF ref;
 1325|  8.41k|  YR_COMPILER* compiler = yyget_extra(yyscanner);
  ------------------
  |  |   54|  8.41k|#define yyget_extra  yara_yyget_extra
  ------------------
 1326|  8.41k|  YR_OBJECT* module_structure;
 1327|       |
 1328|  8.41k|  if (!_yr_parser_valid_module_name(module_name))
  ------------------
  |  Branch (1328:7): [True: 5.81k, False: 2.59k]
  ------------------
 1329|  5.81k|  {
 1330|  5.81k|    yr_compiler_set_error_extra_info(compiler, module_name->c_string);
  ------------------
  |  |  320|  5.81k|  strlcpy(                                               \
  |  |  321|  5.81k|      compiler->last_error_extra_info,                   \
  |  |  322|  5.81k|      info,                                              \
  |  |  323|  5.81k|      sizeof(compiler->last_error_extra_info));
  ------------------
 1331|       |
 1332|  5.81k|    return ERROR_INVALID_MODULE_NAME;
  ------------------
  |  |   97|  5.81k|#define ERROR_INVALID_MODULE_NAME            50
  ------------------
 1333|  5.81k|  }
 1334|       |
 1335|  2.59k|  YR_NAMESPACE* ns = (YR_NAMESPACE*) yr_arena_get_ptr(
 1336|  2.59k|      compiler->arena,
 1337|  2.59k|      YR_NAMESPACES_TABLE,
  ------------------
  |  |   57|  2.59k|#define YR_NAMESPACES_TABLE         0
  ------------------
 1338|  2.59k|      compiler->current_namespace_idx * sizeof(struct YR_NAMESPACE));
 1339|       |
 1340|  2.59k|  module_structure = (YR_OBJECT*) yr_hash_table_lookup(
 1341|  2.59k|      compiler->objects_table, module_name->c_string, ns->name);
 1342|       |
 1343|       |  // if module already imported, do nothing
 1344|       |
 1345|  2.59k|  if (module_structure != NULL)
  ------------------
  |  Branch (1345:7): [True: 1.76k, False: 832]
  ------------------
 1346|  1.76k|    return ERROR_SUCCESS;
  ------------------
  |  |   40|  1.76k|#define ERROR_SUCCESS 0
  ------------------
 1347|       |
 1348|    832|  FAIL_ON_ERROR(yr_object_create(
  ------------------
  |  |  134|    832|  {                               \
  |  |  135|    832|    int __error = (x);            \
  |  |  136|    832|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|    832|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 832]
  |  |  ------------------
  |  |  137|    832|      return __error;             \
  |  |  138|    832|  }
  ------------------
 1349|    832|      OBJECT_TYPE_STRUCTURE, module_name->c_string, NULL, &module_structure));
 1350|       |
 1351|    832|  FAIL_ON_ERROR(yr_hash_table_add(
  ------------------
  |  |  134|    832|  {                               \
  |  |  135|    832|    int __error = (x);            \
  |  |  136|    832|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|    832|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 832]
  |  |  ------------------
  |  |  137|    832|      return __error;             \
  |  |  138|    832|  }
  ------------------
 1352|    832|      compiler->objects_table,
 1353|    832|      module_name->c_string,
 1354|    832|      ns->name,
 1355|    832|      module_structure));
 1356|       |
 1357|    832|  result = yr_modules_do_declarations(module_name->c_string, module_structure);
 1358|       |
 1359|    832|  if (result == ERROR_UNKNOWN_MODULE)
  ------------------
  |  |   81|    832|#define ERROR_UNKNOWN_MODULE                 34
  ------------------
  |  Branch (1359:7): [True: 371, False: 461]
  ------------------
 1360|    371|    yr_compiler_set_error_extra_info(compiler, module_name->c_string);
  ------------------
  |  |  320|    371|  strlcpy(                                               \
  |  |  321|    371|      compiler->last_error_extra_info,                   \
  |  |  322|    371|      info,                                              \
  |  |  323|    371|      sizeof(compiler->last_error_extra_info));
  ------------------
 1361|       |
 1362|    832|  if (result != ERROR_SUCCESS)
  ------------------
  |  |   40|    832|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (1362:7): [True: 371, False: 461]
  ------------------
 1363|    371|    return result;
 1364|       |
 1365|    461|  FAIL_ON_ERROR(
  ------------------
  |  |  134|    461|  {                               \
  |  |  135|    461|    int __error = (x);            \
  |  |  136|    461|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|    461|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 461]
  |  |  ------------------
  |  |  137|    461|      return __error;             \
  |  |  138|    461|  }
  ------------------
 1366|    461|      _yr_compiler_store_string(compiler, module_name->c_string, &ref));
 1367|       |
 1368|    461|  FAIL_ON_ERROR(yr_parser_emit_with_arg_reloc(
  ------------------
  |  |  134|    461|  {                               \
  |  |  135|    461|    int __error = (x);            \
  |  |  136|    461|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|    461|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 461]
  |  |  ------------------
  |  |  137|    461|      return __error;             \
  |  |  138|    461|  }
  ------------------
 1369|    461|      yyscanner,
 1370|    461|      OP_IMPORT,
 1371|    461|      yr_arena_ref_to_ptr(compiler->arena, &ref),
 1372|    461|      NULL,
 1373|    461|      NULL));
 1374|       |
 1375|    461|  return ERROR_SUCCESS;
  ------------------
  |  |   40|    461|#define ERROR_SUCCESS 0
  ------------------
 1376|    461|}
yr_parser_reduce_operation:
 1448|  30.4k|{
 1449|  30.4k|  int expression_type;
 1450|       |
 1451|  30.4k|  YR_COMPILER* compiler = yyget_extra(yyscanner);
  ------------------
  |  |   54|  30.4k|#define yyget_extra  yara_yyget_extra
  ------------------
 1452|       |
 1453|  30.4k|  if ((left_operand.type == EXPRESSION_TYPE_INTEGER ||
  ------------------
  |  |   47|  60.8k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
  |  Branch (1453:8): [True: 26.0k, False: 4.43k]
  ------------------
 1454|  4.43k|       left_operand.type == EXPRESSION_TYPE_FLOAT) &&
  ------------------
  |  |   51|  4.43k|#define EXPRESSION_TYPE_FLOAT      32
  ------------------
  |  Branch (1454:8): [True: 2.19k, False: 2.24k]
  ------------------
 1455|  28.1k|      (right_operand.type == EXPRESSION_TYPE_INTEGER ||
  ------------------
  |  |   47|  56.3k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
  |  Branch (1455:8): [True: 25.2k, False: 2.98k]
  ------------------
 1456|  2.98k|       right_operand.type == EXPRESSION_TYPE_FLOAT))
  ------------------
  |  |   51|  2.98k|#define EXPRESSION_TYPE_FLOAT      32
  ------------------
  |  Branch (1456:8): [True: 2.81k, False: 165]
  ------------------
 1457|  28.0k|  {
 1458|  28.0k|    if (left_operand.type != right_operand.type)
  ------------------
  |  Branch (1458:9): [True: 3.30k, False: 24.7k]
  ------------------
 1459|  3.30k|    {
 1460|       |      // One operand is double and the other is integer,
 1461|       |      // cast the integer to double
 1462|       |
 1463|  3.30k|      FAIL_ON_ERROR(yr_parser_emit_with_arg(
  ------------------
  |  |  134|  3.30k|  {                               \
  |  |  135|  6.61k|    int __error = (x);            \
  |  |  ------------------
  |  |  |  Branch (135:20): [True: 1.97k, False: 1.33k]
  |  |  ------------------
  |  |  136|  3.30k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  3.30k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 3.30k]
  |  |  ------------------
  |  |  137|  3.30k|      return __error;             \
  |  |  138|  3.30k|  }
  ------------------
 1464|  3.30k|          yyscanner,
 1465|  3.30k|          OP_INT_TO_DBL,
 1466|  3.30k|          (left_operand.type == EXPRESSION_TYPE_INTEGER) ? 2 : 1,
 1467|  3.30k|          NULL,
 1468|  3.30k|          NULL));
 1469|  3.30k|    }
 1470|       |
 1471|  28.0k|    expression_type = EXPRESSION_TYPE_FLOAT;
  ------------------
  |  |   51|  28.0k|#define EXPRESSION_TYPE_FLOAT      32
  ------------------
 1472|       |
 1473|  28.0k|    if (left_operand.type == EXPRESSION_TYPE_INTEGER &&
  ------------------
  |  |   47|  56.0k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
  |  Branch (1473:9): [True: 25.8k, False: 2.17k]
  ------------------
 1474|  25.8k|        right_operand.type == EXPRESSION_TYPE_INTEGER)
  ------------------
  |  |   47|  25.8k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
  |  Branch (1474:9): [True: 23.8k, False: 1.97k]
  ------------------
 1475|  23.8k|    {
 1476|  23.8k|      expression_type = EXPRESSION_TYPE_INTEGER;
  ------------------
  |  |   47|  23.8k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
 1477|  23.8k|    }
 1478|       |
 1479|  28.0k|    FAIL_ON_ERROR(yr_parser_emit(
  ------------------
  |  |  134|  28.0k|  {                               \
  |  |  135|  28.0k|    int __error = (x);            \
  |  |  136|  28.0k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  28.0k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 28.0k]
  |  |  ------------------
  |  |  137|  28.0k|      return __error;             \
  |  |  138|  28.0k|  }
  ------------------
 1480|  28.0k|        yyscanner, _yr_parser_operator_to_opcode(op, expression_type), NULL));
 1481|  28.0k|  }
 1482|  2.41k|  else if (
 1483|  2.41k|      left_operand.type == EXPRESSION_TYPE_STRING &&
  ------------------
  |  |   48|  4.82k|#define EXPRESSION_TYPE_STRING     4
  ------------------
  |  Branch (1483:7): [True: 2.03k, False: 375]
  ------------------
 1484|  2.03k|      right_operand.type == EXPRESSION_TYPE_STRING)
  ------------------
  |  |   48|  2.03k|#define EXPRESSION_TYPE_STRING     4
  ------------------
  |  Branch (1484:7): [True: 1.96k, False: 77]
  ------------------
 1485|  1.96k|  {
 1486|  1.96k|    int opcode = _yr_parser_operator_to_opcode(op, EXPRESSION_TYPE_STRING);
  ------------------
  |  |   48|  1.96k|#define EXPRESSION_TYPE_STRING     4
  ------------------
 1487|       |
 1488|  1.96k|    if (opcode != OP_ERROR)
  ------------------
  |  |   45|  1.96k|#define OP_ERROR 0
  ------------------
  |  Branch (1488:9): [True: 1.88k, False: 78]
  ------------------
 1489|  1.88k|    {
 1490|  1.88k|      FAIL_ON_ERROR(yr_parser_emit(yyscanner, opcode, NULL));
  ------------------
  |  |  134|  1.88k|  {                               \
  |  |  135|  1.88k|    int __error = (x);            \
  |  |  136|  1.88k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  1.88k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 1.88k]
  |  |  ------------------
  |  |  137|  1.88k|      return __error;             \
  |  |  138|  1.88k|  }
  ------------------
 1491|  1.88k|    }
 1492|     78|    else
 1493|     78|    {
 1494|     78|      yr_compiler_set_error_extra_info_fmt(
  ------------------
  |  |  326|     78|  snprintf(                                                      \
  |  |  327|     78|      compiler->last_error_extra_info,                           \
  |  |  328|     78|      sizeof(compiler->last_error_extra_info),                   \
  |  |  329|     78|      fmt,                                                       \
  |  |  330|     78|      __VA_ARGS__);
  ------------------
 1495|     78|          compiler, "strings don't support \"%s\" operation", op);
 1496|       |
 1497|     78|      return ERROR_WRONG_TYPE;
  ------------------
  |  |   69|     78|#define ERROR_WRONG_TYPE                     24
  ------------------
 1498|     78|    }
 1499|  1.96k|  }
 1500|    452|  else
 1501|    452|  {
 1502|    452|    yr_compiler_set_error_extra_info(compiler, "type mismatch");
  ------------------
  |  |  320|    452|  strlcpy(                                               \
  |  |  321|    452|      compiler->last_error_extra_info,                   \
  |  |  322|    452|      info,                                              \
  |  |  323|    452|      sizeof(compiler->last_error_extra_info));
  ------------------
 1503|       |
 1504|    452|    return ERROR_WRONG_TYPE;
  ------------------
  |  |   69|    452|#define ERROR_WRONG_TYPE                     24
  ------------------
 1505|    452|  }
 1506|       |
 1507|  29.9k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  29.9k|#define ERROR_SUCCESS 0
  ------------------
 1508|  30.4k|}
yr_parser_mark_nonfast:
 1513|  10.2k|) {
 1514|  10.2k| YR_COMPILER* compiler = yyget_extra(yyscanner);
  ------------------
  |  |   54|  10.2k|#define yyget_extra  yara_yyget_extra
  ------------------
 1515|       |
 1516|  10.2k| YR_STRING_SET_ELEMENT* head = string_set.head;
 1517|  1.30M|  while (head != NULL) {
  ------------------
  |  Branch (1517:10): [True: 1.29M, False: 10.2k]
  ------------------
 1518|  1.29M|    YR_STRING* string_ptr = yr_arena_ref_to_ptr(compiler->arena, &head->element);
 1519|  1.29M|    string_ptr->flags &= ~STRING_FLAGS_SINGLE_MATCH;
  ------------------
  |  |   75|  1.29M|#define STRING_FLAGS_SINGLE_MATCH  0x200
  ------------------
 1520|  1.29M|    head = head->next;
 1521|  1.29M|  }
 1522|  10.2k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  10.2k|#define ERROR_SUCCESS 0
  ------------------
 1523|  10.2k|}
parser.c:_yr_parser_check_string_modifiers:
  630|  41.6k|{
  631|  41.6k|  YR_COMPILER* compiler = yyget_extra(yyscanner);
  ------------------
  |  |   54|  41.6k|#define yyget_extra  yara_yyget_extra
  ------------------
  632|       |
  633|       |  // xor and nocase together is not implemented.
  634|  41.6k|  if (modifier.flags & STRING_FLAGS_XOR &&
  ------------------
  |  |   85|  83.3k|#define STRING_FLAGS_XOR           0x80000
  ------------------
  |  Branch (634:7): [True: 639, False: 41.0k]
  ------------------
  635|    639|      modifier.flags & STRING_FLAGS_NO_CASE)
  ------------------
  |  |   68|    639|#define STRING_FLAGS_NO_CASE       0x04
  ------------------
  |  Branch (635:7): [True: 13, False: 626]
  ------------------
  636|     13|  {
  637|     13|    yr_compiler_set_error_extra_info(
  ------------------
  |  |  320|     13|  strlcpy(                                               \
  |  |  321|     13|      compiler->last_error_extra_info,                   \
  |  |  322|     13|      info,                                              \
  |  |  323|     13|      sizeof(compiler->last_error_extra_info));
  ------------------
  638|     13|        compiler, "invalid modifier combination: xor nocase");
  639|     13|    return ERROR_INVALID_MODIFIER;
  ------------------
  |  |  106|     13|#define ERROR_INVALID_MODIFIER               59
  ------------------
  640|     13|  }
  641|       |
  642|       |  // base64 and nocase together is not implemented.
  643|  41.6k|  if (modifier.flags & STRING_FLAGS_NO_CASE &&
  ------------------
  |  |   68|  83.3k|#define STRING_FLAGS_NO_CASE       0x04
  ------------------
  |  Branch (643:7): [True: 4.54k, False: 37.1k]
  ------------------
  644|  4.54k|      (modifier.flags & STRING_FLAGS_BASE64 ||
  ------------------
  |  |   87|  9.09k|#define STRING_FLAGS_BASE64        0x200000
  ------------------
  |  Branch (644:8): [True: 25, False: 4.52k]
  ------------------
  645|  4.52k|       modifier.flags & STRING_FLAGS_BASE64_WIDE))
  ------------------
  |  |   88|  4.52k|#define STRING_FLAGS_BASE64_WIDE   0x400000
  ------------------
  |  Branch (645:8): [True: 1, False: 4.52k]
  ------------------
  646|     26|  {
  647|     26|    yr_compiler_set_error_extra_info(
  ------------------
  |  |  320|     26|  strlcpy(                                               \
  |  |  321|     26|      compiler->last_error_extra_info,                   \
  |  |  322|     52|      info,                                              \
  |  |  ------------------
  |  |  |  Branch (322:7): [True: 25, False: 1]
  |  |  ------------------
  |  |  323|     26|      sizeof(compiler->last_error_extra_info));
  ------------------
  648|     26|        compiler,
  649|     26|        modifier.flags & STRING_FLAGS_BASE64
  650|     26|            ? "invalid modifier combination: base64 nocase"
  651|     26|            : "invalid modifier combination: base64wide nocase");
  652|     26|    return ERROR_INVALID_MODIFIER;
  ------------------
  |  |  106|     26|#define ERROR_INVALID_MODIFIER               59
  ------------------
  653|     26|  }
  654|       |
  655|       |  // base64 and fullword together is not implemented.
  656|  41.6k|  if (modifier.flags & STRING_FLAGS_FULL_WORD &&
  ------------------
  |  |   73|  83.3k|#define STRING_FLAGS_FULL_WORD     0x80
  ------------------
  |  Branch (656:7): [True: 178, False: 41.4k]
  ------------------
  657|    178|      (modifier.flags & STRING_FLAGS_BASE64 ||
  ------------------
  |  |   87|    356|#define STRING_FLAGS_BASE64        0x200000
  ------------------
  |  Branch (657:8): [True: 1, False: 177]
  ------------------
  658|    177|       modifier.flags & STRING_FLAGS_BASE64_WIDE))
  ------------------
  |  |   88|    177|#define STRING_FLAGS_BASE64_WIDE   0x400000
  ------------------
  |  Branch (658:8): [True: 17, False: 160]
  ------------------
  659|     18|  {
  660|     18|    yr_compiler_set_error_extra_info(
  ------------------
  |  |  320|     18|  strlcpy(                                               \
  |  |  321|     18|      compiler->last_error_extra_info,                   \
  |  |  322|     36|      info,                                              \
  |  |  ------------------
  |  |  |  Branch (322:7): [True: 1, False: 17]
  |  |  ------------------
  |  |  323|     18|      sizeof(compiler->last_error_extra_info));
  ------------------
  661|     18|        compiler,
  662|     18|        modifier.flags & STRING_FLAGS_BASE64
  663|     18|            ? "invalid modifier combination: base64 fullword"
  664|     18|            : "invalid modifier combination: base64wide fullword");
  665|     18|    return ERROR_INVALID_MODIFIER;
  ------------------
  |  |  106|     18|#define ERROR_INVALID_MODIFIER               59
  ------------------
  666|     18|  }
  667|       |
  668|       |  // base64 and xor together is not implemented.
  669|  41.6k|  if (modifier.flags & STRING_FLAGS_XOR &&
  ------------------
  |  |   85|  83.2k|#define STRING_FLAGS_XOR           0x80000
  ------------------
  |  Branch (669:7): [True: 626, False: 41.0k]
  ------------------
  670|    626|      (modifier.flags & STRING_FLAGS_BASE64 ||
  ------------------
  |  |   87|  1.25k|#define STRING_FLAGS_BASE64        0x200000
  ------------------
  |  Branch (670:8): [True: 10, False: 616]
  ------------------
  671|    616|       modifier.flags & STRING_FLAGS_BASE64_WIDE))
  ------------------
  |  |   88|    616|#define STRING_FLAGS_BASE64_WIDE   0x400000
  ------------------
  |  Branch (671:8): [True: 10, False: 606]
  ------------------
  672|     20|  {
  673|     20|    yr_compiler_set_error_extra_info(
  ------------------
  |  |  320|     20|  strlcpy(                                               \
  |  |  321|     20|      compiler->last_error_extra_info,                   \
  |  |  322|     40|      info,                                              \
  |  |  ------------------
  |  |  |  Branch (322:7): [True: 10, False: 10]
  |  |  ------------------
  |  |  323|     20|      sizeof(compiler->last_error_extra_info));
  ------------------
  674|     20|        compiler,
  675|     20|        modifier.flags & STRING_FLAGS_BASE64
  676|     20|            ? "invalid modifier combination: base64 xor"
  677|     20|            : "invalid modifier combination: base64wide xor");
  678|     20|    return ERROR_INVALID_MODIFIER;
  ------------------
  |  |  106|     20|#define ERROR_INVALID_MODIFIER               59
  ------------------
  679|     20|  }
  680|       |
  681|  41.6k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  41.6k|#define ERROR_SUCCESS 0
  ------------------
  682|  41.6k|}
parser.c:_yr_parser_write_string:
  455|  54.5k|{
  456|  54.5k|  SIZED_STRING* literal_string;
  457|  54.5k|  YR_ATOM_LIST_ITEM* atom;
  458|  54.5k|  YR_ATOM_LIST_ITEM* atom_list = NULL;
  459|       |
  460|  54.5k|  int c, result;
  461|  54.5k|  int max_string_len;
  462|  54.5k|  bool free_literal = false;
  463|       |
  464|  54.5k|  FAIL_ON_ERROR(yr_arena_allocate_struct(
  ------------------
  |  |  134|  54.5k|  {                               \
  |  |  135|  54.5k|    int __error = (x);            \
  |  |  136|  54.5k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  54.5k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 54.5k]
  |  |  ------------------
  |  |  137|  54.5k|      return __error;             \
  |  |  138|  54.5k|  }
  ------------------
  465|  54.5k|      compiler->arena,
  466|  54.5k|      YR_STRINGS_TABLE,
  467|  54.5k|      sizeof(YR_STRING),
  468|  54.5k|      string_ref,
  469|  54.5k|      offsetof(YR_STRING, identifier),
  470|  54.5k|      offsetof(YR_STRING, string),
  471|  54.5k|      offsetof(YR_STRING, chained_to),
  472|  54.5k|      EOL));
  473|       |
  474|  54.5k|  YR_STRING* string = (YR_STRING*) yr_arena_ref_to_ptr(
  475|  54.5k|      compiler->arena, string_ref);
  476|       |
  477|  54.5k|  YR_ARENA_REF ref;
  478|       |
  479|  54.5k|  FAIL_ON_ERROR(_yr_compiler_store_string(compiler, identifier, &ref));
  ------------------
  |  |  134|  54.5k|  {                               \
  |  |  135|  54.5k|    int __error = (x);            \
  |  |  136|  54.5k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  54.5k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 54.5k]
  |  |  ------------------
  |  |  137|  54.5k|      return __error;             \
  |  |  138|  54.5k|  }
  ------------------
  480|       |
  481|  54.5k|  string->identifier = (const char*) yr_arena_ref_to_ptr(compiler->arena, &ref);
  482|  54.5k|  string->rule_idx = compiler->current_rule_idx;
  483|  54.5k|  string->idx = compiler->current_string_idx;
  484|  54.5k|  string->fixed_offset = YR_UNDEFINED;
  ------------------
  |  |   38|  54.5k|#define YR_UNDEFINED    0xFFFABADAFABADAFFLL
  ------------------
  485|       |
  486|  54.5k|  compiler->current_string_idx++;
  487|       |
  488|  54.5k|  if (modifier.flags & STRING_FLAGS_HEXADECIMAL ||
  ------------------
  |  |   67|   109k|#define STRING_FLAGS_HEXADECIMAL   0x02
  ------------------
  |  Branch (488:7): [True: 1.96k, False: 52.5k]
  ------------------
  489|  52.5k|      modifier.flags & STRING_FLAGS_REGEXP ||
  ------------------
  |  |   71|   107k|#define STRING_FLAGS_REGEXP        0x20
  ------------------
  |  Branch (489:7): [True: 47.4k, False: 5.14k]
  ------------------
  490|  5.14k|      modifier.flags & STRING_FLAGS_BASE64 ||
  ------------------
  |  |   87|  59.6k|#define STRING_FLAGS_BASE64        0x200000
  ------------------
  |  Branch (490:7): [True: 1.44k, False: 3.69k]
  ------------------
  491|  3.69k|      modifier.flags & STRING_FLAGS_BASE64_WIDE)
  ------------------
  |  |   88|  3.69k|#define STRING_FLAGS_BASE64_WIDE   0x400000
  ------------------
  |  Branch (491:7): [True: 984, False: 2.70k]
  ------------------
  492|  51.8k|  {
  493|  51.8k|    literal_string = yr_re_ast_extract_literal(re_ast);
  494|       |
  495|  51.8k|    if (literal_string != NULL)
  ------------------
  |  Branch (495:9): [True: 39.8k, False: 12.0k]
  ------------------
  496|  39.8k|      free_literal = true;
  497|  51.8k|  }
  498|  2.70k|  else
  499|  2.70k|  {
  500|  2.70k|    literal_string = str;
  501|  2.70k|  }
  502|       |
  503|  54.5k|  if (literal_string != NULL)
  ------------------
  |  Branch (503:7): [True: 42.5k, False: 12.0k]
  ------------------
  504|  42.5k|  {
  505|  42.5k|    modifier.flags |= STRING_FLAGS_LITERAL;
  ------------------
  |  |   76|  42.5k|#define STRING_FLAGS_LITERAL       0x400
  ------------------
  506|       |
  507|  42.5k|    result = _yr_compiler_store_data(
  508|  42.5k|        compiler,
  509|  42.5k|        literal_string->c_string,
  510|  42.5k|        literal_string->length + 1,  // +1 to include terminating NULL
  511|  42.5k|        &ref);
  512|       |
  513|  42.5k|    if (result != ERROR_SUCCESS)
  ------------------
  |  |   40|  42.5k|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (513:9): [True: 0, False: 42.5k]
  ------------------
  514|      0|      goto cleanup;
  515|       |
  516|  42.5k|    string->length = (uint32_t) literal_string->length;
  517|  42.5k|    string->string = (uint8_t*) yr_arena_ref_to_ptr(compiler->arena, &ref);
  518|       |
  519|  42.5k|    if (modifier.flags & STRING_FLAGS_WIDE)
  ------------------
  |  |   70|  42.5k|#define STRING_FLAGS_WIDE          0x10
  ------------------
  |  Branch (519:9): [True: 2.08k, False: 40.4k]
  ------------------
  520|  2.08k|      max_string_len = string->length * 2;
  521|  40.4k|    else
  522|  40.4k|      max_string_len = string->length;
  523|       |
  524|  42.5k|    if (max_string_len <= YR_MAX_ATOM_LENGTH)
  ------------------
  |  |   67|  42.5k|#define YR_MAX_ATOM_LENGTH 4
  ------------------
  |  Branch (524:9): [True: 37.7k, False: 4.80k]
  ------------------
  525|  37.7k|      modifier.flags |= STRING_FLAGS_FITS_IN_ATOM;
  ------------------
  |  |   77|  37.7k|#define STRING_FLAGS_FITS_IN_ATOM  0x800
  ------------------
  526|       |
  527|  42.5k|    result = yr_atoms_extract_from_string(
  528|  42.5k|        &compiler->atoms_config,
  529|  42.5k|        (uint8_t*) literal_string->c_string,
  530|  42.5k|        (int32_t) literal_string->length,
  531|  42.5k|        modifier,
  532|  42.5k|        &atom_list,
  533|  42.5k|        min_atom_quality);
  534|       |
  535|  42.5k|    if (result != ERROR_SUCCESS)
  ------------------
  |  |   40|  42.5k|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (535:9): [True: 0, False: 42.5k]
  ------------------
  536|      0|      goto cleanup;
  537|  42.5k|  }
  538|  12.0k|  else
  539|  12.0k|  {
  540|       |    // Non-literal strings can't be marked as fixed offset because once we
  541|       |    // find a string atom in the scanned data we don't know the offset where
  542|       |    // the string should start, as the non-literal strings can contain
  543|       |    // variable-length portions.
  544|  12.0k|    modifier.flags &= ~STRING_FLAGS_FIXED_OFFSET;
  ------------------
  |  |   81|  12.0k|#define STRING_FLAGS_FIXED_OFFSET  0x8000
  ------------------
  545|       |
  546|       |    // Save the position where the RE forward code starts for later reference.
  547|  12.0k|    yr_arena_off_t forward_code_start = yr_arena_get_current_offset(
  548|  12.0k|        compiler->arena, YR_RE_CODE_SECTION);
  ------------------
  |  |   64|  12.0k|#define YR_RE_CODE_SECTION          7
  ------------------
  549|       |
  550|       |    // Emit forwards code
  551|  12.0k|    result = yr_re_ast_emit_code(re_ast, compiler->arena, false);
  552|       |
  553|  12.0k|    if (result != ERROR_SUCCESS)
  ------------------
  |  |   40|  12.0k|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (553:9): [True: 165, False: 11.8k]
  ------------------
  554|    165|      goto cleanup;
  555|       |
  556|       |    // Emit backwards code
  557|  11.8k|    result = yr_re_ast_emit_code(re_ast, compiler->arena, true);
  558|       |
  559|  11.8k|    if (result != ERROR_SUCCESS)
  ------------------
  |  |   40|  11.8k|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (559:9): [True: 7, False: 11.8k]
  ------------------
  560|      7|      goto cleanup;
  561|       |
  562|       |    // Extract atoms from the regular expression.
  563|  11.8k|    result = yr_atoms_extract_from_re(
  564|  11.8k|        &compiler->atoms_config,
  565|  11.8k|        re_ast,
  566|  11.8k|        modifier,
  567|  11.8k|        &atom_list,
  568|  11.8k|        min_atom_quality);
  569|       |
  570|  11.8k|    if (result != ERROR_SUCCESS)
  ------------------
  |  |   40|  11.8k|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (570:9): [True: 0, False: 11.8k]
  ------------------
  571|      0|      goto cleanup;
  572|       |
  573|       |    // If no atom was extracted let's add a zero-length atom.
  574|  11.8k|    if (atom_list == NULL)
  ------------------
  |  Branch (574:9): [True: 2.72k, False: 9.13k]
  ------------------
  575|  2.72k|    {
  576|  2.72k|      atom_list = (YR_ATOM_LIST_ITEM*) yr_malloc(sizeof(YR_ATOM_LIST_ITEM));
  577|       |
  578|  2.72k|      if (atom_list == NULL)
  ------------------
  |  Branch (578:11): [True: 0, False: 2.72k]
  ------------------
  579|      0|      {
  580|      0|        result = ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
  581|      0|        goto cleanup;
  582|      0|      }
  583|       |
  584|  2.72k|      atom_list->atom.length = 0;
  585|  2.72k|      atom_list->backtrack = 0;
  586|  2.72k|      atom_list->backward_code_ref = YR_ARENA_NULL_REF;
  ------------------
  |  |   43|  2.72k|  (YR_ARENA_REF)           \
  |  |   44|  2.72k|  {                        \
  |  |   45|  2.72k|    UINT32_MAX, UINT32_MAX \
  |  |   46|  2.72k|  }
  ------------------
  587|  2.72k|      atom_list->next = NULL;
  588|       |
  589|  2.72k|      yr_arena_ptr_to_ref(
  590|  2.72k|          compiler->arena,
  591|  2.72k|          yr_arena_get_ptr(
  592|  2.72k|              compiler->arena, YR_RE_CODE_SECTION, forward_code_start),
  ------------------
  |  |   64|  2.72k|#define YR_RE_CODE_SECTION          7
  ------------------
  593|  2.72k|          &(atom_list->forward_code_ref));
  594|  2.72k|    }
  595|  11.8k|  }
  596|       |
  597|  54.3k|  string->flags = modifier.flags;
  598|       |
  599|       |  // Add the string to Aho-Corasick automaton.
  600|  54.3k|  result = yr_ac_add_string(
  601|  54.3k|      compiler->automaton, string, string->idx, atom_list, compiler->arena);
  602|       |
  603|  54.3k|  if (result != ERROR_SUCCESS)
  ------------------
  |  |   40|  54.3k|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (603:7): [True: 0, False: 54.3k]
  ------------------
  604|      0|    goto cleanup;
  605|       |
  606|  54.3k|  atom = atom_list;
  607|  54.3k|  c = 0;
  608|       |
  609|  6.70M|  while (atom != NULL)
  ------------------
  |  Branch (609:10): [True: 6.64M, False: 54.3k]
  ------------------
  610|  6.64M|  {
  611|  6.64M|    atom = atom->next;
  612|  6.64M|    c++;
  613|  6.64M|  }
  614|       |
  615|  54.3k|  (*num_atom) += c;
  616|       |
  617|  54.5k|cleanup:
  618|  54.5k|  if (free_literal)
  ------------------
  |  Branch (618:7): [True: 39.8k, False: 14.7k]
  ------------------
  619|  39.8k|    yr_free(literal_string);
  620|       |
  621|  54.5k|  if (atom_list != NULL)
  ------------------
  |  Branch (621:7): [True: 54.3k, False: 172]
  ------------------
  622|  54.3k|    yr_atoms_list_destroy(atom_list);
  623|       |
  624|  54.5k|  return result;
  625|  54.3k|}
parser.c:wildcard_iterator:
  972|  3.53k|{
  973|  3.53k|  const char* identifier = (const char*) data;
  974|       |
  975|       |  // If the identifier is prefixed by prefix, then it matches the wildcard.
  976|  3.53k|  if (!strncmp(prefix, identifier, prefix_len))
  ------------------
  |  Branch (976:7): [True: 260, False: 3.27k]
  ------------------
  977|    260|    return ERROR_IDENTIFIER_MATCHES_WILDCARD;
  ------------------
  |  |  110|    260|#define ERROR_IDENTIFIER_MATCHES_WILDCARD    63
  ------------------
  978|       |
  979|  3.27k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  3.27k|#define ERROR_SUCCESS 0
  ------------------
  980|  3.53k|}
parser.c:_yr_parser_valid_module_name:
 1310|  8.41k|{
 1311|  8.41k|  if (module_name->length == 0)
  ------------------
  |  Branch (1311:7): [True: 5.61k, False: 2.79k]
  ------------------
 1312|  5.61k|    return false;
 1313|       |
 1314|  2.79k|  if (strlen(module_name->c_string) != module_name->length)
  ------------------
  |  Branch (1314:7): [True: 202, False: 2.59k]
  ------------------
 1315|    202|    return false;
 1316|       |
 1317|  2.59k|  return true;
 1318|  2.79k|}
parser.c:_yr_parser_operator_to_opcode:
 1379|  29.9k|{
 1380|  29.9k|  int opcode = 0;
 1381|       |
 1382|  29.9k|  switch (expression_type)
 1383|  29.9k|  {
 1384|  23.8k|  case EXPRESSION_TYPE_INTEGER:
  ------------------
  |  |   47|  23.8k|#define EXPRESSION_TYPE_INTEGER    2
  ------------------
  |  Branch (1384:3): [True: 23.8k, False: 6.10k]
  ------------------
 1385|  23.8k|    opcode = OP_INT_BEGIN;
  ------------------
  |  |  141|  23.8k|#define OP_INT_BEGIN 100
  ------------------
 1386|  23.8k|    break;
 1387|  4.14k|  case EXPRESSION_TYPE_FLOAT:
  ------------------
  |  |   51|  4.14k|#define EXPRESSION_TYPE_FLOAT      32
  ------------------
  |  Branch (1387:3): [True: 4.14k, False: 25.8k]
  ------------------
 1388|  4.14k|    opcode = OP_DBL_BEGIN;
  ------------------
  |  |  155|  4.14k|#define OP_DBL_BEGIN 120
  ------------------
 1389|  4.14k|    break;
 1390|  1.96k|  case EXPRESSION_TYPE_STRING:
  ------------------
  |  |   48|  1.96k|#define EXPRESSION_TYPE_STRING     4
  ------------------
  |  Branch (1390:3): [True: 1.96k, False: 28.0k]
  ------------------
 1391|  1.96k|    opcode = OP_STR_BEGIN;
  ------------------
  |  |  169|  1.96k|#define OP_STR_BEGIN 140
  ------------------
 1392|  1.96k|    break;
 1393|      0|  default:
  ------------------
  |  Branch (1393:3): [True: 0, False: 29.9k]
  ------------------
 1394|      0|    assert(false);
  ------------------
  |  Branch (1394:5): [Folded, False: 0]
  |  Branch (1394:5): [Folded, False: 0]
  ------------------
 1395|  29.9k|  }
 1396|       |
 1397|  29.9k|  if (op[0] == '<')
  ------------------
  |  Branch (1397:7): [True: 2.37k, False: 27.6k]
  ------------------
 1398|  2.37k|  {
 1399|  2.37k|    if (op[1] == '=')
  ------------------
  |  Branch (1399:9): [True: 1.35k, False: 1.02k]
  ------------------
 1400|  1.35k|      opcode += _OP_LE;
  ------------------
  |  |  133|  1.35k|#define _OP_LE    4
  ------------------
 1401|  1.02k|    else
 1402|  1.02k|      opcode += _OP_LT;
  ------------------
  |  |  131|  1.02k|#define _OP_LT    2
  ------------------
 1403|  2.37k|  }
 1404|  27.6k|  else if (op[0] == '>')
  ------------------
  |  Branch (1404:12): [True: 1.39k, False: 26.2k]
  ------------------
 1405|  1.39k|  {
 1406|  1.39k|    if (op[1] == '=')
  ------------------
  |  Branch (1406:9): [True: 670, False: 728]
  ------------------
 1407|    670|      opcode += _OP_GE;
  ------------------
  |  |  134|    670|#define _OP_GE    5
  ------------------
 1408|    728|    else
 1409|    728|      opcode += _OP_GT;
  ------------------
  |  |  132|    728|#define _OP_GT    3
  ------------------
 1410|  1.39k|  }
 1411|  26.2k|  else if (op[1] == '=')
  ------------------
  |  Branch (1411:12): [True: 1.13k, False: 25.0k]
  ------------------
 1412|  1.13k|  {
 1413|  1.13k|    if (op[0] == '=')
  ------------------
  |  Branch (1413:9): [True: 645, False: 493]
  ------------------
 1414|    645|      opcode += _OP_EQ;
  ------------------
  |  |  129|    645|#define _OP_EQ    0
  ------------------
 1415|    493|    else
 1416|    493|      opcode += _OP_NEQ;
  ------------------
  |  |  130|    493|#define _OP_NEQ   1
  ------------------
 1417|  1.13k|  }
 1418|  25.0k|  else if (op[0] == '+')
  ------------------
  |  Branch (1418:12): [True: 5.49k, False: 19.5k]
  ------------------
 1419|  5.49k|  {
 1420|  5.49k|    opcode += _OP_ADD;
  ------------------
  |  |  135|  5.49k|#define _OP_ADD   6
  ------------------
 1421|  5.49k|  }
 1422|  19.5k|  else if (op[0] == '-')
  ------------------
  |  Branch (1422:12): [True: 10.5k, False: 9.01k]
  ------------------
 1423|  10.5k|  {
 1424|  10.5k|    opcode += _OP_SUB;
  ------------------
  |  |  136|  10.5k|#define _OP_SUB   7
  ------------------
 1425|  10.5k|  }
 1426|  9.01k|  else if (op[0] == '*')
  ------------------
  |  Branch (1426:12): [True: 4.37k, False: 4.63k]
  ------------------
 1427|  4.37k|  {
 1428|  4.37k|    opcode += _OP_MUL;
  ------------------
  |  |  137|  4.37k|#define _OP_MUL   8
  ------------------
 1429|  4.37k|  }
 1430|  4.63k|  else if (op[0] == '\\')
  ------------------
  |  Branch (1430:12): [True: 4.63k, False: 0]
  ------------------
 1431|  4.63k|  {
 1432|  4.63k|    opcode += _OP_DIV;
  ------------------
  |  |  138|  4.63k|#define _OP_DIV   9
  ------------------
 1433|  4.63k|  }
 1434|       |
 1435|  29.9k|  if (IS_INT_OP(opcode) || IS_DBL_OP(opcode) || IS_STR_OP(opcode))
  ------------------
  |  |  178|  59.9k|#define IS_INT_OP(x) ((x) >= OP_INT_BEGIN && (x) <= OP_INT_END)
  |  |  ------------------
  |  |  |  |  141|  59.9k|#define OP_INT_BEGIN 100
  |  |  ------------------
  |  |               #define IS_INT_OP(x) ((x) >= OP_INT_BEGIN && (x) <= OP_INT_END)
  |  |  ------------------
  |  |  |  |  153|  29.9k|#define OP_INT_END   OP_INT_MINUS
  |  |  |  |  ------------------
  |  |  |  |  |  |  152|  29.9k|#define OP_INT_MINUS (OP_INT_BEGIN + _OP_MINUS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  141|  29.9k|#define OP_INT_BEGIN 100
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define OP_INT_MINUS (OP_INT_BEGIN + _OP_MINUS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  139|  29.9k|#define _OP_MINUS 10
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (178:23): [True: 29.9k, False: 0]
  |  |  |  Branch (178:46): [True: 23.8k, False: 6.10k]
  |  |  ------------------
  ------------------
                if (IS_INT_OP(opcode) || IS_DBL_OP(opcode) || IS_STR_OP(opcode))
  ------------------
  |  |  179|  36.0k|#define IS_DBL_OP(x) ((x) >= OP_DBL_BEGIN && (x) <= OP_DBL_END)
  |  |  ------------------
  |  |  |  |  155|  12.2k|#define OP_DBL_BEGIN 120
  |  |  ------------------
  |  |               #define IS_DBL_OP(x) ((x) >= OP_DBL_BEGIN && (x) <= OP_DBL_END)
  |  |  ------------------
  |  |  |  |  167|  6.10k|#define OP_DBL_END   OP_DBL_MINUS
  |  |  |  |  ------------------
  |  |  |  |  |  |  166|  6.10k|#define OP_DBL_MINUS (OP_DBL_BEGIN + _OP_MINUS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  155|  6.10k|#define OP_DBL_BEGIN 120
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define OP_DBL_MINUS (OP_DBL_BEGIN + _OP_MINUS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  139|  6.10k|#define _OP_MINUS 10
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (179:23): [True: 6.10k, False: 0]
  |  |  |  Branch (179:46): [True: 4.14k, False: 1.96k]
  |  |  ------------------
  ------------------
                if (IS_INT_OP(opcode) || IS_DBL_OP(opcode) || IS_STR_OP(opcode))
  ------------------
  |  |  180|  1.96k|#define IS_STR_OP(x) ((x) >= OP_STR_BEGIN && (x) <= OP_STR_END)
  |  |  ------------------
  |  |  |  |  169|  3.92k|#define OP_STR_BEGIN 140
  |  |  ------------------
  |  |               #define IS_STR_OP(x) ((x) >= OP_STR_BEGIN && (x) <= OP_STR_END)
  |  |  ------------------
  |  |  |  |  176|  1.96k|#define OP_STR_END   OP_STR_GE
  |  |  |  |  ------------------
  |  |  |  |  |  |  175|  1.96k|#define OP_STR_GE    (OP_STR_BEGIN + _OP_GE)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  169|  1.96k|#define OP_STR_BEGIN 140
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define OP_STR_GE    (OP_STR_BEGIN + _OP_GE)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  134|  1.96k|#define _OP_GE    5
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (180:23): [True: 1.96k, False: 0]
  |  |  |  Branch (180:46): [True: 1.88k, False: 78]
  |  |  ------------------
  ------------------
 1436|  29.9k|  {
 1437|  29.9k|    return opcode;
 1438|  29.9k|  }
 1439|       |
 1440|     78|  return OP_ERROR;
  ------------------
  |  |   45|     78|#define OP_ERROR 0
  ------------------
 1441|  29.9k|}

yr_re_node_create:
  128|  1.83M|{
  129|  1.83M|  RE_NODE* result = (RE_NODE*) yr_malloc(sizeof(RE_NODE));
  130|       |
  131|  1.83M|  if (result != NULL)
  ------------------
  |  Branch (131:7): [True: 1.83M, False: 0]
  ------------------
  132|  1.83M|  {
  133|  1.83M|    result->type = type;
  134|  1.83M|    result->children_head = NULL;
  135|  1.83M|    result->children_tail = NULL;
  136|  1.83M|    result->prev_sibling = NULL;
  137|  1.83M|    result->next_sibling = NULL;
  138|  1.83M|    result->greedy = true;
  139|  1.83M|    result->forward_code_ref = YR_ARENA_NULL_REF;
  ------------------
  |  |   43|  1.83M|  (YR_ARENA_REF)           \
  |  |   44|  1.83M|  {                        \
  |  |   45|  1.83M|    UINT32_MAX, UINT32_MAX \
  |  |   46|  1.83M|  }
  ------------------
  140|  1.83M|    result->backward_code_ref = YR_ARENA_NULL_REF;
  ------------------
  |  |   43|  1.83M|  (YR_ARENA_REF)           \
  |  |   44|  1.83M|  {                        \
  |  |   45|  1.83M|    UINT32_MAX, UINT32_MAX \
  |  |   46|  1.83M|  }
  ------------------
  141|  1.83M|  }
  142|       |
  143|  1.83M|  return result;
  144|  1.83M|}
yr_re_node_destroy:
  155|  91.4k|{
  156|  91.4k|  RE_NODE* current = node;
  157|  91.4k|  RE_NODE* tail = node;
  158|  91.4k|  RE_NODE* next;
  159|       |
  160|  91.4k|  if (node == NULL)
  ------------------
  |  Branch (160:7): [True: 0, False: 91.4k]
  ------------------
  161|      0|    return;
  162|       |
  163|       |  // Initialize the queue with `node` as its only element. Clearing
  164|       |  // `node->next_sibling` ensures we only destroy the subtree rooted at `node`
  165|       |  // (and not any siblings `node` might have). If `node` has children, the
  166|       |  // first iteration below will overwrite `node->next_sibling` (via `tail`) to
  167|       |  // point to `node->children_head` before `current->next_sibling` is read.
  168|  91.4k|  node->next_sibling = NULL;
  169|       |
  170|  1.93M|  while (current != NULL)
  ------------------
  |  Branch (170:10): [True: 1.83M, False: 91.4k]
  ------------------
  171|  1.83M|  {
  172|       |    // If the current node has children, append its entire child list
  173|       |    // (`children_head` .. `children_tail`) to the end of the queue.
  174|  1.83M|    if (current->children_head != NULL)
  ------------------
  |  Branch (174:9): [True: 199k, False: 1.63M]
  ------------------
  175|   199k|    {
  176|   199k|      tail->next_sibling = current->children_head;
  177|   199k|      tail = current->children_tail;
  178|   199k|    }
  179|       |
  180|  1.83M|    next = current->next_sibling;
  181|       |
  182|  1.83M|    if (current->type == RE_NODE_CLASS)
  ------------------
  |  |   49|  1.83M|#define RE_NODE_CLASS              9
  ------------------
  |  Branch (182:9): [True: 1.88k, False: 1.83M]
  ------------------
  183|  1.88k|      yr_free(current->re_class);
  184|       |
  185|  1.83M|    yr_free(current);
  186|  1.83M|    current = next;
  187|  1.83M|  }
  188|  91.4k|}
yr_re_node_append_child:
  194|  1.75M|{
  195|  1.75M|  if (node->children_head == NULL)
  ------------------
  |  Branch (195:7): [True: 184k, False: 1.56M]
  ------------------
  196|   184k|    node->children_head = child;
  197|       |
  198|  1.75M|  if (node->children_tail != NULL)
  ------------------
  |  Branch (198:7): [True: 1.56M, False: 184k]
  ------------------
  199|  1.56M|    node->children_tail->next_sibling = child;
  200|       |
  201|  1.75M|  child->prev_sibling = node->children_tail;
  202|  1.75M|  node->children_tail = child;
  203|  1.75M|}
yr_re_node_prepend_child:
  209|  7.78k|{
  210|  7.78k|  child->next_sibling = node->children_head;
  211|       |
  212|  7.78k|  if (node->children_head != NULL)
  ------------------
  |  Branch (212:7): [True: 7.78k, False: 0]
  ------------------
  213|  7.78k|    node->children_head->prev_sibling = child;
  214|       |
  215|  7.78k|  node->children_head = child;
  216|       |
  217|  7.78k|  if (node->children_tail == NULL)
  ------------------
  |  Branch (217:7): [True: 0, False: 7.78k]
  ------------------
  218|      0|    node->children_tail = child;
  219|  7.78k|}
yr_re_ast_create:
  222|  56.2k|{
  223|  56.2k|  *re_ast = (RE_AST*) yr_malloc(sizeof(RE_AST));
  224|       |
  225|  56.2k|  if (*re_ast == NULL)
  ------------------
  |  Branch (225:7): [True: 0, False: 56.2k]
  ------------------
  226|      0|    return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
  227|       |
  228|  56.2k|  (*re_ast)->flags = 0;
  229|  56.2k|  (*re_ast)->levels = 0;
  230|  56.2k|  (*re_ast)->root_node = NULL;
  231|       |
  232|  56.2k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  56.2k|#define ERROR_SUCCESS 0
  ------------------
  233|  56.2k|}
yr_re_ast_destroy:
  236|  56.2k|{
  237|  56.2k|  if (re_ast->root_node != NULL)
  ------------------
  |  Branch (237:7): [True: 54.1k, False: 2.15k]
  ------------------
  238|  54.1k|    yr_re_node_destroy(re_ast->root_node);
  239|       |
  240|  56.2k|  yr_free(re_ast);
  241|  56.2k|}
yr_re_parse:
  252|  38.9k|{
  253|  38.9k|  return yr_parse_re_string(re_string, re_ast, error, flags);
  254|  38.9k|}
yr_re_parse_hex:
  261|  2.27k|{
  262|  2.27k|  return yr_parse_hex_string(hex_string, re_ast, error);
  263|  2.27k|}
yr_re_compile:
  276|  2.28k|{
  277|  2.28k|  RE_AST* re_ast;
  278|  2.28k|  RE _re;
  279|  2.28k|  int result;
  280|       |
  281|  2.28k|  result = yr_re_parse(re_string, &re_ast, error, parser_flags);
  282|  2.28k|  if (result != ERROR_UNKNOWN_ESCAPE_SEQUENCE)
  ------------------
  |  |  113|  2.28k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  ------------------
  |  Branch (282:7): [True: 2.28k, False: 0]
  ------------------
  283|  2.28k|    FAIL_ON_ERROR(result);
  ------------------
  |  |  134|  2.28k|  {                               \
  |  |  135|  2.28k|    int __error = (x);            \
  |  |  136|  2.28k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  2.28k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 529, False: 1.75k]
  |  |  ------------------
  |  |  137|  2.28k|      return __error;             \
  |  |  138|  2.28k|  }
  ------------------
  284|       |
  285|  1.75k|  _re.flags = flags;
  286|       |
  287|  1.75k|  FAIL_ON_ERROR_WITH_CLEANUP(
  ------------------
  |  |  142|  1.75k|  {                                            \
  |  |  143|  1.75k|    int __error = (x);                         \
  |  |  144|  1.75k|    if (__error != ERROR_SUCCESS)              \
  |  |  ------------------
  |  |  |  |   40|  1.75k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (144:9): [True: 0, False: 1.75k]
  |  |  ------------------
  |  |  145|  1.75k|    {                                          \
  |  |  146|      0|      cleanup;                                 \
  |  |  147|      0|      return __error;                          \
  |  |  148|      0|    }                                          \
  |  |  149|  1.75k|  }
  ------------------
  288|  1.75k|      yr_arena_write_data(arena, YR_RE_CODE_SECTION, &_re, sizeof(_re), ref),
  289|  1.75k|      yr_re_ast_destroy(re_ast));
  290|       |
  291|  1.75k|  FAIL_ON_ERROR_WITH_CLEANUP(
  ------------------
  |  |  142|  1.75k|  {                                            \
  |  |  143|  1.75k|    int __error = (x);                         \
  |  |  144|  1.75k|    if (__error != ERROR_SUCCESS)              \
  |  |  ------------------
  |  |  |  |   40|  1.75k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (144:9): [True: 57, False: 1.69k]
  |  |  ------------------
  |  |  145|  1.75k|    {                                          \
  |  |  146|     57|      cleanup;                                 \
  |  |  147|     57|      return __error;                          \
  |  |  148|     57|    }                                          \
  |  |  149|  1.75k|  }
  ------------------
  292|  1.75k|      yr_re_ast_emit_code(re_ast, arena, false), yr_re_ast_destroy(re_ast));
  293|       |
  294|  1.69k|  yr_re_ast_destroy(re_ast);
  295|       |
  296|  1.69k|  return result;
  297|  1.75k|}
yr_re_ast_extract_literal:
  337|  51.8k|{
  338|  51.8k|  SIZED_STRING* string;
  339|  51.8k|  RE_NODE* child;
  340|       |
  341|  51.8k|  int length = 0;
  342|       |
  343|  51.8k|  if (re_ast->root_node->type == RE_NODE_LITERAL)
  ------------------
  |  |   41|  51.8k|#define RE_NODE_LITERAL            1
  ------------------
  |  Branch (343:7): [True: 423, False: 51.4k]
  ------------------
  344|    423|  {
  345|    423|    length = 1;
  346|    423|  }
  347|  51.4k|  else if (re_ast->root_node->type == RE_NODE_CONCAT)
  ------------------
  |  |   44|  51.4k|#define RE_NODE_CONCAT             4
  ------------------
  |  Branch (347:12): [True: 50.1k, False: 1.22k]
  ------------------
  348|  50.1k|  {
  349|  50.1k|    child = re_ast->root_node->children_tail;
  350|       |
  351|   210k|    while (child != NULL && child->type == RE_NODE_LITERAL)
  ------------------
  |  |   41|   171k|#define RE_NODE_LITERAL            1
  ------------------
  |  Branch (351:12): [True: 171k, False: 39.3k]
  |  Branch (351:29): [True: 160k, False: 10.8k]
  ------------------
  352|   160k|    {
  353|   160k|      length++;
  354|   160k|      child = child->prev_sibling;
  355|   160k|    }
  356|       |
  357|  50.1k|    if (child != NULL)
  ------------------
  |  Branch (357:9): [True: 10.8k, False: 39.3k]
  ------------------
  358|  10.8k|      return NULL;
  359|  50.1k|  }
  360|  1.22k|  else
  361|  1.22k|  {
  362|  1.22k|    return NULL;
  363|  1.22k|  }
  364|       |
  365|  39.8k|  string = (SIZED_STRING*) yr_malloc(sizeof(SIZED_STRING) + length);
  366|       |
  367|  39.8k|  if (string == NULL)
  ------------------
  |  Branch (367:7): [True: 0, False: 39.8k]
  ------------------
  368|      0|    return NULL;
  369|       |
  370|  39.8k|  string->length = length;
  371|  39.8k|  string->flags = 0;
  372|       |
  373|  39.8k|  if (re_ast->root_node->type == RE_NODE_LITERAL)
  ------------------
  |  |   41|  39.8k|#define RE_NODE_LITERAL            1
  ------------------
  |  Branch (373:7): [True: 423, False: 39.3k]
  ------------------
  374|    423|  {
  375|    423|    string->c_string[0] = re_ast->root_node->value;
  376|    423|  }
  377|  39.3k|  else
  378|  39.3k|  {
  379|  39.3k|    child = re_ast->root_node->children_tail;
  380|       |
  381|   189k|    while (child != NULL)
  ------------------
  |  Branch (381:12): [True: 150k, False: 39.3k]
  ------------------
  382|   150k|    {
  383|   150k|      string->c_string[--length] = child->value;
  384|   150k|      child = child->prev_sibling;
  385|   150k|    }
  386|  39.3k|  }
  387|       |
  388|  39.8k|  string->c_string[string->length] = '\0';
  389|       |
  390|  39.8k|  return string;
  391|  39.8k|}
_yr_re_node_has_unbounded_quantifier_for_dot:
  394|   244k|{
  395|   244k|  RE_NODE* child;
  396|       |
  397|   244k|  if ((re_node->type == RE_NODE_STAR || re_node->type == RE_NODE_PLUS) &&
  ------------------
  |  |   47|   489k|#define RE_NODE_STAR               7
  ------------------
                if ((re_node->type == RE_NODE_STAR || re_node->type == RE_NODE_PLUS) &&
  ------------------
  |  |   48|   244k|#define RE_NODE_PLUS               8
  ------------------
  |  Branch (397:8): [True: 394, False: 244k]
  |  Branch (397:41): [True: 904, False: 243k]
  ------------------
  398|  1.29k|      re_node->children_head->type == RE_NODE_ANY)
  ------------------
  |  |   43|  1.29k|#define RE_NODE_ANY                3
  ------------------
  |  Branch (398:7): [True: 420, False: 878]
  ------------------
  399|    420|    return true;
  400|       |
  401|   244k|  if (re_node->type == RE_NODE_RANGE_ANY && re_node->end == RE_MAX_RANGE)
  ------------------
  |  |   61|   489k|#define RE_NODE_RANGE_ANY          21
  ------------------
                if (re_node->type == RE_NODE_RANGE_ANY && re_node->end == RE_MAX_RANGE)
  ------------------
  |  |   39|  14.2k|#define RE_MAX_RANGE              INT16_MAX
  ------------------
  |  Branch (401:7): [True: 14.2k, False: 230k]
  |  Branch (401:45): [True: 11.8k, False: 2.37k]
  ------------------
  402|  11.8k|    return true;
  403|       |
  404|   232k|  if (re_node->type == RE_NODE_CONCAT)
  ------------------
  |  |   44|   232k|#define RE_NODE_CONCAT             4
  ------------------
  |  Branch (404:7): [True: 39.1k, False: 193k]
  ------------------
  405|  39.1k|  {
  406|  39.1k|    child = re_node->children_tail;
  407|       |
  408|   232k|    while (child != NULL)
  ------------------
  |  Branch (408:12): [True: 208k, False: 24.3k]
  ------------------
  409|   208k|    {
  410|   208k|      if (_yr_re_node_has_unbounded_quantifier_for_dot(child))
  ------------------
  |  Branch (410:11): [True: 14.8k, False: 193k]
  ------------------
  411|  14.8k|        return true;
  412|       |
  413|   193k|      child = child->prev_sibling;
  414|   193k|    }
  415|  39.1k|  }
  416|       |
  417|   217k|  return false;
  418|   232k|}
yr_re_ast_has_unbounded_quantifier_for_dot:
  427|  36.7k|{
  428|  36.7k|  return _yr_re_node_has_unbounded_quantifier_for_dot(re_ast->root_node);
  429|  36.7k|}
yr_re_ast_split_at_chaining_point:
  495|  51.8k|{
  496|  51.8k|  RE_NODE* child;
  497|  51.8k|  RE_NODE* concat;
  498|       |
  499|  51.8k|  int result;
  500|       |
  501|  51.8k|  *remainder_re_ast = NULL;
  502|  51.8k|  *min_gap = 0;
  503|  51.8k|  *max_gap = 0;
  504|       |
  505|  51.8k|  if (re_ast->root_node->type != RE_NODE_CONCAT)
  ------------------
  |  |   44|  51.8k|#define RE_NODE_CONCAT             4
  ------------------
  |  Branch (505:7): [True: 1.64k, False: 50.1k]
  ------------------
  506|  1.64k|    return ERROR_SUCCESS;
  ------------------
  |  |   40|  1.64k|#define ERROR_SUCCESS 0
  ------------------
  507|       |
  508|  50.1k|  child = re_ast->root_node->children_head;
  509|       |
  510|   267k|  while (child != NULL)
  ------------------
  |  Branch (510:10): [True: 232k, False: 35.1k]
  ------------------
  511|   232k|  {
  512|   232k|    if (!child->greedy && child->type == RE_NODE_RANGE_ANY &&
  ------------------
  |  |   61|   250k|#define RE_NODE_RANGE_ANY          21
  ------------------
  |  Branch (512:9): [True: 17.7k, False: 214k]
  |  Branch (512:27): [True: 16.4k, False: 1.25k]
  ------------------
  513|  16.4k|        child->prev_sibling != NULL && child->next_sibling != NULL &&
  ------------------
  |  Branch (513:9): [True: 16.1k, False: 356]
  |  Branch (513:40): [True: 15.5k, False: 561]
  ------------------
  514|  15.5k|        (child->start > YR_STRING_CHAINING_THRESHOLD ||
  ------------------
  |  |  142|  31.0k|#define YR_STRING_CHAINING_THRESHOLD 200
  ------------------
  |  Branch (514:10): [True: 447, False: 15.0k]
  ------------------
  515|  15.0k|         child->end > YR_STRING_CHAINING_THRESHOLD))
  ------------------
  |  |  142|  15.0k|#define YR_STRING_CHAINING_THRESHOLD 200
  ------------------
  |  Branch (515:10): [True: 14.6k, False: 454]
  ------------------
  516|  15.0k|    {
  517|  15.0k|      result = yr_re_ast_create(remainder_re_ast);
  518|       |
  519|  15.0k|      if (result != ERROR_SUCCESS)
  ------------------
  |  |   40|  15.0k|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (519:11): [True: 0, False: 15.0k]
  ------------------
  520|      0|        return result;
  521|       |
  522|  15.0k|      concat = yr_re_node_create(RE_NODE_CONCAT);
  ------------------
  |  |   44|  15.0k|#define RE_NODE_CONCAT             4
  ------------------
  523|       |
  524|  15.0k|      if (concat == NULL)
  ------------------
  |  Branch (524:11): [True: 0, False: 15.0k]
  ------------------
  525|      0|        return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
  526|       |
  527|  15.0k|      concat->children_head = child->next_sibling;
  528|  15.0k|      concat->children_tail = re_ast->root_node->children_tail;
  529|       |
  530|  15.0k|      re_ast->root_node->children_tail = child->prev_sibling;
  531|       |
  532|  15.0k|      child->prev_sibling->next_sibling = NULL;
  533|  15.0k|      child->next_sibling->prev_sibling = NULL;
  534|       |
  535|  15.0k|      *min_gap = child->start;
  536|  15.0k|      *max_gap = child->end;
  537|       |
  538|  15.0k|      (*remainder_re_ast)->root_node = concat;
  539|  15.0k|      (*remainder_re_ast)->flags = re_ast->flags;
  540|       |
  541|  15.0k|      yr_re_node_destroy(child);
  542|       |
  543|  15.0k|      return ERROR_SUCCESS;
  ------------------
  |  |   40|  15.0k|#define ERROR_SUCCESS 0
  ------------------
  544|  15.0k|    }
  545|       |
  546|   217k|    child = child->next_sibling;
  547|   217k|  }
  548|       |
  549|  35.1k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  35.1k|#define ERROR_SUCCESS 0
  ------------------
  550|  50.1k|}
_yr_emit_inst:
  556|   199k|{
  557|   199k|  FAIL_ON_ERROR(yr_arena_write_data(
  ------------------
  |  |  134|   199k|  {                               \
  |  |  135|   199k|    int __error = (x);            \
  |  |  136|   199k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|   199k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 199k]
  |  |  ------------------
  |  |  137|   199k|      return __error;             \
  |  |  138|   199k|  }
  ------------------
  558|   199k|      emit_context->arena,
  559|   199k|      YR_RE_CODE_SECTION,
  560|   199k|      &opcode,
  561|   199k|      sizeof(uint8_t),
  562|   199k|      instruction_ref));
  563|       |
  564|   199k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|   199k|#define ERROR_SUCCESS 0
  ------------------
  565|   199k|}
_yr_emit_inst_arg_uint8:
  573|  2.58M|{
  574|  2.58M|  FAIL_ON_ERROR(yr_arena_write_data(
  ------------------
  |  |  134|  2.58M|  {                               \
  |  |  135|  2.58M|    int __error = (x);            \
  |  |  136|  2.58M|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  2.58M|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 2.58M]
  |  |  ------------------
  |  |  137|  2.58M|      return __error;             \
  |  |  138|  2.58M|  }
  ------------------
  575|  2.58M|      emit_context->arena,
  576|  2.58M|      YR_RE_CODE_SECTION,
  577|  2.58M|      &opcode,
  578|  2.58M|      sizeof(uint8_t),
  579|  2.58M|      instruction_ref));
  580|       |
  581|  2.58M|  FAIL_ON_ERROR(yr_arena_write_data(
  ------------------
  |  |  134|  2.58M|  {                               \
  |  |  135|  2.58M|    int __error = (x);            \
  |  |  136|  2.58M|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  2.58M|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 2.58M]
  |  |  ------------------
  |  |  137|  2.58M|      return __error;             \
  |  |  138|  2.58M|  }
  ------------------
  582|  2.58M|      emit_context->arena,
  583|  2.58M|      YR_RE_CODE_SECTION,
  584|  2.58M|      &argument,
  585|  2.58M|      sizeof(uint8_t),
  586|  2.58M|      argument_ref));
  587|       |
  588|  2.58M|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  2.58M|#define ERROR_SUCCESS 0
  ------------------
  589|  2.58M|}
_yr_emit_inst_arg_uint16:
  597|  7.17k|{
  598|  7.17k|  FAIL_ON_ERROR(yr_arena_write_data(
  ------------------
  |  |  134|  7.17k|  {                               \
  |  |  135|  7.17k|    int __error = (x);            \
  |  |  136|  7.17k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  7.17k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 7.17k]
  |  |  ------------------
  |  |  137|  7.17k|      return __error;             \
  |  |  138|  7.17k|  }
  ------------------
  599|  7.17k|      emit_context->arena,
  600|  7.17k|      YR_RE_CODE_SECTION,
  601|  7.17k|      &opcode,
  602|  7.17k|      sizeof(uint8_t),
  603|  7.17k|      instruction_ref));
  604|       |
  605|  7.17k|  FAIL_ON_ERROR(yr_arena_write_data(
  ------------------
  |  |  134|  7.17k|  {                               \
  |  |  135|  7.17k|    int __error = (x);            \
  |  |  136|  7.17k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  7.17k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 7.17k]
  |  |  ------------------
  |  |  137|  7.17k|      return __error;             \
  |  |  138|  7.17k|  }
  ------------------
  606|  7.17k|      emit_context->arena,
  607|  7.17k|      YR_RE_CODE_SECTION,
  608|  7.17k|      &argument,
  609|  7.17k|      sizeof(uint16_t),
  610|  7.17k|      argument_ref));
  611|       |
  612|  7.17k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  7.17k|#define ERROR_SUCCESS 0
  ------------------
  613|  7.17k|}
_yr_emit_inst_arg_int16:
  645|  47.6k|{
  646|  47.6k|  FAIL_ON_ERROR(yr_arena_write_data(
  ------------------
  |  |  134|  47.6k|  {                               \
  |  |  135|  47.6k|    int __error = (x);            \
  |  |  136|  47.6k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  47.6k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 47.6k]
  |  |  ------------------
  |  |  137|  47.6k|      return __error;             \
  |  |  138|  47.6k|  }
  ------------------
  647|  47.6k|      emit_context->arena,
  648|  47.6k|      YR_RE_CODE_SECTION,
  649|  47.6k|      &opcode,
  650|  47.6k|      sizeof(uint8_t),
  651|  47.6k|      instruction_ref));
  652|       |
  653|  47.6k|  FAIL_ON_ERROR(yr_arena_write_data(
  ------------------
  |  |  134|  47.6k|  {                               \
  |  |  135|  47.6k|    int __error = (x);            \
  |  |  136|  47.6k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  47.6k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 47.6k]
  |  |  ------------------
  |  |  137|  47.6k|      return __error;             \
  |  |  138|  47.6k|  }
  ------------------
  654|  47.6k|      emit_context->arena,
  655|  47.6k|      YR_RE_CODE_SECTION,
  656|  47.6k|      &argument,
  657|  47.6k|      sizeof(int16_t),
  658|  47.6k|      argument_ref));
  659|       |
  660|  47.6k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  47.6k|#define ERROR_SUCCESS 0
  ------------------
  661|  47.6k|}
_yr_emit_inst_arg_struct:
  670|   156k|{
  671|   156k|  FAIL_ON_ERROR(yr_arena_write_data(
  ------------------
  |  |  134|   156k|  {                               \
  |  |  135|   156k|    int __error = (x);            \
  |  |  136|   156k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|   156k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 156k]
  |  |  ------------------
  |  |  137|   156k|      return __error;             \
  |  |  138|   156k|  }
  ------------------
  672|   156k|      emit_context->arena,
  673|   156k|      YR_RE_CODE_SECTION,
  674|   156k|      &opcode,
  675|   156k|      sizeof(uint8_t),
  676|   156k|      instruction_ref));
  677|       |
  678|   156k|  FAIL_ON_ERROR(yr_arena_write_data(
  ------------------
  |  |  134|   156k|  {                               \
  |  |  135|   156k|    int __error = (x);            \
  |  |  136|   156k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|   156k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 156k]
  |  |  ------------------
  |  |  137|   156k|      return __error;             \
  |  |  138|   156k|  }
  ------------------
  679|   156k|      emit_context->arena,
  680|   156k|      YR_RE_CODE_SECTION,
  681|   156k|      structure,
  682|   156k|      structure_size,
  683|   156k|      argument_ref));
  684|       |
  685|   156k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|   156k|#define ERROR_SUCCESS 0
  ------------------
  686|   156k|}
_yr_emit_split:
  694|  67.1k|{
  695|  67.1k|  assert(opcode == RE_OPCODE_SPLIT_A || opcode == RE_OPCODE_SPLIT_B);
  ------------------
  |  Branch (695:3): [True: 67.1k, False: 0]
  |  Branch (695:3): [True: 0, False: 0]
  |  Branch (695:3): [True: 59.8k, False: 7.25k]
  |  Branch (695:3): [True: 7.25k, False: 0]
  ------------------
  696|       |
  697|  67.1k|  if (emit_context->next_split_id == RE_MAX_SPLIT_ID)
  ------------------
  |  |  164|  67.1k|#define RE_MAX_SPLIT_ID 128
  ------------------
  |  Branch (697:7): [True: 148, False: 66.9k]
  ------------------
  698|    148|    return ERROR_REGULAR_EXPRESSION_TOO_COMPLEX;
  ------------------
  |  |   96|    148|#define ERROR_REGULAR_EXPRESSION_TOO_COMPLEX 49
  ------------------
  699|       |
  700|  66.9k|  FAIL_ON_ERROR(yr_arena_write_data(
  ------------------
  |  |  134|  66.9k|  {                               \
  |  |  135|  66.9k|    int __error = (x);            \
  |  |  136|  66.9k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  66.9k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 66.9k]
  |  |  ------------------
  |  |  137|  66.9k|      return __error;             \
  |  |  138|  66.9k|  }
  ------------------
  701|  66.9k|      emit_context->arena,
  702|  66.9k|      YR_RE_CODE_SECTION,
  703|  66.9k|      &opcode,
  704|  66.9k|      sizeof(uint8_t),
  705|  66.9k|      instruction_ref));
  706|       |
  707|  66.9k|  FAIL_ON_ERROR(yr_arena_write_data(
  ------------------
  |  |  134|  66.9k|  {                               \
  |  |  135|  66.9k|    int __error = (x);            \
  |  |  136|  66.9k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  66.9k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 66.9k]
  |  |  ------------------
  |  |  137|  66.9k|      return __error;             \
  |  |  138|  66.9k|  }
  ------------------
  708|  66.9k|      emit_context->arena,
  709|  66.9k|      YR_RE_CODE_SECTION,
  710|  66.9k|      &emit_context->next_split_id,
  711|  66.9k|      sizeof(RE_SPLIT_ID_TYPE),
  712|  66.9k|      NULL));
  713|       |
  714|  66.9k|  emit_context->next_split_id++;
  715|       |
  716|  66.9k|  FAIL_ON_ERROR(yr_arena_write_data(
  ------------------
  |  |  134|  66.9k|  {                               \
  |  |  135|  66.9k|    int __error = (x);            \
  |  |  136|  66.9k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  66.9k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 66.9k]
  |  |  ------------------
  |  |  137|  66.9k|      return __error;             \
  |  |  138|  66.9k|  }
  ------------------
  717|  66.9k|      emit_context->arena,
  718|  66.9k|      YR_RE_CODE_SECTION,
  719|  66.9k|      &argument,
  720|  66.9k|      sizeof(int16_t),
  721|  66.9k|      argument_ref));
  722|       |
  723|  66.9k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  66.9k|#define ERROR_SUCCESS 0
  ------------------
  724|  66.9k|}
yr_re_ast_emit_code:
 1246|  25.6k|{
 1247|  25.6k|  RE_EMIT_CONTEXT emit_context;
 1248|       |
 1249|       |  // Emit code for matching the regular expressions forwards.
 1250|  25.6k|  emit_context.arena = arena;
 1251|  25.6k|  emit_context.next_split_id = 0;
 1252|  25.6k|  emit_context.start_offset = yr_arena_get_current_offset(
 1253|  25.6k|      arena, YR_RE_CODE_SECTION);
  ------------------
  |  |   64|  25.6k|#define YR_RE_CODE_SECTION          7
  ------------------
 1254|       |
 1255|  25.6k|  FAIL_ON_ERROR(_yr_re_emit(
  ------------------
  |  |  134|  25.6k|  {                               \
  |  |  135|  51.3k|    int __error = (x);            \
  |  |  ------------------
  |  |  |  Branch (135:20): [True: 11.8k, False: 13.7k]
  |  |  ------------------
  |  |  136|  25.6k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  25.6k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 229, False: 25.4k]
  |  |  ------------------
  |  |  137|  25.6k|      return __error;             \
  |  |  138|  25.6k|  }
  ------------------
 1256|  25.6k|      &emit_context,
 1257|  25.6k|      re_ast->root_node,
 1258|  25.6k|      backwards_code ? EMIT_BACKWARDS : 0,
 1259|  25.6k|      NULL));
 1260|       |
 1261|  25.4k|  FAIL_ON_ERROR(_yr_emit_inst(&emit_context, RE_OPCODE_MATCH, NULL));
  ------------------
  |  |  134|  25.4k|  {                               \
  |  |  135|  25.4k|    int __error = (x);            \
  |  |  136|  25.4k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  25.4k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 25.4k]
  |  |  ------------------
  |  |  137|  25.4k|      return __error;             \
  |  |  138|  25.4k|  }
  ------------------
 1262|       |
 1263|  25.4k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  25.4k|#define ERROR_SUCCESS 0
  ------------------
 1264|  25.4k|}
re.c:_yr_re_emit:
  731|  3.19M|{
  732|  3.19M|  int16_t jmp_offset;
  733|       |
  734|  3.19M|  yr_arena_off_t bookmark_1 = 0;
  735|  3.19M|  yr_arena_off_t bookmark_2 = 0;
  736|  3.19M|  yr_arena_off_t bookmark_3 = 0;
  737|  3.19M|  yr_arena_off_t bookmark_4 = 0;
  738|       |
  739|  3.19M|  bool emit_split;
  740|  3.19M|  bool emit_repeat;
  741|  3.19M|  bool emit_prolog;
  742|  3.19M|  bool emit_epilog;
  743|       |
  744|  3.19M|  RE_REPEAT_ARGS repeat_args;
  745|  3.19M|  RE_REPEAT_ARGS* repeat_start_args_addr;
  746|  3.19M|  RE_REPEAT_ANY_ARGS repeat_any_args;
  747|       |
  748|  3.19M|  RE_NODE* child;
  749|       |
  750|  3.19M|  void* split_offset_addr = NULL;
  751|  3.19M|  void* jmp_offset_addr = NULL;
  752|       |
  753|  3.19M|  YR_ARENA_REF instruction_ref = YR_ARENA_NULL_REF;
  ------------------
  |  |   43|  3.19M|  (YR_ARENA_REF)           \
  |  |   44|  3.19M|  {                        \
  |  |   45|  3.19M|    UINT32_MAX, UINT32_MAX \
  |  |   46|  3.19M|  }
  ------------------
  754|  3.19M|  YR_ARENA_REF split_offset_ref;
  755|  3.19M|  YR_ARENA_REF jmp_instruction_ref;
  756|  3.19M|  YR_ARENA_REF jmp_offset_ref;
  757|  3.19M|  YR_ARENA_REF repeat_start_args_ref;
  758|       |
  759|  3.19M|  if (yr_arena_get_current_offset(
  ------------------
  |  Branch (759:7): [True: 43, False: 3.19M]
  ------------------
  760|  3.19M|          emit_context->arena, YR_RE_CODE_SECTION) -
  ------------------
  |  |   64|  3.19M|#define YR_RE_CODE_SECTION          7
  ------------------
  761|  3.19M|          emit_context->start_offset >
  762|  3.19M|      RE_MAX_CODE_SIZE)
  ------------------
  |  |  184|  3.19M|#define RE_MAX_CODE_SIZE 32768
  ------------------
  763|     43|  {
  764|     43|    return ERROR_REGULAR_EXPRESSION_TOO_LARGE;
  ------------------
  |  |   92|     43|#define ERROR_REGULAR_EXPRESSION_TOO_LARGE   45
  ------------------
  765|     43|  }
  766|       |
  767|  3.19M|  switch (re_node->type)
  ------------------
  |  Branch (767:11): [True: 3.18M, False: 13.2k]
  ------------------
  768|  3.19M|  {
  769|  2.58M|  case RE_NODE_LITERAL:
  ------------------
  |  |   41|  2.58M|#define RE_NODE_LITERAL            1
  ------------------
  |  Branch (769:3): [True: 2.58M, False: 611k]
  ------------------
  770|  2.58M|    FAIL_ON_ERROR(_yr_emit_inst_arg_uint8(
  ------------------
  |  |  134|  2.58M|  {                               \
  |  |  135|  2.58M|    int __error = (x);            \
  |  |  136|  2.58M|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  2.58M|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 2.58M]
  |  |  ------------------
  |  |  137|  2.58M|      return __error;             \
  |  |  138|  2.58M|  }
  ------------------
  771|  2.58M|        emit_context,
  772|  2.58M|        RE_OPCODE_LITERAL,
  773|  2.58M|        re_node->value,
  774|  2.58M|        &instruction_ref,
  775|  2.58M|        NULL));
  776|  2.58M|    break;
  777|       |
  778|    580|  case RE_NODE_NOT_LITERAL:
  ------------------
  |  |   62|    580|#define RE_NODE_NOT_LITERAL        22
  ------------------
  |  Branch (778:3): [True: 580, False: 3.19M]
  ------------------
  779|    580|    FAIL_ON_ERROR(_yr_emit_inst_arg_uint8(
  ------------------
  |  |  134|    580|  {                               \
  |  |  135|    580|    int __error = (x);            \
  |  |  136|    580|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|    580|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 580]
  |  |  ------------------
  |  |  137|    580|      return __error;             \
  |  |  138|    580|  }
  ------------------
  780|    580|        emit_context,
  781|    580|        RE_OPCODE_NOT_LITERAL,
  782|    580|        re_node->value,
  783|    580|        &instruction_ref,
  784|    580|        NULL));
  785|    580|    break;
  786|       |
  787|  6.16k|  case RE_NODE_MASKED_LITERAL:
  ------------------
  |  |   42|  6.16k|#define RE_NODE_MASKED_LITERAL     2
  ------------------
  |  Branch (787:3): [True: 6.16k, False: 3.18M]
  ------------------
  788|  6.16k|    FAIL_ON_ERROR(_yr_emit_inst_arg_uint16(
  ------------------
  |  |  134|  6.16k|  {                               \
  |  |  135|  6.16k|    int __error = (x);            \
  |  |  136|  6.16k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  6.16k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 6.16k]
  |  |  ------------------
  |  |  137|  6.16k|      return __error;             \
  |  |  138|  6.16k|  }
  ------------------
  789|  6.16k|        emit_context,
  790|  6.16k|        RE_OPCODE_MASKED_LITERAL,
  791|  6.16k|        re_node->mask << 8 | re_node->value,
  792|  6.16k|        &instruction_ref,
  793|  6.16k|        NULL));
  794|  6.16k|    break;
  795|       |
  796|  1.00k|  case RE_NODE_MASKED_NOT_LITERAL:
  ------------------
  |  |   63|  1.00k|#define RE_NODE_MASKED_NOT_LITERAL 23
  ------------------
  |  Branch (796:3): [True: 1.00k, False: 3.19M]
  ------------------
  797|  1.00k|    FAIL_ON_ERROR(_yr_emit_inst_arg_uint16(
  ------------------
  |  |  134|  1.00k|  {                               \
  |  |  135|  1.00k|    int __error = (x);            \
  |  |  136|  1.00k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  1.00k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 1.00k]
  |  |  ------------------
  |  |  137|  1.00k|      return __error;             \
  |  |  138|  1.00k|  }
  ------------------
  798|  1.00k|        emit_context,
  799|  1.00k|        RE_OPCODE_MASKED_NOT_LITERAL,
  800|  1.00k|        re_node->mask << 8 | re_node->value,
  801|  1.00k|        &instruction_ref,
  802|  1.00k|        NULL));
  803|  1.00k|    break;
  804|       |
  805|    865|  case RE_NODE_WORD_CHAR:
  ------------------
  |  |   50|    865|#define RE_NODE_WORD_CHAR          10
  ------------------
  |  Branch (805:3): [True: 865, False: 3.19M]
  ------------------
  806|    865|    FAIL_ON_ERROR(
  ------------------
  |  |  134|    865|  {                               \
  |  |  135|    865|    int __error = (x);            \
  |  |  136|    865|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|    865|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 865]
  |  |  ------------------
  |  |  137|    865|      return __error;             \
  |  |  138|    865|  }
  ------------------
  807|    865|        _yr_emit_inst(emit_context, RE_OPCODE_WORD_CHAR, &instruction_ref));
  808|    865|    break;
  809|       |
  810|  5.25k|  case RE_NODE_NON_WORD_CHAR:
  ------------------
  |  |   51|  5.25k|#define RE_NODE_NON_WORD_CHAR      11
  ------------------
  |  Branch (810:3): [True: 5.25k, False: 3.18M]
  ------------------
  811|  5.25k|    FAIL_ON_ERROR(
  ------------------
  |  |  134|  5.25k|  {                               \
  |  |  135|  5.25k|    int __error = (x);            \
  |  |  136|  5.25k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  5.25k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 5.25k]
  |  |  ------------------
  |  |  137|  5.25k|      return __error;             \
  |  |  138|  5.25k|  }
  ------------------
  812|  5.25k|        _yr_emit_inst(emit_context, RE_OPCODE_NON_WORD_CHAR, &instruction_ref));
  813|  5.25k|    break;
  814|       |
  815|  8.45k|  case RE_NODE_WORD_BOUNDARY:
  ------------------
  |  |   59|  8.45k|#define RE_NODE_WORD_BOUNDARY      19
  ------------------
  |  Branch (815:3): [True: 8.45k, False: 3.18M]
  ------------------
  816|  8.45k|    FAIL_ON_ERROR(
  ------------------
  |  |  134|  8.45k|  {                               \
  |  |  135|  8.45k|    int __error = (x);            \
  |  |  136|  8.45k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  8.45k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 8.45k]
  |  |  ------------------
  |  |  137|  8.45k|      return __error;             \
  |  |  138|  8.45k|  }
  ------------------
  817|  8.45k|        _yr_emit_inst(emit_context, RE_OPCODE_WORD_BOUNDARY, &instruction_ref));
  818|  8.45k|    break;
  819|       |
  820|  1.45k|  case RE_NODE_NON_WORD_BOUNDARY:
  ------------------
  |  |   60|  1.45k|#define RE_NODE_NON_WORD_BOUNDARY  20
  ------------------
  |  Branch (820:3): [True: 1.45k, False: 3.19M]
  ------------------
  821|  1.45k|    FAIL_ON_ERROR(_yr_emit_inst(
  ------------------
  |  |  134|  1.45k|  {                               \
  |  |  135|  1.45k|    int __error = (x);            \
  |  |  136|  1.45k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  1.45k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 1.45k]
  |  |  ------------------
  |  |  137|  1.45k|      return __error;             \
  |  |  138|  1.45k|  }
  ------------------
  822|  1.45k|        emit_context, RE_OPCODE_NON_WORD_BOUNDARY, &instruction_ref));
  823|  1.45k|    break;
  824|       |
  825|  4.32k|  case RE_NODE_SPACE:
  ------------------
  |  |   52|  4.32k|#define RE_NODE_SPACE              12
  ------------------
  |  Branch (825:3): [True: 4.32k, False: 3.18M]
  ------------------
  826|  4.32k|    FAIL_ON_ERROR(
  ------------------
  |  |  134|  4.32k|  {                               \
  |  |  135|  4.32k|    int __error = (x);            \
  |  |  136|  4.32k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  4.32k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 4.32k]
  |  |  ------------------
  |  |  137|  4.32k|      return __error;             \
  |  |  138|  4.32k|  }
  ------------------
  827|  4.32k|        _yr_emit_inst(emit_context, RE_OPCODE_SPACE, &instruction_ref));
  828|  4.32k|    break;
  829|       |
  830|    856|  case RE_NODE_NON_SPACE:
  ------------------
  |  |   53|    856|#define RE_NODE_NON_SPACE          13
  ------------------
  |  Branch (830:3): [True: 856, False: 3.19M]
  ------------------
  831|    856|    FAIL_ON_ERROR(
  ------------------
  |  |  134|    856|  {                               \
  |  |  135|    856|    int __error = (x);            \
  |  |  136|    856|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|    856|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 856]
  |  |  ------------------
  |  |  137|    856|      return __error;             \
  |  |  138|    856|  }
  ------------------
  832|    856|        _yr_emit_inst(emit_context, RE_OPCODE_NON_SPACE, &instruction_ref));
  833|    856|    break;
  834|       |
  835|    996|  case RE_NODE_DIGIT:
  ------------------
  |  |   54|    996|#define RE_NODE_DIGIT              14
  ------------------
  |  Branch (835:3): [True: 996, False: 3.19M]
  ------------------
  836|    996|    FAIL_ON_ERROR(
  ------------------
  |  |  134|    996|  {                               \
  |  |  135|    996|    int __error = (x);            \
  |  |  136|    996|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|    996|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 996]
  |  |  ------------------
  |  |  137|    996|      return __error;             \
  |  |  138|    996|  }
  ------------------
  837|    996|        _yr_emit_inst(emit_context, RE_OPCODE_DIGIT, &instruction_ref));
  838|    996|    break;
  839|       |
  840|    870|  case RE_NODE_NON_DIGIT:
  ------------------
  |  |   55|    870|#define RE_NODE_NON_DIGIT          15
  ------------------
  |  Branch (840:3): [True: 870, False: 3.19M]
  ------------------
  841|    870|    FAIL_ON_ERROR(
  ------------------
  |  |  134|    870|  {                               \
  |  |  135|    870|    int __error = (x);            \
  |  |  136|    870|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|    870|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 870]
  |  |  ------------------
  |  |  137|    870|      return __error;             \
  |  |  138|    870|  }
  ------------------
  842|    870|        _yr_emit_inst(emit_context, RE_OPCODE_NON_DIGIT, &instruction_ref));
  843|    870|    break;
  844|       |
  845|  42.6k|  case RE_NODE_ANY:
  ------------------
  |  |   43|  42.6k|#define RE_NODE_ANY                3
  ------------------
  |  Branch (845:3): [True: 42.6k, False: 3.15M]
  ------------------
  846|  42.6k|    FAIL_ON_ERROR(_yr_emit_inst(emit_context, RE_OPCODE_ANY, &instruction_ref));
  ------------------
  |  |  134|  42.6k|  {                               \
  |  |  135|  42.6k|    int __error = (x);            \
  |  |  136|  42.6k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  42.6k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 42.6k]
  |  |  ------------------
  |  |  137|  42.6k|      return __error;             \
  |  |  138|  42.6k|  }
  ------------------
  847|  42.6k|    break;
  848|       |
  849|  91.6k|  case RE_NODE_CLASS:
  ------------------
  |  |   49|  91.6k|#define RE_NODE_CLASS              9
  ------------------
  |  Branch (849:3): [True: 91.6k, False: 3.10M]
  ------------------
  850|  91.6k|    FAIL_ON_ERROR(
  ------------------
  |  |  134|  91.6k|  {                               \
  |  |  135|  91.6k|    int __error = (x);            \
  |  |  136|  91.6k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  91.6k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 91.6k]
  |  |  ------------------
  |  |  137|  91.6k|      return __error;             \
  |  |  138|  91.6k|  }
  ------------------
  851|  91.6k|        _yr_emit_inst(emit_context, RE_OPCODE_CLASS, &instruction_ref));
  852|       |
  853|  91.6k|    FAIL_ON_ERROR(yr_arena_write_data(
  ------------------
  |  |  134|  91.6k|  {                               \
  |  |  135|  91.6k|    int __error = (x);            \
  |  |  136|  91.6k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  91.6k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 91.6k]
  |  |  ------------------
  |  |  137|  91.6k|      return __error;             \
  |  |  138|  91.6k|  }
  ------------------
  854|  91.6k|        emit_context->arena,
  855|  91.6k|        YR_RE_CODE_SECTION,
  856|  91.6k|        re_node->re_class,
  857|  91.6k|        sizeof(*re_node->re_class),
  858|  91.6k|        NULL));
  859|  91.6k|    break;
  860|       |
  861|  1.57k|  case RE_NODE_ANCHOR_START:
  ------------------
  |  |   57|  1.57k|#define RE_NODE_ANCHOR_START       17
  ------------------
  |  Branch (861:3): [True: 1.57k, False: 3.19M]
  ------------------
  862|  1.57k|    FAIL_ON_ERROR(_yr_emit_inst(
  ------------------
  |  |  134|  1.57k|  {                               \
  |  |  135|  1.57k|    int __error = (x);            \
  |  |  136|  1.57k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  1.57k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 1.57k]
  |  |  ------------------
  |  |  137|  1.57k|      return __error;             \
  |  |  138|  1.57k|  }
  ------------------
  863|  1.57k|        emit_context, RE_OPCODE_MATCH_AT_START, &instruction_ref));
  864|  1.57k|    break;
  865|       |
  866|  15.1k|  case RE_NODE_ANCHOR_END:
  ------------------
  |  |   58|  15.1k|#define RE_NODE_ANCHOR_END         18
  ------------------
  |  Branch (866:3): [True: 15.1k, False: 3.17M]
  ------------------
  867|  15.1k|    FAIL_ON_ERROR(
  ------------------
  |  |  134|  15.1k|  {                               \
  |  |  135|  15.1k|    int __error = (x);            \
  |  |  136|  15.1k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  15.1k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 15.1k]
  |  |  ------------------
  |  |  137|  15.1k|      return __error;             \
  |  |  138|  15.1k|  }
  ------------------
  868|  15.1k|        _yr_emit_inst(emit_context, RE_OPCODE_MATCH_AT_END, &instruction_ref));
  869|  15.1k|    break;
  870|       |
  871|   256k|  case RE_NODE_CONCAT:
  ------------------
  |  |   44|   256k|#define RE_NODE_CONCAT             4
  ------------------
  |  Branch (871:3): [True: 256k, False: 2.93M]
  ------------------
  872|   256k|    child = (flags & EMIT_BACKWARDS) ? re_node->children_tail
  ------------------
  |  |   57|   256k|#define EMIT_BACKWARDS               0x01
  ------------------
  |  Branch (872:13): [True: 96.2k, False: 160k]
  ------------------
  873|   256k|                                     : re_node->children_head;
  874|       |
  875|  3.08M|    while (child != NULL)
  ------------------
  |  Branch (875:12): [True: 2.82M, False: 254k]
  ------------------
  876|  2.82M|    {
  877|  2.82M|      FAIL_ON_ERROR(_yr_re_emit(
  ------------------
  |  |  134|  2.82M|  {                               \
  |  |  135|  5.65M|    int __error = (x);            \
  |  |  ------------------
  |  |  |  Branch (135:20): [True: 257k, False: 2.57M]
  |  |  ------------------
  |  |  136|  2.82M|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  2.82M|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 1.96k, False: 2.82M]
  |  |  ------------------
  |  |  137|  2.82M|      return __error;             \
  |  |  138|  2.82M|  }
  ------------------
  878|  2.82M|          emit_context,
  879|  2.82M|          child,
  880|  2.82M|          flags,
  881|  2.82M|          YR_ARENA_IS_NULL_REF(instruction_ref) ? &instruction_ref : NULL));
  882|       |
  883|  2.82M|      child = (flags & EMIT_BACKWARDS) ? child->prev_sibling
  ------------------
  |  |   57|  2.82M|#define EMIT_BACKWARDS               0x01
  ------------------
  |  Branch (883:15): [True: 1.23M, False: 1.59M]
  ------------------
  884|  2.82M|                                       : child->next_sibling;
  885|  2.82M|    }
  886|   254k|    break;
  887|       |
  888|   254k|  case RE_NODE_PLUS:
  ------------------
  |  |   48|  5.48k|#define RE_NODE_PLUS               8
  ------------------
  |  Branch (888:3): [True: 5.48k, False: 3.18M]
  ------------------
  889|       |    // Code for e+ looks like:
  890|       |    //
  891|       |    //          L1: code for e
  892|       |    //              split L1, L2
  893|       |    //          L2:
  894|       |    //
  895|  5.48k|    FAIL_ON_ERROR(_yr_re_emit(
  ------------------
  |  |  134|  5.48k|  {                               \
  |  |  135|  5.48k|    int __error = (x);            \
  |  |  136|  5.48k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  5.48k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 85, False: 5.39k]
  |  |  ------------------
  |  |  137|  5.48k|      return __error;             \
  |  |  138|  5.48k|  }
  ------------------
  896|  5.48k|        emit_context, re_node->children_head, flags, &instruction_ref));
  897|       |
  898|       |    // If the child node emitted no code at all (e.g. "(k{0})+"), there is
  899|       |    // nothing to loop over, so don't emit the split instruction.
  900|  5.39k|    if (YR_ARENA_IS_NULL_REF(instruction_ref))
  ------------------
  |  |   49|  5.39k|  (memcmp(&(ref), &YR_ARENA_NULL_REF, sizeof(YR_ARENA_NULL_REF)) == 0)
  |  |  ------------------
  |  |  |  |   43|  5.39k|  (YR_ARENA_REF)           \
  |  |  |  |   44|  5.39k|  {                        \
  |  |  |  |   45|  5.39k|    UINT32_MAX, UINT32_MAX \
  |  |  |  |   46|  5.39k|  }
  |  |  ------------------
  |  |                 (memcmp(&(ref), &YR_ARENA_NULL_REF, sizeof(YR_ARENA_NULL_REF)) == 0)
  |  |  ------------------
  |  |  |  |   43|  5.39k|  (YR_ARENA_REF)           \
  |  |  |  |   44|  5.39k|  {                        \
  |  |  |  |   45|  5.39k|    UINT32_MAX, UINT32_MAX \
  |  |  |  |   46|  5.39k|  }
  |  |  ------------------
  |  |  |  Branch (49:3): [True: 240, False: 5.15k]
  |  |  ------------------
  ------------------
  901|    240|      break;
  902|       |
  903|  5.15k|    bookmark_1 = yr_arena_get_current_offset(
  904|  5.15k|        emit_context->arena, YR_RE_CODE_SECTION);
  ------------------
  |  |   64|  5.15k|#define YR_RE_CODE_SECTION          7
  ------------------
  905|       |
  906|  5.15k|    if (instruction_ref.offset - bookmark_1 < INT16_MIN)
  ------------------
  |  Branch (906:9): [True: 2, False: 5.15k]
  ------------------
  907|      2|      return ERROR_REGULAR_EXPRESSION_TOO_LARGE;
  ------------------
  |  |   92|      2|#define ERROR_REGULAR_EXPRESSION_TOO_LARGE   45
  ------------------
  908|       |
  909|  5.15k|    jmp_offset = (int16_t) (instruction_ref.offset - bookmark_1);
  910|       |
  911|  5.15k|    FAIL_ON_ERROR(_yr_emit_split(
  ------------------
  |  |  134|  5.15k|  {                               \
  |  |  135|  10.3k|    int __error = (x);            \
  |  |  ------------------
  |  |  |  Branch (135:20): [True: 4.49k, False: 665]
  |  |  ------------------
  |  |  136|  5.15k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  5.15k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 31, False: 5.12k]
  |  |  ------------------
  |  |  137|  5.15k|      return __error;             \
  |  |  138|  5.15k|  }
  ------------------
  912|  5.15k|        emit_context,
  913|  5.15k|        re_node->greedy ? RE_OPCODE_SPLIT_B : RE_OPCODE_SPLIT_A,
  914|  5.15k|        jmp_offset,
  915|  5.15k|        NULL,
  916|  5.15k|        NULL));
  917|       |
  918|  5.12k|    break;
  919|       |
  920|  3.95k|  case RE_NODE_STAR:
  ------------------
  |  |   47|  3.95k|#define RE_NODE_STAR               7
  ------------------
  |  Branch (920:3): [True: 3.95k, False: 3.19M]
  ------------------
  921|       |    // Code for e* looks like:
  922|       |    //
  923|       |    //          L1: split L1, L2
  924|       |    //              code for e
  925|       |    //              jmp L1
  926|       |    //          L2:
  927|  3.95k|    FAIL_ON_ERROR(_yr_emit_split(
  ------------------
  |  |  134|  3.95k|  {                               \
  |  |  135|  7.91k|    int __error = (x);            \
  |  |  ------------------
  |  |  |  Branch (135:20): [True: 2.74k, False: 1.21k]
  |  |  ------------------
  |  |  136|  3.95k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  3.95k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 18, False: 3.93k]
  |  |  ------------------
  |  |  137|  3.95k|      return __error;             \
  |  |  138|  3.95k|  }
  ------------------
  928|  3.95k|        emit_context,
  929|  3.95k|        re_node->greedy ? RE_OPCODE_SPLIT_A : RE_OPCODE_SPLIT_B,
  930|  3.95k|        0,
  931|  3.95k|        &instruction_ref,
  932|  3.95k|        &split_offset_ref));
  933|       |
  934|  3.93k|    FAIL_ON_ERROR(
  ------------------
  |  |  134|  3.93k|  {                               \
  |  |  135|  3.93k|    int __error = (x);            \
  |  |  136|  3.93k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  3.93k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 142, False: 3.79k]
  |  |  ------------------
  |  |  137|  3.93k|      return __error;             \
  |  |  138|  3.93k|  }
  ------------------
  935|  3.93k|        _yr_re_emit(emit_context, re_node->children_head, flags, NULL));
  936|       |
  937|  3.79k|    bookmark_1 = yr_arena_get_current_offset(
  938|  3.79k|        emit_context->arena, YR_RE_CODE_SECTION);
  ------------------
  |  |   64|  3.79k|#define YR_RE_CODE_SECTION          7
  ------------------
  939|       |
  940|  3.79k|    if (instruction_ref.offset - bookmark_1 < INT16_MIN)
  ------------------
  |  Branch (940:9): [True: 4, False: 3.79k]
  ------------------
  941|      4|      return ERROR_REGULAR_EXPRESSION_TOO_LARGE;
  ------------------
  |  |   92|      4|#define ERROR_REGULAR_EXPRESSION_TOO_LARGE   45
  ------------------
  942|       |
  943|  3.79k|    jmp_offset = (int16_t) (instruction_ref.offset - bookmark_1);
  944|       |
  945|       |    // Emit jump with offset set to 0.
  946|       |
  947|  3.79k|    FAIL_ON_ERROR(_yr_emit_inst_arg_int16(
  ------------------
  |  |  134|  3.79k|  {                               \
  |  |  135|  3.79k|    int __error = (x);            \
  |  |  136|  3.79k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  3.79k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 3.79k]
  |  |  ------------------
  |  |  137|  3.79k|      return __error;             \
  |  |  138|  3.79k|  }
  ------------------
  948|  3.79k|        emit_context, RE_OPCODE_JUMP, jmp_offset, NULL, NULL));
  949|       |
  950|  3.79k|    bookmark_1 = yr_arena_get_current_offset(
  951|  3.79k|        emit_context->arena, YR_RE_CODE_SECTION);
  ------------------
  |  |   64|  3.79k|#define YR_RE_CODE_SECTION          7
  ------------------
  952|       |
  953|  3.79k|    if (bookmark_1 - instruction_ref.offset > INT16_MAX)
  ------------------
  |  Branch (953:9): [True: 23, False: 3.76k]
  ------------------
  954|     23|      return ERROR_REGULAR_EXPRESSION_TOO_LARGE;
  ------------------
  |  |   92|     23|#define ERROR_REGULAR_EXPRESSION_TOO_LARGE   45
  ------------------
  955|       |
  956|  3.76k|    jmp_offset = (int16_t) (bookmark_1 - instruction_ref.offset);
  957|       |
  958|       |    // Update split offset.
  959|  3.76k|    split_offset_addr =
  960|  3.76k|        yr_arena_ref_to_ptr(emit_context->arena, &split_offset_ref);
  961|       |
  962|  3.76k|    memcpy(split_offset_addr, &jmp_offset, sizeof(jmp_offset));
  963|  3.76k|    break;
  964|       |
  965|  46.7k|  case RE_NODE_ALT:
  ------------------
  |  |   45|  46.7k|#define RE_NODE_ALT                5
  ------------------
  |  Branch (965:3): [True: 46.7k, False: 3.14M]
  ------------------
  966|       |    // Code for e1|e2 looks like:
  967|       |    //
  968|       |    //              split L1, L2
  969|       |    //          L1: code for e1
  970|       |    //              jmp L3
  971|       |    //          L2: code for e2
  972|       |    //          L3:
  973|       |
  974|       |    // Emit a split instruction with offset set to 0 temporarily. Offset
  975|       |    // will be updated after we know the size of the code generated for
  976|       |    // the left node (e1).
  977|       |
  978|  46.7k|    FAIL_ON_ERROR(_yr_emit_split(
  ------------------
  |  |  134|  46.7k|  {                               \
  |  |  135|  46.7k|    int __error = (x);            \
  |  |  136|  46.7k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  46.7k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 71, False: 46.6k]
  |  |  ------------------
  |  |  137|  46.7k|      return __error;             \
  |  |  138|  46.7k|  }
  ------------------
  979|  46.7k|        emit_context,
  980|  46.7k|        RE_OPCODE_SPLIT_A,
  981|  46.7k|        0,
  982|  46.7k|        &instruction_ref,
  983|  46.7k|        &split_offset_ref));
  984|       |
  985|  46.6k|    FAIL_ON_ERROR(
  ------------------
  |  |  134|  46.6k|  {                               \
  |  |  135|  46.6k|    int __error = (x);            \
  |  |  136|  46.6k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  46.6k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 2.85k, False: 43.8k]
  |  |  ------------------
  |  |  137|  46.6k|      return __error;             \
  |  |  138|  46.6k|  }
  ------------------
  986|  46.6k|        _yr_re_emit(emit_context, re_node->children_head, flags, NULL));
  987|       |
  988|       |    // Emit jump with offset set to 0.
  989|       |
  990|  43.8k|    FAIL_ON_ERROR(_yr_emit_inst_arg_int16(
  ------------------
  |  |  134|  43.8k|  {                               \
  |  |  135|  43.8k|    int __error = (x);            \
  |  |  136|  43.8k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  43.8k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 43.8k]
  |  |  ------------------
  |  |  137|  43.8k|      return __error;             \
  |  |  138|  43.8k|  }
  ------------------
  991|  43.8k|        emit_context,
  992|  43.8k|        RE_OPCODE_JUMP,
  993|  43.8k|        0,
  994|  43.8k|        &jmp_instruction_ref,
  995|  43.8k|        &jmp_offset_ref));
  996|       |
  997|  43.8k|    bookmark_1 = yr_arena_get_current_offset(
  998|  43.8k|        emit_context->arena, YR_RE_CODE_SECTION);
  ------------------
  |  |   64|  43.8k|#define YR_RE_CODE_SECTION          7
  ------------------
  999|       |
 1000|  43.8k|    if (bookmark_1 - instruction_ref.offset > INT16_MAX)
  ------------------
  |  Branch (1000:9): [True: 4, False: 43.8k]
  ------------------
 1001|      4|      return ERROR_REGULAR_EXPRESSION_TOO_LARGE;
  ------------------
  |  |   92|      4|#define ERROR_REGULAR_EXPRESSION_TOO_LARGE   45
  ------------------
 1002|       |
 1003|  43.8k|    jmp_offset = (int16_t) (bookmark_1 - instruction_ref.offset);
 1004|       |
 1005|       |    // Update split offset.
 1006|  43.8k|    split_offset_addr =
 1007|  43.8k|        yr_arena_ref_to_ptr(emit_context->arena, &split_offset_ref);
 1008|       |
 1009|  43.8k|    memcpy(split_offset_addr, &jmp_offset, sizeof(jmp_offset));
 1010|       |
 1011|  43.8k|    FAIL_ON_ERROR(
  ------------------
  |  |  134|  43.8k|  {                               \
  |  |  135|  43.8k|    int __error = (x);            \
  |  |  136|  43.8k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  43.8k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 403, False: 43.4k]
  |  |  ------------------
  |  |  137|  43.8k|      return __error;             \
  |  |  138|  43.8k|  }
  ------------------
 1012|  43.8k|        _yr_re_emit(emit_context, re_node->children_tail, flags, NULL));
 1013|       |
 1014|  43.4k|    bookmark_1 = yr_arena_get_current_offset(
 1015|  43.4k|        emit_context->arena, YR_RE_CODE_SECTION);
  ------------------
  |  |   64|  43.4k|#define YR_RE_CODE_SECTION          7
  ------------------
 1016|       |
 1017|  43.4k|    if (bookmark_1 - jmp_instruction_ref.offset > INT16_MAX)
  ------------------
  |  Branch (1017:9): [True: 1, False: 43.4k]
  ------------------
 1018|      1|      return ERROR_REGULAR_EXPRESSION_TOO_LARGE;
  ------------------
  |  |   92|      1|#define ERROR_REGULAR_EXPRESSION_TOO_LARGE   45
  ------------------
 1019|       |
 1020|  43.4k|    jmp_offset = (int16_t) (bookmark_1 - jmp_instruction_ref.offset);
 1021|       |
 1022|       |    // Update offset for jmp instruction.
 1023|  43.4k|    jmp_offset_addr = yr_arena_ref_to_ptr(emit_context->arena, &jmp_offset_ref);
 1024|       |
 1025|  43.4k|    memcpy(jmp_offset_addr, &jmp_offset, sizeof(jmp_offset));
 1026|  43.4k|    break;
 1027|       |
 1028|  8.72k|  case RE_NODE_RANGE_ANY:
  ------------------
  |  |   61|  8.72k|#define RE_NODE_RANGE_ANY          21
  ------------------
  |  Branch (1028:3): [True: 8.72k, False: 3.18M]
  ------------------
 1029|  8.72k|    repeat_any_args.min = re_node->start;
 1030|  8.72k|    repeat_any_args.max = re_node->end;
 1031|       |
 1032|  8.72k|    FAIL_ON_ERROR(_yr_emit_inst_arg_struct(
  ------------------
  |  |  134|  8.72k|  {                               \
  |  |  135|  17.4k|    int __error = (x);            \
  |  |  ------------------
  |  |  |  Branch (135:20): [True: 5.83k, False: 2.88k]
  |  |  ------------------
  |  |  136|  8.72k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  8.72k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 8.72k]
  |  |  ------------------
  |  |  137|  8.72k|      return __error;             \
  |  |  138|  8.72k|  }
  ------------------
 1033|  8.72k|        emit_context,
 1034|  8.72k|        re_node->greedy ? RE_OPCODE_REPEAT_ANY_GREEDY
 1035|  8.72k|                        : RE_OPCODE_REPEAT_ANY_UNGREEDY,
 1036|  8.72k|        &repeat_any_args,
 1037|  8.72k|        sizeof(repeat_any_args),
 1038|  8.72k|        &instruction_ref,
 1039|  8.72k|        NULL));
 1040|       |
 1041|  8.72k|    break;
 1042|       |
 1043|  94.6k|  case RE_NODE_RANGE:
  ------------------
  |  |   46|  94.6k|#define RE_NODE_RANGE              6
  ------------------
  |  Branch (1043:3): [True: 94.6k, False: 3.09M]
  ------------------
 1044|       |    // Code for e{n,m} looks like:
 1045|       |    //
 1046|       |    //            code for e              ---   prolog
 1047|       |    //            repeat_start n, m, L1   --+
 1048|       |    //        L0: code for e                |   repeat
 1049|       |    //            repeat_end n, m, L0     --+
 1050|       |    //        L1: split L2, L3            ---   split
 1051|       |    //        L2: code for e              ---   epilog
 1052|       |    //        L3:
 1053|       |    //
 1054|       |    // Not all sections (prolog, repeat, split and epilog) are generated in all
 1055|       |    // cases, it depends on the values of n and m. The following table shows
 1056|       |    // which sections are generated for the first few values of n and m.
 1057|       |    //
 1058|       |    //        n,m   prolog  repeat      split  epilog
 1059|       |    //                      (min,max)
 1060|       |    //        ---------------------------------------
 1061|       |    //        0,0     -       -           -      -
 1062|       |    //        0,1     -       -           X      X
 1063|       |    //        0,2     -       0,1         X      X
 1064|       |    //        0,3     -       0,2         X      X
 1065|       |    //        0,M     -       0,M-1       X      X
 1066|       |    //
 1067|       |    //        1,1     X       -           -      -
 1068|       |    //        1,2     X       -           X      X
 1069|       |    //        1,3     X       0,1         X      X
 1070|       |    //        1,4     X       1,2         X      X
 1071|       |    //        1,M     X       1,M-2       X      X
 1072|       |    //
 1073|       |    //        2,2     X       -           -      X
 1074|       |    //        2,3     X       1,1         X      X
 1075|       |    //        2,4     X       1,2         X      X
 1076|       |    //        2,M     X       1,M-2       X      X
 1077|       |    //
 1078|       |    //        3,3     X       1,1         -      X
 1079|       |    //        3,4     X       2,2         X      X
 1080|       |    //        3,M     X       2,M-2       X      X
 1081|       |    //
 1082|       |    //        4,4     X       2,2         -      X
 1083|       |    //        4,5     X       3,3         X      X
 1084|       |    //        4,M     X       3,M-2       X      X
 1085|       |    //
 1086|       |    // The code can't consists simply in the repeat section, the prolog and
 1087|       |    // epilog are required because we can't have atoms pointing to code inside
 1088|       |    // the repeat loop. Atoms' forwards_code will point to code in the prolog
 1089|       |    // and backwards_code will point to code in the epilog (or in prolog if
 1090|       |    // epilog wasn't generated, like in n=1,m=1)
 1091|       |
 1092|  94.6k|    emit_prolog = re_node->start > 0;
 1093|  94.6k|    emit_repeat = re_node->end > re_node->start + 1 || re_node->end > 2;
  ------------------
  |  Branch (1093:19): [True: 3.55k, False: 91.0k]
  |  Branch (1093:56): [True: 70.8k, False: 20.2k]
  ------------------
 1094|  94.6k|    emit_split = re_node->end > re_node->start;
 1095|  94.6k|    emit_epilog = re_node->end > re_node->start || re_node->end > 1;
  ------------------
  |  Branch (1095:19): [True: 11.3k, False: 83.2k]
  |  Branch (1095:52): [True: 73.6k, False: 9.57k]
  ------------------
 1096|       |
 1097|  94.6k|    if (emit_prolog)
  ------------------
  |  Branch (1097:9): [True: 82.2k, False: 12.3k]
  ------------------
 1098|  82.2k|    {
 1099|  82.2k|      FAIL_ON_ERROR(_yr_re_emit(
  ------------------
  |  |  134|  82.2k|  {                               \
  |  |  135|  82.2k|    int __error = (x);            \
  |  |  136|  82.2k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  82.2k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 358, False: 81.9k]
  |  |  ------------------
  |  |  137|  82.2k|      return __error;             \
  |  |  138|  82.2k|  }
  ------------------
 1100|  82.2k|          emit_context, re_node->children_head, flags, &instruction_ref));
 1101|       |
 1102|       |      // If the child node emitted no code at all (e.g. "(k{0}){2}"), there is
 1103|       |      // nothing to repeat, so don't emit the repeat, split or epilog sections.
 1104|  81.9k|      if (YR_ARENA_IS_NULL_REF(instruction_ref))
  ------------------
  |  |   49|  81.9k|  (memcmp(&(ref), &YR_ARENA_NULL_REF, sizeof(YR_ARENA_NULL_REF)) == 0)
  |  |  ------------------
  |  |  |  |   43|  81.9k|  (YR_ARENA_REF)           \
  |  |  |  |   44|  81.9k|  {                        \
  |  |  |  |   45|  81.9k|    UINT32_MAX, UINT32_MAX \
  |  |  |  |   46|  81.9k|  }
  |  |  ------------------
  |  |                 (memcmp(&(ref), &YR_ARENA_NULL_REF, sizeof(YR_ARENA_NULL_REF)) == 0)
  |  |  ------------------
  |  |  |  |   43|  81.9k|  (YR_ARENA_REF)           \
  |  |  |  |   44|  81.9k|  {                        \
  |  |  |  |   45|  81.9k|    UINT32_MAX, UINT32_MAX \
  |  |  |  |   46|  81.9k|  }
  |  |  ------------------
  |  |  |  Branch (49:3): [True: 403, False: 81.5k]
  |  |  ------------------
  ------------------
 1105|    403|        break;
 1106|  81.9k|    }
 1107|       |
 1108|  93.8k|    if (emit_repeat)
  ------------------
  |  Branch (1108:9): [True: 73.7k, False: 20.0k]
  ------------------
 1109|  73.7k|    {
 1110|  73.7k|      repeat_args.min = re_node->start;
 1111|  73.7k|      repeat_args.max = re_node->end;
 1112|       |
 1113|  73.7k|      if (emit_prolog)
  ------------------
  |  Branch (1113:11): [True: 70.3k, False: 3.39k]
  ------------------
 1114|  70.3k|      {
 1115|  70.3k|        repeat_args.max--;
 1116|  70.3k|        repeat_args.min--;
 1117|  70.3k|      }
 1118|       |
 1119|  73.7k|      if (emit_split)
  ------------------
  |  Branch (1119:11): [True: 3.54k, False: 70.2k]
  ------------------
 1120|  3.54k|      {
 1121|  3.54k|        repeat_args.max--;
 1122|  3.54k|      }
 1123|  70.2k|      else
 1124|  70.2k|      {
 1125|  70.2k|        repeat_args.min--;
 1126|  70.2k|        repeat_args.max--;
 1127|  70.2k|      }
 1128|       |
 1129|  73.7k|      repeat_args.offset = 0;
 1130|       |
 1131|  73.7k|      bookmark_1 = yr_arena_get_current_offset(
 1132|  73.7k|          emit_context->arena, YR_RE_CODE_SECTION);
  ------------------
  |  |   64|  73.7k|#define YR_RE_CODE_SECTION          7
  ------------------
 1133|       |
 1134|  73.7k|      FAIL_ON_ERROR(_yr_emit_inst_arg_struct(
  ------------------
  |  |  134|  73.7k|  {                               \
  |  |  135|   295k|    int __error = (x);            \
  |  |  ------------------
  |  |  |  Branch (135:20): [True: 72.4k, False: 1.33k]
  |  |  |  Branch (135:20): [True: 3.39k, False: 70.3k]
  |  |  ------------------
  |  |  136|  73.7k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  73.7k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 73.7k]
  |  |  ------------------
  |  |  137|  73.7k|      return __error;             \
  |  |  138|  73.7k|  }
  ------------------
 1135|  73.7k|          emit_context,
 1136|  73.7k|          re_node->greedy ? RE_OPCODE_REPEAT_START_GREEDY
 1137|  73.7k|                          : RE_OPCODE_REPEAT_START_UNGREEDY,
 1138|  73.7k|          &repeat_args,
 1139|  73.7k|          sizeof(repeat_args),
 1140|  73.7k|          YR_ARENA_IS_NULL_REF(instruction_ref) ? &instruction_ref : NULL,
 1141|  73.7k|          &repeat_start_args_ref));
 1142|       |
 1143|  73.7k|      bookmark_2 = yr_arena_get_current_offset(
 1144|  73.7k|          emit_context->arena, YR_RE_CODE_SECTION);
  ------------------
  |  |   64|  73.7k|#define YR_RE_CODE_SECTION          7
  ------------------
 1145|       |
 1146|  73.7k|      FAIL_ON_ERROR(_yr_re_emit(
  ------------------
  |  |  134|  73.7k|  {                               \
  |  |  135|  73.7k|    int __error = (x);            \
  |  |  136|  73.7k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  73.7k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 258, False: 73.5k]
  |  |  ------------------
  |  |  137|  73.7k|      return __error;             \
  |  |  138|  73.7k|  }
  ------------------
 1147|  73.7k|          emit_context,
 1148|  73.7k|          re_node->children_head,
 1149|  73.7k|          flags | EMIT_DONT_SET_FORWARDS_CODE | EMIT_DONT_SET_BACKWARDS_CODE,
 1150|  73.7k|          NULL));
 1151|       |
 1152|  73.5k|      bookmark_3 = yr_arena_get_current_offset(
 1153|  73.5k|          emit_context->arena, YR_RE_CODE_SECTION);
  ------------------
  |  |   64|  73.5k|#define YR_RE_CODE_SECTION          7
  ------------------
 1154|       |
 1155|  73.5k|      if (bookmark_2 - bookmark_3 < INT32_MIN)
  ------------------
  |  Branch (1155:11): [True: 3, False: 73.5k]
  ------------------
 1156|      3|        return ERROR_REGULAR_EXPRESSION_TOO_LARGE;
  ------------------
  |  |   92|      3|#define ERROR_REGULAR_EXPRESSION_TOO_LARGE   45
  ------------------
 1157|       |
 1158|  73.5k|      repeat_args.offset = (int32_t) (bookmark_2 - bookmark_3);
 1159|       |
 1160|  73.5k|      FAIL_ON_ERROR(_yr_emit_inst_arg_struct(
  ------------------
  |  |  134|  73.5k|  {                               \
  |  |  135|   147k|    int __error = (x);            \
  |  |  ------------------
  |  |  |  Branch (135:20): [True: 72.1k, False: 1.33k]
  |  |  ------------------
  |  |  136|  73.5k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  73.5k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 73.5k]
  |  |  ------------------
  |  |  137|  73.5k|      return __error;             \
  |  |  138|  73.5k|  }
  ------------------
 1161|  73.5k|          emit_context,
 1162|  73.5k|          re_node->greedy ? RE_OPCODE_REPEAT_END_GREEDY
 1163|  73.5k|                          : RE_OPCODE_REPEAT_END_UNGREEDY,
 1164|  73.5k|          &repeat_args,
 1165|  73.5k|          sizeof(repeat_args),
 1166|  73.5k|          NULL,
 1167|  73.5k|          NULL));
 1168|       |
 1169|  73.5k|      bookmark_4 = yr_arena_get_current_offset(
 1170|  73.5k|          emit_context->arena, YR_RE_CODE_SECTION);
  ------------------
  |  |   64|  73.5k|#define YR_RE_CODE_SECTION          7
  ------------------
 1171|       |
 1172|  73.5k|      repeat_start_args_addr = (RE_REPEAT_ARGS*) yr_arena_ref_to_ptr(
 1173|  73.5k|          emit_context->arena, &repeat_start_args_ref);
 1174|       |
 1175|  73.5k|      if (bookmark_4 - bookmark_1 > INT32_MAX)
  ------------------
  |  Branch (1175:11): [True: 0, False: 73.5k]
  ------------------
 1176|      0|        return ERROR_REGULAR_EXPRESSION_TOO_LARGE;
  ------------------
  |  |   92|      0|#define ERROR_REGULAR_EXPRESSION_TOO_LARGE   45
  ------------------
 1177|       |
 1178|  73.5k|      repeat_start_args_addr->offset = (int32_t) (bookmark_4 - bookmark_1);
 1179|  73.5k|    }
 1180|       |
 1181|  93.6k|    if (emit_split)
  ------------------
  |  Branch (1181:9): [True: 11.2k, False: 82.3k]
  ------------------
 1182|  11.2k|    {
 1183|  11.2k|      bookmark_1 = yr_arena_get_current_offset(
 1184|  11.2k|          emit_context->arena, YR_RE_CODE_SECTION);
  ------------------
  |  |   64|  11.2k|#define YR_RE_CODE_SECTION          7
  ------------------
 1185|       |
 1186|  11.2k|      FAIL_ON_ERROR(_yr_emit_split(
  ------------------
  |  |  134|  11.2k|  {                               \
  |  |  135|  45.1k|    int __error = (x);            \
  |  |  ------------------
  |  |  |  Branch (135:20): [True: 9.73k, False: 1.54k]
  |  |  |  Branch (135:20): [True: 7.83k, False: 3.44k]
  |  |  ------------------
  |  |  136|  11.2k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  11.2k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 28, False: 11.2k]
  |  |  ------------------
  |  |  137|  11.2k|      return __error;             \
  |  |  138|  11.2k|  }
  ------------------
 1187|  11.2k|          emit_context,
 1188|  11.2k|          re_node->greedy ? RE_OPCODE_SPLIT_A : RE_OPCODE_SPLIT_B,
 1189|  11.2k|          0,
 1190|  11.2k|          YR_ARENA_IS_NULL_REF(instruction_ref) ? &instruction_ref : NULL,
 1191|  11.2k|          &split_offset_ref));
 1192|  11.2k|    }
 1193|       |
 1194|  93.5k|    if (emit_epilog)
  ------------------
  |  Branch (1194:9): [True: 84.0k, False: 9.56k]
  ------------------
 1195|  84.0k|    {
 1196|  84.0k|      FAIL_ON_ERROR(_yr_re_emit(
  ------------------
  |  |  134|  84.0k|  {                               \
  |  |  135|   336k|    int __error = (x);            \
  |  |  ------------------
  |  |  |  Branch (135:20): [True: 72.9k, False: 11.0k]
  |  |  |  Branch (135:20): [True: 0, False: 84.0k]
  |  |  ------------------
  |  |  136|  84.0k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  84.0k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 307, False: 83.7k]
  |  |  ------------------
  |  |  137|  84.0k|      return __error;             \
  |  |  138|  84.0k|  }
  ------------------
 1197|  84.0k|          emit_context,
 1198|  84.0k|          re_node->children_head,
 1199|  84.0k|          emit_prolog ? flags | EMIT_DONT_SET_FORWARDS_CODE : flags,
 1200|  84.0k|          YR_ARENA_IS_NULL_REF(instruction_ref) ? &instruction_ref : NULL));
 1201|  83.7k|    }
 1202|       |
 1203|  93.2k|    if (emit_split)
  ------------------
  |  Branch (1203:9): [True: 11.1k, False: 82.0k]
  ------------------
 1204|  11.1k|    {
 1205|  11.1k|      bookmark_2 = yr_arena_get_current_offset(
 1206|  11.1k|          emit_context->arena, YR_RE_CODE_SECTION);
  ------------------
  |  |   64|  11.1k|#define YR_RE_CODE_SECTION          7
  ------------------
 1207|       |
 1208|  11.1k|      if (bookmark_2 - bookmark_1 > INT16_MAX)
  ------------------
  |  Branch (1208:11): [True: 1, False: 11.1k]
  ------------------
 1209|      1|        return ERROR_REGULAR_EXPRESSION_TOO_LARGE;
  ------------------
  |  |   92|      1|#define ERROR_REGULAR_EXPRESSION_TOO_LARGE   45
  ------------------
 1210|       |
 1211|  11.1k|      split_offset_addr =
 1212|  11.1k|          yr_arena_ref_to_ptr(emit_context->arena, &split_offset_ref);
 1213|       |
 1214|  11.1k|      jmp_offset = (int16_t) (bookmark_2 - bookmark_1);
 1215|       |
 1216|  11.1k|      memcpy(split_offset_addr, &jmp_offset, sizeof(jmp_offset));
 1217|  11.1k|    }
 1218|       |
 1219|  93.2k|    break;
 1220|  3.19M|  }
 1221|       |
 1222|  3.18M|  if (flags & EMIT_BACKWARDS)
  ------------------
  |  |   57|  3.18M|#define EMIT_BACKWARDS               0x01
  ------------------
  |  Branch (1222:7): [True: 1.35M, False: 1.83M]
  ------------------
 1223|  1.35M|  {
 1224|  1.35M|    if (!(flags & EMIT_DONT_SET_BACKWARDS_CODE))
  ------------------
  |  |   59|  1.35M|#define EMIT_DONT_SET_BACKWARDS_CODE 0x04
  ------------------
  |  Branch (1224:9): [True: 1.08M, False: 274k]
  ------------------
 1225|  1.08M|    {
 1226|  1.08M|      re_node->backward_code_ref.buffer_id = YR_RE_CODE_SECTION;
  ------------------
  |  |   64|  1.08M|#define YR_RE_CODE_SECTION          7
  ------------------
 1227|  1.08M|      re_node->backward_code_ref.offset = yr_arena_get_current_offset(
 1228|  1.08M|          emit_context->arena, YR_RE_CODE_SECTION);
  ------------------
  |  |   64|  1.08M|#define YR_RE_CODE_SECTION          7
  ------------------
 1229|  1.08M|    }
 1230|  1.35M|  }
 1231|  1.83M|  else
 1232|  1.83M|  {
 1233|  1.83M|    if (!(flags & EMIT_DONT_SET_FORWARDS_CODE))
  ------------------
  |  |   58|  1.83M|#define EMIT_DONT_SET_FORWARDS_CODE  0x02
  ------------------
  |  Branch (1233:9): [True: 1.18M, False: 650k]
  ------------------
 1234|  1.18M|    {
 1235|  1.18M|      re_node->forward_code_ref = instruction_ref;
 1236|  1.18M|    }
 1237|  1.83M|  }
 1238|       |
 1239|  3.18M|  if (code_ref != NULL)
  ------------------
  |  Branch (1239:7): [True: 343k, False: 2.84M]
  ------------------
 1240|   343k|    *code_ref = instruction_ref;
 1241|       |
 1242|  3.18M|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  3.18M|#define ERROR_SUCCESS 0
  ------------------
 1243|  3.19M|}

re_yyparse:
 1017|  38.9k|{
 1018|       |/* Lookahead token kind.  */
 1019|  38.9k|int yychar;
 1020|       |
 1021|       |
 1022|       |/* The semantic value of the lookahead symbol.  */
 1023|       |/* Default value used for initialization, for pacifying older GCCs
 1024|       |   or non-GCC compilers.  */
 1025|  38.9k|YY_INITIAL_VALUE (static YYSTYPE yyval_default;)
  ------------------
  |  |  426|  38.9k|# define YY_INITIAL_VALUE(Value) Value
  ------------------
 1026|  38.9k|YYSTYPE yylval YY_INITIAL_VALUE (= yyval_default);
  ------------------
  |  |  426|  38.9k|# define YY_INITIAL_VALUE(Value) Value
  ------------------
 1027|       |
 1028|       |    /* Number of syntax errors so far.  */
 1029|  38.9k|    int yynerrs = 0;
 1030|       |
 1031|  38.9k|    yy_state_fast_t yystate = 0;
 1032|       |    /* Number of tokens to shift before error messages enabled.  */
 1033|  38.9k|    int yyerrstatus = 0;
 1034|       |
 1035|       |    /* Refer to the stacks through separate pointers, to allow yyoverflow
 1036|       |       to reallocate them elsewhere.  */
 1037|       |
 1038|       |    /* Their size.  */
 1039|  38.9k|    YYPTRDIFF_T yystacksize = YYINITDEPTH;
  ------------------
  |  |  333|  38.9k|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
                  YYPTRDIFF_T yystacksize = YYINITDEPTH;
  ------------------
  |  |  933|  38.9k|# define YYINITDEPTH 200
  ------------------
 1040|       |
 1041|       |    /* The state stack: array, bottom, top.  */
 1042|  38.9k|    yy_state_t yyssa[YYINITDEPTH];
 1043|  38.9k|    yy_state_t *yyss = yyssa;
 1044|  38.9k|    yy_state_t *yyssp = yyss;
 1045|       |
 1046|       |    /* The semantic value stack: array, bottom, top.  */
 1047|  38.9k|    YYSTYPE yyvsa[YYINITDEPTH];
 1048|  38.9k|    YYSTYPE *yyvs = yyvsa;
 1049|  38.9k|    YYSTYPE *yyvsp = yyvs;
 1050|       |
 1051|  38.9k|  int yyn;
 1052|       |  /* The return value of yyparse.  */
 1053|  38.9k|  int yyresult;
 1054|       |  /* Lookahead symbol kind.  */
 1055|  38.9k|  yysymbol_kind_t yytoken = YYSYMBOL_YYEMPTY;
 1056|       |  /* The variables used to return semantic value and location from the
 1057|       |     action routines.  */
 1058|  38.9k|  YYSTYPE yyval;
 1059|       |
 1060|       |
 1061|       |
 1062|  38.9k|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
 1063|       |
 1064|       |  /* The number of symbols on the RHS of the reduced rule.
 1065|       |     Keep to zero when no symbol should be popped.  */
 1066|  38.9k|  int yylen = 0;
 1067|       |
 1068|  38.9k|  YYDPRINTF ((stderr, "Starting parse\n"));
  ------------------
  |  |  924|  38.9k|# define YYDPRINTF(Args) ((void) 0)
  ------------------
 1069|       |
 1070|  38.9k|  yychar = YYEMPTY; /* Cause a token to be read.  */
  ------------------
  |  |   50|  38.9k|#define yychar       re_yychar
  ------------------
                yychar = YYEMPTY; /* Cause a token to be read.  */
  ------------------
  |  |   73|  38.9k|#define YYEMPTY -2
  ------------------
 1071|       |
 1072|  38.9k|  goto yysetstate;
 1073|       |
 1074|       |
 1075|       |/*------------------------------------------------------------.
 1076|       || yynewstate -- push a new state, which is found in yystate.  |
 1077|       |`------------------------------------------------------------*/
 1078|  6.43M|yynewstate:
 1079|       |  /* In all cases, when you get here, the value and location stacks
 1080|       |     have just been pushed.  So pushing a state here evens the stacks.  */
 1081|  6.43M|  yyssp++;
 1082|       |
 1083|       |
 1084|       |/*--------------------------------------------------------------------.
 1085|       || yysetstate -- set current state (the top of the stack) to yystate.  |
 1086|       |`--------------------------------------------------------------------*/
 1087|  6.47M|yysetstate:
 1088|  6.47M|  YYDPRINTF ((stderr, "Entering state %d\n", yystate));
  ------------------
  |  |  924|  6.47M|# define YYDPRINTF(Args) ((void) 0)
  ------------------
 1089|  6.47M|  YY_ASSERT (0 <= yystate && yystate < YYNSTATES);
  ------------------
  |  |  449|  6.47M|#define YY_ASSERT(E) ((void) (0 && (E)))
  |  |  ------------------
  |  |  |  Branch (449:31): [Folded, False: 6.47M]
  |  |  |  Branch (449:37): [True: 0, False: 0]
  |  |  |  Branch (449:37): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1090|  6.47M|  YY_IGNORE_USELESS_CAST_BEGIN
 1091|  6.47M|  *yyssp = YY_CAST (yy_state_t, yystate);
  ------------------
  |  |  124|  6.47M|#   define YY_CAST(Type, Val) ((Type) (Val))
  ------------------
 1092|  6.47M|  YY_IGNORE_USELESS_CAST_END
 1093|  6.47M|  YY_STACK_PRINT (yyss, yyssp);
 1094|       |
 1095|  6.47M|  if (yyss + yystacksize - 1 <= yyssp)
  ------------------
  |  Branch (1095:7): [True: 168, False: 6.47M]
  ------------------
 1096|       |#if !defined yyoverflow && !defined YYSTACK_RELOCATE
 1097|       |    YYNOMEM;
 1098|       |#else
 1099|    168|    {
 1100|       |      /* Get the current used size of the three stacks, in elements.  */
 1101|    168|      YYPTRDIFF_T yysize = yyssp - yyss + 1;
  ------------------
  |  |  333|    168|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  ------------------
 1102|       |
 1103|       |# if defined yyoverflow
 1104|       |      {
 1105|       |        /* Give user a chance to reallocate the stack.  Use copies of
 1106|       |           these so that the &'s don't force the real ones into
 1107|       |           memory.  */
 1108|       |        yy_state_t *yyss1 = yyss;
 1109|       |        YYSTYPE *yyvs1 = yyvs;
 1110|       |
 1111|       |        /* Each stack pointer address is followed by the size of the
 1112|       |           data in use in that stack, in bytes.  This used to be a
 1113|       |           conditional around just the two extra args, but that might
 1114|       |           be undefined if yyoverflow is a macro.  */
 1115|       |        yyoverflow (YY_("memory exhausted"),
 1116|       |                    &yyss1, yysize * YYSIZEOF (*yyssp),
 1117|       |                    &yyvs1, yysize * YYSIZEOF (*yyvsp),
 1118|       |                    &yystacksize);
 1119|       |        yyss = yyss1;
 1120|       |        yyvs = yyvs1;
 1121|       |      }
 1122|       |# else /* defined YYSTACK_RELOCATE */
 1123|       |      /* Extend the stack our own way.  */
 1124|    168|      if (YYMAXDEPTH <= yystacksize)
  ------------------
  |  |  944|    168|# define YYMAXDEPTH 10000
  ------------------
  |  Branch (1124:11): [True: 0, False: 168]
  ------------------
 1125|      0|        YYNOMEM;
  ------------------
  |  |  775|      0|#define YYNOMEM         goto yyexhaustedlab
  ------------------
 1126|    168|      yystacksize *= 2;
 1127|    168|      if (YYMAXDEPTH < yystacksize)
  ------------------
  |  |  944|    168|# define YYMAXDEPTH 10000
  ------------------
  |  Branch (1127:11): [True: 1, False: 167]
  ------------------
 1128|      1|        yystacksize = YYMAXDEPTH;
  ------------------
  |  |  944|      1|# define YYMAXDEPTH 10000
  ------------------
 1129|       |
 1130|    168|      {
 1131|    168|        yy_state_t *yyss1 = yyss;
 1132|    168|        union yyalloc *yyptr =
 1133|    168|          YY_CAST (union yyalloc *,
  ------------------
  |  |  124|    168|#   define YY_CAST(Type, Val) ((Type) (Val))
  ------------------
 1134|    168|                   YYSTACK_ALLOC (YY_CAST (YYSIZE_T, YYSTACK_BYTES (yystacksize))));
 1135|    168|        if (! yyptr)
  ------------------
  |  Branch (1135:13): [True: 0, False: 168]
  ------------------
 1136|      0|          YYNOMEM;
  ------------------
  |  |  775|      0|#define YYNOMEM         goto yyexhaustedlab
  ------------------
 1137|    168|        YYSTACK_RELOCATE (yyss_alloc, yyss);
  ------------------
  |  |  546|    168|    do                                                                  \
  |  |  547|    168|      {                                                                 \
  |  |  548|    168|        YYPTRDIFF_T yynewbytes;                                         \
  |  |  ------------------
  |  |  |  |  333|    168|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  |  |  ------------------
  |  |  549|    168|        YYCOPY (&yyptr->Stack_alloc, Stack, yysize);                    \
  |  |  ------------------
  |  |  |  |  564|    168|      __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  124|    168|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|    168|        Stack = &yyptr->Stack_alloc;                                    \
  |  |  551|    168|        yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  |  366|    168|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  124|    168|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  |  530|    168|# define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  366|    168|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  124|    168|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  552|    168|        yyptr += yynewbytes / YYSIZEOF (*yyptr);                        \
  |  |  ------------------
  |  |  |  |  366|    168|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  124|    168|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  553|    168|      }                                                                 \
  |  |  554|    168|    while (0)
  |  |  ------------------
  |  |  |  Branch (554:12): [Folded, False: 168]
  |  |  ------------------
  ------------------
 1138|    168|        YYSTACK_RELOCATE (yyvs_alloc, yyvs);
  ------------------
  |  |  546|    168|    do                                                                  \
  |  |  547|    168|      {                                                                 \
  |  |  548|    168|        YYPTRDIFF_T yynewbytes;                                         \
  |  |  ------------------
  |  |  |  |  333|    168|#  define YYPTRDIFF_T __PTRDIFF_TYPE__
  |  |  ------------------
  |  |  549|    168|        YYCOPY (&yyptr->Stack_alloc, Stack, yysize);                    \
  |  |  ------------------
  |  |  |  |  564|    168|      __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src)))
  |  |  |  |  ------------------
  |  |  |  |  |  |  124|    168|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  550|    168|        Stack = &yyptr->Stack_alloc;                                    \
  |  |  551|    168|        yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  |  366|    168|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  124|    168|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       yynewbytes = yystacksize * YYSIZEOF (*Stack) + YYSTACK_GAP_MAXIMUM; \
  |  |  ------------------
  |  |  |  |  530|    168|# define YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  366|    168|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  124|    168|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  552|    168|        yyptr += yynewbytes / YYSIZEOF (*yyptr);                        \
  |  |  ------------------
  |  |  |  |  366|    168|#define YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X))
  |  |  |  |  ------------------
  |  |  |  |  |  |  124|    168|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  553|    168|      }                                                                 \
  |  |  554|    168|    while (0)
  |  |  ------------------
  |  |  |  Branch (554:12): [Folded, False: 168]
  |  |  ------------------
  ------------------
 1139|    168|#  undef YYSTACK_RELOCATE
 1140|    168|        if (yyss1 != yyssa)
  ------------------
  |  Branch (1140:13): [True: 89, False: 79]
  ------------------
 1141|     89|          YYSTACK_FREE (yyss1);
  ------------------
  |  |  491|     89|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  |   90|     89|#define YYFREE yr_free
  |  |  ------------------
  ------------------
 1142|    168|      }
 1143|      0|# endif
 1144|       |
 1145|      0|      yyssp = yyss + yysize - 1;
 1146|    168|      yyvsp = yyvs + yysize - 1;
 1147|       |
 1148|    168|      YY_IGNORE_USELESS_CAST_BEGIN
 1149|    168|      YYDPRINTF ((stderr, "Stack size increased to %ld\n",
  ------------------
  |  |  924|    168|# define YYDPRINTF(Args) ((void) 0)
  ------------------
 1150|    168|                  YY_CAST (long, yystacksize)));
 1151|    168|      YY_IGNORE_USELESS_CAST_END
 1152|       |
 1153|    168|      if (yyss + yystacksize - 1 <= yyssp)
  ------------------
  |  Branch (1153:11): [True: 0, False: 168]
  ------------------
 1154|      0|        YYABORT;
  ------------------
  |  |  773|      0|#define YYABORT         goto yyabortlab
  ------------------
 1155|    168|    }
 1156|  6.47M|#endif /* !defined yyoverflow && !defined YYSTACK_RELOCATE */
 1157|       |
 1158|       |
 1159|  6.47M|  if (yystate == YYFINAL)
  ------------------
  |  |  579|  6.47M|#define YYFINAL  22
  ------------------
  |  Branch (1159:7): [True: 38.8k, False: 6.43M]
  ------------------
 1160|  38.8k|    YYACCEPT;
  ------------------
  |  |  772|  38.8k|#define YYACCEPT        goto yyacceptlab
  ------------------
 1161|       |
 1162|  6.43M|  goto yybackup;
 1163|       |
 1164|       |
 1165|       |/*-----------.
 1166|       || yybackup.  |
 1167|       |`-----------*/
 1168|  6.43M|yybackup:
 1169|       |  /* Do appropriate processing given the current state.  Read a
 1170|       |     lookahead token if we need one and don't already have one.  */
 1171|       |
 1172|       |  /* First try to decide what to do without reference to lookahead token.  */
 1173|  6.43M|  yyn = yypact[yystate];
 1174|  6.43M|  if (yypact_value_is_default (yyn))
  ------------------
  |  |  677|  6.43M|  ((Yyn) == YYPACT_NINF)
  |  |  ------------------
  |  |  |  |  674|  6.43M|#define YYPACT_NINF (-12)
  |  |  ------------------
  |  |  |  Branch (677:3): [True: 3.04M, False: 3.39M]
  |  |  ------------------
  ------------------
 1175|  3.04M|    goto yydefault;
 1176|       |
 1177|       |  /* Not known => get a lookahead token if don't already have one.  */
 1178|       |
 1179|       |  /* YYCHAR is either empty, or end-of-input, or a valid lookahead.  */
 1180|  3.39M|  if (yychar == YYEMPTY)
  ------------------
  |  |   50|  3.39M|#define yychar       re_yychar
  ------------------
                if (yychar == YYEMPTY)
  ------------------
  |  |   73|  3.39M|#define YYEMPTY -2
  ------------------
  |  Branch (1180:7): [True: 1.73M, False: 1.66M]
  ------------------
 1181|  1.73M|    {
 1182|  1.73M|      YYDPRINTF ((stderr, "Reading a token\n"));
  ------------------
  |  |  924|  1.73M|# define YYDPRINTF(Args) ((void) 0)
  ------------------
 1183|  1.73M|      yychar = yylex (&yylval, yyscanner, lex_env);
  ------------------
  |  |   50|  1.73M|#define yychar       re_yychar
  ------------------
                    yychar = yylex (&yylval, yyscanner, lex_env);
  ------------------
  |  |   46|  1.73M|#define yylex        re_yylex
  ------------------
 1184|  1.73M|    }
 1185|       |
 1186|  3.39M|  if (yychar <= YYEOF)
  ------------------
  |  |   50|  3.39M|#define yychar       re_yychar
  ------------------
                if (yychar <= YYEOF)
  ------------------
  |  |   74|  3.39M|#define YYEOF 0
  ------------------
  |  Branch (1186:7): [True: 151k, False: 3.24M]
  ------------------
 1187|   151k|    {
 1188|   151k|      yychar = YYEOF;
  ------------------
  |  |   50|   151k|#define yychar       re_yychar
  ------------------
                    yychar = YYEOF;
  ------------------
  |  |   74|   151k|#define YYEOF 0
  ------------------
 1189|   151k|      yytoken = YYSYMBOL_YYEOF;
 1190|   151k|      YYDPRINTF ((stderr, "Now at end of input.\n"));
  ------------------
  |  |  924|   151k|# define YYDPRINTF(Args) ((void) 0)
  ------------------
 1191|   151k|    }
 1192|  3.24M|  else if (yychar == YYerror)
  ------------------
  |  |   50|  3.24M|#define yychar       re_yychar
  ------------------
                else if (yychar == YYerror)
  ------------------
  |  |   75|  3.24M|#define YYerror 256
  ------------------
  |  Branch (1192:12): [True: 0, False: 3.24M]
  ------------------
 1193|      0|    {
 1194|       |      /* The scanner already issued an error message, process directly
 1195|       |         to error recovery.  But do not keep the error token as
 1196|       |         lookahead, it is too special and may lead us to an endless
 1197|       |         loop in error recovery. */
 1198|      0|      yychar = YYUNDEF;
  ------------------
  |  |   50|      0|#define yychar       re_yychar
  ------------------
                    yychar = YYUNDEF;
  ------------------
  |  |   76|      0|#define YYUNDEF 257
  ------------------
 1199|      0|      yytoken = YYSYMBOL_YYerror;
 1200|      0|      goto yyerrlab1;
 1201|      0|    }
 1202|  3.24M|  else
 1203|  3.24M|    {
 1204|  3.24M|      yytoken = YYTRANSLATE (yychar);
  ------------------
  |  |  599|  3.24M|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  |  593|  3.24M|#define YYMAXUTOK   269
  |  |  ------------------
  |  |  |  Branch (599:4): [True: 3.24M, False: 0]
  |  |  |  Branch (599:18): [True: 3.24M, False: 0]
  |  |  ------------------
  |  |  600|  3.24M|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  124|  3.24M|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  ------------------
  |  |  601|  3.24M|   : YYSYMBOL_YYUNDEF)
  ------------------
 1205|  3.24M|      YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
 1206|  3.24M|    }
 1207|       |
 1208|       |  /* If the proper action on seeing token YYTOKEN is to reduce or to
 1209|       |     detect an error, take that action.  */
 1210|  3.39M|  yyn += yytoken;
 1211|  3.39M|  if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
  ------------------
  |  |  581|  3.32M|#define YYLAST   45
  ------------------
  |  Branch (1211:7): [True: 73.7k, False: 3.32M]
  |  Branch (1211:18): [True: 440, False: 3.32M]
  |  Branch (1211:34): [True: 1.59M, False: 1.72M]
  ------------------
 1212|  1.67M|    goto yydefault;
 1213|  1.72M|  yyn = yytable[yyn];
 1214|  1.72M|  if (yyn <= 0)
  ------------------
  |  Branch (1214:7): [True: 0, False: 1.72M]
  ------------------
 1215|      0|    {
 1216|      0|      if (yytable_value_is_error (yyn))
  ------------------
  |  |  682|      0|  0
  |  |  ------------------
  |  |  |  Branch (682:3): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1217|      0|        goto yyerrlab;
 1218|      0|      yyn = -yyn;
 1219|      0|      goto yyreduce;
 1220|      0|    }
 1221|       |
 1222|       |  /* Count tokens shifted since error; after three, turn off error
 1223|       |     status.  */
 1224|  1.72M|  if (yyerrstatus)
  ------------------
  |  Branch (1224:7): [True: 1.33k, False: 1.72M]
  ------------------
 1225|  1.33k|    yyerrstatus--;
 1226|       |
 1227|       |  /* Shift the lookahead token.  */
 1228|  1.72M|  YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
 1229|  1.72M|  yystate = yyn;
 1230|  1.72M|  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 1231|  1.72M|  *++yyvsp = yylval;
 1232|  1.72M|  YY_IGNORE_MAYBE_UNINITIALIZED_END
 1233|       |
 1234|       |  /* Discard the shifted token.  */
 1235|  1.72M|  yychar = YYEMPTY;
  ------------------
  |  |   50|  1.72M|#define yychar       re_yychar
  ------------------
                yychar = YYEMPTY;
  ------------------
  |  |   73|  1.72M|#define YYEMPTY -2
  ------------------
 1236|  1.72M|  goto yynewstate;
 1237|       |
 1238|       |
 1239|       |/*-----------------------------------------------------------.
 1240|       || yydefault -- do the default action for the current state.  |
 1241|       |`-----------------------------------------------------------*/
 1242|  4.71M|yydefault:
 1243|  4.71M|  yyn = yydefact[yystate];
 1244|  4.71M|  if (yyn == 0)
  ------------------
  |  Branch (1244:7): [True: 6.33k, False: 4.70M]
  ------------------
 1245|  6.33k|    goto yyerrlab;
 1246|  4.70M|  goto yyreduce;
 1247|       |
 1248|       |
 1249|       |/*-----------------------------.
 1250|       || yyreduce -- do a reduction.  |
 1251|       |`-----------------------------*/
 1252|  4.70M|yyreduce:
 1253|       |  /* yyn is the number of a rule to reduce with.  */
 1254|  4.70M|  yylen = yyr2[yyn];
 1255|       |
 1256|       |  /* If YYLEN is nonzero, implement the default value of the action:
 1257|       |     '$$ = $1'.
 1258|       |
 1259|       |     Otherwise, the following line sets YYVAL to garbage.
 1260|       |     This behavior is undocumented and Bison
 1261|       |     users should not rely upon it.  Assigning to YYVAL
 1262|       |     unconditionally makes the parser a bit smaller, and it avoids a
 1263|       |     GCC warning that YYVAL may be used uninitialized.  */
 1264|  4.70M|  yyval = yyvsp[1-yylen];
 1265|       |
 1266|       |
 1267|  4.70M|  YY_REDUCE_PRINT (yyn);
 1268|  4.70M|  switch (yyn)
 1269|  4.70M|    {
 1270|  37.7k|  case 2: /* re: alternative  */
  ------------------
  |  Branch (1270:3): [True: 37.7k, False: 4.66M]
  ------------------
 1271|  37.7k|#line 107 "re_grammar.y"
 1272|  37.7k|      {
 1273|  37.7k|        RE_AST* re_ast = yyget_extra(yyscanner);
  ------------------
  |  |   53|  37.7k|#define yyget_extra  re_yyget_extra
  ------------------
 1274|  37.7k|        re_ast->root_node = (yyvsp[0].re_node);
 1275|  37.7k|      }
 1276|  37.7k|#line 1269 "re_grammar.c"
 1277|  37.7k|    break;
 1278|       |
 1279|  73.5k|  case 4: /* alternative: concatenation  */
  ------------------
  |  Branch (1279:3): [True: 73.5k, False: 4.63M]
  ------------------
 1280|  73.5k|#line 116 "re_grammar.y"
 1281|  73.5k|      {
 1282|  73.5k|        (yyval.re_node) = (yyvsp[0].re_node);
 1283|  73.5k|      }
 1284|  73.5k|#line 1277 "re_grammar.c"
 1285|  73.5k|    break;
 1286|       |
 1287|  13.1k|  case 5: /* alternative: alternative '|' concatenation  */
  ------------------
  |  Branch (1287:3): [True: 13.1k, False: 4.69M]
  ------------------
 1288|  13.1k|#line 128 "re_grammar.y"
 1289|  13.1k|      {
 1290|  13.1k|        mark_as_not_fast_regexp();
  ------------------
  |  |   93|  13.1k|    ((RE_AST*) yyget_extra(yyscanner))->flags &= ~RE_FLAGS_FAST_REGEXP
  |  |  ------------------
  |  |  |  |   53|  13.1k|#define yyget_extra  re_yyget_extra
  |  |  ------------------
  |  |                   ((RE_AST*) yyget_extra(yyscanner))->flags &= ~RE_FLAGS_FAST_REGEXP
  |  |  ------------------
  |  |  |  |   94|  13.1k|#define RE_FLAGS_FAST_REGEXP 0x02
  |  |  ------------------
  ------------------
 1291|       |
 1292|  13.1k|        fail_if_too_many_ast_levels({
  ------------------
  |  |  109|  13.1k|    if (((RE_AST*) yyget_extra(yyscanner))->levels++ > RE_MAX_AST_LEVELS) \
  |  |  ------------------
  |  |  |  |   53|  13.1k|#define yyget_extra  re_yyget_extra
  |  |  ------------------
  |  |                   if (((RE_AST*) yyget_extra(yyscanner))->levels++ > RE_MAX_AST_LEVELS) \
  |  |  ------------------
  |  |  |  |  195|  13.1k|#define RE_MAX_AST_LEVELS 2000
  |  |  ------------------
  |  |  |  Branch (109:9): [True: 4, False: 13.1k]
  |  |  ------------------
  |  |  110|  13.1k|    { \
  |  |  111|      4|      { cleanup_code } \
  |  |  112|      4|      lex_env->last_error = ERROR_REGULAR_EXPRESSION_TOO_COMPLEX; \
  |  |  ------------------
  |  |  |  |   96|      4|#define ERROR_REGULAR_EXPRESSION_TOO_COMPLEX 49
  |  |  ------------------
  |  |  113|      4|      YYABORT; \
  |  |  ------------------
  |  |  |  |  773|      4|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  114|      4|    }
  ------------------
 1293|  13.1k|          yr_re_node_destroy((yyvsp[-2].re_node));
 1294|  13.1k|          yr_re_node_destroy((yyvsp[0].re_node));
 1295|  13.1k|        });
 1296|       |
 1297|  13.1k|        (yyval.re_node) = yr_re_node_create(RE_NODE_ALT);
  ------------------
  |  |   45|  13.1k|#define RE_NODE_ALT                5
  ------------------
 1298|       |
 1299|  13.1k|        destroy_node_if((yyval.re_node) == NULL, (yyvsp[-2].re_node));
  ------------------
  |  |  103|  13.1k|    if (x) \
  |  |  ------------------
  |  |  |  Branch (103:9): [True: 0, False: 13.1k]
  |  |  ------------------
  |  |  104|  13.1k|    { \
  |  |  105|      0|      yr_re_node_destroy(node); \
  |  |  106|      0|    } \
  ------------------
 1300|  13.1k|        destroy_node_if((yyval.re_node) == NULL, (yyvsp[0].re_node));
  ------------------
  |  |  103|  13.1k|    if (x) \
  |  |  ------------------
  |  |  |  Branch (103:9): [True: 0, False: 13.1k]
  |  |  ------------------
  |  |  104|  13.1k|    { \
  |  |  105|      0|      yr_re_node_destroy(node); \
  |  |  106|      0|    } \
  ------------------
 1301|       |
 1302|  13.1k|        fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |   96|  13.1k|    if (x) \
  |  |  ------------------
  |  |  |  Branch (96:9): [True: 0, False: 13.1k]
  |  |  ------------------
  |  |   97|  13.1k|    { \
  |  |   98|      0|      lex_env->last_error = error; \
  |  |   99|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  773|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  100|      0|    } \
  ------------------
 1303|       |
 1304|  13.1k|        yr_re_node_append_child((yyval.re_node), (yyvsp[-2].re_node));
 1305|  13.1k|        yr_re_node_append_child((yyval.re_node), (yyvsp[0].re_node));
 1306|  13.1k|      }
 1307|      0|#line 1308 "re_grammar.c"
 1308|      0|    break;
 1309|       |
 1310|  53.5k|  case 6: /* alternative: alternative '|'  */
  ------------------
  |  Branch (1310:3): [True: 53.5k, False: 4.65M]
  ------------------
 1311|  53.5k|#line 147 "re_grammar.y"
 1312|  53.5k|      {
 1313|  53.5k|        RE_NODE* node;
 1314|       |
 1315|  53.5k|        mark_as_not_fast_regexp();
  ------------------
  |  |   93|  53.5k|    ((RE_AST*) yyget_extra(yyscanner))->flags &= ~RE_FLAGS_FAST_REGEXP
  |  |  ------------------
  |  |  |  |   53|  53.5k|#define yyget_extra  re_yyget_extra
  |  |  ------------------
  |  |                   ((RE_AST*) yyget_extra(yyscanner))->flags &= ~RE_FLAGS_FAST_REGEXP
  |  |  ------------------
  |  |  |  |   94|  53.5k|#define RE_FLAGS_FAST_REGEXP 0x02
  |  |  ------------------
  ------------------
 1316|       |
 1317|  53.5k|        fail_if_too_many_ast_levels({
  ------------------
  |  |  109|  53.5k|    if (((RE_AST*) yyget_extra(yyscanner))->levels++ > RE_MAX_AST_LEVELS) \
  |  |  ------------------
  |  |  |  |   53|  53.5k|#define yyget_extra  re_yyget_extra
  |  |  ------------------
  |  |                   if (((RE_AST*) yyget_extra(yyscanner))->levels++ > RE_MAX_AST_LEVELS) \
  |  |  ------------------
  |  |  |  |  195|  53.5k|#define RE_MAX_AST_LEVELS 2000
  |  |  ------------------
  |  |  |  Branch (109:9): [True: 11, False: 53.5k]
  |  |  ------------------
  |  |  110|  53.5k|    { \
  |  |  111|     11|      { cleanup_code } \
  |  |  112|     11|      lex_env->last_error = ERROR_REGULAR_EXPRESSION_TOO_COMPLEX; \
  |  |  ------------------
  |  |  |  |   96|     11|#define ERROR_REGULAR_EXPRESSION_TOO_COMPLEX 49
  |  |  ------------------
  |  |  113|     11|      YYABORT; \
  |  |  ------------------
  |  |  |  |  773|     11|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  114|     11|    }
  ------------------
 1318|  53.5k|          yr_re_node_destroy((yyvsp[-1].re_node));
 1319|  53.5k|        });
 1320|       |
 1321|  53.5k|        node = yr_re_node_create(RE_NODE_EMPTY);
  ------------------
  |  |   56|  53.5k|#define RE_NODE_EMPTY              16
  ------------------
 1322|       |
 1323|  53.5k|        destroy_node_if(node == NULL, (yyvsp[-1].re_node));
  ------------------
  |  |  103|  53.5k|    if (x) \
  |  |  ------------------
  |  |  |  Branch (103:9): [True: 0, False: 53.5k]
  |  |  ------------------
  |  |  104|  53.5k|    { \
  |  |  105|      0|      yr_re_node_destroy(node); \
  |  |  106|      0|    } \
  ------------------
 1324|  53.5k|        fail_if(node == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |   96|  53.5k|    if (x) \
  |  |  ------------------
  |  |  |  Branch (96:9): [True: 0, False: 53.5k]
  |  |  ------------------
  |  |   97|  53.5k|    { \
  |  |   98|      0|      lex_env->last_error = error; \
  |  |   99|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  773|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  100|      0|    } \
  ------------------
 1325|       |
 1326|  53.5k|        (yyval.re_node) = yr_re_node_create(RE_NODE_ALT);
  ------------------
  |  |   45|  53.5k|#define RE_NODE_ALT                5
  ------------------
 1327|       |
 1328|  53.5k|        destroy_node_if((yyval.re_node) == NULL, node);
  ------------------
  |  |  103|  53.5k|    if (x) \
  |  |  ------------------
  |  |  |  Branch (103:9): [True: 0, False: 53.5k]
  |  |  ------------------
  |  |  104|  53.5k|    { \
  |  |  105|      0|      yr_re_node_destroy(node); \
  |  |  106|      0|    } \
  ------------------
 1329|  53.5k|        destroy_node_if((yyval.re_node) == NULL, (yyvsp[-1].re_node));
  ------------------
  |  |  103|  53.5k|    if (x) \
  |  |  ------------------
  |  |  |  Branch (103:9): [True: 0, False: 53.5k]
  |  |  ------------------
  |  |  104|  53.5k|    { \
  |  |  105|      0|      yr_re_node_destroy(node); \
  |  |  106|      0|    } \
  ------------------
 1330|       |
 1331|  53.5k|        fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |   96|  53.5k|    if (x) \
  |  |  ------------------
  |  |  |  Branch (96:9): [True: 0, False: 53.5k]
  |  |  ------------------
  |  |   97|  53.5k|    { \
  |  |   98|      0|      lex_env->last_error = error; \
  |  |   99|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  773|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  100|      0|    } \
  ------------------
 1332|       |
 1333|  53.5k|        yr_re_node_append_child((yyval.re_node), (yyvsp[-1].re_node));
 1334|  53.5k|        yr_re_node_append_child((yyval.re_node), node);
 1335|  53.5k|      }
 1336|      0|#line 1337 "re_grammar.c"
 1337|      0|    break;
 1338|       |
 1339|  88.2k|  case 7: /* concatenation: repeat  */
  ------------------
  |  Branch (1339:3): [True: 88.2k, False: 4.61M]
  ------------------
 1340|  88.2k|#line 158 "re_grammar.y"
 1341|  88.2k|      {
 1342|  88.2k|        (yyval.re_node) = yr_re_node_create(RE_NODE_CONCAT);
  ------------------
  |  |   44|  88.2k|#define RE_NODE_CONCAT             4
  ------------------
 1343|       |
 1344|  88.2k|        destroy_node_if((yyval.re_node) == NULL, (yyvsp[0].re_node));
  ------------------
  |  |  103|  88.2k|    if (x) \
  |  |  ------------------
  |  |  |  Branch (103:9): [True: 0, False: 88.2k]
  |  |  ------------------
  |  |  104|  88.2k|    { \
  |  |  105|      0|      yr_re_node_destroy(node); \
  |  |  106|      0|    } \
  ------------------
 1345|  88.2k|        fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |   96|  88.2k|    if (x) \
  |  |  ------------------
  |  |  |  Branch (96:9): [True: 0, False: 88.2k]
  |  |  ------------------
  |  |   97|  88.2k|    { \
  |  |   98|      0|      lex_env->last_error = error; \
  |  |   99|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  773|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  100|      0|    } \
  ------------------
 1346|       |
 1347|  88.2k|        yr_re_node_append_child((yyval.re_node), (yyvsp[0].re_node));
 1348|  88.2k|      }
 1349|      0|#line 1333 "re_grammar.c"
 1350|      0|    break;
 1351|       |
 1352|  1.42M|  case 8: /* concatenation: concatenation repeat  */
  ------------------
  |  Branch (1352:3): [True: 1.42M, False: 3.28M]
  ------------------
 1353|  1.42M|#line 167 "re_grammar.y"
 1354|  1.42M|      {
 1355|  1.42M|        yr_re_node_append_child((yyvsp[-1].re_node), (yyvsp[0].re_node));
 1356|  1.42M|        (yyval.re_node) = (yyvsp[-1].re_node);
 1357|  1.42M|      }
 1358|  1.42M|#line 1342 "re_grammar.c"
 1359|  1.42M|    break;
 1360|       |
 1361|    802|  case 9: /* repeat: single '*'  */
  ------------------
  |  Branch (1361:3): [True: 802, False: 4.70M]
  ------------------
 1362|    802|#line 175 "re_grammar.y"
 1363|    802|      {
 1364|    802|        RE_AST* re_ast;
 1365|       |
 1366|    802|        mark_as_not_fast_regexp();
  ------------------
  |  |   93|    802|    ((RE_AST*) yyget_extra(yyscanner))->flags &= ~RE_FLAGS_FAST_REGEXP
  |  |  ------------------
  |  |  |  |   53|    802|#define yyget_extra  re_yyget_extra
  |  |  ------------------
  |  |                   ((RE_AST*) yyget_extra(yyscanner))->flags &= ~RE_FLAGS_FAST_REGEXP
  |  |  ------------------
  |  |  |  |   94|    802|#define RE_FLAGS_FAST_REGEXP 0x02
  |  |  ------------------
  ------------------
 1367|       |
 1368|    802|        re_ast = yyget_extra(yyscanner);
  ------------------
  |  |   53|    802|#define yyget_extra  re_yyget_extra
  ------------------
 1369|    802|        re_ast->flags |= RE_FLAGS_GREEDY;
  ------------------
  |  |  101|    802|#define RE_FLAGS_GREEDY      0x400
  ------------------
 1370|       |
 1371|    802|        (yyval.re_node) = yr_re_node_create(RE_NODE_STAR);
  ------------------
  |  |   47|    802|#define RE_NODE_STAR               7
  ------------------
 1372|       |
 1373|    802|        destroy_node_if((yyval.re_node) == NULL, (yyvsp[-1].re_node));
  ------------------
  |  |  103|    802|    if (x) \
  |  |  ------------------
  |  |  |  Branch (103:9): [True: 0, False: 802]
  |  |  ------------------
  |  |  104|    802|    { \
  |  |  105|      0|      yr_re_node_destroy(node); \
  |  |  106|      0|    } \
  ------------------
 1374|    802|        fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |   96|    802|    if (x) \
  |  |  ------------------
  |  |  |  Branch (96:9): [True: 0, False: 802]
  |  |  ------------------
  |  |   97|    802|    { \
  |  |   98|      0|      lex_env->last_error = error; \
  |  |   99|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  773|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  100|      0|    } \
  ------------------
 1375|       |
 1376|    802|        yr_re_node_append_child((yyval.re_node), (yyvsp[-1].re_node));
 1377|    802|      }
 1378|      0|#line 1362 "re_grammar.c"
 1379|      0|    break;
 1380|       |
 1381|    227|  case 10: /* repeat: single '*' '?'  */
  ------------------
  |  Branch (1381:3): [True: 227, False: 4.70M]
  ------------------
 1382|    227|#line 191 "re_grammar.y"
 1383|    227|      {
 1384|    227|        RE_AST* re_ast;
 1385|       |
 1386|    227|        mark_as_not_fast_regexp();
  ------------------
  |  |   93|    227|    ((RE_AST*) yyget_extra(yyscanner))->flags &= ~RE_FLAGS_FAST_REGEXP
  |  |  ------------------
  |  |  |  |   53|    227|#define yyget_extra  re_yyget_extra
  |  |  ------------------
  |  |                   ((RE_AST*) yyget_extra(yyscanner))->flags &= ~RE_FLAGS_FAST_REGEXP
  |  |  ------------------
  |  |  |  |   94|    227|#define RE_FLAGS_FAST_REGEXP 0x02
  |  |  ------------------
  ------------------
 1387|       |
 1388|    227|        re_ast = yyget_extra(yyscanner);
  ------------------
  |  |   53|    227|#define yyget_extra  re_yyget_extra
  ------------------
 1389|    227|        re_ast->flags |= RE_FLAGS_UNGREEDY;
  ------------------
  |  |  102|    227|#define RE_FLAGS_UNGREEDY    0x800
  ------------------
 1390|       |
 1391|    227|        (yyval.re_node) = yr_re_node_create(RE_NODE_STAR);
  ------------------
  |  |   47|    227|#define RE_NODE_STAR               7
  ------------------
 1392|       |
 1393|    227|        destroy_node_if((yyval.re_node) == NULL, (yyvsp[-2].re_node));
  ------------------
  |  |  103|    227|    if (x) \
  |  |  ------------------
  |  |  |  Branch (103:9): [True: 0, False: 227]
  |  |  ------------------
  |  |  104|    227|    { \
  |  |  105|      0|      yr_re_node_destroy(node); \
  |  |  106|      0|    } \
  ------------------
 1394|    227|        fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |   96|    227|    if (x) \
  |  |  ------------------
  |  |  |  Branch (96:9): [True: 0, False: 227]
  |  |  ------------------
  |  |   97|    227|    { \
  |  |   98|      0|      lex_env->last_error = error; \
  |  |   99|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  773|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  100|      0|    } \
  ------------------
 1395|       |
 1396|    227|        yr_re_node_append_child((yyval.re_node), (yyvsp[-2].re_node));
 1397|       |
 1398|    227|        (yyval.re_node)->greedy = false;
 1399|    227|      }
 1400|      0|#line 1384 "re_grammar.c"
 1401|      0|    break;
 1402|       |
 1403|  1.67k|  case 11: /* repeat: single '+'  */
  ------------------
  |  Branch (1403:3): [True: 1.67k, False: 4.70M]
  ------------------
 1404|  1.67k|#line 209 "re_grammar.y"
 1405|  1.67k|      {
 1406|  1.67k|        RE_AST* re_ast;
 1407|       |
 1408|  1.67k|        mark_as_not_fast_regexp();
  ------------------
  |  |   93|  1.67k|    ((RE_AST*) yyget_extra(yyscanner))->flags &= ~RE_FLAGS_FAST_REGEXP
  |  |  ------------------
  |  |  |  |   53|  1.67k|#define yyget_extra  re_yyget_extra
  |  |  ------------------
  |  |                   ((RE_AST*) yyget_extra(yyscanner))->flags &= ~RE_FLAGS_FAST_REGEXP
  |  |  ------------------
  |  |  |  |   94|  1.67k|#define RE_FLAGS_FAST_REGEXP 0x02
  |  |  ------------------
  ------------------
 1409|       |
 1410|  1.67k|        re_ast = yyget_extra(yyscanner);
  ------------------
  |  |   53|  1.67k|#define yyget_extra  re_yyget_extra
  ------------------
 1411|  1.67k|        re_ast->flags |= RE_FLAGS_GREEDY;
  ------------------
  |  |  101|  1.67k|#define RE_FLAGS_GREEDY      0x400
  ------------------
 1412|       |
 1413|  1.67k|        (yyval.re_node) = yr_re_node_create(RE_NODE_PLUS);
  ------------------
  |  |   48|  1.67k|#define RE_NODE_PLUS               8
  ------------------
 1414|       |
 1415|  1.67k|        destroy_node_if((yyval.re_node) == NULL, (yyvsp[-1].re_node));
  ------------------
  |  |  103|  1.67k|    if (x) \
  |  |  ------------------
  |  |  |  Branch (103:9): [True: 0, False: 1.67k]
  |  |  ------------------
  |  |  104|  1.67k|    { \
  |  |  105|      0|      yr_re_node_destroy(node); \
  |  |  106|      0|    } \
  ------------------
 1416|  1.67k|        fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |   96|  1.67k|    if (x) \
  |  |  ------------------
  |  |  |  Branch (96:9): [True: 0, False: 1.67k]
  |  |  ------------------
  |  |   97|  1.67k|    { \
  |  |   98|      0|      lex_env->last_error = error; \
  |  |   99|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  773|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  100|      0|    } \
  ------------------
 1417|       |
 1418|  1.67k|        yr_re_node_append_child((yyval.re_node), (yyvsp[-1].re_node));
 1419|  1.67k|      }
 1420|      0|#line 1404 "re_grammar.c"
 1421|      0|    break;
 1422|       |
 1423|    492|  case 12: /* repeat: single '+' '?'  */
  ------------------
  |  Branch (1423:3): [True: 492, False: 4.70M]
  ------------------
 1424|    492|#line 225 "re_grammar.y"
 1425|    492|      {
 1426|    492|        RE_AST* re_ast;
 1427|       |
 1428|    492|        mark_as_not_fast_regexp();
  ------------------
  |  |   93|    492|    ((RE_AST*) yyget_extra(yyscanner))->flags &= ~RE_FLAGS_FAST_REGEXP
  |  |  ------------------
  |  |  |  |   53|    492|#define yyget_extra  re_yyget_extra
  |  |  ------------------
  |  |                   ((RE_AST*) yyget_extra(yyscanner))->flags &= ~RE_FLAGS_FAST_REGEXP
  |  |  ------------------
  |  |  |  |   94|    492|#define RE_FLAGS_FAST_REGEXP 0x02
  |  |  ------------------
  ------------------
 1429|       |
 1430|    492|        re_ast = yyget_extra(yyscanner);
  ------------------
  |  |   53|    492|#define yyget_extra  re_yyget_extra
  ------------------
 1431|    492|        re_ast->flags |= RE_FLAGS_UNGREEDY;
  ------------------
  |  |  102|    492|#define RE_FLAGS_UNGREEDY    0x800
  ------------------
 1432|       |
 1433|    492|        (yyval.re_node) = yr_re_node_create(RE_NODE_PLUS);
  ------------------
  |  |   48|    492|#define RE_NODE_PLUS               8
  ------------------
 1434|       |
 1435|    492|        destroy_node_if((yyval.re_node) == NULL, (yyvsp[-2].re_node));
  ------------------
  |  |  103|    492|    if (x) \
  |  |  ------------------
  |  |  |  Branch (103:9): [True: 0, False: 492]
  |  |  ------------------
  |  |  104|    492|    { \
  |  |  105|      0|      yr_re_node_destroy(node); \
  |  |  106|      0|    } \
  ------------------
 1436|    492|        fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |   96|    492|    if (x) \
  |  |  ------------------
  |  |  |  Branch (96:9): [True: 0, False: 492]
  |  |  ------------------
  |  |   97|    492|    { \
  |  |   98|      0|      lex_env->last_error = error; \
  |  |   99|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  773|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  100|      0|    } \
  ------------------
 1437|       |
 1438|    492|        yr_re_node_append_child((yyval.re_node), (yyvsp[-2].re_node));
 1439|    492|        (yyval.re_node)->greedy = false;
 1440|    492|      }
 1441|      0|#line 1425 "re_grammar.c"
 1442|      0|    break;
 1443|       |
 1444|  3.25k|  case 13: /* repeat: single '?'  */
  ------------------
  |  Branch (1444:3): [True: 3.25k, False: 4.70M]
  ------------------
 1445|  3.25k|#line 242 "re_grammar.y"
 1446|  3.25k|      {
 1447|  3.25k|        RE_AST* re_ast = yyget_extra(yyscanner);
  ------------------
  |  |   53|  3.25k|#define yyget_extra  re_yyget_extra
  ------------------
 1448|  3.25k|        re_ast->flags |= RE_FLAGS_GREEDY;
  ------------------
  |  |  101|  3.25k|#define RE_FLAGS_GREEDY      0x400
  ------------------
 1449|       |
 1450|  3.25k|        if ((yyvsp[-1].re_node)->type == RE_NODE_ANY)
  ------------------
  |  |   43|  3.25k|#define RE_NODE_ANY                3
  ------------------
  |  Branch (1450:13): [True: 717, False: 2.53k]
  ------------------
 1451|    717|        {
 1452|    717|          (yyval.re_node) = yr_re_node_create(RE_NODE_RANGE_ANY);
  ------------------
  |  |   61|    717|#define RE_NODE_RANGE_ANY          21
  ------------------
 1453|    717|          destroy_node_if(true, (yyvsp[-1].re_node));
  ------------------
  |  |  103|    717|    if (x) \
  |  |  ------------------
  |  |  |  Branch (103:9): [True: 717, Folded]
  |  |  ------------------
  |  |  104|    717|    { \
  |  |  105|    717|      yr_re_node_destroy(node); \
  |  |  106|    717|    } \
  ------------------
 1454|    717|          fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |   96|    717|    if (x) \
  |  |  ------------------
  |  |  |  Branch (96:9): [True: 0, False: 717]
  |  |  ------------------
  |  |   97|    717|    { \
  |  |   98|      0|      lex_env->last_error = error; \
  |  |   99|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  773|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  100|      0|    } \
  ------------------
 1455|    717|        }
 1456|  2.53k|        else
 1457|  2.53k|        {
 1458|  2.53k|          mark_as_not_fast_regexp();
  ------------------
  |  |   93|  2.53k|    ((RE_AST*) yyget_extra(yyscanner))->flags &= ~RE_FLAGS_FAST_REGEXP
  |  |  ------------------
  |  |  |  |   53|  2.53k|#define yyget_extra  re_yyget_extra
  |  |  ------------------
  |  |                   ((RE_AST*) yyget_extra(yyscanner))->flags &= ~RE_FLAGS_FAST_REGEXP
  |  |  ------------------
  |  |  |  |   94|  2.53k|#define RE_FLAGS_FAST_REGEXP 0x02
  |  |  ------------------
  ------------------
 1459|  2.53k|          (yyval.re_node) = yr_re_node_create(RE_NODE_RANGE);
  ------------------
  |  |   46|  2.53k|#define RE_NODE_RANGE              6
  ------------------
 1460|  2.53k|          destroy_node_if((yyval.re_node) == NULL, (yyvsp[-1].re_node));
  ------------------
  |  |  103|  2.53k|    if (x) \
  |  |  ------------------
  |  |  |  Branch (103:9): [True: 0, False: 2.53k]
  |  |  ------------------
  |  |  104|  2.53k|    { \
  |  |  105|      0|      yr_re_node_destroy(node); \
  |  |  106|      0|    } \
  ------------------
 1461|  2.53k|          fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |   96|  2.53k|    if (x) \
  |  |  ------------------
  |  |  |  Branch (96:9): [True: 0, False: 2.53k]
  |  |  ------------------
  |  |   97|  2.53k|    { \
  |  |   98|      0|      lex_env->last_error = error; \
  |  |   99|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  773|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  100|      0|    } \
  ------------------
 1462|  2.53k|          yr_re_node_append_child((yyval.re_node), (yyvsp[-1].re_node));
 1463|  2.53k|        }
 1464|       |
 1465|  3.25k|        (yyval.re_node)->start = 0;
 1466|  3.25k|        (yyval.re_node)->end = 1;
 1467|  3.25k|      }
 1468|      0|#line 1452 "re_grammar.c"
 1469|      0|    break;
 1470|       |
 1471|  1.07k|  case 14: /* repeat: single '?' '?'  */
  ------------------
  |  Branch (1471:3): [True: 1.07k, False: 4.70M]
  ------------------
 1472|  1.07k|#line 265 "re_grammar.y"
 1473|  1.07k|      {
 1474|  1.07k|        RE_AST* re_ast = yyget_extra(yyscanner);
  ------------------
  |  |   53|  1.07k|#define yyget_extra  re_yyget_extra
  ------------------
 1475|  1.07k|        re_ast->flags |= RE_FLAGS_UNGREEDY;
  ------------------
  |  |  102|  1.07k|#define RE_FLAGS_UNGREEDY    0x800
  ------------------
 1476|       |
 1477|  1.07k|        if ((yyvsp[-2].re_node)->type == RE_NODE_ANY)
  ------------------
  |  |   43|  1.07k|#define RE_NODE_ANY                3
  ------------------
  |  Branch (1477:13): [True: 856, False: 218]
  ------------------
 1478|    856|        {
 1479|    856|          (yyval.re_node) = yr_re_node_create(RE_NODE_RANGE_ANY);
  ------------------
  |  |   61|    856|#define RE_NODE_RANGE_ANY          21
  ------------------
 1480|    856|          destroy_node_if(true, (yyvsp[-2].re_node));
  ------------------
  |  |  103|    856|    if (x) \
  |  |  ------------------
  |  |  |  Branch (103:9): [True: 856, Folded]
  |  |  ------------------
  |  |  104|    856|    { \
  |  |  105|    856|      yr_re_node_destroy(node); \
  |  |  106|    856|    } \
  ------------------
 1481|    856|          fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |   96|    856|    if (x) \
  |  |  ------------------
  |  |  |  Branch (96:9): [True: 0, False: 856]
  |  |  ------------------
  |  |   97|    856|    { \
  |  |   98|      0|      lex_env->last_error = error; \
  |  |   99|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  773|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  100|      0|    } \
  ------------------
 1482|    856|        }
 1483|    218|        else
 1484|    218|        {
 1485|    218|          mark_as_not_fast_regexp();
  ------------------
  |  |   93|    218|    ((RE_AST*) yyget_extra(yyscanner))->flags &= ~RE_FLAGS_FAST_REGEXP
  |  |  ------------------
  |  |  |  |   53|    218|#define yyget_extra  re_yyget_extra
  |  |  ------------------
  |  |                   ((RE_AST*) yyget_extra(yyscanner))->flags &= ~RE_FLAGS_FAST_REGEXP
  |  |  ------------------
  |  |  |  |   94|    218|#define RE_FLAGS_FAST_REGEXP 0x02
  |  |  ------------------
  ------------------
 1486|    218|          (yyval.re_node) = yr_re_node_create(RE_NODE_RANGE);
  ------------------
  |  |   46|    218|#define RE_NODE_RANGE              6
  ------------------
 1487|    218|          destroy_node_if((yyval.re_node) == NULL, (yyvsp[-2].re_node));
  ------------------
  |  |  103|    218|    if (x) \
  |  |  ------------------
  |  |  |  Branch (103:9): [True: 0, False: 218]
  |  |  ------------------
  |  |  104|    218|    { \
  |  |  105|      0|      yr_re_node_destroy(node); \
  |  |  106|      0|    } \
  ------------------
 1488|    218|          fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |   96|    218|    if (x) \
  |  |  ------------------
  |  |  |  Branch (96:9): [True: 0, False: 218]
  |  |  ------------------
  |  |   97|    218|    { \
  |  |   98|      0|      lex_env->last_error = error; \
  |  |   99|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  773|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  100|      0|    } \
  ------------------
 1489|    218|          yr_re_node_append_child((yyval.re_node), (yyvsp[-2].re_node));
 1490|    218|        }
 1491|       |
 1492|  1.07k|        (yyval.re_node)->start = 0;
 1493|  1.07k|        (yyval.re_node)->end = 1;
 1494|  1.07k|        (yyval.re_node)->greedy = false;
 1495|  1.07k|      }
 1496|      0|#line 1480 "re_grammar.c"
 1497|      0|    break;
 1498|       |
 1499|  3.43k|  case 15: /* repeat: single _RANGE_  */
  ------------------
  |  Branch (1499:3): [True: 3.43k, False: 4.70M]
  ------------------
 1500|  3.43k|#line 289 "re_grammar.y"
 1501|  3.43k|      {
 1502|  3.43k|        RE_AST* re_ast = yyget_extra(yyscanner);
  ------------------
  |  |   53|  3.43k|#define yyget_extra  re_yyget_extra
  ------------------
 1503|  3.43k|        re_ast->flags |= RE_FLAGS_GREEDY;
  ------------------
  |  |  101|  3.43k|#define RE_FLAGS_GREEDY      0x400
  ------------------
 1504|       |
 1505|  3.43k|        if ((yyvsp[-1].re_node)->type == RE_NODE_ANY)
  ------------------
  |  |   43|  3.43k|#define RE_NODE_ANY                3
  ------------------
  |  Branch (1505:13): [True: 896, False: 2.54k]
  ------------------
 1506|    896|        {
 1507|    896|          (yyval.re_node) = yr_re_node_create(RE_NODE_RANGE_ANY);
  ------------------
  |  |   61|    896|#define RE_NODE_RANGE_ANY          21
  ------------------
 1508|    896|          destroy_node_if(true, (yyvsp[-1].re_node));
  ------------------
  |  |  103|    896|    if (x) \
  |  |  ------------------
  |  |  |  Branch (103:9): [True: 896, Folded]
  |  |  ------------------
  |  |  104|    896|    { \
  |  |  105|    896|      yr_re_node_destroy(node); \
  |  |  106|    896|    } \
  ------------------
 1509|    896|          fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |   96|    896|    if (x) \
  |  |  ------------------
  |  |  |  Branch (96:9): [True: 0, False: 896]
  |  |  ------------------
  |  |   97|    896|    { \
  |  |   98|      0|      lex_env->last_error = error; \
  |  |   99|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  773|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  100|      0|    } \
  ------------------
 1510|    896|        }
 1511|  2.54k|        else
 1512|  2.54k|        {
 1513|  2.54k|          mark_as_not_fast_regexp();
  ------------------
  |  |   93|  2.54k|    ((RE_AST*) yyget_extra(yyscanner))->flags &= ~RE_FLAGS_FAST_REGEXP
  |  |  ------------------
  |  |  |  |   53|  2.54k|#define yyget_extra  re_yyget_extra
  |  |  ------------------
  |  |                   ((RE_AST*) yyget_extra(yyscanner))->flags &= ~RE_FLAGS_FAST_REGEXP
  |  |  ------------------
  |  |  |  |   94|  2.54k|#define RE_FLAGS_FAST_REGEXP 0x02
  |  |  ------------------
  ------------------
 1514|  2.54k|          (yyval.re_node) = yr_re_node_create(RE_NODE_RANGE);
  ------------------
  |  |   46|  2.54k|#define RE_NODE_RANGE              6
  ------------------
 1515|  2.54k|          destroy_node_if((yyval.re_node) == NULL, (yyvsp[-1].re_node));
  ------------------
  |  |  103|  2.54k|    if (x) \
  |  |  ------------------
  |  |  |  Branch (103:9): [True: 0, False: 2.54k]
  |  |  ------------------
  |  |  104|  2.54k|    { \
  |  |  105|      0|      yr_re_node_destroy(node); \
  |  |  106|      0|    } \
  ------------------
 1516|  2.54k|          fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |   96|  2.54k|    if (x) \
  |  |  ------------------
  |  |  |  Branch (96:9): [True: 0, False: 2.54k]
  |  |  ------------------
  |  |   97|  2.54k|    { \
  |  |   98|      0|      lex_env->last_error = error; \
  |  |   99|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  773|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  100|      0|    } \
  ------------------
 1517|  2.54k|          yr_re_node_append_child((yyval.re_node), (yyvsp[-1].re_node));
 1518|  2.54k|        }
 1519|       |
 1520|  3.43k|        (yyval.re_node)->start = (yyvsp[0].range) & 0xFFFF;;
 1521|  3.43k|        (yyval.re_node)->end = (yyvsp[0].range) >> 16;;
 1522|  3.43k|      }
 1523|      0|#line 1507 "re_grammar.c"
 1524|      0|    break;
 1525|       |
 1526|  16.0k|  case 16: /* repeat: single _RANGE_ '?'  */
  ------------------
  |  Branch (1526:3): [True: 16.0k, False: 4.68M]
  ------------------
 1527|  16.0k|#line 312 "re_grammar.y"
 1528|  16.0k|      {
 1529|  16.0k|        RE_AST* re_ast = yyget_extra(yyscanner);
  ------------------
  |  |   53|  16.0k|#define yyget_extra  re_yyget_extra
  ------------------
 1530|  16.0k|        re_ast->flags |= RE_FLAGS_UNGREEDY;
  ------------------
  |  |  102|  16.0k|#define RE_FLAGS_UNGREEDY    0x800
  ------------------
 1531|       |
 1532|  16.0k|        if ((yyvsp[-2].re_node)->type == RE_NODE_ANY)
  ------------------
  |  |   43|  16.0k|#define RE_NODE_ANY                3
  ------------------
  |  Branch (1532:13): [True: 14.9k, False: 1.11k]
  ------------------
 1533|  14.9k|        {
 1534|  14.9k|          (yyval.re_node) = yr_re_node_create(RE_NODE_RANGE_ANY);
  ------------------
  |  |   61|  14.9k|#define RE_NODE_RANGE_ANY          21
  ------------------
 1535|  14.9k|          destroy_node_if(true, (yyvsp[-2].re_node));
  ------------------
  |  |  103|  14.9k|    if (x) \
  |  |  ------------------
  |  |  |  Branch (103:9): [True: 14.9k, Folded]
  |  |  ------------------
  |  |  104|  14.9k|    { \
  |  |  105|  14.9k|      yr_re_node_destroy(node); \
  |  |  106|  14.9k|    } \
  ------------------
 1536|  14.9k|          fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |   96|  14.9k|    if (x) \
  |  |  ------------------
  |  |  |  Branch (96:9): [True: 0, False: 14.9k]
  |  |  ------------------
  |  |   97|  14.9k|    { \
  |  |   98|      0|      lex_env->last_error = error; \
  |  |   99|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  773|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  100|      0|    } \
  ------------------
 1537|  14.9k|        }
 1538|  1.11k|        else
 1539|  1.11k|        {
 1540|  1.11k|          mark_as_not_fast_regexp();
  ------------------
  |  |   93|  1.11k|    ((RE_AST*) yyget_extra(yyscanner))->flags &= ~RE_FLAGS_FAST_REGEXP
  |  |  ------------------
  |  |  |  |   53|  1.11k|#define yyget_extra  re_yyget_extra
  |  |  ------------------
  |  |                   ((RE_AST*) yyget_extra(yyscanner))->flags &= ~RE_FLAGS_FAST_REGEXP
  |  |  ------------------
  |  |  |  |   94|  1.11k|#define RE_FLAGS_FAST_REGEXP 0x02
  |  |  ------------------
  ------------------
 1541|  1.11k|          (yyval.re_node) = yr_re_node_create(RE_NODE_RANGE);
  ------------------
  |  |   46|  1.11k|#define RE_NODE_RANGE              6
  ------------------
 1542|  1.11k|          destroy_node_if((yyval.re_node) == NULL, (yyvsp[-2].re_node));
  ------------------
  |  |  103|  1.11k|    if (x) \
  |  |  ------------------
  |  |  |  Branch (103:9): [True: 0, False: 1.11k]
  |  |  ------------------
  |  |  104|  1.11k|    { \
  |  |  105|      0|      yr_re_node_destroy(node); \
  |  |  106|      0|    } \
  ------------------
 1543|  1.11k|          fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |   96|  1.11k|    if (x) \
  |  |  ------------------
  |  |  |  Branch (96:9): [True: 0, False: 1.11k]
  |  |  ------------------
  |  |   97|  1.11k|    { \
  |  |   98|      0|      lex_env->last_error = error; \
  |  |   99|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  773|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  100|      0|    } \
  ------------------
 1544|  1.11k|          yr_re_node_append_child((yyval.re_node), (yyvsp[-2].re_node));
 1545|  1.11k|        }
 1546|       |
 1547|  16.0k|        (yyval.re_node)->start = (yyvsp[-1].range) & 0xFFFF;;
 1548|  16.0k|        (yyval.re_node)->end = (yyvsp[-1].range) >> 16;;
 1549|  16.0k|        (yyval.re_node)->greedy = false;
 1550|  16.0k|      }
 1551|      0|#line 1535 "re_grammar.c"
 1552|      0|    break;
 1553|       |
 1554|  1.47M|  case 17: /* repeat: single  */
  ------------------
  |  Branch (1554:3): [True: 1.47M, False: 3.22M]
  ------------------
 1555|  1.47M|#line 336 "re_grammar.y"
 1556|  1.47M|      {
 1557|  1.47M|        (yyval.re_node) = (yyvsp[0].re_node);
 1558|  1.47M|      }
 1559|  1.47M|#line 1543 "re_grammar.c"
 1560|  1.47M|    break;
 1561|       |
 1562|    210|  case 18: /* repeat: _WORD_BOUNDARY_  */
  ------------------
  |  Branch (1562:3): [True: 210, False: 4.70M]
  ------------------
 1563|    210|#line 340 "re_grammar.y"
 1564|    210|      {
 1565|    210|        (yyval.re_node) = yr_re_node_create(RE_NODE_WORD_BOUNDARY);
  ------------------
  |  |   59|    210|#define RE_NODE_WORD_BOUNDARY      19
  ------------------
 1566|       |
 1567|    210|        fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |   96|    210|    if (x) \
  |  |  ------------------
  |  |  |  Branch (96:9): [True: 0, False: 210]
  |  |  ------------------
  |  |   97|    210|    { \
  |  |   98|      0|      lex_env->last_error = error; \
  |  |   99|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  773|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  100|      0|    } \
  ------------------
 1568|    210|      }
 1569|      0|#line 1553 "re_grammar.c"
 1570|      0|    break;
 1571|       |
 1572|    231|  case 19: /* repeat: _NON_WORD_BOUNDARY_  */
  ------------------
  |  Branch (1572:3): [True: 231, False: 4.70M]
  ------------------
 1573|    231|#line 346 "re_grammar.y"
 1574|    231|      {
 1575|    231|        (yyval.re_node) = yr_re_node_create(RE_NODE_NON_WORD_BOUNDARY);
  ------------------
  |  |   60|    231|#define RE_NODE_NON_WORD_BOUNDARY  20
  ------------------
 1576|       |
 1577|    231|        fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |   96|    231|    if (x) \
  |  |  ------------------
  |  |  |  Branch (96:9): [True: 0, False: 231]
  |  |  ------------------
  |  |   97|    231|    { \
  |  |   98|      0|      lex_env->last_error = error; \
  |  |   99|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  773|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  100|      0|    } \
  ------------------
 1578|    231|      }
 1579|      0|#line 1563 "re_grammar.c"
 1580|      0|    break;
 1581|       |
 1582|    492|  case 20: /* repeat: '^'  */
  ------------------
  |  Branch (1582:3): [True: 492, False: 4.70M]
  ------------------
 1583|    492|#line 352 "re_grammar.y"
 1584|    492|      {
 1585|    492|        (yyval.re_node) = yr_re_node_create(RE_NODE_ANCHOR_START);
  ------------------
  |  |   57|    492|#define RE_NODE_ANCHOR_START       17
  ------------------
 1586|       |
 1587|    492|        fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |   96|    492|    if (x) \
  |  |  ------------------
  |  |  |  Branch (96:9): [True: 0, False: 492]
  |  |  ------------------
  |  |   97|    492|    { \
  |  |   98|      0|      lex_env->last_error = error; \
  |  |   99|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  773|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  100|      0|    } \
  ------------------
 1588|    492|      }
 1589|      0|#line 1573 "re_grammar.c"
 1590|      0|    break;
 1591|       |
 1592|  2.58k|  case 21: /* repeat: '$'  */
  ------------------
  |  Branch (1592:3): [True: 2.58k, False: 4.70M]
  ------------------
 1593|  2.58k|#line 358 "re_grammar.y"
 1594|  2.58k|      {
 1595|  2.58k|        (yyval.re_node) = yr_re_node_create(RE_NODE_ANCHOR_END);
  ------------------
  |  |   58|  2.58k|#define RE_NODE_ANCHOR_END         18
  ------------------
 1596|       |
 1597|  2.58k|        fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |   96|  2.58k|    if (x) \
  |  |  ------------------
  |  |  |  Branch (96:9): [True: 0, False: 2.58k]
  |  |  ------------------
  |  |   97|  2.58k|    { \
  |  |   98|      0|      lex_env->last_error = error; \
  |  |   99|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  773|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  100|      0|    } \
  ------------------
 1598|  2.58k|      }
 1599|      0|#line 1583 "re_grammar.c"
 1600|      0|    break;
 1601|       |
 1602|  35.1k|  case 22: /* single: '(' alternative ')'  */
  ------------------
  |  Branch (1602:3): [True: 35.1k, False: 4.67M]
  ------------------
 1603|  35.1k|#line 384 "re_grammar.y"
 1604|  35.1k|      {
 1605|  35.1k|        fail_if_too_many_ast_levels({
  ------------------
  |  |  109|  35.1k|    if (((RE_AST*) yyget_extra(yyscanner))->levels++ > RE_MAX_AST_LEVELS) \
  |  |  ------------------
  |  |  |  |   53|  35.1k|#define yyget_extra  re_yyget_extra
  |  |  ------------------
  |  |                   if (((RE_AST*) yyget_extra(yyscanner))->levels++ > RE_MAX_AST_LEVELS) \
  |  |  ------------------
  |  |  |  |  195|  35.1k|#define RE_MAX_AST_LEVELS 2000
  |  |  ------------------
  |  |  |  Branch (109:9): [True: 1, False: 35.1k]
  |  |  ------------------
  |  |  110|  35.1k|    { \
  |  |  111|      1|      { cleanup_code } \
  |  |  112|      1|      lex_env->last_error = ERROR_REGULAR_EXPRESSION_TOO_COMPLEX; \
  |  |  ------------------
  |  |  |  |   96|      1|#define ERROR_REGULAR_EXPRESSION_TOO_COMPLEX 49
  |  |  ------------------
  |  |  113|      1|      YYABORT; \
  |  |  ------------------
  |  |  |  |  773|      1|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  114|      1|    }
  ------------------
 1606|  35.1k|          yr_re_node_destroy((yyvsp[-1].re_node));
 1607|  35.1k|        });
 1608|       |
 1609|  35.1k|        (yyval.re_node) = (yyvsp[-1].re_node);
 1610|  35.1k|      }
 1611|      0|#line 1612 "re_grammar.c"
 1612|      0|    break;
 1613|       |
 1614|  26.8k|  case 23: /* single: '.'  */
  ------------------
  |  Branch (1614:3): [True: 26.8k, False: 4.67M]
  ------------------
 1615|  26.8k|#line 371 "re_grammar.y"
 1616|  26.8k|      {
 1617|  26.8k|        (yyval.re_node) = yr_re_node_create(RE_NODE_ANY);
  ------------------
  |  |   43|  26.8k|#define RE_NODE_ANY                3
  ------------------
 1618|       |
 1619|  26.8k|        fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |   96|  26.8k|    if (x) \
  |  |  ------------------
  |  |  |  Branch (96:9): [True: 0, False: 26.8k]
  |  |  ------------------
  |  |   97|  26.8k|    { \
  |  |   98|      0|      lex_env->last_error = error; \
  |  |   99|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  773|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  100|      0|    } \
  ------------------
 1620|       |
 1621|  26.8k|        (yyval.re_node)->value = 0x00;
 1622|  26.8k|        (yyval.re_node)->mask = 0x00;
 1623|  26.8k|      }
 1624|      0|#line 1604 "re_grammar.c"
 1625|      0|    break;
 1626|       |
 1627|  1.43M|  case 24: /* single: _CHAR_  */
  ------------------
  |  Branch (1627:3): [True: 1.43M, False: 3.26M]
  ------------------
 1628|  1.43M|#line 380 "re_grammar.y"
 1629|  1.43M|      {
 1630|  1.43M|        (yyval.re_node) = yr_re_node_create(RE_NODE_LITERAL);
  ------------------
  |  |   41|  1.43M|#define RE_NODE_LITERAL            1
  ------------------
 1631|       |
 1632|  1.43M|        fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |   96|  1.43M|    if (x) \
  |  |  ------------------
  |  |  |  Branch (96:9): [True: 0, False: 1.43M]
  |  |  ------------------
  |  |   97|  1.43M|    { \
  |  |   98|      0|      lex_env->last_error = error; \
  |  |   99|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  773|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  100|      0|    } \
  ------------------
 1633|       |
 1634|  1.43M|        (yyval.re_node)->value = (yyvsp[0].integer);
 1635|  1.43M|        (yyval.re_node)->mask = 0xFF;
 1636|  1.43M|      }
 1637|      0|#line 1617 "re_grammar.c"
 1638|      0|    break;
 1639|       |
 1640|    250|  case 25: /* single: _WORD_CHAR_  */
  ------------------
  |  Branch (1640:3): [True: 250, False: 4.70M]
  ------------------
 1641|    250|#line 389 "re_grammar.y"
 1642|    250|      {
 1643|    250|        (yyval.re_node) = yr_re_node_create(RE_NODE_WORD_CHAR);
  ------------------
  |  |   50|    250|#define RE_NODE_WORD_CHAR          10
  ------------------
 1644|       |
 1645|    250|        fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |   96|    250|    if (x) \
  |  |  ------------------
  |  |  |  Branch (96:9): [True: 0, False: 250]
  |  |  ------------------
  |  |   97|    250|    { \
  |  |   98|      0|      lex_env->last_error = error; \
  |  |   99|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  773|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  100|      0|    } \
  ------------------
 1646|    250|      }
 1647|      0|#line 1627 "re_grammar.c"
 1648|      0|    break;
 1649|       |
 1650|    728|  case 26: /* single: _NON_WORD_CHAR_  */
  ------------------
  |  Branch (1650:3): [True: 728, False: 4.70M]
  ------------------
 1651|    728|#line 395 "re_grammar.y"
 1652|    728|      {
 1653|    728|        (yyval.re_node) = yr_re_node_create(RE_NODE_NON_WORD_CHAR);
  ------------------
  |  |   51|    728|#define RE_NODE_NON_WORD_CHAR      11
  ------------------
 1654|       |
 1655|    728|        fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |   96|    728|    if (x) \
  |  |  ------------------
  |  |  |  Branch (96:9): [True: 0, False: 728]
  |  |  ------------------
  |  |   97|    728|    { \
  |  |   98|      0|      lex_env->last_error = error; \
  |  |   99|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  773|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  100|      0|    } \
  ------------------
 1656|    728|      }
 1657|      0|#line 1637 "re_grammar.c"
 1658|      0|    break;
 1659|       |
 1660|    418|  case 27: /* single: _SPACE_  */
  ------------------
  |  Branch (1660:3): [True: 418, False: 4.70M]
  ------------------
 1661|    418|#line 401 "re_grammar.y"
 1662|    418|      {
 1663|    418|        (yyval.re_node) = yr_re_node_create(RE_NODE_SPACE);
  ------------------
  |  |   52|    418|#define RE_NODE_SPACE              12
  ------------------
 1664|       |
 1665|    418|        fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |   96|    418|    if (x) \
  |  |  ------------------
  |  |  |  Branch (96:9): [True: 0, False: 418]
  |  |  ------------------
  |  |   97|    418|    { \
  |  |   98|      0|      lex_env->last_error = error; \
  |  |   99|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  773|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  100|      0|    } \
  ------------------
 1666|    418|      }
 1667|      0|#line 1647 "re_grammar.c"
 1668|      0|    break;
 1669|       |
 1670|    215|  case 28: /* single: _NON_SPACE_  */
  ------------------
  |  Branch (1670:3): [True: 215, False: 4.70M]
  ------------------
 1671|    215|#line 407 "re_grammar.y"
 1672|    215|      {
 1673|    215|         (yyval.re_node) = yr_re_node_create(RE_NODE_NON_SPACE);
  ------------------
  |  |   53|    215|#define RE_NODE_NON_SPACE          13
  ------------------
 1674|       |
 1675|    215|         fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |   96|    215|    if (x) \
  |  |  ------------------
  |  |  |  Branch (96:9): [True: 0, False: 215]
  |  |  ------------------
  |  |   97|    215|    { \
  |  |   98|      0|      lex_env->last_error = error; \
  |  |   99|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  773|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  100|      0|    } \
  ------------------
 1676|    215|      }
 1677|      0|#line 1657 "re_grammar.c"
 1678|      0|    break;
 1679|       |
 1680|    250|  case 29: /* single: _DIGIT_  */
  ------------------
  |  Branch (1680:3): [True: 250, False: 4.70M]
  ------------------
 1681|    250|#line 413 "re_grammar.y"
 1682|    250|      {
 1683|    250|        (yyval.re_node) = yr_re_node_create(RE_NODE_DIGIT);
  ------------------
  |  |   54|    250|#define RE_NODE_DIGIT              14
  ------------------
 1684|       |
 1685|    250|        fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |   96|    250|    if (x) \
  |  |  ------------------
  |  |  |  Branch (96:9): [True: 0, False: 250]
  |  |  ------------------
  |  |   97|    250|    { \
  |  |   98|      0|      lex_env->last_error = error; \
  |  |   99|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  773|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  100|      0|    } \
  ------------------
 1686|    250|      }
 1687|      0|#line 1667 "re_grammar.c"
 1688|      0|    break;
 1689|       |
 1690|    254|  case 30: /* single: _NON_DIGIT_  */
  ------------------
  |  Branch (1690:3): [True: 254, False: 4.70M]
  ------------------
 1691|    254|#line 419 "re_grammar.y"
 1692|    254|      {
 1693|    254|        (yyval.re_node) = yr_re_node_create(RE_NODE_NON_DIGIT);
  ------------------
  |  |   55|    254|#define RE_NODE_NON_DIGIT          15
  ------------------
 1694|       |
 1695|    254|        fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |   96|    254|    if (x) \
  |  |  ------------------
  |  |  |  Branch (96:9): [True: 0, False: 254]
  |  |  ------------------
  |  |   97|    254|    { \
  |  |   98|      0|      lex_env->last_error = error; \
  |  |   99|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  773|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  100|      0|    } \
  ------------------
 1696|    254|      }
 1697|      0|#line 1677 "re_grammar.c"
 1698|      0|    break;
 1699|       |
 1700|  1.88k|  case 31: /* single: _CLASS_  */
  ------------------
  |  Branch (1700:3): [True: 1.88k, False: 4.70M]
  ------------------
 1701|  1.88k|#line 425 "re_grammar.y"
 1702|  1.88k|      {
 1703|  1.88k|        (yyval.re_node) = yr_re_node_create(RE_NODE_CLASS);
  ------------------
  |  |   49|  1.88k|#define RE_NODE_CLASS              9
  ------------------
 1704|       |
 1705|  1.88k|        fail_if((yyval.re_node) == NULL, ERROR_INSUFFICIENT_MEMORY);
  ------------------
  |  |   96|  1.88k|    if (x) \
  |  |  ------------------
  |  |  |  Branch (96:9): [True: 0, False: 1.88k]
  |  |  ------------------
  |  |   97|  1.88k|    { \
  |  |   98|      0|      lex_env->last_error = error; \
  |  |   99|      0|      YYABORT; \
  |  |  ------------------
  |  |  |  |  773|      0|#define YYABORT         goto yyabortlab
  |  |  ------------------
  |  |  100|      0|    } \
  ------------------
 1706|       |
 1707|  1.88k|        (yyval.re_node)->re_class = (yyvsp[0].re_class);
 1708|  1.88k|      }
 1709|      0|#line 1689 "re_grammar.c"
 1710|      0|    break;
 1711|       |
 1712|       |
 1713|      0|#line 1693 "re_grammar.c"
 1714|       |
 1715|  6.33k|      default: break;
  ------------------
  |  Branch (1715:7): [True: 6.33k, False: 4.69M]
  ------------------
 1716|  4.70M|    }
 1717|       |  /* User semantic actions sometimes alter yychar, and that requires
 1718|       |     that yytoken be updated with the new translation.  We take the
 1719|       |     approach of translating immediately before every use of yytoken.
 1720|       |     One alternative is translating here after every semantic action,
 1721|       |     but that translation would be missed if the semantic action invokes
 1722|       |     YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or
 1723|       |     if it invokes YYBACKUP.  In the case of YYABORT or YYACCEPT, an
 1724|       |     incorrect destructor might then be invoked immediately.  In the
 1725|       |     case of YYERROR or YYBACKUP, subsequent parser actions might lead
 1726|       |     to an incorrect destructor call or verbose syntax error message
 1727|       |     before the lookahead is translated.  */
 1728|  4.70M|  YY_SYMBOL_PRINT ("-> $$ =", YY_CAST (yysymbol_kind_t, yyr1[yyn]), &yyval, &yyloc);
 1729|       |
 1730|  4.70M|  YYPOPSTACK (yylen);
  ------------------
  |  | 1062|  4.70M|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
 1731|  4.70M|  yylen = 0;
 1732|       |
 1733|  4.70M|  *++yyvsp = yyval;
 1734|       |
 1735|       |  /* Now 'shift' the result of the reduction.  Determine what state
 1736|       |     that goes to, based on the state we popped back to and the rule
 1737|       |     number reduced by.  */
 1738|  4.70M|  {
 1739|  4.70M|    const int yylhs = yyr1[yyn] - YYNTOKENS;
  ------------------
  |  |  584|  4.70M|#define YYNTOKENS  24
  ------------------
 1740|  4.70M|    const int yyi = yypgoto[yylhs] + *yyssp;
 1741|  4.70M|    yystate = (0 <= yyi && yyi <= YYLAST && yycheck[yyi] == *yyssp
  ------------------
  |  |  581|  9.33M|#define YYLAST   45
  ------------------
  |  Branch (1741:16): [True: 4.62M, False: 81.8k]
  |  Branch (1741:28): [True: 4.62M, False: 0]
  |  Branch (1741:45): [True: 2.32M, False: 2.30M]
  ------------------
 1742|  4.70M|               ? yytable[yyi]
 1743|  4.70M|               : yydefgoto[yylhs]);
 1744|  4.70M|  }
 1745|       |
 1746|  4.70M|  goto yynewstate;
 1747|       |
 1748|       |
 1749|       |/*--------------------------------------.
 1750|       || yyerrlab -- here on detecting error.  |
 1751|       |`--------------------------------------*/
 1752|  6.33k|yyerrlab:
 1753|       |  /* Make sure we have latest lookahead translation.  See comments at
 1754|       |     user semantic actions for why this is necessary.  */
 1755|  6.33k|  yytoken = yychar == YYEMPTY ? YYSYMBOL_YYEMPTY : YYTRANSLATE (yychar);
  ------------------
  |  |   50|  6.33k|#define yychar       re_yychar
  ------------------
                yytoken = yychar == YYEMPTY ? YYSYMBOL_YYEMPTY : YYTRANSLATE (yychar);
  ------------------
  |  |   73|  6.33k|#define YYEMPTY -2
  ------------------
                yytoken = yychar == YYEMPTY ? YYSYMBOL_YYEMPTY : YYTRANSLATE (yychar);
  ------------------
  |  |  599|  12.6k|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  |  593|  6.33k|#define YYMAXUTOK   269
  |  |  ------------------
  |  |  |  Branch (599:4): [True: 6.33k, False: 0]
  |  |  |  Branch (599:18): [True: 6.33k, False: 0]
  |  |  ------------------
  |  |  600|  12.6k|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  124|  6.33k|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  ------------------
  |  |  601|  12.6k|   : YYSYMBOL_YYUNDEF)
  ------------------
  |  Branch (1755:13): [True: 0, False: 6.33k]
  ------------------
 1756|       |  /* If not already recovering from an error, report this error.  */
 1757|  6.33k|  if (!yyerrstatus)
  ------------------
  |  Branch (1757:7): [True: 1.33k, False: 4.99k]
  ------------------
 1758|  1.33k|    {
 1759|  1.33k|      ++yynerrs;
  ------------------
  |  |   52|  1.33k|#define yynerrs      re_yynerrs
  ------------------
 1760|  1.33k|      yyerror (yyscanner, lex_env, YY_("syntax error"));
  ------------------
  |  |   47|  1.33k|#define yyerror      re_yyerror
  ------------------
                    yyerror (yyscanner, lex_env, YY_("syntax error"));
  ------------------
  |  |  383|  1.33k|#  define YY_(Msgid) Msgid
  ------------------
 1761|  1.33k|    }
 1762|       |
 1763|  6.33k|  if (yyerrstatus == 3)
  ------------------
  |  Branch (1763:7): [True: 4.99k, False: 1.33k]
  ------------------
 1764|  4.99k|    {
 1765|       |      /* If just tried and failed to reuse lookahead token after an
 1766|       |         error, discard it.  */
 1767|       |
 1768|  4.99k|      if (yychar <= YYEOF)
  ------------------
  |  |   50|  4.99k|#define yychar       re_yychar
  ------------------
                    if (yychar <= YYEOF)
  ------------------
  |  |   74|  4.99k|#define YYEOF 0
  ------------------
  |  Branch (1768:11): [True: 0, False: 4.99k]
  ------------------
 1769|      0|        {
 1770|       |          /* Return failure if at end of input.  */
 1771|      0|          if (yychar == YYEOF)
  ------------------
  |  |   50|      0|#define yychar       re_yychar
  ------------------
                        if (yychar == YYEOF)
  ------------------
  |  |   74|      0|#define YYEOF 0
  ------------------
  |  Branch (1771:15): [True: 0, False: 0]
  ------------------
 1772|      0|            YYABORT;
  ------------------
  |  |  773|      0|#define YYABORT         goto yyabortlab
  ------------------
 1773|      0|        }
 1774|  4.99k|      else
 1775|  4.99k|        {
 1776|  4.99k|          yydestruct ("Error: discarding",
 1777|  4.99k|                      yytoken, &yylval, yyscanner, lex_env);
 1778|  4.99k|          yychar = YYEMPTY;
  ------------------
  |  |   50|  4.99k|#define yychar       re_yychar
  ------------------
                        yychar = YYEMPTY;
  ------------------
  |  |   73|  4.99k|#define YYEMPTY -2
  ------------------
 1779|  4.99k|        }
 1780|  4.99k|    }
 1781|       |
 1782|       |  /* Else will try to reuse lookahead token after shifting the error
 1783|       |     token.  */
 1784|  6.33k|  goto yyerrlab1;
 1785|       |
 1786|       |
 1787|       |/*---------------------------------------------------.
 1788|       || yyerrorlab -- error raised explicitly by YYERROR.  |
 1789|       |`---------------------------------------------------*/
 1790|  6.33k|yyerrorlab:
 1791|       |  /* Pacify compilers when the user code never invokes YYERROR and the
 1792|       |     label yyerrorlab therefore never appears in user code.  */
 1793|      0|  if (0)
  ------------------
  |  Branch (1793:7): [Folded, False: 0]
  ------------------
 1794|      0|    YYERROR;
  ------------------
  |  |  774|      0|#define YYERROR         goto yyerrorlab
  ------------------
 1795|      0|  ++yynerrs;
  ------------------
  |  |   52|      0|#define yynerrs      re_yynerrs
  ------------------
 1796|       |
 1797|       |  /* Do not reclaim the symbols of the rule whose action triggered
 1798|       |     this YYERROR.  */
 1799|      0|  YYPOPSTACK (yylen);
  ------------------
  |  | 1062|      0|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
 1800|      0|  yylen = 0;
 1801|      0|  YY_STACK_PRINT (yyss, yyssp);
 1802|      0|  yystate = *yyssp;
 1803|      0|  goto yyerrlab1;
 1804|       |
 1805|       |
 1806|       |/*-------------------------------------------------------------.
 1807|       || yyerrlab1 -- common code for both syntax error and YYERROR.  |
 1808|       |`-------------------------------------------------------------*/
 1809|  6.33k|yyerrlab1:
 1810|  6.33k|  yyerrstatus = 3;      /* Each real token shifted decrements this.  */
 1811|       |
 1812|       |  /* Pop stack until we find a state that shifts the error token.  */
 1813|  6.33k|  for (;;)
 1814|  44.8k|    {
 1815|  44.8k|      yyn = yypact[yystate];
 1816|  44.8k|      if (!yypact_value_is_default (yyn))
  ------------------
  |  |  677|  44.8k|  ((Yyn) == YYPACT_NINF)
  |  |  ------------------
  |  |  |  |  674|  44.8k|#define YYPACT_NINF (-12)
  |  |  ------------------
  ------------------
  |  Branch (1816:11): [True: 44.8k, False: 0]
  ------------------
 1817|  44.8k|        {
 1818|  44.8k|          yyn += YYSYMBOL_YYerror;
 1819|  44.8k|          if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror)
  ------------------
  |  |  581|  89.5k|#define YYLAST   45
  ------------------
  |  Branch (1819:15): [True: 44.7k, False: 74]
  |  Branch (1819:27): [True: 44.7k, False: 0]
  |  Branch (1819:44): [True: 6.33k, False: 38.4k]
  ------------------
 1820|  6.33k|            {
 1821|  6.33k|              yyn = yytable[yyn];
 1822|  6.33k|              if (0 < yyn)
  ------------------
  |  Branch (1822:19): [True: 6.33k, False: 0]
  ------------------
 1823|  6.33k|                break;
 1824|  6.33k|            }
 1825|  44.8k|        }
 1826|       |
 1827|       |      /* Pop the current state because it cannot handle the error token.  */
 1828|  38.4k|      if (yyssp == yyss)
  ------------------
  |  Branch (1828:11): [True: 0, False: 38.4k]
  ------------------
 1829|      0|        YYABORT;
  ------------------
  |  |  773|      0|#define YYABORT         goto yyabortlab
  ------------------
 1830|       |
 1831|       |
 1832|  38.4k|      yydestruct ("Error: popping",
 1833|  38.4k|                  YY_ACCESSING_SYMBOL (yystate), yyvsp, yyscanner, lex_env);
  ------------------
  |  |  648|  38.4k|#define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State])
  |  |  ------------------
  |  |  |  |  124|  38.4k|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  ------------------
  ------------------
 1834|  38.4k|      YYPOPSTACK (1);
  ------------------
  |  | 1062|  38.4k|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
 1835|  38.4k|      yystate = *yyssp;
 1836|  38.4k|      YY_STACK_PRINT (yyss, yyssp);
 1837|  38.4k|    }
 1838|       |
 1839|  6.33k|  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
 1840|  6.33k|  *++yyvsp = yylval;
 1841|  6.33k|  YY_IGNORE_MAYBE_UNINITIALIZED_END
 1842|       |
 1843|       |
 1844|       |  /* Shift the error token.  */
 1845|  6.33k|  YY_SYMBOL_PRINT ("Shifting", YY_ACCESSING_SYMBOL (yyn), yyvsp, yylsp);
 1846|       |
 1847|  6.33k|  yystate = yyn;
 1848|  6.33k|  goto yynewstate;
 1849|       |
 1850|       |
 1851|       |/*-------------------------------------.
 1852|       || yyacceptlab -- YYACCEPT comes here.  |
 1853|       |`-------------------------------------*/
 1854|  38.8k|yyacceptlab:
 1855|  38.8k|  yyresult = 0;
 1856|  38.8k|  goto yyreturnlab;
 1857|       |
 1858|       |
 1859|       |/*-----------------------------------.
 1860|       || yyabortlab -- YYABORT comes here.  |
 1861|       |`-----------------------------------*/
 1862|     16|yyabortlab:
 1863|     16|  yyresult = 1;
 1864|     16|  goto yyreturnlab;
 1865|       |
 1866|       |
 1867|       |/*-----------------------------------------------------------.
 1868|       || yyexhaustedlab -- YYNOMEM (memory exhaustion) comes here.  |
 1869|       |`-----------------------------------------------------------*/
 1870|      0|yyexhaustedlab:
 1871|      0|  yyerror (yyscanner, lex_env, YY_("memory exhausted"));
  ------------------
  |  |   47|      0|#define yyerror      re_yyerror
  ------------------
                yyerror (yyscanner, lex_env, YY_("memory exhausted"));
  ------------------
  |  |  383|      0|#  define YY_(Msgid) Msgid
  ------------------
 1872|      0|  yyresult = 2;
 1873|      0|  goto yyreturnlab;
 1874|       |
 1875|       |
 1876|       |/*----------------------------------------------------------.
 1877|       || yyreturnlab -- parsing is finished, clean up and return.  |
 1878|       |`----------------------------------------------------------*/
 1879|  38.9k|yyreturnlab:
 1880|  38.9k|  if (yychar != YYEMPTY)
  ------------------
  |  |   50|  38.9k|#define yychar       re_yychar
  ------------------
                if (yychar != YYEMPTY)
  ------------------
  |  |   73|  38.9k|#define YYEMPTY -2
  ------------------
  |  Branch (1880:7): [True: 15, False: 38.8k]
  ------------------
 1881|     15|    {
 1882|       |      /* Make sure we have latest lookahead translation.  See comments at
 1883|       |         user semantic actions for why this is necessary.  */
 1884|     15|      yytoken = YYTRANSLATE (yychar);
  ------------------
  |  |  599|     15|  (0 <= (YYX) && (YYX) <= YYMAXUTOK                     \
  |  |  ------------------
  |  |  |  |  593|     15|#define YYMAXUTOK   269
  |  |  ------------------
  |  |  |  Branch (599:4): [True: 15, False: 0]
  |  |  |  Branch (599:18): [True: 15, False: 0]
  |  |  ------------------
  |  |  600|     15|   ? YY_CAST (yysymbol_kind_t, yytranslate[YYX])        \
  |  |  ------------------
  |  |  |  |  124|     15|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  ------------------
  |  |  601|     15|   : YYSYMBOL_YYUNDEF)
  ------------------
 1885|     15|      yydestruct ("Cleanup: discarding lookahead",
 1886|     15|                  yytoken, &yylval, yyscanner, lex_env);
 1887|     15|    }
 1888|       |  /* Do not reclaim the symbols of the rule whose action triggered
 1889|       |     this YYABORT or YYACCEPT.  */
 1890|  38.9k|  YYPOPSTACK (yylen);
  ------------------
  |  | 1062|  38.9k|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
 1891|  38.9k|  YY_STACK_PRINT (yyss, yyssp);
 1892|   116k|  while (yyssp != yyss)
  ------------------
  |  Branch (1892:10): [True: 77.7k, False: 38.9k]
  ------------------
 1893|  77.7k|    {
 1894|  77.7k|      yydestruct ("Cleanup: popping",
 1895|  77.7k|                  YY_ACCESSING_SYMBOL (+*yyssp), yyvsp, yyscanner, lex_env);
  ------------------
  |  |  648|  77.7k|#define YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State])
  |  |  ------------------
  |  |  |  |  124|  77.7k|#   define YY_CAST(Type, Val) ((Type) (Val))
  |  |  ------------------
  ------------------
 1896|  77.7k|      YYPOPSTACK (1);
  ------------------
  |  | 1062|  77.7k|#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
  ------------------
 1897|  77.7k|    }
 1898|  38.9k|#ifndef yyoverflow
 1899|  38.9k|  if (yyss != yyssa)
  ------------------
  |  Branch (1899:7): [True: 79, False: 38.8k]
  ------------------
 1900|     79|    YYSTACK_FREE (yyss);
  ------------------
  |  |  491|     79|#  define YYSTACK_FREE YYFREE
  |  |  ------------------
  |  |  |  |   90|     79|#define YYFREE yr_free
  |  |  ------------------
  ------------------
 1901|  38.9k|#endif
 1902|       |
 1903|  38.9k|  return yyresult;
 1904|  6.33k|}
re_grammar.c:yydestruct:
  959|   121k|{
  960|   121k|  YY_USE (yyvaluep);
  ------------------
  |  |  406|   121k|# define YY_USE(E) ((void) (E))
  ------------------
  961|   121k|  YY_USE (yyscanner);
  ------------------
  |  |  406|   121k|# define YY_USE(E) ((void) (E))
  ------------------
  962|   121k|  YY_USE (lex_env);
  ------------------
  |  |  406|   121k|# define YY_USE(E) ((void) (E))
  ------------------
  963|   121k|  if (!yymsg)
  ------------------
  |  Branch (963:7): [True: 0, False: 121k]
  ------------------
  964|      0|    yymsg = "Deleting";
  965|   121k|  YY_SYMBOL_PRINT (yymsg, yykind, yyvaluep, yylocationp);
  966|       |
  967|   121k|  YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
  968|   121k|  switch (yykind)
  969|   121k|    {
  970|    222|    case YYSYMBOL__CLASS_: /* _CLASS_  */
  ------------------
  |  Branch (970:5): [True: 222, False: 121k]
  ------------------
  971|    222|#line 98 "re_grammar.y"
  972|    222|            { yr_free(((*yyvaluep).re_class)); ((*yyvaluep).re_class) = NULL; }
  973|    222|#line 966 "re_grammar.c"
  974|    222|        break;
  975|       |
  976|    630|    case YYSYMBOL_alternative: /* alternative  */
  ------------------
  |  Branch (976:5): [True: 630, False: 120k]
  ------------------
  977|    630|#line 99 "re_grammar.y"
  978|    630|            { yr_re_node_destroy(((*yyvaluep).re_node)); ((*yyvaluep).re_node) = NULL; }
  979|    630|#line 972 "re_grammar.c"
  980|    630|        break;
  981|       |
  982|  1.49k|    case YYSYMBOL_concatenation: /* concatenation  */
  ------------------
  |  Branch (982:5): [True: 1.49k, False: 119k]
  ------------------
  983|  1.49k|#line 100 "re_grammar.y"
  984|  1.49k|            { yr_re_node_destroy(((*yyvaluep).re_node)); ((*yyvaluep).re_node) = NULL; }
  985|  1.49k|#line 978 "re_grammar.c"
  986|  1.49k|        break;
  987|       |
  988|      0|    case YYSYMBOL_repeat: /* repeat  */
  ------------------
  |  Branch (988:5): [True: 0, False: 121k]
  ------------------
  989|      0|#line 101 "re_grammar.y"
  990|      0|            { yr_re_node_destroy(((*yyvaluep).re_node)); ((*yyvaluep).re_node) = NULL; }
  991|      0|#line 984 "re_grammar.c"
  992|      0|        break;
  993|       |
  994|      0|    case YYSYMBOL_single: /* single  */
  ------------------
  |  Branch (994:5): [True: 0, False: 121k]
  ------------------
  995|      0|#line 102 "re_grammar.y"
  996|      0|            { yr_re_node_destroy(((*yyvaluep).re_node)); ((*yyvaluep).re_node) = NULL; }
  997|      0|#line 990 "re_grammar.c"
  998|      0|        break;
  999|       |
 1000|   118k|      default:
  ------------------
  |  Branch (1000:7): [True: 118k, False: 2.34k]
  ------------------
 1001|   118k|        break;
 1002|   121k|    }
 1003|   121k|  YY_IGNORE_MAYBE_UNINITIALIZED_END
 1004|   121k|}

re_yylex:
 1045|  1.73M|{
 1046|  1.73M|	yy_state_type yy_current_state;
 1047|  1.73M|	char *yy_cp, *yy_bp;
 1048|  1.73M|	int yy_act;
 1049|  1.73M|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 1050|       |
 1051|  1.73M|    yylval = yylval_param;
  ------------------
  |  |  864|  1.73M|    #    define yylval yyg->yylval_r
  ------------------
 1052|       |
 1053|  1.73M|	if ( !yyg->yy_init )
  ------------------
  |  Branch (1053:7): [True: 38.9k, False: 1.69M]
  ------------------
 1054|  38.9k|		{
 1055|  38.9k|		yyg->yy_init = 1;
 1056|       |
 1057|       |#ifdef YY_USER_INIT
 1058|       |		YY_USER_INIT;
 1059|       |#endif
 1060|       |
 1061|  38.9k|		if ( ! yyg->yy_start )
  ------------------
  |  Branch (1061:8): [True: 38.9k, False: 0]
  ------------------
 1062|  38.9k|			yyg->yy_start = 1;	/* first start state */
 1063|       |
 1064|  38.9k|		if ( ! yyin )
  ------------------
  |  |  344|  38.9k|#define yyin yyg->yyin_r
  ------------------
  |  Branch (1064:8): [True: 38.9k, False: 0]
  ------------------
 1065|  38.9k|			yyin = stdin;
  ------------------
  |  |  344|  38.9k|#define yyin yyg->yyin_r
  ------------------
 1066|       |
 1067|  38.9k|		if ( ! yyout )
  ------------------
  |  |  345|  38.9k|#define yyout yyg->yyout_r
  ------------------
  |  Branch (1067:8): [True: 38.9k, False: 0]
  ------------------
 1068|  38.9k|			yyout = stdout;
  ------------------
  |  |  345|  38.9k|#define yyout yyg->yyout_r
  ------------------
 1069|       |
 1070|  38.9k|		if ( ! YY_CURRENT_BUFFER ) {
  ------------------
  |  |  509|  38.9k|#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  |  |  ------------------
  |  |  |  Branch (509:29): [True: 38.9k, False: 0]
  |  |  ------------------
  |  |  510|  38.9k|                          ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  |  |  511|  38.9k|                          : NULL)
  ------------------
  |  Branch (1070:8): [True: 0, False: 38.9k]
  ------------------
 1071|      0|			yyensure_buffer_stack (yyscanner);
  ------------------
  |  |   86|      0|#define yyensure_buffer_stack re_yyensure_buffer_stack
  ------------------
 1072|      0|			YY_CURRENT_BUFFER_LVALUE =
  ------------------
  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 1073|      0|				yy_create_buffer( yyin, YY_BUF_SIZE , yyscanner);
  ------------------
  |  |   20|      0|#define yy_create_buffer re_yy_create_buffer
  ------------------
              				yy_create_buffer( yyin, YY_BUF_SIZE , yyscanner);
  ------------------
  |  |  344|      0|#define yyin yyg->yyin_r
  ------------------
              				yy_create_buffer( yyin, YY_BUF_SIZE , yyscanner);
  ------------------
  |  |  379|      0|#define YY_BUF_SIZE 16384
  ------------------
 1074|      0|		}
 1075|       |
 1076|  38.9k|		yy_load_buffer_state( yyscanner );
  ------------------
  |  |   62|  38.9k|#define yy_load_buffer_state re_yy_load_buffer_state
  ------------------
 1077|  38.9k|		}
 1078|       |
 1079|  1.73M|	{
 1080|  1.73M|#line 115 "libyara/re_lexer.l"
 1081|       |
 1082|       |
 1083|  1.73M|#line 1083 "libyara/re_lexer.c"
 1084|       |
 1085|  1.75M|	while ( /*CONSTCOND*/1 )		/* loops until end-of-file is reached */
  ------------------
  |  Branch (1085:23): [True: 1.75M, Folded]
  ------------------
 1086|  1.75M|		{
 1087|  1.75M|		yy_cp = yyg->yy_c_buf_p;
 1088|       |
 1089|       |		/* Support of yytext. */
 1090|  1.75M|		*yy_cp = yyg->yy_hold_char;
 1091|       |
 1092|       |		/* yy_bp points to the position in yy_ch_buf of the start of
 1093|       |		 * the current run.
 1094|       |		 */
 1095|  1.75M|		yy_bp = yy_cp;
 1096|       |
 1097|  1.75M|		yy_current_state = yyg->yy_start;
 1098|  1.75M|yy_match:
 1099|  1.75M|		do
 1100|  3.60M|			{
 1101|  3.60M|			YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ;
  ------------------
  |  |  334|  3.60M|#define YY_SC_TO_UI(c) ((YY_CHAR) (c))
  ------------------
 1102|  3.60M|			if ( yy_accept[yy_current_state] )
  ------------------
  |  Branch (1102:9): [True: 1.82M, False: 1.78M]
  ------------------
 1103|  1.82M|				{
 1104|  1.82M|				yyg->yy_last_accepting_state = yy_current_state;
 1105|  1.82M|				yyg->yy_last_accepting_cpos = yy_cp;
 1106|  1.82M|				}
 1107|  6.33M|			while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  ------------------
  |  Branch (1107:12): [True: 2.73M, False: 3.60M]
  ------------------
 1108|  2.73M|				{
 1109|  2.73M|				yy_current_state = (int) yy_def[yy_current_state];
 1110|  2.73M|				if ( yy_current_state >= 47 )
  ------------------
  |  Branch (1110:10): [True: 979k, False: 1.75M]
  ------------------
 1111|   979k|					yy_c = yy_meta[yy_c];
 1112|  2.73M|				}
 1113|  3.60M|			yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
 1114|  3.60M|			++yy_cp;
 1115|  3.60M|			}
 1116|  3.60M|		while ( yy_current_state != 46 );
  ------------------
  |  Branch (1116:11): [True: 1.85M, False: 1.75M]
  ------------------
 1117|  1.75M|		yy_cp = yyg->yy_last_accepting_cpos;
 1118|  1.75M|		yy_current_state = yyg->yy_last_accepting_state;
 1119|       |
 1120|  1.78M|yy_find_action:
 1121|  1.78M|		yy_act = yy_accept[yy_current_state];
 1122|       |
 1123|  1.78M|		YY_DO_BEFORE_ACTION;
  ------------------
  |  |  578|  1.78M|	yyg->yytext_ptr = yy_bp; \
  |  |  ------------------
  |  |  |  |  567|  1.78M|#define yytext_ptr yytext_r
  |  |  ------------------
  |  |  579|  1.78M|	yyleng = (int) (yy_cp - yy_bp); \
  |  |  ------------------
  |  |  |  |  347|  1.78M|#define yyleng yyg->yyleng_r
  |  |  ------------------
  |  |  580|  1.78M|	yyg->yy_hold_char = *yy_cp; \
  |  |  581|  1.78M|	*yy_cp = '\0'; \
  |  |  582|  1.78M|	yyg->yy_c_buf_p = yy_cp;
  ------------------
 1124|       |
 1125|  1.78M|		if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act] )
  ------------------
  |  |  584|  3.57M|#define YY_END_OF_BUFFER 30
  ------------------
  |  Branch (1125:8): [True: 1.71M, False: 75.9k]
  |  Branch (1125:38): [True: 932k, False: 781k]
  ------------------
 1126|   932k|			{
 1127|   932k|			int yyl;
 1128|  1.87M|			for ( yyl = 0; yyl < yyleng; ++yyl )
  ------------------
  |  |  347|  1.87M|#define yyleng yyg->yyleng_r
  ------------------
  |  Branch (1128:19): [True: 938k, False: 932k]
  ------------------
 1129|   938k|				if ( yytext[yyl] == '\n' )
  ------------------
  |  |  348|   938k|#define yytext yyg->yytext_r
  ------------------
  |  Branch (1129:10): [True: 208, False: 938k]
  ------------------
 1130|       |					
 1131|    208|    do{ yylineno++;
  ------------------
  |  |  349|    208|#define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
  |  |  ------------------
  |  |  |  |  515|    208|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  |  |  ------------------
  ------------------
 1132|    208|        yycolumn=0;
  ------------------
  |  |  350|    208|#define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
  |  |  ------------------
  |  |  |  |  515|    208|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  |  |  ------------------
  ------------------
 1133|    208|    }while(0)
  ------------------
  |  Branch (1133:12): [Folded, False: 208]
  ------------------
 1134|   932k|;
 1135|   932k|			}
 1136|       |
 1137|  1.82M|do_action:	/* This label is used only to access EOF actions. */
 1138|       |
 1139|  1.82M|		switch ( yy_act )
 1140|  1.82M|	{ /* beginning of action switch */
 1141|    469|			case 0: /* must back up */
  ------------------
  |  Branch (1141:4): [True: 469, False: 1.82M]
  ------------------
 1142|       |			/* undo the effects of YY_DO_BEFORE_ACTION */
 1143|    469|			*yy_cp = yyg->yy_hold_char;
 1144|    469|			yy_cp = yyg->yy_last_accepting_cpos;
 1145|    469|			yy_current_state = yyg->yy_last_accepting_state;
 1146|    469|			goto yy_find_action;
 1147|       |
 1148|  17.3k|case 1:
  ------------------
  |  Branch (1148:1): [True: 17.3k, False: 1.81M]
  ------------------
 1149|  17.3k|YY_RULE_SETUP
 1150|  17.3k|#line 117 "libyara/re_lexer.l"
 1151|  17.3k|{
 1152|       |
 1153|       |  // Examples: {3,8} {3, 8}, {3 ,8} {3 , 8} {0,5} {,5} {7,}
 1154|       |
 1155|       |  // strtoll is used instead of atoi because atoi has undefined behaviour for
 1156|       |  // numbers that don't fit in an int. Numbers too large for a long long are
 1157|       |  // clamped to LLONG_MAX by strtoll, which is still caught by the RE_MAX_RANGE
 1158|       |  // check below.
 1159|       |
 1160|  17.3k|  long long hi_bound;
 1161|  17.3k|  long long lo_bound = strtoll(yytext + 1, NULL, 10);
  ------------------
  |  |  348|  17.3k|#define yytext yyg->yytext_r
  ------------------
 1162|       |
 1163|  17.3k|  char* comma = strchr(yytext, ',');
  ------------------
  |  |  348|  17.3k|#define yytext yyg->yytext_r
  ------------------
 1164|  17.3k|  char* hi_bound_ptr = comma + 1;
 1165|       |
 1166|       |  // Skip spaces after the comma, if any.
 1167|  17.5k|  while (*hi_bound_ptr == ' ') hi_bound_ptr++;
  ------------------
  |  Branch (1167:10): [True: 198, False: 17.3k]
  ------------------
 1168|       |
 1169|  17.3k|  if (*hi_bound_ptr == '}')
  ------------------
  |  Branch (1169:7): [True: 16.7k, False: 563]
  ------------------
 1170|  16.7k|    hi_bound = RE_MAX_RANGE;
  ------------------
  |  |   39|  16.7k|#define RE_MAX_RANGE              INT16_MAX
  ------------------
 1171|    563|  else
 1172|    563|    hi_bound = strtoll(hi_bound_ptr, NULL, 10);
 1173|       |
 1174|  17.3k|  if (hi_bound > RE_MAX_RANGE)
  ------------------
  |  |   39|  17.3k|#define RE_MAX_RANGE              INT16_MAX
  ------------------
  |  Branch (1174:7): [True: 65, False: 17.2k]
  ------------------
 1175|     65|  {
 1176|     65|    yyerror(yyscanner, lex_env, "repeat interval too large");
  ------------------
  |  |   47|     65|#define yyerror      re_yyerror
  ------------------
 1177|     65|    yyterminate();
  ------------------
  |  |  999|     65|#define yyterminate() return YY_NULL
  |  |  ------------------
  |  |  |  |  329|     65|#define YY_NULL 0
  |  |  ------------------
  ------------------
 1178|     65|  }
 1179|       |
 1180|  17.2k|  if (hi_bound < lo_bound)
  ------------------
  |  Branch (1180:7): [True: 70, False: 17.1k]
  ------------------
 1181|     70|  {
 1182|     70|    yyerror(yyscanner, lex_env, "bad repeat interval");
  ------------------
  |  |   47|     70|#define yyerror      re_yyerror
  ------------------
 1183|     70|    yyterminate();
  ------------------
  |  |  999|     70|#define yyterminate() return YY_NULL
  |  |  ------------------
  |  |  |  |  329|     70|#define YY_NULL 0
  |  |  ------------------
  ------------------
 1184|     70|  }
 1185|       |
 1186|  17.1k|  yylval->range = (uint32_t) ((hi_bound << 16) | lo_bound);
  ------------------
  |  |  864|  17.1k|    #    define yylval yyg->yylval_r
  ------------------
 1187|       |
 1188|  17.1k|  return _RANGE_;
  ------------------
  |  |   79|  17.1k|#define _RANGE_ 260
  ------------------
 1189|  17.2k|}
 1190|      0|	YY_BREAK
  ------------------
  |  | 1036|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1191|  2.75k|case 2:
  ------------------
  |  Branch (1191:1): [True: 2.75k, False: 1.82M]
  ------------------
 1192|  2.75k|YY_RULE_SETUP
 1193|  2.75k|#line 158 "libyara/re_lexer.l"
 1194|  2.75k|{
 1195|       |
 1196|       |  // Example: {10}
 1197|       |
 1198|  2.75k|  long long value = strtoll(yytext + 1, NULL, 10);
  ------------------
  |  |  348|  2.75k|#define yytext yyg->yytext_r
  ------------------
 1199|       |
 1200|  2.75k|  if (value > RE_MAX_RANGE)
  ------------------
  |  |   39|  2.75k|#define RE_MAX_RANGE              INT16_MAX
  ------------------
  |  Branch (1200:7): [True: 80, False: 2.67k]
  ------------------
 1201|     80|  {
 1202|     80|    yyerror(yyscanner, lex_env, "repeat interval too large");
  ------------------
  |  |   47|     80|#define yyerror      re_yyerror
  ------------------
 1203|     80|    yyterminate();
  ------------------
  |  |  999|     80|#define yyterminate() return YY_NULL
  |  |  ------------------
  |  |  |  |  329|     80|#define YY_NULL 0
  |  |  ------------------
  ------------------
 1204|     80|  }
 1205|       |
 1206|  2.67k|  yylval->range = (uint32_t) ((value << 16) | value);
  ------------------
  |  |  864|  2.67k|    #    define yylval yyg->yylval_r
  ------------------
 1207|       |
 1208|  2.67k|  return _RANGE_;
  ------------------
  |  |   79|  2.67k|#define _RANGE_ 260
  ------------------
 1209|  2.75k|}
 1210|      0|	YY_BREAK
  ------------------
  |  | 1036|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1211|    219|case 3:
  ------------------
  |  Branch (1211:1): [True: 219, False: 1.82M]
  ------------------
 1212|    219|YY_RULE_SETUP
 1213|    219|#line 176 "libyara/re_lexer.l"
 1214|    219|{
 1215|       |
 1216|       |  // Start of a negated character class. Example: [^abcd]
 1217|       |
 1218|    219|  BEGIN(char_class);
  ------------------
  |  |  357|    219|#define BEGIN yyg->yy_start = 1 + 2 *
  ------------------
                BEGIN(char_class);
  ------------------
  |  |  810|    219|#define char_class 1
  ------------------
 1219|    219|  memset(LEX_ENV->re_class.bitmap, 0, 32);
  ------------------
  |  |   83|    219|#define LEX_ENV ((RE_LEX_ENVIRONMENT*) lex_env)
  ------------------
 1220|    219|  LEX_ENV->re_class.negated = true;
  ------------------
  |  |   83|    219|#define LEX_ENV ((RE_LEX_ENVIRONMENT*) lex_env)
  ------------------
 1221|    219|}
 1222|    219|	YY_BREAK
  ------------------
  |  | 1036|    219|#define YY_BREAK /*LINTED*/break;
  ------------------
 1223|    409|case 4:
  ------------------
  |  Branch (1223:1): [True: 409, False: 1.82M]
  ------------------
 1224|    409|YY_RULE_SETUP
 1225|    409|#line 185 "libyara/re_lexer.l"
 1226|    409|{
 1227|       |
 1228|       |  // Start of character negated class containing a ].
 1229|       |  // Example: [^]abc] this must be interpreted as a class
 1230|       |  // not matching ], a, b, nor c
 1231|       |
 1232|    409|  BEGIN(char_class);
  ------------------
  |  |  357|    409|#define BEGIN yyg->yy_start = 1 + 2 *
  ------------------
                BEGIN(char_class);
  ------------------
  |  |  810|    409|#define char_class 1
  ------------------
 1233|    409|  memset(LEX_ENV->re_class.bitmap, 0, 32);
  ------------------
  |  |   83|    409|#define LEX_ENV ((RE_LEX_ENVIRONMENT*) lex_env)
  ------------------
 1234|    409|  LEX_ENV->re_class.negated = true;
  ------------------
  |  |   83|    409|#define LEX_ENV ((RE_LEX_ENVIRONMENT*) lex_env)
  ------------------
 1235|    409|  LEX_ENV->re_class.bitmap[']' / 8] |= 1 << ']' % 8;
  ------------------
  |  |   83|    409|#define LEX_ENV ((RE_LEX_ENVIRONMENT*) lex_env)
  ------------------
 1236|    409|}
 1237|    409|	YY_BREAK
  ------------------
  |  | 1036|    409|#define YY_BREAK /*LINTED*/break;
  ------------------
 1238|    607|case 5:
  ------------------
  |  Branch (1238:1): [True: 607, False: 1.82M]
  ------------------
 1239|    607|YY_RULE_SETUP
 1240|    607|#line 198 "libyara/re_lexer.l"
 1241|    607|{
 1242|       |
 1243|       |  // Start of character class containing a ].
 1244|       |  // Example: []abc] this must be interpreted as a class
 1245|       |  // matching ], a, b, or c.
 1246|       |
 1247|    607|  BEGIN(char_class);
  ------------------
  |  |  357|    607|#define BEGIN yyg->yy_start = 1 + 2 *
  ------------------
                BEGIN(char_class);
  ------------------
  |  |  810|    607|#define char_class 1
  ------------------
 1248|    607|  memset(LEX_ENV->re_class.bitmap, 0, 32);
  ------------------
  |  |   83|    607|#define LEX_ENV ((RE_LEX_ENVIRONMENT*) lex_env)
  ------------------
 1249|    607|  LEX_ENV->re_class.negated = false;
  ------------------
  |  |   83|    607|#define LEX_ENV ((RE_LEX_ENVIRONMENT*) lex_env)
  ------------------
 1250|    607|  LEX_ENV->re_class.bitmap[']' / 8] |= 1 << ']' % 8;
  ------------------
  |  |   83|    607|#define LEX_ENV ((RE_LEX_ENVIRONMENT*) lex_env)
  ------------------
 1251|    607|}
 1252|    607|	YY_BREAK
  ------------------
  |  | 1036|    607|#define YY_BREAK /*LINTED*/break;
  ------------------
 1253|  1.79k|case 6:
  ------------------
  |  Branch (1253:1): [True: 1.79k, False: 1.82M]
  ------------------
 1254|  1.79k|YY_RULE_SETUP
 1255|  1.79k|#line 211 "libyara/re_lexer.l"
 1256|  1.79k|{
 1257|       |
 1258|       |  // Start of character class. Example: [abcd]
 1259|       |
 1260|  1.79k|  BEGIN(char_class);
  ------------------
  |  |  357|  1.79k|#define BEGIN yyg->yy_start = 1 + 2 *
  ------------------
                BEGIN(char_class);
  ------------------
  |  |  810|  1.79k|#define char_class 1
  ------------------
 1261|  1.79k|  memset(LEX_ENV->re_class.bitmap, 0, 32);
  ------------------
  |  |   83|  1.79k|#define LEX_ENV ((RE_LEX_ENVIRONMENT*) lex_env)
  ------------------
 1262|  1.79k|  LEX_ENV->re_class.negated = false;
  ------------------
  |  |   83|  1.79k|#define LEX_ENV ((RE_LEX_ENVIRONMENT*) lex_env)
  ------------------
 1263|  1.79k|}
 1264|  1.79k|	YY_BREAK
  ------------------
  |  | 1036|  1.79k|#define YY_BREAK /*LINTED*/break;
  ------------------
 1265|   930k|case 7:
  ------------------
  |  Branch (1265:1): [True: 930k, False: 897k]
  ------------------
 1266|       |/* rule 7 can match eol */
 1267|   930k|YY_RULE_SETUP
 1268|   930k|#line 221 "libyara/re_lexer.l"
 1269|   930k|{
 1270|       |
 1271|       |  // Any non-special character is passed as a CHAR token to the scanner.
 1272|       |
 1273|   930k|  yylval->integer = yytext[0];
  ------------------
  |  |  864|   930k|    #    define yylval yyg->yylval_r
  ------------------
                yylval->integer = yytext[0];
  ------------------
  |  |  348|   930k|#define yytext yyg->yytext_r
  ------------------
 1274|   930k|  return _CHAR_;
  ------------------
  |  |   77|   930k|#define _CHAR_ 258
  ------------------
 1275|  2.75k|}
 1276|      0|	YY_BREAK
  ------------------
  |  | 1036|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1277|    250|case 8:
  ------------------
  |  Branch (1277:1): [True: 250, False: 1.82M]
  ------------------
 1278|    250|YY_RULE_SETUP
 1279|    250|#line 230 "libyara/re_lexer.l"
 1280|    250|{
 1281|    250|  return _WORD_CHAR_;
  ------------------
  |  |   81|    250|#define _WORD_CHAR_ 262
  ------------------
 1282|  2.75k|}
 1283|      0|	YY_BREAK
  ------------------
  |  | 1036|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1284|    728|case 9:
  ------------------
  |  Branch (1284:1): [True: 728, False: 1.82M]
  ------------------
 1285|    728|YY_RULE_SETUP
 1286|    728|#line 235 "libyara/re_lexer.l"
 1287|    728|{
 1288|    728|  return _NON_WORD_CHAR_;
  ------------------
  |  |   82|    728|#define _NON_WORD_CHAR_ 263
  ------------------
 1289|  2.75k|}
 1290|      0|	YY_BREAK
  ------------------
  |  | 1036|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1291|    420|case 10:
  ------------------
  |  Branch (1291:1): [True: 420, False: 1.82M]
  ------------------
 1292|    420|YY_RULE_SETUP
 1293|    420|#line 240 "libyara/re_lexer.l"
 1294|    420|{
 1295|    420|  return _SPACE_;
  ------------------
  |  |   83|    420|#define _SPACE_ 264
  ------------------
 1296|  2.75k|}
 1297|      0|	YY_BREAK
  ------------------
  |  | 1036|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1298|    215|case 11:
  ------------------
  |  Branch (1298:1): [True: 215, False: 1.82M]
  ------------------
 1299|    215|YY_RULE_SETUP
 1300|    215|#line 245 "libyara/re_lexer.l"
 1301|    215|{
 1302|    215|  return _NON_SPACE_;
  ------------------
  |  |   84|    215|#define _NON_SPACE_ 265
  ------------------
 1303|  2.75k|}
 1304|      0|	YY_BREAK
  ------------------
  |  | 1036|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1305|    250|case 12:
  ------------------
  |  Branch (1305:1): [True: 250, False: 1.82M]
  ------------------
 1306|    250|YY_RULE_SETUP
 1307|    250|#line 250 "libyara/re_lexer.l"
 1308|    250|{
 1309|    250|  return _DIGIT_;
  ------------------
  |  |   85|    250|#define _DIGIT_ 266
  ------------------
 1310|  2.75k|}
 1311|      0|	YY_BREAK
  ------------------
  |  | 1036|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1312|    262|case 13:
  ------------------
  |  Branch (1312:1): [True: 262, False: 1.82M]
  ------------------
 1313|    262|YY_RULE_SETUP
 1314|    262|#line 255 "libyara/re_lexer.l"
 1315|    262|{
 1316|    262|  return _NON_DIGIT_;
  ------------------
  |  |   86|    262|#define _NON_DIGIT_ 267
  ------------------
 1317|  2.75k|}
 1318|      0|	YY_BREAK
  ------------------
  |  | 1036|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1319|    211|case 14:
  ------------------
  |  Branch (1319:1): [True: 211, False: 1.82M]
  ------------------
 1320|    211|YY_RULE_SETUP
 1321|    211|#line 260 "libyara/re_lexer.l"
 1322|    211|{
 1323|    211|  return _WORD_BOUNDARY_;
  ------------------
  |  |   87|    211|#define _WORD_BOUNDARY_ 268
  ------------------
 1324|  2.75k|}
 1325|      0|	YY_BREAK
  ------------------
  |  | 1036|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1326|    231|case 15:
  ------------------
  |  Branch (1326:1): [True: 231, False: 1.82M]
  ------------------
 1327|    231|YY_RULE_SETUP
 1328|    231|#line 264 "libyara/re_lexer.l"
 1329|    231|{
 1330|    231|  return _NON_WORD_BOUNDARY_;
  ------------------
  |  |   88|    231|#define _NON_WORD_BOUNDARY_ 269
  ------------------
 1331|  2.75k|}
 1332|      0|	YY_BREAK
  ------------------
  |  | 1036|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1333|     65|case 16:
  ------------------
  |  Branch (1333:1): [True: 65, False: 1.82M]
  ------------------
 1334|     65|YY_RULE_SETUP
 1335|     65|#line 269 "libyara/re_lexer.l"
 1336|     65|{
 1337|       |
 1338|     65|  yyerror(yyscanner, lex_env, "backreferences are not allowed");
  ------------------
  |  |   47|     65|#define yyerror      re_yyerror
  ------------------
 1339|     65|  yyterminate();
  ------------------
  |  |  999|     65|#define yyterminate() return YY_NULL
  |  |  ------------------
  |  |  |  |  329|     65|#define YY_NULL 0
  |  |  ------------------
  ------------------
 1340|  2.75k|}
 1341|      0|	YY_BREAK
  ------------------
  |  | 1036|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1342|   511k|case 17:
  ------------------
  |  Branch (1342:1): [True: 511k, False: 1.31M]
  ------------------
 1343|   511k|YY_RULE_SETUP
 1344|   511k|#line 276 "libyara/re_lexer.l"
 1345|   511k|{
 1346|       |
 1347|   511k|  uint8_t c;
 1348|   511k|  int return_code;
 1349|       |
 1350|   511k|  return_code = read_escaped_char(yyscanner, &c, LEX_ENV->strict_escape);
  ------------------
  |  |   83|   511k|#define LEX_ENV ((RE_LEX_ENVIRONMENT*) lex_env)
  ------------------
 1351|   511k|  if (return_code == VALID_ESCAPE_SEQUENCE)
  ------------------
  |  |   71|   511k|#define VALID_ESCAPE_SEQUENCE   1
  ------------------
  |  Branch (1351:7): [True: 511k, False: 201]
  ------------------
 1352|   511k|  {
 1353|   511k|    yylval->integer = c;
  ------------------
  |  |  864|   511k|    #    define yylval yyg->yylval_r
  ------------------
 1354|   511k|    return _CHAR_;
  ------------------
  |  |   77|   511k|#define _CHAR_ 258
  ------------------
 1355|   511k|  }
 1356|    201|  else if (return_code == UNKNOWN_ESCAPE_SEQUENCE)
  ------------------
  |  |   72|    201|#define UNKNOWN_ESCAPE_SEQUENCE 2
  ------------------
  |  Branch (1356:12): [True: 0, False: 201]
  ------------------
 1357|      0|  {
 1358|      0|    yywarning(yyscanner, lex_env, "unknown escape sequence");
  ------------------
  |  |   48|      0|#define yywarning    re_yywarning
  ------------------
 1359|      0|    yylval->integer = c;
  ------------------
  |  |  864|      0|    #    define yylval yyg->yylval_r
  ------------------
 1360|      0|    return _CHAR_;
  ------------------
  |  |   77|      0|#define _CHAR_ 258
  ------------------
 1361|      0|  }
 1362|    201|  else
 1363|    201|  {
 1364|    201|    yyerror(yyscanner, lex_env, "illegal escape sequence");
  ------------------
  |  |   47|    201|#define yyerror      re_yyerror
  ------------------
 1365|    201|    yyterminate();
  ------------------
  |  |  999|    201|#define yyterminate() return YY_NULL
  |  |  ------------------
  |  |  |  |  329|    201|#define YY_NULL 0
  |  |  ------------------
  ------------------
 1366|    201|  }
 1367|   511k|}
 1368|      0|	YY_BREAK
  ------------------
  |  | 1036|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1369|  2.10k|case 18:
  ------------------
  |  Branch (1369:1): [True: 2.10k, False: 1.82M]
  ------------------
 1370|  2.10k|YY_RULE_SETUP
 1371|  2.10k|#line 301 "libyara/re_lexer.l"
 1372|  2.10k|{
 1373|       |
 1374|       |  // End of character class.
 1375|  2.10k|  yylval->re_class = (RE_CLASS*) yr_malloc(sizeof(RE_CLASS));
  ------------------
  |  |  864|  2.10k|    #    define yylval yyg->yylval_r
  ------------------
 1376|  2.10k|  memcpy(yylval->re_class->bitmap, LEX_ENV->re_class.bitmap, 32);
  ------------------
  |  |  864|  2.10k|    #    define yylval yyg->yylval_r
  ------------------
                memcpy(yylval->re_class->bitmap, LEX_ENV->re_class.bitmap, 32);
  ------------------
  |  |   83|  2.10k|#define LEX_ENV ((RE_LEX_ENVIRONMENT*) lex_env)
  ------------------
 1377|       |
 1378|  2.10k|  yylval->re_class->negated = LEX_ENV->re_class.negated;
  ------------------
  |  |  864|  2.10k|    #    define yylval yyg->yylval_r
  ------------------
                yylval->re_class->negated = LEX_ENV->re_class.negated;
  ------------------
  |  |   83|  2.10k|#define LEX_ENV ((RE_LEX_ENVIRONMENT*) lex_env)
  ------------------
 1379|       |
 1380|  2.10k|  BEGIN(INITIAL);
  ------------------
  |  |  357|  2.10k|#define BEGIN yyg->yy_start = 1 + 2 *
  ------------------
                BEGIN(INITIAL);
  ------------------
  |  |  809|  2.10k|#define INITIAL 0
  ------------------
 1381|  2.10k|  return _CLASS_;
  ------------------
  |  |   80|  2.10k|#define _CLASS_ 261
  ------------------
 1382|   511k|}
 1383|      0|	YY_BREAK
  ------------------
  |  | 1036|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1384|  2.13k|case 19:
  ------------------
  |  Branch (1384:1): [True: 2.13k, False: 1.82M]
  ------------------
 1385|       |/* rule 19 can match eol */
 1386|  2.13k|YY_RULE_SETUP
 1387|  2.13k|#line 315 "libyara/re_lexer.l"
 1388|  2.13k|{
 1389|       |
 1390|       |  // A range inside a character class. The regexp is...
 1391|       |  //
 1392|       |  //   ( \x{hex_digit}{2}    Hex digit (i.e: \x01) ...
 1393|       |  //   | \.                  ...or any escaped character (i.e. \\, \-) ...
 1394|       |  //   | [^]\]               ...or any character except ] and \ ...
 1395|       |  //   )
 1396|       |  //   -                     ... followed by -
 1397|       |  //   [^]]                  ... followed by any character except ]
 1398|       |  //
 1399|       |  // Some examples:
 1400|       |  //
 1401|       |  //  [abc0-9]
 1402|       |  //      ^-^ matching range 0-9
 1403|       |  //
 1404|       |  //  [a-za-]
 1405|       |  //   ^-^- matching range a-z
 1406|       |  //
 1407|       |  //  [\.-a]
 1408|       |  //   ^--^- matching range \.-a
 1409|       |  //
 1410|       |
 1411|  2.13k|  uint16_t c;
 1412|  2.13k|  uint8_t start = yytext[0];
  ------------------
  |  |  348|  2.13k|#define yytext yyg->yytext_r
  ------------------
 1413|  2.13k|  uint8_t end = yytext[2];
  ------------------
  |  |  348|  2.13k|#define yytext yyg->yytext_r
  ------------------
 1414|       |
 1415|  2.13k|  if (start == '\\')
  ------------------
  |  Branch (1415:7): [True: 913, False: 1.22k]
  ------------------
 1416|    913|  {
 1417|    913|    if (!escaped_char_value(yytext, &start, LEX_ENV->strict_escape))
  ------------------
  |  |  348|    913|#define yytext yyg->yytext_r
  ------------------
                  if (!escaped_char_value(yytext, &start, LEX_ENV->strict_escape))
  ------------------
  |  |   83|    913|#define LEX_ENV ((RE_LEX_ENVIRONMENT*) lex_env)
  ------------------
  |  Branch (1417:9): [True: 51, False: 862]
  ------------------
 1418|     51|    {
 1419|     51|      yyerror(yyscanner, lex_env, "illegal escape sequence");
  ------------------
  |  |   47|     51|#define yyerror      re_yyerror
  ------------------
 1420|     51|      yyterminate();
  ------------------
  |  |  999|     51|#define yyterminate() return YY_NULL
  |  |  ------------------
  |  |  |  |  329|     51|#define YY_NULL 0
  |  |  ------------------
  ------------------
 1421|     51|    }
 1422|       |
 1423|    862|    if (yytext[1] == 'x')
  ------------------
  |  |  348|    862|#define yytext yyg->yytext_r
  ------------------
  |  Branch (1423:9): [True: 279, False: 583]
  ------------------
 1424|    279|      end = yytext[5];
  ------------------
  |  |  348|    279|#define yytext yyg->yytext_r
  ------------------
 1425|    583|    else
 1426|    583|      end = yytext[3];
  ------------------
  |  |  348|    583|#define yytext yyg->yytext_r
  ------------------
 1427|    862|  }
 1428|       |
 1429|  2.08k|  if (end == '\\')
  ------------------
  |  Branch (1429:7): [True: 922, False: 1.16k]
  ------------------
 1430|    922|  {
 1431|    922|    if (!read_escaped_char(yyscanner, &end, LEX_ENV->strict_escape))
  ------------------
  |  |   83|    922|#define LEX_ENV ((RE_LEX_ENVIRONMENT*) lex_env)
  ------------------
  |  Branch (1431:9): [True: 194, False: 728]
  ------------------
 1432|    194|    {
 1433|    194|      yyerror(yyscanner, lex_env, "illegal escape sequence");
  ------------------
  |  |   47|    194|#define yyerror      re_yyerror
  ------------------
 1434|    194|      yyterminate();
  ------------------
  |  |  999|    194|#define yyterminate() return YY_NULL
  |  |  ------------------
  |  |  |  |  329|    194|#define YY_NULL 0
  |  |  ------------------
  ------------------
 1435|    194|    }
 1436|    922|  }
 1437|       |
 1438|  1.89k|  if (end < start)
  ------------------
  |  Branch (1438:7): [True: 111, False: 1.78k]
  ------------------
 1439|    111|  {
 1440|    111|    yyerror(yyscanner, lex_env, "bad character range");
  ------------------
  |  |   47|    111|#define yyerror      re_yyerror
  ------------------
 1441|    111|    yyterminate();
  ------------------
  |  |  999|    111|#define yyterminate() return YY_NULL
  |  |  ------------------
  |  |  |  |  329|    111|#define YY_NULL 0
  |  |  ------------------
  ------------------
 1442|    111|  }
 1443|       |
 1444|  70.6k|  for (c = start; c <= end; c++)
  ------------------
  |  Branch (1444:19): [True: 68.9k, False: 1.78k]
  ------------------
 1445|  68.9k|  {
 1446|  68.9k|    LEX_ENV->re_class.bitmap[c / 8] |= 1 << c % 8;
  ------------------
  |  |   83|  68.9k|#define LEX_ENV ((RE_LEX_ENVIRONMENT*) lex_env)
  ------------------
 1447|  68.9k|  }
 1448|  1.78k|}
 1449|  1.78k|	YY_BREAK
  ------------------
  |  | 1036|  1.78k|#define YY_BREAK /*LINTED*/break;
  ------------------
 1450|    812|case 20:
  ------------------
  |  Branch (1450:1): [True: 812, False: 1.82M]
  ------------------
 1451|    812|YY_RULE_SETUP
 1452|    812|#line 378 "libyara/re_lexer.l"
 1453|    812|{
 1454|       |
 1455|  26.7k|  for (int i = 0; i < 32; i++)
  ------------------
  |  Branch (1455:19): [True: 25.9k, False: 812]
  ------------------
 1456|  25.9k|    LEX_ENV->re_class.bitmap[i] |= word_chars[i];
  ------------------
  |  |   83|  25.9k|#define LEX_ENV ((RE_LEX_ENVIRONMENT*) lex_env)
  ------------------
 1457|    812|}
 1458|    812|	YY_BREAK
  ------------------
  |  | 1036|    812|#define YY_BREAK /*LINTED*/break;
  ------------------
 1459|  1.83k|case 21:
  ------------------
  |  Branch (1459:1): [True: 1.83k, False: 1.82M]
  ------------------
 1460|  1.83k|YY_RULE_SETUP
 1461|  1.83k|#line 385 "libyara/re_lexer.l"
 1462|  1.83k|{
 1463|       |
 1464|  60.4k|  for (int i = 0; i < 32; i++)
  ------------------
  |  Branch (1464:19): [True: 58.6k, False: 1.83k]
  ------------------
 1465|  58.6k|    LEX_ENV->re_class.bitmap[i] |= ~word_chars[i];
  ------------------
  |  |   83|  58.6k|#define LEX_ENV ((RE_LEX_ENVIRONMENT*) lex_env)
  ------------------
 1466|  1.83k|}
 1467|  1.83k|	YY_BREAK
  ------------------
  |  | 1036|  1.83k|#define YY_BREAK /*LINTED*/break;
  ------------------
 1468|    854|case 22:
  ------------------
  |  Branch (1468:1): [True: 854, False: 1.82M]
  ------------------
 1469|    854|YY_RULE_SETUP
 1470|    854|#line 392 "libyara/re_lexer.l"
 1471|    854|{
 1472|       |
 1473|  28.1k|  for (int i = 0; i < 32; i++)
  ------------------
  |  Branch (1473:19): [True: 27.3k, False: 854]
  ------------------
 1474|  27.3k|    LEX_ENV->re_class.bitmap[i] |= space_chars[i];
  ------------------
  |  |   83|  27.3k|#define LEX_ENV ((RE_LEX_ENVIRONMENT*) lex_env)
  ------------------
 1475|    854|}
 1476|    854|	YY_BREAK
  ------------------
  |  | 1036|    854|#define YY_BREAK /*LINTED*/break;
  ------------------
 1477|    869|case 23:
  ------------------
  |  Branch (1477:1): [True: 869, False: 1.82M]
  ------------------
 1478|    869|YY_RULE_SETUP
 1479|    869|#line 399 "libyara/re_lexer.l"
 1480|    869|{
 1481|       |
 1482|  28.6k|  for (int i = 0; i < 32; i++)
  ------------------
  |  Branch (1482:19): [True: 27.8k, False: 869]
  ------------------
 1483|  27.8k|    LEX_ENV->re_class.bitmap[i] |= ~space_chars[i];
  ------------------
  |  |   83|  27.8k|#define LEX_ENV ((RE_LEX_ENVIRONMENT*) lex_env)
  ------------------
 1484|    869|}
 1485|    869|	YY_BREAK
  ------------------
  |  | 1036|    869|#define YY_BREAK /*LINTED*/break;
  ------------------
 1486|    541|case 24:
  ------------------
  |  Branch (1486:1): [True: 541, False: 1.82M]
  ------------------
 1487|    541|YY_RULE_SETUP
 1488|    541|#line 406 "libyara/re_lexer.l"
 1489|    541|{
 1490|       |
 1491|  5.95k|  for (char c = '0'; c <= '9'; c++)
  ------------------
  |  Branch (1491:22): [True: 5.41k, False: 541]
  ------------------
 1492|  5.41k|    LEX_ENV->re_class.bitmap[c / 8] |= 1 << c % 8;
  ------------------
  |  |   83|  5.41k|#define LEX_ENV ((RE_LEX_ENVIRONMENT*) lex_env)
  ------------------
 1493|    541|}
 1494|    541|	YY_BREAK
  ------------------
  |  | 1036|    541|#define YY_BREAK /*LINTED*/break;
  ------------------
 1495|    999|case 25:
  ------------------
  |  Branch (1495:1): [True: 999, False: 1.82M]
  ------------------
 1496|    999|YY_RULE_SETUP
 1497|    999|#line 413 "libyara/re_lexer.l"
 1498|    999|{
 1499|       |
 1500|  32.9k|  for (int i = 0; i < 32; i++)
  ------------------
  |  Branch (1500:19): [True: 31.9k, False: 999]
  ------------------
 1501|  31.9k|  {
 1502|       |    // digits 0-7 are in the sixth byte of the vector, let that byte alone
 1503|  31.9k|    if (i == 6)
  ------------------
  |  Branch (1503:9): [True: 999, False: 30.9k]
  ------------------
 1504|    999|      continue;
 1505|       |
 1506|       |    // digits 8 and 9 are the lowest two bits in the seventh byte of the
 1507|       |    // vector, let those bits alone.
 1508|  30.9k|    if (i == 7)
  ------------------
  |  Branch (1508:9): [True: 999, False: 29.9k]
  ------------------
 1509|    999|      LEX_ENV->re_class.bitmap[i] |= 0xFC;
  ------------------
  |  |   83|    999|#define LEX_ENV ((RE_LEX_ENVIRONMENT*) lex_env)
  ------------------
 1510|  29.9k|    else
 1511|  29.9k|      LEX_ENV->re_class.bitmap[i] = 0xFF;
  ------------------
  |  |   83|  29.9k|#define LEX_ENV ((RE_LEX_ENVIRONMENT*) lex_env)
  ------------------
 1512|  30.9k|  }
 1513|    999|}
 1514|    999|	YY_BREAK
  ------------------
  |  | 1036|    999|#define YY_BREAK /*LINTED*/break;
  ------------------
 1515|  1.93k|case 26:
  ------------------
  |  Branch (1515:1): [True: 1.93k, False: 1.82M]
  ------------------
 1516|  1.93k|YY_RULE_SETUP
 1517|  1.93k|#line 431 "libyara/re_lexer.l"
 1518|  1.93k|{
 1519|       |
 1520|  1.93k|  uint8_t c;
 1521|  1.93k|  int return_code;
 1522|       |
 1523|  1.93k|  return_code = read_escaped_char(yyscanner, &c, LEX_ENV->strict_escape);
  ------------------
  |  |   83|  1.93k|#define LEX_ENV ((RE_LEX_ENVIRONMENT*) lex_env)
  ------------------
 1524|  1.93k|  if (return_code == VALID_ESCAPE_SEQUENCE)
  ------------------
  |  |   71|  1.93k|#define VALID_ESCAPE_SEQUENCE   1
  ------------------
  |  Branch (1524:7): [True: 1.69k, False: 237]
  ------------------
 1525|  1.69k|  {
 1526|  1.69k|    LEX_ENV->re_class.bitmap[c / 8] |= 1 << c % 8;
  ------------------
  |  |   83|  1.69k|#define LEX_ENV ((RE_LEX_ENVIRONMENT*) lex_env)
  ------------------
 1527|  1.69k|  }
 1528|    237|  else if (return_code == UNKNOWN_ESCAPE_SEQUENCE)
  ------------------
  |  |   72|    237|#define UNKNOWN_ESCAPE_SEQUENCE 2
  ------------------
  |  Branch (1528:12): [True: 0, False: 237]
  ------------------
 1529|      0|  {
 1530|      0|    yywarning(yyscanner, lex_env, "unknown escape sequence");
  ------------------
  |  |   48|      0|#define yywarning    re_yywarning
  ------------------
 1531|      0|    LEX_ENV->re_class.bitmap[c / 8] |= 1 << c % 8;
  ------------------
  |  |   83|      0|#define LEX_ENV ((RE_LEX_ENVIRONMENT*) lex_env)
  ------------------
 1532|      0|  }
 1533|    237|  else
 1534|    237|  {
 1535|    237|    yyerror(yyscanner, lex_env, "illegal escape sequence");
  ------------------
  |  |   47|    237|#define yyerror      re_yyerror
  ------------------
 1536|    237|    yyterminate();
  ------------------
  |  |  999|    237|#define yyterminate() return YY_NULL
  |  |  ------------------
  |  |  |  |  329|    237|#define YY_NULL 0
  |  |  ------------------
  ------------------
 1537|    237|  }
 1538|  1.93k|}
 1539|  1.69k|	YY_BREAK
  ------------------
  |  | 1036|  1.69k|#define YY_BREAK /*LINTED*/break;
  ------------------
 1540|  8.44k|case 27:
  ------------------
  |  Branch (1540:1): [True: 8.44k, False: 1.81M]
  ------------------
 1541|  8.44k|YY_RULE_SETUP
 1542|  8.44k|#line 454 "libyara/re_lexer.l"
 1543|  8.44k|{
 1544|       |
 1545|  8.44k|  if (yytext[0] >= 32 && yytext[0] < 127)
  ------------------
  |  |  348|  8.44k|#define yytext yyg->yytext_r
  ------------------
                if (yytext[0] >= 32 && yytext[0] < 127)
  ------------------
  |  |  348|  8.36k|#define yytext yyg->yytext_r
  ------------------
  |  Branch (1545:7): [True: 8.36k, False: 79]
  |  Branch (1545:26): [True: 8.34k, False: 18]
  ------------------
 1546|  8.34k|  {
 1547|       |    // A character class (i.e: [0-9a-f]) is represented by a 256-bits vector,
 1548|       |    // here we set to 1 the vector's bit corresponding to the input character.
 1549|       |
 1550|  8.34k|    LEX_ENV->re_class.bitmap[yytext[0] / 8] |= 1 << yytext[0] % 8;
  ------------------
  |  |   83|  8.34k|#define LEX_ENV ((RE_LEX_ENVIRONMENT*) lex_env)
  ------------------
                  LEX_ENV->re_class.bitmap[yytext[0] / 8] |= 1 << yytext[0] % 8;
  ------------------
  |  |  348|  8.34k|#define yytext yyg->yytext_r
  ------------------
                  LEX_ENV->re_class.bitmap[yytext[0] / 8] |= 1 << yytext[0] % 8;
  ------------------
  |  |  348|  8.34k|#define yytext yyg->yytext_r
  ------------------
 1551|  8.34k|  }
 1552|     97|  else
 1553|     97|  {
 1554|     97|    yyerror(yyscanner, lex_env, "non-ascii character");
  ------------------
  |  |   47|     97|#define yyerror      re_yyerror
  ------------------
 1555|     97|    yyterminate();
  ------------------
  |  |  999|     97|#define yyterminate() return YY_NULL
  |  |  ------------------
  |  |  |  |  329|     97|#define YY_NULL 0
  |  |  ------------------
  ------------------
 1556|     97|  }
 1557|  8.44k|}
 1558|  8.34k|	YY_BREAK
  ------------------
  |  | 1036|  8.34k|#define YY_BREAK /*LINTED*/break;
  ------------------
 1559|  8.34k|case YY_STATE_EOF(char_class):
  ------------------
  |  |  365|    234|#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  |  |  ------------------
  |  |  |  |  584|    234|#define YY_END_OF_BUFFER 30
  |  |  ------------------
  ------------------
  |  Branch (1559:1): [True: 234, False: 1.82M]
  ------------------
 1560|    234|#line 471 "libyara/re_lexer.l"
 1561|    234|{
 1562|       |
 1563|       |  // End of regexp reached while scanning a character class.
 1564|       |
 1565|    234|  yyerror(yyscanner, lex_env, "missing terminating ] for character class");
  ------------------
  |  |   47|    234|#define yyerror      re_yyerror
  ------------------
 1566|    234|  yyterminate();
  ------------------
  |  |  999|    234|#define yyterminate() return YY_NULL
  |  |  ------------------
  |  |  |  |  329|    234|#define YY_NULL 0
  |  |  ------------------
  ------------------
 1567|  8.44k|}
 1568|      0|	YY_BREAK
  ------------------
  |  | 1036|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1569|   225k|case 28:
  ------------------
  |  Branch (1569:1): [True: 225k, False: 1.60M]
  ------------------
 1570|   225k|YY_RULE_SETUP
 1571|   225k|#line 480 "libyara/re_lexer.l"
 1572|   225k|{
 1573|       |
 1574|   225k|  if (yytext[0] >= 32 && yytext[0] < 127)
  ------------------
  |  |  348|   225k|#define yytext yyg->yytext_r
  ------------------
                if (yytext[0] >= 32 && yytext[0] < 127)
  ------------------
  |  |  348|   225k|#define yytext yyg->yytext_r
  ------------------
  |  Branch (1574:7): [True: 225k, False: 0]
  |  Branch (1574:26): [True: 225k, False: 0]
  ------------------
 1575|   225k|  {
 1576|   225k|    return yytext[0];
  ------------------
  |  |  348|   225k|#define yytext yyg->yytext_r
  ------------------
 1577|   225k|  }
 1578|      0|  else
 1579|      0|  {
 1580|      0|    yyerror(yyscanner, lex_env, "non-ascii character");
  ------------------
  |  |   47|      0|#define yyerror      re_yyerror
  ------------------
 1581|      0|    yyterminate();
  ------------------
  |  |  999|      0|#define yyterminate() return YY_NULL
  |  |  ------------------
  |  |  |  |  329|      0|#define YY_NULL 0
  |  |  ------------------
  ------------------
 1582|      0|  }
 1583|   225k|}
 1584|      0|	YY_BREAK
  ------------------
  |  | 1036|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1585|  37.4k|case YY_STATE_EOF(INITIAL):
  ------------------
  |  |  365|  37.4k|#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  |  |  ------------------
  |  |  |  |  584|  37.4k|#define YY_END_OF_BUFFER 30
  |  |  ------------------
  ------------------
  |  Branch (1585:1): [True: 37.4k, False: 1.78M]
  ------------------
 1586|  37.4k|#line 494 "libyara/re_lexer.l"
 1587|  37.4k|{
 1588|       |
 1589|  37.4k|  yyterminate();
  ------------------
  |  |  999|  37.4k|#define yyterminate() return YY_NULL
  |  |  ------------------
  |  |  |  |  329|  37.4k|#define YY_NULL 0
  |  |  ------------------
  ------------------
 1590|   225k|}
 1591|      0|	YY_BREAK
  ------------------
  |  | 1036|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1592|      0|case 29:
  ------------------
  |  Branch (1592:1): [True: 0, False: 1.82M]
  ------------------
 1593|      0|YY_RULE_SETUP
 1594|      0|#line 499 "libyara/re_lexer.l"
 1595|      0|ECHO;
 1596|      0|	YY_BREAK
  ------------------
  |  | 1036|      0|#define YY_BREAK /*LINTED*/break;
  ------------------
 1597|      0|#line 1597 "libyara/re_lexer.c"
 1598|       |
 1599|  75.9k|	case YY_END_OF_BUFFER:
  ------------------
  |  |  584|  75.9k|#define YY_END_OF_BUFFER 30
  ------------------
  |  Branch (1599:2): [True: 75.9k, False: 1.75M]
  ------------------
 1600|  75.9k|		{
 1601|       |		/* Amount of text matched not including the EOB char. */
 1602|  75.9k|		int yy_amount_of_matched_text = (int) (yy_cp - yyg->yytext_ptr) - 1;
  ------------------
  |  |  567|  75.9k|#define yytext_ptr yytext_r
  ------------------
 1603|       |
 1604|       |		/* Undo the effects of YY_DO_BEFORE_ACTION. */
 1605|  75.9k|		*yy_cp = yyg->yy_hold_char;
 1606|  75.9k|		YY_RESTORE_YY_MORE_OFFSET
 1607|       |
 1608|  75.9k|		if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
  ------------------
  |  |  515|  75.9k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
              		if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
  ------------------
  |  |  486|  75.9k|#define YY_BUFFER_NEW 0
  ------------------
  |  Branch (1608:8): [True: 37.9k, False: 37.9k]
  ------------------
 1609|  37.9k|			{
 1610|       |			/* We're scanning a new file or input source.  It's
 1611|       |			 * possible that this happened because the user
 1612|       |			 * just pointed yyin at a new source and called
 1613|       |			 * yylex().  If so, then we have to assure
 1614|       |			 * consistency between YY_CURRENT_BUFFER and our
 1615|       |			 * globals.  Here is the right place to do so, because
 1616|       |			 * this is the first action (other than possibly a
 1617|       |			 * back-up) that will match for the new input source.
 1618|       |			 */
 1619|  37.9k|			yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  ------------------
  |  |  515|  37.9k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 1620|  37.9k|			YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
  ------------------
  |  |  515|  37.9k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
              			YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
  ------------------
  |  |  344|  37.9k|#define yyin yyg->yyin_r
  ------------------
 1621|  37.9k|			YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
  ------------------
  |  |  515|  37.9k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
              			YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
  ------------------
  |  |  487|  37.9k|#define YY_BUFFER_NORMAL 1
  ------------------
 1622|  37.9k|			}
 1623|       |
 1624|       |		/* Note that here we test for yy_c_buf_p "<=" to the position
 1625|       |		 * of the first EOB in the buffer, since yy_c_buf_p will
 1626|       |		 * already have been incremented past the NUL character
 1627|       |		 * (since all states make transitions on EOB to the
 1628|       |		 * end-of-buffer state).  Contrast this with the test
 1629|       |		 * in input().
 1630|       |		 */
 1631|  75.9k|		if ( yyg->yy_c_buf_p <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] )
  ------------------
  |  |  515|  75.9k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
  |  Branch (1631:8): [True: 0, False: 75.9k]
  ------------------
 1632|      0|			{ /* This was really a NUL. */
 1633|      0|			yy_state_type yy_next_state;
 1634|       |
 1635|      0|			yyg->yy_c_buf_p = yyg->yytext_ptr + yy_amount_of_matched_text;
  ------------------
  |  |  567|      0|#define yytext_ptr yytext_r
  ------------------
 1636|       |
 1637|      0|			yy_current_state = yy_get_previous_state( yyscanner );
 1638|       |
 1639|       |			/* Okay, we're now positioned to make the NUL
 1640|       |			 * transition.  We couldn't have
 1641|       |			 * yy_get_previous_state() go ahead and do it
 1642|       |			 * for us because it doesn't know how to deal
 1643|       |			 * with the possibility of jamming (and we don't
 1644|       |			 * want to build jamming into it because then it
 1645|       |			 * will run more slowly).
 1646|       |			 */
 1647|       |
 1648|      0|			yy_next_state = yy_try_NUL_trans( yy_current_state , yyscanner);
 1649|       |
 1650|      0|			yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
  ------------------
  |  |  567|      0|#define yytext_ptr yytext_r
  ------------------
              			yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
  ------------------
  |  |  709|      0|#define YY_MORE_ADJ 0
  ------------------
 1651|       |
 1652|      0|			if ( yy_next_state )
  ------------------
  |  Branch (1652:9): [True: 0, False: 0]
  ------------------
 1653|      0|				{
 1654|       |				/* Consume the NUL. */
 1655|      0|				yy_cp = ++yyg->yy_c_buf_p;
 1656|      0|				yy_current_state = yy_next_state;
 1657|      0|				goto yy_match;
 1658|      0|				}
 1659|       |
 1660|      0|			else
 1661|      0|				{
 1662|      0|				yy_cp = yyg->yy_last_accepting_cpos;
 1663|      0|				yy_current_state = yyg->yy_last_accepting_state;
 1664|      0|				goto yy_find_action;
 1665|      0|				}
 1666|      0|			}
 1667|       |
 1668|  75.9k|		else switch ( yy_get_next_buffer( yyscanner ) )
  ------------------
  |  Branch (1668:17): [True: 75.9k, False: 0]
  ------------------
 1669|  75.9k|			{
 1670|  37.7k|			case EOB_ACT_END_OF_FILE:
  ------------------
  |  |  398|  37.7k|#define EOB_ACT_END_OF_FILE 1
  ------------------
  |  Branch (1670:4): [True: 37.7k, False: 38.2k]
  ------------------
 1671|  37.7k|				{
 1672|  37.7k|				yyg->yy_did_buffer_switch_on_eof = 0;
 1673|       |
 1674|  37.7k|				if ( yywrap( yyscanner ) )
  ------------------
  |  |  206|  37.7k|#define yywrap re_yywrap
  |  |  ------------------
  |  |  |  |  561|  37.7k|#define re_yywrap(yyscanner) (/*CONSTCOND*/1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (561:30): [True: 37.7k, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1675|  37.7k|					{
 1676|       |					/* Note: because we've taken care in
 1677|       |					 * yy_get_next_buffer() to have set up
 1678|       |					 * yytext, we can now set up
 1679|       |					 * yy_c_buf_p so that if some total
 1680|       |					 * hoser (like flex itself) wants to
 1681|       |					 * call the scanner after we return the
 1682|       |					 * YY_NULL, it'll still work - another
 1683|       |					 * YY_NULL will get returned.
 1684|       |					 */
 1685|  37.7k|					yyg->yy_c_buf_p = yyg->yytext_ptr + YY_MORE_ADJ;
  ------------------
  |  |  567|  37.7k|#define yytext_ptr yytext_r
  ------------------
              					yyg->yy_c_buf_p = yyg->yytext_ptr + YY_MORE_ADJ;
  ------------------
  |  |  709|  37.7k|#define YY_MORE_ADJ 0
  ------------------
 1686|       |
 1687|  37.7k|					yy_act = YY_STATE_EOF(YY_START);
  ------------------
  |  |  365|  37.7k|#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  |  |  ------------------
  |  |  |  |  584|  37.7k|#define YY_END_OF_BUFFER 30
  |  |  ------------------
  ------------------
 1688|  37.7k|					goto do_action;
 1689|  37.7k|					}
 1690|       |
 1691|      0|				else
 1692|      0|					{
 1693|      0|					if ( ! yyg->yy_did_buffer_switch_on_eof )
  ------------------
  |  Branch (1693:11): [True: 0, False: 0]
  ------------------
 1694|      0|						YY_NEW_FILE;
  ------------------
  |  |  367|      0|#define YY_NEW_FILE yyrestart( yyin , yyscanner )
  |  |  ------------------
  |  |  |  |   98|      0|#define yyrestart re_yyrestart
  |  |  ------------------
  |  |               #define YY_NEW_FILE yyrestart( yyin , yyscanner )
  |  |  ------------------
  |  |  |  |  344|      0|#define yyin yyg->yyin_r
  |  |  ------------------
  ------------------
 1695|      0|					}
 1696|      0|				break;
 1697|  37.7k|				}
 1698|       |
 1699|      0|			case EOB_ACT_CONTINUE_SCAN:
  ------------------
  |  |  397|      0|#define EOB_ACT_CONTINUE_SCAN 0
  ------------------
  |  Branch (1699:4): [True: 0, False: 75.9k]
  ------------------
 1700|      0|				yyg->yy_c_buf_p =
 1701|      0|					yyg->yytext_ptr + yy_amount_of_matched_text;
  ------------------
  |  |  567|      0|#define yytext_ptr yytext_r
  ------------------
 1702|       |
 1703|      0|				yy_current_state = yy_get_previous_state( yyscanner );
 1704|       |
 1705|      0|				yy_cp = yyg->yy_c_buf_p;
 1706|      0|				yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
  ------------------
  |  |  567|      0|#define yytext_ptr yytext_r
  ------------------
              				yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
  ------------------
  |  |  709|      0|#define YY_MORE_ADJ 0
  ------------------
 1707|      0|				goto yy_match;
 1708|       |
 1709|  38.2k|			case EOB_ACT_LAST_MATCH:
  ------------------
  |  |  399|  38.2k|#define EOB_ACT_LAST_MATCH 2
  ------------------
  |  Branch (1709:4): [True: 38.2k, False: 37.7k]
  ------------------
 1710|  38.2k|				yyg->yy_c_buf_p =
 1711|  38.2k|				&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars];
  ------------------
  |  |  515|  38.2k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 1712|       |
 1713|  38.2k|				yy_current_state = yy_get_previous_state( yyscanner );
 1714|       |
 1715|  38.2k|				yy_cp = yyg->yy_c_buf_p;
 1716|  38.2k|				yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
  ------------------
  |  |  567|  38.2k|#define yytext_ptr yytext_r
  ------------------
              				yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
  ------------------
  |  |  709|  38.2k|#define YY_MORE_ADJ 0
  ------------------
 1717|  38.2k|				goto yy_find_action;
 1718|  75.9k|			}
 1719|      0|		break;
 1720|  75.9k|		}
 1721|       |
 1722|      0|	default:
  ------------------
  |  Branch (1722:2): [True: 0, False: 1.82M]
  ------------------
 1723|      0|		YY_FATAL_ERROR(
  ------------------
  |  |   90|      0|#define YY_FATAL_ERROR(msg) re_yyfatal(yyscanner, msg)
  ------------------
 1724|  1.82M|			"fatal flex scanner internal error--no action found" );
 1725|  1.82M|	} /* end of action switch */
 1726|  1.82M|		} /* end of scanning one token */
 1727|  1.73M|	} /* end of user's declarations */
 1728|  1.73M|} /* end of yylex */
re_yyrestart:
 2026|    285|{
 2027|    285|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 2028|       |
 2029|    285|	if ( ! YY_CURRENT_BUFFER ){
  ------------------
  |  |  509|    285|#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  |  |  ------------------
  |  |  |  Branch (509:29): [True: 285, False: 0]
  |  |  ------------------
  |  |  510|    285|                          ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  |  |  511|    285|                          : NULL)
  ------------------
  |  Branch (2029:7): [True: 0, False: 285]
  ------------------
 2030|      0|        yyensure_buffer_stack (yyscanner);
  ------------------
  |  |   86|      0|#define yyensure_buffer_stack re_yyensure_buffer_stack
  ------------------
 2031|      0|		YY_CURRENT_BUFFER_LVALUE =
  ------------------
  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 2032|      0|            yy_create_buffer( yyin, YY_BUF_SIZE , yyscanner);
  ------------------
  |  |   20|      0|#define yy_create_buffer re_yy_create_buffer
  ------------------
                          yy_create_buffer( yyin, YY_BUF_SIZE , yyscanner);
  ------------------
  |  |  344|      0|#define yyin yyg->yyin_r
  ------------------
                          yy_create_buffer( yyin, YY_BUF_SIZE , yyscanner);
  ------------------
  |  |  379|      0|#define YY_BUF_SIZE 16384
  ------------------
 2033|      0|	}
 2034|       |
 2035|    285|	yy_init_buffer( YY_CURRENT_BUFFER, input_file , yyscanner);
  ------------------
  |  |   50|    285|#define yy_init_buffer re_yy_init_buffer
  ------------------
              	yy_init_buffer( YY_CURRENT_BUFFER, input_file , yyscanner);
  ------------------
  |  |  509|    285|#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  |  |  ------------------
  |  |  |  Branch (509:29): [True: 285, False: 0]
  |  |  ------------------
  |  |  510|    285|                          ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  |  |  511|    285|                          : NULL)
  ------------------
 2036|    285|	yy_load_buffer_state( yyscanner );
  ------------------
  |  |   62|    285|#define yy_load_buffer_state re_yy_load_buffer_state
  ------------------
 2037|    285|}
re_yy_switch_to_buffer:
 2044|  38.9k|{
 2045|  38.9k|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 2046|       |
 2047|       |	/* TODO. We should be able to replace this entire function body
 2048|       |	 * with
 2049|       |	 *		yypop_buffer_state();
 2050|       |	 *		yypush_buffer_state(new_buffer);
 2051|       |     */
 2052|  38.9k|	yyensure_buffer_stack (yyscanner);
  ------------------
  |  |   86|  38.9k|#define yyensure_buffer_stack re_yyensure_buffer_stack
  ------------------
 2053|  38.9k|	if ( YY_CURRENT_BUFFER == new_buffer )
  ------------------
  |  |  509|  38.9k|#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  |  |  ------------------
  |  |  |  Branch (509:29): [True: 38.9k, False: 0]
  |  |  ------------------
  |  |  510|  38.9k|                          ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  |  |  511|  38.9k|                          : NULL)
  ------------------
  |  Branch (2053:7): [True: 0, False: 38.9k]
  ------------------
 2054|      0|		return;
 2055|       |
 2056|  38.9k|	if ( YY_CURRENT_BUFFER )
  ------------------
  |  |  509|  38.9k|#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  |  |  ------------------
  |  |  |  Branch (509:27): [True: 0, False: 38.9k]
  |  |  |  Branch (509:29): [True: 38.9k, False: 0]
  |  |  ------------------
  |  |  510|  38.9k|                          ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  |  |  511|  38.9k|                          : NULL)
  ------------------
 2057|      0|		{
 2058|       |		/* Flush out information for old buffer. */
 2059|      0|		*yyg->yy_c_buf_p = yyg->yy_hold_char;
 2060|      0|		YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p;
  ------------------
  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 2061|      0|		YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
  ------------------
  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 2062|      0|		}
 2063|       |
 2064|  38.9k|	YY_CURRENT_BUFFER_LVALUE = new_buffer;
  ------------------
  |  |  515|  38.9k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 2065|  38.9k|	yy_load_buffer_state( yyscanner );
  ------------------
  |  |   62|  38.9k|#define yy_load_buffer_state re_yy_load_buffer_state
  ------------------
 2066|       |
 2067|       |	/* We don't actually know whether we did this switch during
 2068|       |	 * EOF (yywrap()) processing, but the only time this flag
 2069|       |	 * is looked at is after yywrap() is called, so it's safe
 2070|       |	 * to go ahead and always set it.
 2071|       |	 */
 2072|  38.9k|	yyg->yy_did_buffer_switch_on_eof = 1;
 2073|  38.9k|}
re_yy_delete_buffer:
 2119|  38.9k|{
 2120|  38.9k|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 2121|       |
 2122|  38.9k|	if ( ! b )
  ------------------
  |  Branch (2122:7): [True: 0, False: 38.9k]
  ------------------
 2123|      0|		return;
 2124|       |
 2125|  38.9k|	if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
  ------------------
  |  |  509|  38.9k|#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  |  |  ------------------
  |  |  |  Branch (509:29): [True: 38.9k, False: 0]
  |  |  ------------------
  |  |  510|  38.9k|                          ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  |  |  511|  38.9k|                          : NULL)
  ------------------
  |  Branch (2125:7): [True: 38.9k, False: 0]
  ------------------
 2126|  38.9k|		YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
  ------------------
  |  |  515|  38.9k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 2127|       |
 2128|  38.9k|	if ( b->yy_is_our_buffer )
  ------------------
  |  Branch (2128:7): [True: 38.9k, False: 0]
  ------------------
 2129|  38.9k|		yyfree( (void *) b->yy_ch_buf , yyscanner );
  ------------------
  |  |  236|  38.9k|#define yyfree re_yyfree
  ------------------
 2130|       |
 2131|  38.9k|	yyfree( (void *) b , yyscanner );
  ------------------
  |  |  236|  38.9k|#define yyfree re_yyfree
  ------------------
 2132|  38.9k|}
re_yy_flush_buffer:
 2168|    285|{
 2169|    285|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 2170|    285|	if ( ! b )
  ------------------
  |  Branch (2170:7): [True: 0, False: 285]
  ------------------
 2171|      0|		return;
 2172|       |
 2173|    285|	b->yy_n_chars = 0;
 2174|       |
 2175|       |	/* We always need two end-of-buffer characters.  The first causes
 2176|       |	 * a transition to the end-of-buffer state.  The second causes
 2177|       |	 * a jam in that state.
 2178|       |	 */
 2179|    285|	b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
  ------------------
  |  |  368|    285|#define YY_END_OF_BUFFER_CHAR 0
  ------------------
 2180|    285|	b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
  ------------------
  |  |  368|    285|#define YY_END_OF_BUFFER_CHAR 0
  ------------------
 2181|       |
 2182|    285|	b->yy_buf_pos = &b->yy_ch_buf[0];
 2183|       |
 2184|    285|	b->yy_at_bol = 1;
 2185|    285|	b->yy_buffer_status = YY_BUFFER_NEW;
  ------------------
  |  |  486|    285|#define YY_BUFFER_NEW 0
  ------------------
 2186|       |
 2187|    285|	if ( b == YY_CURRENT_BUFFER )
  ------------------
  |  |  509|    285|#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  |  |  ------------------
  |  |  |  Branch (509:29): [True: 285, False: 0]
  |  |  ------------------
  |  |  510|    285|                          ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  |  |  511|    285|                          : NULL)
  ------------------
  |  Branch (2187:7): [True: 285, False: 0]
  ------------------
 2188|    285|		yy_load_buffer_state( yyscanner );
  ------------------
  |  |   62|    285|#define yy_load_buffer_state re_yy_load_buffer_state
  ------------------
 2189|    285|}
re_yypop_buffer_state:
 2229|  38.9k|{
 2230|  38.9k|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 2231|  38.9k|	if (!YY_CURRENT_BUFFER)
  ------------------
  |  |  509|  38.9k|#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  |  |  ------------------
  |  |  |  Branch (509:29): [True: 38.9k, False: 0]
  |  |  ------------------
  |  |  510|  38.9k|                          ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  |  |  511|  38.9k|                          : NULL)
  ------------------
  |  Branch (2231:6): [True: 38.9k, False: 0]
  ------------------
 2232|  38.9k|		return;
 2233|       |
 2234|      0|	yy_delete_buffer(YY_CURRENT_BUFFER , yyscanner);
  ------------------
  |  |   26|      0|#define yy_delete_buffer re_yy_delete_buffer
  ------------------
              	yy_delete_buffer(YY_CURRENT_BUFFER , yyscanner);
  ------------------
  |  |  509|      0|#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  |  |  ------------------
  |  |  |  Branch (509:29): [True: 0, False: 0]
  |  |  ------------------
  |  |  510|      0|                          ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  |  |  511|      0|                          : NULL)
  ------------------
 2235|      0|	YY_CURRENT_BUFFER_LVALUE = NULL;
  ------------------
  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 2236|      0|	if (yyg->yy_buffer_stack_top > 0)
  ------------------
  |  Branch (2236:6): [True: 0, False: 0]
  ------------------
 2237|      0|		--yyg->yy_buffer_stack_top;
 2238|       |
 2239|      0|	if (YY_CURRENT_BUFFER) {
  ------------------
  |  |  509|      0|#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  |  |  ------------------
  |  |  |  Branch (509:27): [True: 0, False: 0]
  |  |  |  Branch (509:29): [True: 0, False: 0]
  |  |  ------------------
  |  |  510|      0|                          ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  |  |  511|      0|                          : NULL)
  ------------------
 2240|      0|		yy_load_buffer_state( yyscanner );
  ------------------
  |  |   62|      0|#define yy_load_buffer_state re_yy_load_buffer_state
  ------------------
 2241|      0|		yyg->yy_did_buffer_switch_on_eof = 1;
 2242|      0|	}
 2243|      0|}
re_yy_scan_buffer:
 2299|  38.9k|{
 2300|  38.9k|	YY_BUFFER_STATE b;
 2301|       |    
 2302|  38.9k|	if ( size < 2 ||
  ------------------
  |  Branch (2302:7): [True: 0, False: 38.9k]
  ------------------
 2303|  38.9k|	     base[size-2] != YY_END_OF_BUFFER_CHAR ||
  ------------------
  |  |  368|  77.8k|#define YY_END_OF_BUFFER_CHAR 0
  ------------------
  |  Branch (2303:7): [True: 0, False: 38.9k]
  ------------------
 2304|  38.9k|	     base[size-1] != YY_END_OF_BUFFER_CHAR )
  ------------------
  |  |  368|  38.9k|#define YY_END_OF_BUFFER_CHAR 0
  ------------------
  |  Branch (2304:7): [True: 0, False: 38.9k]
  ------------------
 2305|       |		/* They forgot to leave room for the EOB's. */
 2306|      0|		return NULL;
 2307|       |
 2308|  38.9k|	b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) , yyscanner );
  ------------------
  |  |  224|  38.9k|#define yyalloc re_yyalloc
  ------------------
 2309|  38.9k|	if ( ! b )
  ------------------
  |  Branch (2309:7): [True: 0, False: 38.9k]
  ------------------
 2310|      0|		YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
  ------------------
  |  |   90|      0|#define YY_FATAL_ERROR(msg) re_yyfatal(yyscanner, msg)
  ------------------
 2311|       |
 2312|  38.9k|	b->yy_buf_size = (int) (size - 2);	/* "- 2" to take care of EOB's */
 2313|  38.9k|	b->yy_buf_pos = b->yy_ch_buf = base;
 2314|  38.9k|	b->yy_is_our_buffer = 0;
 2315|  38.9k|	b->yy_input_file = NULL;
 2316|  38.9k|	b->yy_n_chars = b->yy_buf_size;
 2317|  38.9k|	b->yy_is_interactive = 0;
 2318|  38.9k|	b->yy_at_bol = 1;
 2319|  38.9k|	b->yy_fill_buffer = 0;
 2320|  38.9k|	b->yy_buffer_status = YY_BUFFER_NEW;
  ------------------
  |  |  486|  38.9k|#define YY_BUFFER_NEW 0
  ------------------
 2321|       |
 2322|  38.9k|	yy_switch_to_buffer( b , yyscanner );
  ------------------
  |  |   68|  38.9k|#define yy_switch_to_buffer re_yy_switch_to_buffer
  ------------------
 2323|       |
 2324|  38.9k|	return b;
 2325|  38.9k|}
re_yy_scan_string:
 2336|  38.9k|{
 2337|       |    
 2338|  38.9k|	return yy_scan_bytes( yystr, (int) strlen(yystr) , yyscanner);
  ------------------
  |  |   44|  38.9k|#define yy_scan_bytes re_yy_scan_bytes
  ------------------
 2339|  38.9k|}
re_yy_scan_bytes:
 2349|  38.9k|{
 2350|  38.9k|	YY_BUFFER_STATE b;
 2351|  38.9k|	char *buf;
 2352|  38.9k|	yy_size_t n;
 2353|  38.9k|	int i;
 2354|       |    
 2355|       |	/* Get memory for full buffer, including space for trailing EOB's. */
 2356|  38.9k|	n = (yy_size_t) (_yybytes_len + 2);
 2357|  38.9k|	buf = (char *) yyalloc( n , yyscanner );
  ------------------
  |  |  224|  38.9k|#define yyalloc re_yyalloc
  ------------------
 2358|  38.9k|	if ( ! buf )
  ------------------
  |  Branch (2358:7): [True: 0, False: 38.9k]
  ------------------
 2359|      0|		YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
  ------------------
  |  |   90|      0|#define YY_FATAL_ERROR(msg) re_yyfatal(yyscanner, msg)
  ------------------
 2360|       |
 2361|  3.34M|	for ( i = 0; i < _yybytes_len; ++i )
  ------------------
  |  Branch (2361:15): [True: 3.30M, False: 38.9k]
  ------------------
 2362|  3.30M|		buf[i] = yybytes[i];
 2363|       |
 2364|  38.9k|	buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
  ------------------
  |  |  368|  38.9k|#define YY_END_OF_BUFFER_CHAR 0
  ------------------
 2365|       |
 2366|  38.9k|	b = yy_scan_buffer( buf, n , yyscanner);
  ------------------
  |  |   32|  38.9k|#define yy_scan_buffer re_yy_scan_buffer
  ------------------
 2367|  38.9k|	if ( ! b )
  ------------------
  |  Branch (2367:7): [True: 0, False: 38.9k]
  ------------------
 2368|      0|		YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
  ------------------
  |  |   90|      0|#define YY_FATAL_ERROR(msg) re_yyfatal(yyscanner, msg)
  ------------------
 2369|       |
 2370|       |	/* It's okay to grow etc. this buffer, and we should throw it
 2371|       |	 * away when we're done.
 2372|       |	 */
 2373|  38.9k|	b->yy_is_our_buffer = 1;
 2374|       |
 2375|  38.9k|	return b;
 2376|  38.9k|}
re_yyget_extra:
 2413|   243k|{
 2414|   243k|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 2415|   243k|    return yyextra;
  ------------------
  |  |  346|   243k|#define yyextra yyg->yyextra_r
  ------------------
 2416|   243k|}
re_yyset_extra:
 2486|  38.9k|{
 2487|  38.9k|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 2488|  38.9k|    yyextra = user_defined ;
  ------------------
  |  |  346|  38.9k|#define yyextra yyg->yyextra_r
  ------------------
 2489|  38.9k|}
re_yylex_init:
 2572|  38.9k|{
 2573|  38.9k|    if (ptr_yy_globals == NULL){
  ------------------
  |  Branch (2573:9): [True: 0, False: 38.9k]
  ------------------
 2574|      0|        errno = EINVAL;
 2575|      0|        return 1;
 2576|      0|    }
 2577|       |
 2578|  38.9k|    *ptr_yy_globals = (yyscan_t) yyalloc ( sizeof( struct yyguts_t ), NULL );
  ------------------
  |  |  224|  38.9k|#define yyalloc re_yyalloc
  ------------------
 2579|       |
 2580|  38.9k|    if (*ptr_yy_globals == NULL){
  ------------------
  |  Branch (2580:9): [True: 0, False: 38.9k]
  ------------------
 2581|      0|        errno = ENOMEM;
 2582|      0|        return 1;
 2583|      0|    }
 2584|       |
 2585|       |    /* By setting to 0xAA, we expose bugs in yy_init_globals. Leave at 0x00 for releases. */
 2586|  38.9k|    memset(*ptr_yy_globals,0x00,sizeof(struct yyguts_t));
 2587|       |
 2588|  38.9k|    return yy_init_globals ( *ptr_yy_globals );
 2589|  38.9k|}
re_yylex_destroy:
 2660|  38.9k|{
 2661|  38.9k|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 2662|       |
 2663|       |    /* Pop the buffer stack, destroying each element. */
 2664|  77.8k|	while(YY_CURRENT_BUFFER){
  ------------------
  |  |  509|  77.8k|#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  |  |  ------------------
  |  |  |  Branch (509:27): [True: 38.9k, False: 38.9k]
  |  |  |  Branch (509:29): [True: 77.8k, False: 0]
  |  |  ------------------
  |  |  510|  77.8k|                          ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  |  |  511|  77.8k|                          : NULL)
  ------------------
 2665|  38.9k|		yy_delete_buffer( YY_CURRENT_BUFFER , yyscanner );
  ------------------
  |  |   26|  38.9k|#define yy_delete_buffer re_yy_delete_buffer
  ------------------
              		yy_delete_buffer( YY_CURRENT_BUFFER , yyscanner );
  ------------------
  |  |  509|  38.9k|#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  |  |  ------------------
  |  |  |  Branch (509:29): [True: 38.9k, False: 0]
  |  |  ------------------
  |  |  510|  38.9k|                          ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  |  |  511|  38.9k|                          : NULL)
  ------------------
 2666|  38.9k|		YY_CURRENT_BUFFER_LVALUE = NULL;
  ------------------
  |  |  515|  38.9k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 2667|  38.9k|		yypop_buffer_state(yyscanner);
  ------------------
  |  |   80|  38.9k|#define yypop_buffer_state re_yypop_buffer_state
  ------------------
 2668|  38.9k|	}
 2669|       |
 2670|       |	/* Destroy the stack itself. */
 2671|  38.9k|	yyfree(yyg->yy_buffer_stack , yyscanner);
  ------------------
  |  |  236|  38.9k|#define yyfree re_yyfree
  ------------------
 2672|  38.9k|	yyg->yy_buffer_stack = NULL;
 2673|       |
 2674|       |    /* Destroy the start condition stack. */
 2675|  38.9k|        yyfree( yyg->yy_start_stack , yyscanner );
  ------------------
  |  |  236|  38.9k|#define yyfree re_yyfree
  ------------------
 2676|  38.9k|        yyg->yy_start_stack = NULL;
 2677|       |
 2678|       |    /* Reset the globals. This is important in a non-reentrant scanner so the next time
 2679|       |     * yylex() is called, initialization will occur. */
 2680|  38.9k|    yy_init_globals( yyscanner);
 2681|       |
 2682|       |    /* Destroy the main struct (reentrant only). */
 2683|  38.9k|    yyfree ( yyscanner , yyscanner );
  ------------------
  |  |  236|  38.9k|#define yyfree re_yyfree
  ------------------
 2684|       |    yyscanner = NULL;
 2685|  38.9k|    return 0;
 2686|  38.9k|}
re_yyalloc:
 2716|   155k|{
 2717|   155k|	struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 2718|   155k|	(void)yyg;
 2719|   155k|	return malloc(size);
 2720|   155k|}
re_yyfree:
 2738|   194k|{
 2739|   194k|	struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 2740|   194k|	(void)yyg;
 2741|   194k|	free( (char *) ptr );	/* see yyrealloc() for (char *) cast */
 2742|   194k|}
escaped_char_value:
 2753|   514k|{
 2754|   514k|  unsigned int hex_value;
 2755|   514k|  char hex[3];
 2756|       |
 2757|   514k|  assert(text[0] == '\\');
  ------------------
  |  Branch (2757:3): [True: 0, False: 514k]
  |  Branch (2757:3): [True: 514k, False: 0]
  ------------------
 2758|       |
 2759|   514k|  switch(text[1])
 2760|   514k|  {
 2761|   499k|  case 'x':
  ------------------
  |  Branch (2761:3): [True: 499k, False: 15.1k]
  ------------------
 2762|   499k|    if (!isxdigit(text[2]) || !isxdigit(text[3]))
  ------------------
  |  Branch (2762:9): [True: 173, False: 499k]
  |  Branch (2762:31): [True: 21, False: 499k]
  ------------------
 2763|    194|      return 0;
 2764|   499k|    hex[0] = text[2];
 2765|   499k|    hex[1] = text[3];
 2766|   499k|    hex[2] = '\0';
 2767|   499k|    sscanf(hex, "%x", &hex_value);
 2768|   499k|    *value = (uint8_t) hex_value;
 2769|   499k|    break;
 2770|       |
 2771|    278|  case 'n':
  ------------------
  |  Branch (2771:3): [True: 278, False: 514k]
  ------------------
 2772|    278|    *value = '\n';
 2773|    278|    break;
 2774|       |
 2775|    331|  case 't':
  ------------------
  |  Branch (2775:3): [True: 331, False: 514k]
  ------------------
 2776|    331|    *value = '\t';
 2777|    331|    break;
 2778|       |
 2779|    333|  case 'r':
  ------------------
  |  Branch (2779:3): [True: 333, False: 514k]
  ------------------
 2780|    333|    *value = '\r';
 2781|    333|    break;
 2782|       |
 2783|    216|  case 'f':
  ------------------
  |  Branch (2783:3): [True: 216, False: 514k]
  ------------------
 2784|    216|    *value = '\f';
 2785|    216|    break;
 2786|       |
 2787|    222|  case 'a':
  ------------------
  |  Branch (2787:3): [True: 222, False: 514k]
  ------------------
 2788|    222|    *value = '\a';
 2789|    222|    break;
 2790|       |
 2791|       |  // Support metacharacters in escape sequences
 2792|  1.27k|  case '\\':
  ------------------
  |  Branch (2792:3): [True: 1.27k, False: 513k]
  ------------------
 2793|  1.64k|  case '^':
  ------------------
  |  Branch (2793:3): [True: 371, False: 514k]
  ------------------
 2794|  2.04k|  case '$':
  ------------------
  |  Branch (2794:3): [True: 400, False: 514k]
  ------------------
 2795|  3.23k|  case '.':
  ------------------
  |  Branch (2795:3): [True: 1.19k, False: 513k]
  ------------------
 2796|  3.56k|  case '|':
  ------------------
  |  Branch (2796:3): [True: 327, False: 514k]
  ------------------
 2797|  3.90k|  case '(':
  ------------------
  |  Branch (2797:3): [True: 340, False: 514k]
  ------------------
 2798|  4.31k|  case ')':
  ------------------
  |  Branch (2798:3): [True: 414, False: 514k]
  ------------------
 2799|  4.70k|  case '[':
  ------------------
  |  Branch (2799:3): [True: 389, False: 514k]
  ------------------
 2800|  4.96k|  case ']':
  ------------------
  |  Branch (2800:3): [True: 261, False: 514k]
  ------------------
 2801|       |
 2802|       |  // Support other special characters that are used in rules and need to be escaped
 2803|  5.38k|  case '*':
  ------------------
  |  Branch (2803:3): [True: 419, False: 514k]
  ------------------
 2804|  7.20k|  case '+':
  ------------------
  |  Branch (2804:3): [True: 1.81k, False: 512k]
  ------------------
 2805|  7.62k|  case '?':
  ------------------
  |  Branch (2805:3): [True: 417, False: 514k]
  ------------------
 2806|  7.82k|  case '"':
  ------------------
  |  Branch (2806:3): [True: 202, False: 514k]
  ------------------
 2807|  8.03k|  case '\'':
  ------------------
  |  Branch (2807:3): [True: 207, False: 514k]
  ------------------
 2808|  8.32k|  case '-':
  ------------------
  |  Branch (2808:3): [True: 294, False: 514k]
  ------------------
 2809|  8.76k|  case '{':
  ------------------
  |  Branch (2809:3): [True: 438, False: 514k]
  ------------------
 2810|  9.24k|  case '}':
  ------------------
  |  Branch (2810:3): [True: 476, False: 514k]
  ------------------
 2811|  9.57k|  case '#':
  ------------------
  |  Branch (2811:3): [True: 331, False: 514k]
  ------------------
 2812|  9.78k|  case ':':
  ------------------
  |  Branch (2812:3): [True: 216, False: 514k]
  ------------------
 2813|  10.1k|  case '_':
  ------------------
  |  Branch (2813:3): [True: 396, False: 514k]
  ------------------
 2814|  10.3k|  case '=':
  ------------------
  |  Branch (2814:3): [True: 201, False: 514k]
  ------------------
 2815|  10.3k|  case '/':
  ------------------
  |  Branch (2815:3): [True: 0, False: 514k]
  ------------------
 2816|  10.5k|  case '!':
  ------------------
  |  Branch (2816:3): [True: 203, False: 514k]
  ------------------
 2817|  10.9k|  case ',':
  ------------------
  |  Branch (2817:3): [True: 356, False: 514k]
  ------------------
 2818|  11.1k|  case '@':
  ------------------
  |  Branch (2818:3): [True: 207, False: 514k]
  ------------------
 2819|  11.3k|  case '<':
  ------------------
  |  Branch (2819:3): [True: 236, False: 514k]
  ------------------
 2820|  11.6k|  case '>':
  ------------------
  |  Branch (2820:3): [True: 229, False: 514k]
  ------------------
 2821|  11.8k|  case '~':
  ------------------
  |  Branch (2821:3): [True: 213, False: 514k]
  ------------------
 2822|  12.0k|  case '&':
  ------------------
  |  Branch (2822:3): [True: 228, False: 514k]
  ------------------
 2823|  12.4k|  case '%':
  ------------------
  |  Branch (2823:3): [True: 396, False: 514k]
  ------------------
 2824|  12.4k|    *value = text[1];
 2825|  12.4k|    break;
 2826|  1.34k|  default:
  ------------------
  |  Branch (2826:3): [True: 1.34k, False: 513k]
  ------------------
 2827|  1.34k|    *value = text[1];
 2828|  1.34k|    if (strict_escape)
  ------------------
  |  Branch (2828:9): [True: 0, False: 1.34k]
  ------------------
 2829|      0|      return UNKNOWN_ESCAPE_SEQUENCE;
  ------------------
  |  |   72|      0|#define UNKNOWN_ESCAPE_SEQUENCE 2
  ------------------
 2830|  1.34k|    return VALID_ESCAPE_SEQUENCE;
  ------------------
  |  |   71|  1.34k|#define VALID_ESCAPE_SEQUENCE   1
  ------------------
 2831|   514k|  }
 2832|       |
 2833|   513k|  return VALID_ESCAPE_SEQUENCE;
  ------------------
  |  |   71|   513k|#define VALID_ESCAPE_SEQUENCE   1
  ------------------
 2834|   514k|}
read_escaped_char:
 2848|   514k|{
 2849|   514k|  char text[4] = {0, 0, 0, 0};
 2850|       |
 2851|   514k|  text[0] = '\\';
 2852|   514k|  text[1] = RE_YY_INPUT(yyscanner);
  ------------------
  |  | 2840|   514k|#define RE_YY_INPUT input
  ------------------
 2853|       |
 2854|   514k|  if (text[1] == EOF || text[1] == 0)
  ------------------
  |  Branch (2854:7): [True: 50, False: 514k]
  |  Branch (2854:25): [True: 0, False: 514k]
  ------------------
 2855|     50|    return 0;
 2856|       |
 2857|   514k|  if (text[1] == 'x')
  ------------------
  |  Branch (2857:7): [True: 499k, False: 14.5k]
  ------------------
 2858|   499k|  {
 2859|   499k|    text[2] = RE_YY_INPUT(yyscanner);
  ------------------
  |  | 2840|   499k|#define RE_YY_INPUT input
  ------------------
 2860|       |
 2861|   499k|    if (text[2] == EOF || text[2] == 0)
  ------------------
  |  Branch (2861:9): [True: 97, False: 499k]
  |  Branch (2861:27): [True: 50, False: 499k]
  ------------------
 2862|    147|      return 0;
 2863|       |
 2864|   499k|    text[3] = RE_YY_INPUT(yyscanner);
  ------------------
  |  | 2840|   499k|#define RE_YY_INPUT input
  ------------------
 2865|       |
 2866|   499k|    if (text[3] == EOF || text[3] == 0)
  ------------------
  |  Branch (2866:9): [True: 57, False: 499k]
  |  Branch (2866:27): [True: 235, False: 499k]
  ------------------
 2867|    292|      return 0;
 2868|   499k|  }
 2869|       |
 2870|   513k|  return escaped_char_value(text, escaped_char, strict_escape);
 2871|   514k|}
re_yyerror:
 2895|  2.74k|{
 2896|       |  // if lex_env->last_error was set to some error code before
 2897|       |  // don't overwrite it, we are interested in the first error, not in
 2898|       |  // subsequent errors like "syntax error, unexpected $end" caused by
 2899|       |  // early parser termination.
 2900|       |
 2901|  2.74k|  if (lex_env->last_error == ERROR_SUCCESS || lex_env->last_error == ERROR_UNKNOWN_ESCAPE_SEQUENCE)
  ------------------
  |  |   40|  5.48k|#define ERROR_SUCCESS 0
  ------------------
                if (lex_env->last_error == ERROR_SUCCESS || lex_env->last_error == ERROR_UNKNOWN_ESCAPE_SEQUENCE)
  ------------------
  |  |  113|  1.08k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  ------------------
  |  Branch (2901:7): [True: 1.65k, False: 1.08k]
  |  Branch (2901:47): [True: 0, False: 1.08k]
  ------------------
 2902|  1.65k|  {
 2903|  1.65k|    lex_env->last_error = ERROR_INVALID_REGULAR_EXPRESSION;
  ------------------
  |  |   54|  1.65k|#define ERROR_INVALID_REGULAR_EXPRESSION     9
  ------------------
 2904|       |
 2905|  1.65k|    strlcpy(
 2906|  1.65k|        lex_env->last_error_message,
 2907|  1.65k|        error_message,
 2908|  1.65k|        sizeof(lex_env->last_error_message));
 2909|  1.65k|  }
 2910|  2.74k|}
yr_parse_re_string:
 2936|  38.9k|{
 2937|  38.9k|  yyscan_t yyscanner;
 2938|  38.9k|  jmp_buf recovery_trampoline;
 2939|  38.9k|  RE_LEX_ENVIRONMENT lex_env;
 2940|       |
 2941|  38.9k|  lex_env.last_error = ERROR_SUCCESS;
  ------------------
  |  |   40|  38.9k|#define ERROR_SUCCESS 0
  ------------------
 2942|  38.9k|  if (flags & RE_PARSER_FLAG_ENABLE_STRICT_ESCAPE_SEQUENCES)
  ------------------
  |  Branch (2942:7): [True: 0, False: 38.9k]
  ------------------
 2943|      0|    lex_env.strict_escape = true;
 2944|  38.9k|   else
 2945|  38.9k|    lex_env.strict_escape = false;
 2946|  38.9k|  lex_env.last_error_message[0] = '\0';
 2947|       |
 2948|  38.9k|  yr_thread_storage_set_value(
 2949|  38.9k|      &yr_yyfatal_trampoline_tls,
 2950|  38.9k|      &recovery_trampoline);
 2951|       |
 2952|       |  // setjmp returns a non-zero value only when we are returning to this
 2953|       |  // point via a call to longjmp to the recovery trampoline.
 2954|  38.9k|  if (setjmp(recovery_trampoline) != 0)
  ------------------
  |  Branch (2954:7): [True: 0, False: 38.9k]
  ------------------
 2955|      0|    return ERROR_INTERNAL_FATAL_ERROR;
  ------------------
  |  |   78|      0|#define ERROR_INTERNAL_FATAL_ERROR           31
  ------------------
 2956|       |
 2957|  38.9k|  FAIL_ON_ERROR(yr_re_ast_create(re_ast));
  ------------------
  |  |  134|  38.9k|  {                               \
  |  |  135|  38.9k|    int __error = (x);            \
  |  |  136|  38.9k|    if (__error != ERROR_SUCCESS) \
  |  |  ------------------
  |  |  |  |   40|  38.9k|#define ERROR_SUCCESS 0
  |  |  ------------------
  |  |  |  Branch (136:9): [True: 0, False: 38.9k]
  |  |  ------------------
  |  |  137|  38.9k|      return __error;             \
  |  |  138|  38.9k|  }
  ------------------
 2958|       |
 2959|  38.9k|  if (yylex_init(&yyscanner) != 0)
  ------------------
  |  |  104|  38.9k|#define yylex_init re_yylex_init
  ------------------
  |  Branch (2959:7): [True: 0, False: 38.9k]
  ------------------
 2960|      0|  {
 2961|      0|    yr_re_ast_destroy(*re_ast);
 2962|      0|    *re_ast = NULL;
 2963|      0|    return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
 2964|      0|  }
 2965|       |
 2966|  38.9k|  yyset_extra(*re_ast, yyscanner);
  ------------------
  |  |  140|  38.9k|#define yyset_extra re_yyset_extra
  ------------------
 2967|  38.9k|  yy_scan_string(re_string, yyscanner);
  ------------------
  |  |   38|  38.9k|#define yy_scan_string re_yy_scan_string
  ------------------
 2968|       |
 2969|  38.9k|  yyparse(yyscanner, &lex_env);
  ------------------
  |  |   45|  38.9k|#define yyparse      re_yyparse
  ------------------
 2970|  38.9k|  yylex_destroy(yyscanner);
  ------------------
  |  |  116|  38.9k|#define yylex_destroy re_yylex_destroy
  ------------------
 2971|       |
 2972|  38.9k|  if (lex_env.last_error != ERROR_SUCCESS)
  ------------------
  |  |   40|  38.9k|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (2972:7): [True: 1.66k, False: 37.2k]
  ------------------
 2973|  1.66k|  {
 2974|  1.66k|    if (lex_env.last_error != ERROR_UNKNOWN_ESCAPE_SEQUENCE)
  ------------------
  |  |  113|  1.66k|#define ERROR_UNKNOWN_ESCAPE_SEQUENCE        66
  ------------------
  |  Branch (2974:9): [True: 1.66k, False: 0]
  ------------------
 2975|  1.66k|    {
 2976|  1.66k|      yr_re_ast_destroy(*re_ast);
 2977|  1.66k|      *re_ast = NULL;
 2978|  1.66k|    }
 2979|       |
 2980|  1.66k|    strlcpy(
 2981|  1.66k|        error->message,
 2982|  1.66k|        lex_env.last_error_message,
 2983|  1.66k|        sizeof(error->message));
 2984|       |
 2985|  1.66k|    return lex_env.last_error;
 2986|  1.66k|  }
 2987|       |
 2988|  37.2k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  37.2k|#define ERROR_SUCCESS 0
  ------------------
 2989|  38.9k|}
re_lexer.c:yy_get_next_buffer:
 1738|  76.2k|{
 1739|  76.2k|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 1740|  76.2k|	char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
  ------------------
  |  |  515|  76.2k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 1741|  76.2k|	char *source = yyg->yytext_ptr;
  ------------------
  |  |  567|  76.2k|#define yytext_ptr yytext_r
  ------------------
 1742|  76.2k|	int number_to_move, i;
 1743|  76.2k|	int ret_val;
 1744|       |
 1745|  76.2k|	if ( yyg->yy_c_buf_p > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] )
  ------------------
  |  |  515|  76.2k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
  |  Branch (1745:7): [True: 0, False: 76.2k]
  ------------------
 1746|      0|		YY_FATAL_ERROR(
  ------------------
  |  |   90|      0|#define YY_FATAL_ERROR(msg) re_yyfatal(yyscanner, msg)
  ------------------
 1747|  76.2k|		"fatal flex scanner internal error--end of buffer missed" );
 1748|       |
 1749|  76.2k|	if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
  ------------------
  |  |  515|  76.2k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
  |  Branch (1749:7): [True: 76.2k, False: 0]
  ------------------
 1750|  76.2k|		{ /* Don't try to fill the buffer, so this is an EOF. */
 1751|  76.2k|		if ( yyg->yy_c_buf_p - yyg->yytext_ptr - YY_MORE_ADJ == 1 )
  ------------------
  |  |  567|  76.2k|#define yytext_ptr yytext_r
  ------------------
              		if ( yyg->yy_c_buf_p - yyg->yytext_ptr - YY_MORE_ADJ == 1 )
  ------------------
  |  |  709|  76.2k|#define YY_MORE_ADJ 0
  ------------------
  |  Branch (1751:8): [True: 37.7k, False: 38.5k]
  ------------------
 1752|  37.7k|			{
 1753|       |			/* We matched a single character, the EOB, so
 1754|       |			 * treat this as a final EOF.
 1755|       |			 */
 1756|  37.7k|			return EOB_ACT_END_OF_FILE;
  ------------------
  |  |  398|  37.7k|#define EOB_ACT_END_OF_FILE 1
  ------------------
 1757|  37.7k|			}
 1758|       |
 1759|  38.5k|		else
 1760|  38.5k|			{
 1761|       |			/* We matched some text prior to the EOB, first
 1762|       |			 * process it.
 1763|       |			 */
 1764|  38.5k|			return EOB_ACT_LAST_MATCH;
  ------------------
  |  |  399|  38.5k|#define EOB_ACT_LAST_MATCH 2
  ------------------
 1765|  38.5k|			}
 1766|  76.2k|		}
 1767|       |
 1768|       |	/* Try to read more data. */
 1769|       |
 1770|       |	/* First move last chars to start of buffer. */
 1771|      0|	number_to_move = (int) (yyg->yy_c_buf_p - yyg->yytext_ptr - 1);
  ------------------
  |  |  567|      0|#define yytext_ptr yytext_r
  ------------------
 1772|       |
 1773|      0|	for ( i = 0; i < number_to_move; ++i )
  ------------------
  |  Branch (1773:15): [True: 0, False: 0]
  ------------------
 1774|      0|		*(dest++) = *(source++);
 1775|       |
 1776|      0|	if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
  ------------------
  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
              	if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
  ------------------
  |  |  498|      0|#define YY_BUFFER_EOF_PENDING 2
  ------------------
  |  Branch (1776:7): [True: 0, False: 0]
  ------------------
 1777|       |		/* don't do the read, it's not guaranteed to return an EOF,
 1778|       |		 * just force an EOF
 1779|       |		 */
 1780|      0|		YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars = 0;
  ------------------
  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 1781|       |
 1782|      0|	else
 1783|      0|		{
 1784|      0|			int num_to_read =
 1785|      0|			YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
  ------------------
  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 1786|       |
 1787|      0|		while ( num_to_read <= 0 )
  ------------------
  |  Branch (1787:11): [True: 0, False: 0]
  ------------------
 1788|      0|			{ /* Not enough room in the buffer - grow it. */
 1789|       |
 1790|       |			/* just a shorter name for the current buffer */
 1791|      0|			YY_BUFFER_STATE b = YY_CURRENT_BUFFER_LVALUE;
  ------------------
  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 1792|       |
 1793|      0|			int yy_c_buf_p_offset =
 1794|      0|				(int) (yyg->yy_c_buf_p - b->yy_ch_buf);
 1795|       |
 1796|      0|			if ( b->yy_is_our_buffer )
  ------------------
  |  Branch (1796:9): [True: 0, False: 0]
  ------------------
 1797|      0|				{
 1798|      0|				int new_size = b->yy_buf_size * 2;
 1799|       |
 1800|      0|				if ( new_size <= 0 )
  ------------------
  |  Branch (1800:10): [True: 0, False: 0]
  ------------------
 1801|      0|					b->yy_buf_size += b->yy_buf_size / 8;
 1802|      0|				else
 1803|      0|					b->yy_buf_size *= 2;
 1804|       |
 1805|      0|				b->yy_ch_buf = (char *)
 1806|       |					/* Include room in for 2 EOB chars. */
 1807|      0|					yyrealloc( (void *) b->yy_ch_buf,
  ------------------
  |  |  230|      0|#define yyrealloc re_yyrealloc
  ------------------
 1808|      0|							 (yy_size_t) (b->yy_buf_size + 2) , yyscanner );
 1809|      0|				}
 1810|      0|			else
 1811|       |				/* Can't grow it, we don't own it. */
 1812|      0|				b->yy_ch_buf = NULL;
 1813|       |
 1814|      0|			if ( ! b->yy_ch_buf )
  ------------------
  |  Branch (1814:9): [True: 0, False: 0]
  ------------------
 1815|      0|				YY_FATAL_ERROR(
  ------------------
  |  |   90|      0|#define YY_FATAL_ERROR(msg) re_yyfatal(yyscanner, msg)
  ------------------
 1816|      0|				"fatal error - scanner input buffer overflow" );
 1817|       |
 1818|      0|			yyg->yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
 1819|       |
 1820|      0|			num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
  ------------------
  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 1821|      0|						number_to_move - 1;
 1822|       |
 1823|      0|			}
 1824|       |
 1825|      0|		if ( num_to_read > YY_READ_BUF_SIZE )
  ------------------
  |  |  946|      0|#define YY_READ_BUF_SIZE 8192
  ------------------
  |  Branch (1825:8): [True: 0, False: 0]
  ------------------
 1826|      0|			num_to_read = YY_READ_BUF_SIZE;
  ------------------
  |  |  946|      0|#define YY_READ_BUF_SIZE 8192
  ------------------
 1827|       |
 1828|       |		/* Read in more data. */
 1829|      0|		YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
  ------------------
  |  |  963|      0|	if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
  |  |  ------------------
  |  |  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  |  |  ------------------
  |  |  |  Branch (963:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  964|      0|		{ \
  |  |  965|      0|		int c = '*'; \
  |  |  966|      0|		int n; \
  |  |  967|      0|		for ( n = 0; n < max_size && \
  |  |  ------------------
  |  |  |  Branch (967:16): [True: 0, False: 0]
  |  |  ------------------
  |  |  968|      0|			     (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
  |  |  ------------------
  |  |  |  |  344|      0|#define yyin yyg->yyin_r
  |  |  ------------------
  |  |  |  Branch (968:9): [True: 0, False: 0]
  |  |  |  Branch (968:38): [True: 0, False: 0]
  |  |  ------------------
  |  |  969|      0|			buf[n] = (char) c; \
  |  |  970|      0|		if ( c == '\n' ) \
  |  |  ------------------
  |  |  |  Branch (970:8): [True: 0, False: 0]
  |  |  ------------------
  |  |  971|      0|			buf[n++] = (char) c; \
  |  |  972|      0|		if ( c == EOF && ferror( yyin ) ) \
  |  |  ------------------
  |  |  |  |  344|      0|#define yyin yyg->yyin_r
  |  |  ------------------
  |  |  |  Branch (972:8): [True: 0, False: 0]
  |  |  |  Branch (972:20): [True: 0, False: 0]
  |  |  ------------------
  |  |  973|      0|			YY_FATAL_ERROR( "input in flex scanner failed" ); \
  |  |  ------------------
  |  |  |  |   90|      0|#define YY_FATAL_ERROR(msg) re_yyfatal(yyscanner, msg)
  |  |  ------------------
  |  |  974|      0|		result = n; \
  |  |  975|      0|		} \
  |  |  976|      0|	else \
  |  |  977|      0|		{ \
  |  |  978|      0|		errno=0; \
  |  |  979|      0|		while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \
  |  |  ------------------
  |  |  |  |  344|      0|#define yyin yyg->yyin_r
  |  |  ------------------
  |  |               		while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \
  |  |  ------------------
  |  |  |  |  344|      0|#define yyin yyg->yyin_r
  |  |  ------------------
  |  |  |  Branch (979:11): [True: 0, False: 0]
  |  |  |  Branch (979:78): [True: 0, False: 0]
  |  |  ------------------
  |  |  980|      0|			{ \
  |  |  981|      0|			if( errno != EINTR) \
  |  |  ------------------
  |  |  |  Branch (981:8): [True: 0, False: 0]
  |  |  ------------------
  |  |  982|      0|				{ \
  |  |  983|      0|				YY_FATAL_ERROR( "input in flex scanner failed" ); \
  |  |  ------------------
  |  |  |  |   90|      0|#define YY_FATAL_ERROR(msg) re_yyfatal(yyscanner, msg)
  |  |  ------------------
  |  |  984|      0|				break; \
  |  |  985|      0|				} \
  |  |  986|      0|			errno=0; \
  |  |  987|      0|			clearerr(yyin); \
  |  |  ------------------
  |  |  |  |  344|      0|#define yyin yyg->yyin_r
  |  |  ------------------
  |  |  988|      0|			} \
  |  |  989|      0|		}\
  ------------------
 1830|      0|			yyg->yy_n_chars, num_to_read );
 1831|       |
 1832|      0|		YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
  ------------------
  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 1833|      0|		}
 1834|       |
 1835|      0|	if ( yyg->yy_n_chars == 0 )
  ------------------
  |  Branch (1835:7): [True: 0, False: 0]
  ------------------
 1836|      0|		{
 1837|      0|		if ( number_to_move == YY_MORE_ADJ )
  ------------------
  |  |  709|      0|#define YY_MORE_ADJ 0
  ------------------
  |  Branch (1837:8): [True: 0, False: 0]
  ------------------
 1838|      0|			{
 1839|      0|			ret_val = EOB_ACT_END_OF_FILE;
  ------------------
  |  |  398|      0|#define EOB_ACT_END_OF_FILE 1
  ------------------
 1840|      0|			yyrestart( yyin  , yyscanner);
  ------------------
  |  |   98|      0|#define yyrestart re_yyrestart
  ------------------
              			yyrestart( yyin  , yyscanner);
  ------------------
  |  |  344|      0|#define yyin yyg->yyin_r
  ------------------
 1841|      0|			}
 1842|       |
 1843|      0|		else
 1844|      0|			{
 1845|      0|			ret_val = EOB_ACT_LAST_MATCH;
  ------------------
  |  |  399|      0|#define EOB_ACT_LAST_MATCH 2
  ------------------
 1846|      0|			YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
  ------------------
  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 1847|      0|				YY_BUFFER_EOF_PENDING;
  ------------------
  |  |  498|      0|#define YY_BUFFER_EOF_PENDING 2
  ------------------
 1848|      0|			}
 1849|      0|		}
 1850|       |
 1851|      0|	else
 1852|      0|		ret_val = EOB_ACT_CONTINUE_SCAN;
  ------------------
  |  |  397|      0|#define EOB_ACT_CONTINUE_SCAN 0
  ------------------
 1853|       |
 1854|      0|	if ((yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
  ------------------
  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
  |  Branch (1854:6): [True: 0, False: 0]
  ------------------
 1855|       |		/* Extend the array by 50%, plus the number we really need. */
 1856|      0|		int new_size = yyg->yy_n_chars + number_to_move + (yyg->yy_n_chars >> 1);
 1857|      0|		YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc(
  ------------------
  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
              		YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc(
  ------------------
  |  |  230|      0|#define yyrealloc re_yyrealloc
  ------------------
 1858|      0|			(void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size , yyscanner );
  ------------------
  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 1859|      0|		if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  ------------------
  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
  |  Branch (1859:8): [True: 0, False: 0]
  ------------------
 1860|      0|			YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
  ------------------
  |  |   90|      0|#define YY_FATAL_ERROR(msg) re_yyfatal(yyscanner, msg)
  ------------------
 1861|       |		/* "- 2" to take care of EOB's */
 1862|      0|		YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2);
  ------------------
  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 1863|      0|	}
 1864|       |
 1865|      0|	yyg->yy_n_chars += number_to_move;
 1866|      0|	YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] = YY_END_OF_BUFFER_CHAR;
  ------------------
  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
              	YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] = YY_END_OF_BUFFER_CHAR;
  ------------------
  |  |  368|      0|#define YY_END_OF_BUFFER_CHAR 0
  ------------------
 1867|      0|	YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
  ------------------
  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
              	YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
  ------------------
  |  |  368|      0|#define YY_END_OF_BUFFER_CHAR 0
  ------------------
 1868|       |
 1869|      0|	yyg->yytext_ptr = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
  ------------------
  |  |  567|      0|#define yytext_ptr yytext_r
  ------------------
              	yyg->yytext_ptr = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
  ------------------
  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 1870|       |
 1871|      0|	return ret_val;
 1872|  76.2k|}
re_lexer.c:yy_get_previous_state:
 1877|  38.2k|{
 1878|  38.2k|	yy_state_type yy_current_state;
 1879|  38.2k|	char *yy_cp;
 1880|  38.2k|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 1881|       |
 1882|  38.2k|	yy_current_state = yyg->yy_start;
 1883|       |
 1884|  81.6k|	for ( yy_cp = yyg->yytext_ptr + YY_MORE_ADJ; yy_cp < yyg->yy_c_buf_p; ++yy_cp )
  ------------------
  |  |  567|  38.2k|#define yytext_ptr yytext_r
  ------------------
              	for ( yy_cp = yyg->yytext_ptr + YY_MORE_ADJ; yy_cp < yyg->yy_c_buf_p; ++yy_cp )
  ------------------
  |  |  709|  38.2k|#define YY_MORE_ADJ 0
  ------------------
  |  Branch (1884:47): [True: 43.3k, False: 38.2k]
  ------------------
 1885|  43.3k|		{
 1886|  43.3k|		YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
  ------------------
  |  |  334|  43.3k|#define YY_SC_TO_UI(c) ((YY_CHAR) (c))
  ------------------
  |  Branch (1886:19): [True: 43.3k, False: 0]
  ------------------
 1887|  43.3k|		if ( yy_accept[yy_current_state] )
  ------------------
  |  Branch (1887:8): [True: 1.42k, False: 41.9k]
  ------------------
 1888|  1.42k|			{
 1889|  1.42k|			yyg->yy_last_accepting_state = yy_current_state;
 1890|  1.42k|			yyg->yy_last_accepting_cpos = yy_cp;
 1891|  1.42k|			}
 1892|  75.2k|		while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  ------------------
  |  Branch (1892:11): [True: 31.8k, False: 43.3k]
  ------------------
 1893|  31.8k|			{
 1894|  31.8k|			yy_current_state = (int) yy_def[yy_current_state];
 1895|  31.8k|			if ( yy_current_state >= 47 )
  ------------------
  |  Branch (1895:9): [True: 31.8k, False: 0]
  ------------------
 1896|  31.8k|				yy_c = yy_meta[yy_c];
 1897|  31.8k|			}
 1898|  43.3k|		yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
 1899|  43.3k|		}
 1900|       |
 1901|  38.2k|	return yy_current_state;
 1902|  38.2k|}
re_lexer.c:re_yy_load_buffer_state:
 2076|  78.3k|{
 2077|  78.3k|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 2078|  78.3k|	yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  ------------------
  |  |  515|  78.3k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 2079|  78.3k|	yyg->yytext_ptr = yyg->yy_c_buf_p = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
  ------------------
  |  |  567|  78.3k|#define yytext_ptr yytext_r
  ------------------
              	yyg->yytext_ptr = yyg->yy_c_buf_p = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
  ------------------
  |  |  515|  78.3k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 2080|  78.3k|	yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
  ------------------
  |  |  344|  78.3k|#define yyin yyg->yyin_r
  ------------------
              	yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
  ------------------
  |  |  515|  78.3k|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
 2081|  78.3k|	yyg->yy_hold_char = *yyg->yy_c_buf_p;
 2082|  78.3k|}
re_lexer.c:re_yy_init_buffer:
 2140|    285|{
 2141|    285|	int oerrno = errno;
 2142|    285|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 2143|       |
 2144|    285|	yy_flush_buffer( b , yyscanner);
  ------------------
  |  |   56|    285|#define yy_flush_buffer re_yy_flush_buffer
  ------------------
 2145|       |
 2146|    285|	b->yy_input_file = file;
 2147|    285|	b->yy_fill_buffer = 1;
 2148|       |
 2149|       |    /* If b is the current buffer, then yy_init_buffer was _probably_
 2150|       |     * called from yyrestart() or through yy_get_next_buffer.
 2151|       |     * In that case, we don't want to reset the lineno or column.
 2152|       |     */
 2153|    285|    if (b != YY_CURRENT_BUFFER){
  ------------------
  |  |  509|    285|#define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  |  |  ------------------
  |  |  |  Branch (509:29): [True: 285, False: 0]
  |  |  ------------------
  |  |  510|    285|                          ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  |  |  511|    285|                          : NULL)
  ------------------
  |  Branch (2153:9): [True: 0, False: 285]
  ------------------
 2154|      0|        b->yy_bs_lineno = 1;
 2155|      0|        b->yy_bs_column = 0;
 2156|      0|    }
 2157|       |
 2158|    285|        b->yy_is_interactive = 0;
 2159|       |    
 2160|       |	errno = oerrno;
 2161|    285|}
re_lexer.c:re_yyensure_buffer_stack:
 2249|  38.9k|{
 2250|  38.9k|	yy_size_t num_to_alloc;
 2251|  38.9k|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 2252|       |
 2253|  38.9k|	if (!yyg->yy_buffer_stack) {
  ------------------
  |  Branch (2253:6): [True: 38.9k, False: 0]
  ------------------
 2254|       |
 2255|       |		/* First allocation is just for 2 elements, since we don't know if this
 2256|       |		 * scanner will even need a stack. We use 2 instead of 1 to avoid an
 2257|       |		 * immediate realloc on the next call.
 2258|       |         */
 2259|  38.9k|      num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */
 2260|  38.9k|		yyg->yy_buffer_stack = (struct yy_buffer_state**)yyalloc
  ------------------
  |  |  224|  38.9k|#define yyalloc re_yyalloc
  ------------------
 2261|  38.9k|								(num_to_alloc * sizeof(struct yy_buffer_state*)
 2262|  38.9k|								, yyscanner);
 2263|  38.9k|		if ( ! yyg->yy_buffer_stack )
  ------------------
  |  Branch (2263:8): [True: 0, False: 38.9k]
  ------------------
 2264|      0|			YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  ------------------
  |  |   90|      0|#define YY_FATAL_ERROR(msg) re_yyfatal(yyscanner, msg)
  ------------------
 2265|       |
 2266|  38.9k|		memset(yyg->yy_buffer_stack, 0, num_to_alloc * sizeof(struct yy_buffer_state*));
 2267|       |
 2268|  38.9k|		yyg->yy_buffer_stack_max = num_to_alloc;
 2269|  38.9k|		yyg->yy_buffer_stack_top = 0;
 2270|  38.9k|		return;
 2271|  38.9k|	}
 2272|       |
 2273|      0|	if (yyg->yy_buffer_stack_top >= (yyg->yy_buffer_stack_max) - 1){
  ------------------
  |  Branch (2273:6): [True: 0, False: 0]
  ------------------
 2274|       |
 2275|       |		/* Increase the buffer to prepare for a possible push. */
 2276|      0|		yy_size_t grow_size = 8 /* arbitrary grow size */;
 2277|       |
 2278|      0|		num_to_alloc = yyg->yy_buffer_stack_max + grow_size;
 2279|      0|		yyg->yy_buffer_stack = (struct yy_buffer_state**)yyrealloc
  ------------------
  |  |  230|      0|#define yyrealloc re_yyrealloc
  ------------------
 2280|      0|								(yyg->yy_buffer_stack,
 2281|      0|								num_to_alloc * sizeof(struct yy_buffer_state*)
 2282|      0|								, yyscanner);
 2283|      0|		if ( ! yyg->yy_buffer_stack )
  ------------------
  |  Branch (2283:8): [True: 0, False: 0]
  ------------------
 2284|      0|			YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  ------------------
  |  |   90|      0|#define YY_FATAL_ERROR(msg) re_yyfatal(yyscanner, msg)
  ------------------
 2285|       |
 2286|       |		/* zero only the new slots.*/
 2287|      0|		memset(yyg->yy_buffer_stack + yyg->yy_buffer_stack_max, 0, grow_size * sizeof(struct yy_buffer_state*));
 2288|      0|		yyg->yy_buffer_stack_max = num_to_alloc;
 2289|      0|	}
 2290|      0|}
re_lexer.c:yy_init_globals:
 2626|  77.8k|{
 2627|  77.8k|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 2628|       |    /* Initialization is the same as for the non-reentrant scanner.
 2629|       |     * This function is called from yylex_destroy(), so don't allocate here.
 2630|       |     */
 2631|       |
 2632|  77.8k|    yyg->yy_buffer_stack = NULL;
 2633|  77.8k|    yyg->yy_buffer_stack_top = 0;
 2634|  77.8k|    yyg->yy_buffer_stack_max = 0;
 2635|  77.8k|    yyg->yy_c_buf_p = NULL;
 2636|  77.8k|    yyg->yy_init = 0;
 2637|  77.8k|    yyg->yy_start = 0;
 2638|       |
 2639|  77.8k|    yyg->yy_start_stack_ptr = 0;
 2640|  77.8k|    yyg->yy_start_stack_depth = 0;
 2641|  77.8k|    yyg->yy_start_stack =  NULL;
 2642|       |
 2643|       |/* Defined in main.c */
 2644|       |#ifdef YY_STDINIT
 2645|       |    yyin = stdin;
 2646|       |    yyout = stdout;
 2647|       |#else
 2648|  77.8k|    yyin = NULL;
  ------------------
  |  |  344|  77.8k|#define yyin yyg->yyin_r
  ------------------
 2649|  77.8k|    yyout = NULL;
  ------------------
  |  |  345|  77.8k|#define yyout yyg->yyout_r
  ------------------
 2650|  77.8k|#endif
 2651|       |
 2652|       |    /* For future reference: Set errno on error, since we are called by
 2653|       |     * yylex_init()
 2654|       |     */
 2655|  77.8k|    return 0;
 2656|  77.8k|}
re_lexer.c:input:
 1945|  1.51M|{
 1946|  1.51M|	int c;
 1947|  1.51M|    struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
 1948|       |
 1949|  1.51M|	*yyg->yy_c_buf_p = yyg->yy_hold_char;
 1950|       |
 1951|  1.51M|	if ( *yyg->yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
  ------------------
  |  |  368|  1.51M|#define YY_END_OF_BUFFER_CHAR 0
  ------------------
  |  Branch (1951:7): [True: 285, False: 1.51M]
  ------------------
 1952|    285|		{
 1953|       |		/* yy_c_buf_p now points to the character we want to return.
 1954|       |		 * If this occurs *before* the EOB characters, then it's a
 1955|       |		 * valid NUL; if not, then we've hit the end of the buffer.
 1956|       |		 */
 1957|    285|		if ( yyg->yy_c_buf_p < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] )
  ------------------
  |  |  515|    285|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  ------------------
  |  Branch (1957:8): [True: 0, False: 285]
  ------------------
 1958|       |			/* This was really a NUL. */
 1959|      0|			*yyg->yy_c_buf_p = '\0';
 1960|       |
 1961|    285|		else
 1962|    285|			{ /* need more input */
 1963|    285|			int offset = (int) (yyg->yy_c_buf_p - yyg->yytext_ptr);
  ------------------
  |  |  567|    285|#define yytext_ptr yytext_r
  ------------------
 1964|    285|			++yyg->yy_c_buf_p;
 1965|       |
 1966|    285|			switch ( yy_get_next_buffer( yyscanner ) )
  ------------------
  |  Branch (1966:13): [True: 285, False: 0]
  ------------------
 1967|    285|				{
 1968|    285|				case EOB_ACT_LAST_MATCH:
  ------------------
  |  |  399|    285|#define EOB_ACT_LAST_MATCH 2
  ------------------
  |  Branch (1968:5): [True: 285, False: 0]
  ------------------
 1969|       |					/* This happens because yy_g_n_b()
 1970|       |					 * sees that we've accumulated a
 1971|       |					 * token and flags that we need to
 1972|       |					 * try matching the token before
 1973|       |					 * proceeding.  But for input(),
 1974|       |					 * there's no matching to consider.
 1975|       |					 * So convert the EOB_ACT_LAST_MATCH
 1976|       |					 * to EOB_ACT_END_OF_FILE.
 1977|       |					 */
 1978|       |
 1979|       |					/* Reset buffer status. */
 1980|    285|					yyrestart( yyin , yyscanner);
  ------------------
  |  |   98|    285|#define yyrestart re_yyrestart
  ------------------
              					yyrestart( yyin , yyscanner);
  ------------------
  |  |  344|    285|#define yyin yyg->yyin_r
  ------------------
 1981|       |
 1982|       |					/*FALLTHROUGH*/
 1983|       |
 1984|    285|				case EOB_ACT_END_OF_FILE:
  ------------------
  |  |  398|    285|#define EOB_ACT_END_OF_FILE 1
  ------------------
  |  Branch (1984:5): [True: 0, False: 285]
  ------------------
 1985|    285|					{
 1986|    285|					if ( yywrap( yyscanner ) )
  ------------------
  |  |  206|    285|#define yywrap re_yywrap
  |  |  ------------------
  |  |  |  |  561|    285|#define re_yywrap(yyscanner) (/*CONSTCOND*/1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (561:30): [True: 285, Folded]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1987|    285|						return 0;
 1988|       |
 1989|      0|					if ( ! yyg->yy_did_buffer_switch_on_eof )
  ------------------
  |  Branch (1989:11): [True: 0, False: 0]
  ------------------
 1990|      0|						YY_NEW_FILE;
  ------------------
  |  |  367|      0|#define YY_NEW_FILE yyrestart( yyin , yyscanner )
  |  |  ------------------
  |  |  |  |   98|      0|#define yyrestart re_yyrestart
  |  |  ------------------
  |  |               #define YY_NEW_FILE yyrestart( yyin , yyscanner )
  |  |  ------------------
  |  |  |  |  344|      0|#define yyin yyg->yyin_r
  |  |  ------------------
  ------------------
 1991|       |#ifdef __cplusplus
 1992|       |					return yyinput(yyscanner);
 1993|       |#else
 1994|      0|					return input(yyscanner);
 1995|    285|#endif
 1996|    285|					}
 1997|       |
 1998|      0|				case EOB_ACT_CONTINUE_SCAN:
  ------------------
  |  |  397|      0|#define EOB_ACT_CONTINUE_SCAN 0
  ------------------
  |  Branch (1998:5): [True: 0, False: 285]
  ------------------
 1999|      0|					yyg->yy_c_buf_p = yyg->yytext_ptr + offset;
  ------------------
  |  |  567|      0|#define yytext_ptr yytext_r
  ------------------
 2000|      0|					break;
 2001|    285|				}
 2002|    285|			}
 2003|    285|		}
 2004|       |
 2005|  1.51M|	c = *(unsigned char *) yyg->yy_c_buf_p;	/* cast for 8-bit char's */
 2006|  1.51M|	*yyg->yy_c_buf_p = '\0';	/* preserve yytext */
 2007|  1.51M|	yyg->yy_hold_char = *++yyg->yy_c_buf_p;
 2008|       |
 2009|  1.51M|	if ( c == '\n' )
  ------------------
  |  Branch (2009:7): [True: 0, False: 1.51M]
  ------------------
 2010|       |		
 2011|      0|    do{ yylineno++;
  ------------------
  |  |  349|      0|#define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
  |  |  ------------------
  |  |  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  |  |  ------------------
  ------------------
 2012|      0|        yycolumn=0;
  ------------------
  |  |  350|      0|#define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
  |  |  ------------------
  |  |  |  |  515|      0|#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  |  |  ------------------
  ------------------
 2013|      0|    }while(0)
  ------------------
  |  Branch (2013:12): [Folded, False: 0]
  ------------------
 2014|  1.51M|;
 2015|       |
 2016|  1.51M|	return c;
 2017|  1.51M|}

yr_rules_from_arena:
  327|    503|{
  328|    503|  if (arena->num_buffers < YR_NUM_SECTIONS)
  ------------------
  |  |   72|    503|#define YR_NUM_SECTIONS 12
  ------------------
  |  Branch (328:7): [True: 0, False: 503]
  ------------------
  329|      0|    return ERROR_CORRUPT_FILE;
  ------------------
  |  |   52|      0|#define ERROR_CORRUPT_FILE                   7
  ------------------
  330|       |
  331|    503|  YR_SUMMARY* summary = (YR_SUMMARY*) yr_arena_get_ptr(
  332|    503|      arena, YR_SUMMARY_SECTION, 0);
  ------------------
  |  |   68|    503|#define YR_SUMMARY_SECTION          11
  ------------------
  333|       |
  334|    503|  if (summary == NULL)
  ------------------
  |  Branch (334:7): [True: 0, False: 503]
  ------------------
  335|      0|    return ERROR_CORRUPT_FILE;
  ------------------
  |  |   52|      0|#define ERROR_CORRUPT_FILE                   7
  ------------------
  336|       |
  337|       |  // The rule, string and namespace counts are taken verbatim from the loaded
  338|       |  // summary. Reject any count that doesn't fit the table it indexes, otherwise
  339|       |  // the rules_table walk below (and the string/namespace tables the scanner
  340|       |  // indexes with these counts) run past the end of the loaded buffers.
  341|    503|  if ((uint64_t) summary->num_rules * sizeof(YR_RULE) >
  ------------------
  |  Branch (341:7): [True: 0, False: 503]
  ------------------
  342|    503|          yr_arena_get_current_offset(arena, YR_RULES_TABLE) ||
  ------------------
  |  |   58|    503|#define YR_RULES_TABLE              1
  ------------------
  343|    503|      (uint64_t) summary->num_strings * sizeof(YR_STRING) >
  ------------------
  |  Branch (343:7): [True: 0, False: 503]
  ------------------
  344|    503|          yr_arena_get_current_offset(arena, YR_STRINGS_TABLE) ||
  ------------------
  |  |   60|    503|#define YR_STRINGS_TABLE            3
  ------------------
  345|    503|      (uint64_t) summary->num_namespaces * sizeof(YR_NAMESPACE) >
  ------------------
  |  Branch (345:7): [True: 0, False: 503]
  ------------------
  346|    503|          yr_arena_get_current_offset(arena, YR_NAMESPACES_TABLE))
  ------------------
  |  |   57|    503|#define YR_NAMESPACES_TABLE         0
  ------------------
  347|      0|  {
  348|      0|    return ERROR_CORRUPT_FILE;
  ------------------
  |  |   52|      0|#define ERROR_CORRUPT_FILE                   7
  ------------------
  349|      0|  }
  350|       |
  351|    503|  YR_RULE* rules_table = yr_arena_get_ptr(arena, YR_RULES_TABLE, 0);
  ------------------
  |  |   58|    503|#define YR_RULES_TABLE              1
  ------------------
  352|    503|  YR_STRING* strings_table = yr_arena_get_ptr(arena, YR_STRINGS_TABLE, 0);
  ------------------
  |  |   60|    503|#define YR_STRINGS_TABLE            3
  ------------------
  353|    503|  YR_NAMESPACE* namespaces_table = yr_arena_get_ptr(
  354|    503|      arena, YR_NAMESPACES_TABLE, 0);
  ------------------
  |  |   57|    503|#define YR_NAMESPACES_TABLE         0
  ------------------
  355|       |
  356|  1.00k|  for (uint32_t i = 0; i < summary->num_namespaces; i++)
  ------------------
  |  Branch (356:24): [True: 503, False: 503]
  ------------------
  357|    503|  {
  358|    503|    if (namespaces_table[i].idx >= summary->num_namespaces)
  ------------------
  |  Branch (358:9): [True: 0, False: 503]
  ------------------
  359|      0|      return ERROR_CORRUPT_FILE;
  ------------------
  |  |   52|      0|#define ERROR_CORRUPT_FILE                   7
  ------------------
  360|    503|  }
  361|       |
  362|  19.9k|  for (uint32_t i = 0; i < summary->num_strings; i++)
  ------------------
  |  Branch (362:24): [True: 19.4k, False: 503]
  ------------------
  363|  19.4k|  {
  364|  19.4k|    if (strings_table[i].idx >= summary->num_strings ||
  ------------------
  |  Branch (364:9): [True: 0, False: 19.4k]
  ------------------
  365|  19.4k|        strings_table[i].rule_idx >= summary->num_rules)
  ------------------
  |  Branch (365:9): [True: 0, False: 19.4k]
  ------------------
  366|      0|    {
  367|      0|      return ERROR_CORRUPT_FILE;
  ------------------
  |  |   52|      0|#define ERROR_CORRUPT_FILE                   7
  ------------------
  368|      0|    }
  369|  19.4k|  }
  370|       |
  371|    808|  for (uint32_t i = 0; i < summary->num_rules; i++)
  ------------------
  |  Branch (371:24): [True: 305, False: 503]
  ------------------
  372|    305|  {
  373|    305|    if (namespaces_table == NULL ||
  ------------------
  |  Branch (373:9): [True: 0, False: 305]
  ------------------
  374|    305|        rules_table[i].ns < namespaces_table ||
  ------------------
  |  Branch (374:9): [True: 0, False: 305]
  ------------------
  375|    305|        rules_table[i].ns >= namespaces_table + summary->num_namespaces ||
  ------------------
  |  Branch (375:9): [True: 0, False: 305]
  ------------------
  376|    305|        ((uintptr_t) rules_table[i].ns - (uintptr_t) namespaces_table) %
  ------------------
  |  Branch (376:9): [True: 0, False: 305]
  ------------------
  377|    305|                sizeof(YR_NAMESPACE) !=
  378|    305|            0)
  379|      0|    {
  380|      0|      return ERROR_CORRUPT_FILE;
  ------------------
  |  |   52|      0|#define ERROR_CORRUPT_FILE                   7
  ------------------
  381|      0|    }
  382|    305|  }
  383|       |
  384|    503|  size_t ext_vars_size = yr_arena_get_current_offset(
  385|    503|      arena, YR_EXTERNAL_VARIABLES_TABLE);
  ------------------
  |  |   61|    503|#define YR_EXTERNAL_VARIABLES_TABLE 4
  ------------------
  386|       |
  387|    503|  if (ext_vars_size == 0 ||
  ------------------
  |  Branch (387:7): [True: 0, False: 503]
  ------------------
  388|    503|      ext_vars_size % sizeof(YR_EXTERNAL_VARIABLE) != 0)
  ------------------
  |  Branch (388:7): [True: 0, False: 503]
  ------------------
  389|      0|  {
  390|      0|    return ERROR_CORRUPT_FILE;
  ------------------
  |  |   52|      0|#define ERROR_CORRUPT_FILE                   7
  ------------------
  391|      0|  }
  392|       |
  393|    503|  YR_EXTERNAL_VARIABLE* ext_vars = yr_arena_get_ptr(
  394|    503|      arena, YR_EXTERNAL_VARIABLES_TABLE, 0);
  ------------------
  |  |   61|    503|#define YR_EXTERNAL_VARIABLES_TABLE 4
  ------------------
  395|       |
  396|    503|  bool found_null_external = false;
  397|       |
  398|    503|  for (size_t i = 0; i < ext_vars_size / sizeof(YR_EXTERNAL_VARIABLE); i++)
  ------------------
  |  Branch (398:22): [True: 503, False: 0]
  ------------------
  399|    503|  {
  400|    503|    YR_EXTERNAL_VARIABLE* external = &ext_vars[i];
  401|       |
  402|    503|    if (EXTERNAL_VARIABLE_IS_NULL(external))
  ------------------
  |  |  152|    503|  ((x) != NULL ? (x)->type == EXTERNAL_VARIABLE_TYPE_NULL : true)
  |  |  ------------------
  |  |  |  |  144|    503|#define EXTERNAL_VARIABLE_TYPE_NULL          0
  |  |  ------------------
  |  |  |  Branch (152:3): [True: 503, False: 0]
  |  |  |  Branch (152:4): [True: 503, False: 0]
  |  |  ------------------
  ------------------
  403|    503|    {
  404|    503|      found_null_external = true;
  405|    503|      break;
  406|    503|    }
  407|       |
  408|      0|    if (external->type != EXTERNAL_VARIABLE_TYPE_FLOAT &&
  ------------------
  |  |  145|      0|#define EXTERNAL_VARIABLE_TYPE_FLOAT         1
  ------------------
  |  Branch (408:9): [True: 0, False: 0]
  ------------------
  409|      0|        external->type != EXTERNAL_VARIABLE_TYPE_INTEGER &&
  ------------------
  |  |  146|      0|#define EXTERNAL_VARIABLE_TYPE_INTEGER       2
  ------------------
  |  Branch (409:9): [True: 0, False: 0]
  ------------------
  410|      0|        external->type != EXTERNAL_VARIABLE_TYPE_BOOLEAN &&
  ------------------
  |  |  147|      0|#define EXTERNAL_VARIABLE_TYPE_BOOLEAN       3
  ------------------
  |  Branch (410:9): [True: 0, False: 0]
  ------------------
  411|      0|        external->type != EXTERNAL_VARIABLE_TYPE_STRING)
  ------------------
  |  |  148|      0|#define EXTERNAL_VARIABLE_TYPE_STRING        4
  ------------------
  |  Branch (411:9): [True: 0, False: 0]
  ------------------
  412|      0|    {
  413|      0|      return ERROR_CORRUPT_FILE;
  ------------------
  |  |   52|      0|#define ERROR_CORRUPT_FILE                   7
  ------------------
  414|      0|    }
  415|       |
  416|      0|    YR_ARENA_REF ref;
  417|      0|    if (external->identifier == NULL ||
  ------------------
  |  Branch (417:9): [True: 0, False: 0]
  ------------------
  418|      0|        !yr_arena_ptr_to_ref(arena, external->identifier, &ref) ||
  ------------------
  |  Branch (418:9): [True: 0, False: 0]
  ------------------
  419|      0|        memchr(
  ------------------
  |  Branch (419:9): [True: 0, False: 0]
  ------------------
  420|      0|            external->identifier,
  421|      0|            '\0',
  422|      0|            yr_arena_get_current_offset(arena, ref.buffer_id) - ref.offset) ==
  423|      0|            NULL)
  424|      0|    {
  425|      0|      return ERROR_CORRUPT_FILE;
  ------------------
  |  |   52|      0|#define ERROR_CORRUPT_FILE                   7
  ------------------
  426|      0|    }
  427|       |
  428|      0|    if (external->type == EXTERNAL_VARIABLE_TYPE_STRING &&
  ------------------
  |  |  148|      0|#define EXTERNAL_VARIABLE_TYPE_STRING        4
  ------------------
  |  Branch (428:9): [True: 0, False: 0]
  ------------------
  429|      0|        (external->value.s == NULL ||
  ------------------
  |  Branch (429:10): [True: 0, False: 0]
  ------------------
  430|      0|         !yr_arena_ptr_to_ref(arena, external->value.s, &ref) ||
  ------------------
  |  Branch (430:10): [True: 0, False: 0]
  ------------------
  431|      0|         memchr(
  ------------------
  |  Branch (431:10): [True: 0, False: 0]
  ------------------
  432|      0|             external->value.s,
  433|      0|             '\0',
  434|      0|             yr_arena_get_current_offset(arena, ref.buffer_id) - ref.offset) ==
  435|      0|             NULL))
  436|      0|    {
  437|      0|      return ERROR_CORRUPT_FILE;
  ------------------
  |  |   52|      0|#define ERROR_CORRUPT_FILE                   7
  ------------------
  438|      0|    }
  439|      0|  }
  440|       |
  441|    503|  if (!found_null_external)
  ------------------
  |  Branch (441:7): [True: 0, False: 503]
  ------------------
  442|      0|    return ERROR_CORRUPT_FILE;
  ------------------
  |  |   52|      0|#define ERROR_CORRUPT_FILE                   7
  ------------------
  443|       |
  444|       |  // The Aho-Corasick transition and match tables are read verbatim from the
  445|       |  // loaded file and drive the per-byte scan loop in _yr_scanner_scan_mem_block,
  446|       |  // which reads transition_table[state + b] (b is a scanned byte, so the offset
  447|       |  // is 1..256), match_table[state] and ac_match_pool[match_table[state] - 1]
  448|       |  // with state taken from the tables themselves. Reject a file whose tables are
  449|       |  // too small or whose next-state / match-pool indexes fall outside them,
  450|       |  // otherwise those reads run out of bounds while scanning.
  451|    503|  YR_AC_TRANSITION* transition_table = yr_arena_get_ptr(
  452|    503|      arena, YR_AC_TRANSITION_TABLE, 0);
  ------------------
  |  |   65|    503|#define YR_AC_TRANSITION_TABLE      8
  ------------------
  453|       |
  454|    503|  uint32_t* match_table = yr_arena_get_ptr(arena, YR_AC_STATE_MATCHES_TABLE, 0);
  ------------------
  |  |   66|    503|#define YR_AC_STATE_MATCHES_TABLE   9
  ------------------
  455|       |
  456|    503|  uint32_t transition_table_size = yr_arena_get_current_offset(
  457|    503|                                       arena, YR_AC_TRANSITION_TABLE) /
  ------------------
  |  |   65|    503|#define YR_AC_TRANSITION_TABLE      8
  ------------------
  458|    503|                                   sizeof(YR_AC_TRANSITION);
  459|       |
  460|    503|  uint32_t match_table_size = yr_arena_get_current_offset(
  461|    503|                                  arena, YR_AC_STATE_MATCHES_TABLE) /
  ------------------
  |  |   66|    503|#define YR_AC_STATE_MATCHES_TABLE   9
  ------------------
  462|    503|                              sizeof(uint32_t);
  463|       |
  464|    503|  uint32_t match_pool_size = yr_arena_get_current_offset(
  465|    503|                                 arena, YR_AC_STATE_MATCHES_POOL) /
  ------------------
  |  |   67|    503|#define YR_AC_STATE_MATCHES_POOL    10
  ------------------
  466|    503|                             sizeof(YR_AC_MATCH);
  467|       |
  468|       |  // Every state leaves room for the 256 input offsets read after it, so a valid
  469|       |  // table always has at least 257 slots and the match table is never shorter.
  470|    503|  if (transition_table_size < 257 || match_table_size < transition_table_size)
  ------------------
  |  Branch (470:7): [True: 0, False: 503]
  |  Branch (470:38): [True: 0, False: 503]
  ------------------
  471|      0|    return ERROR_CORRUPT_FILE;
  ------------------
  |  |   52|      0|#define ERROR_CORRUPT_FILE                   7
  ------------------
  472|       |
  473|  1.65M|  for (uint32_t i = 0; i < transition_table_size; i++)
  ------------------
  |  Branch (473:24): [True: 1.65M, False: 503]
  ------------------
  474|  1.65M|  {
  475|  1.65M|    if (YR_AC_NEXT_STATE(transition_table[i]) + 256 >= transition_table_size)
  ------------------
  |  |   46|  1.65M|#define YR_AC_NEXT_STATE(t)            (t >> YR_AC_SLOT_OFFSET_BITS)
  |  |  ------------------
  |  |  |  |   39|  1.65M|#define YR_AC_SLOT_OFFSET_BITS 9
  |  |  ------------------
  ------------------
  |  Branch (475:9): [True: 0, False: 1.65M]
  ------------------
  476|      0|      return ERROR_CORRUPT_FILE;
  ------------------
  |  |   52|      0|#define ERROR_CORRUPT_FILE                   7
  ------------------
  477|       |
  478|  1.65M|    if (match_table[i] > match_pool_size)
  ------------------
  |  Branch (478:9): [True: 0, False: 1.65M]
  ------------------
  479|      0|      return ERROR_CORRUPT_FILE;
  ------------------
  |  |   52|      0|#define ERROR_CORRUPT_FILE                   7
  ------------------
  480|  1.65M|  }
  481|       |
  482|    503|  YR_RULES* new_rules = (YR_RULES*) yr_malloc(sizeof(YR_RULES));
  483|       |
  484|    503|  if (new_rules == NULL)
  ------------------
  |  Branch (484:7): [True: 0, False: 503]
  ------------------
  485|      0|    return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
  486|       |
  487|    503|  new_rules->no_required_strings = (YR_BITMASK*) yr_calloc(
  488|    503|      sizeof(YR_BITMASK), YR_BITMASK_SIZE(summary->num_rules));
  ------------------
  |  |   57|    503|#define YR_BITMASK_SIZE(n)   (((n) / (YR_BITMASK_SLOT_BITS)) + 1)
  |  |  ------------------
  |  |  |  |   56|    503|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  |  |  ------------------
  ------------------
  489|       |
  490|    503|  if (new_rules->no_required_strings == NULL)
  ------------------
  |  Branch (490:7): [True: 0, False: 503]
  ------------------
  491|      0|  {
  492|      0|    yr_free(new_rules);
  493|      0|    return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
  494|      0|  }
  495|       |
  496|       |  // Now YR_RULES relies on this arena, let's increment the arena's
  497|       |  // reference count so that if the original owner of the arena calls
  498|       |  // yr_arena_destroy the arena is not destroyed.
  499|    503|  yr_arena_acquire(arena);
  500|       |
  501|    503|  new_rules->arena = arena;
  502|    503|  new_rules->num_rules = summary->num_rules;
  503|    503|  new_rules->num_strings = summary->num_strings;
  504|    503|  new_rules->num_namespaces = summary->num_namespaces;
  505|       |
  506|    503|  new_rules->rules_table = rules_table;
  507|    503|  new_rules->strings_table = strings_table;
  508|       |
  509|    503|  new_rules->ext_vars_table = yr_arena_get_ptr(
  510|    503|      arena, YR_EXTERNAL_VARIABLES_TABLE, 0);
  ------------------
  |  |   61|    503|#define YR_EXTERNAL_VARIABLES_TABLE 4
  ------------------
  511|       |
  512|    503|  new_rules->ac_transition_table = yr_arena_get_ptr(
  513|    503|      arena, YR_AC_TRANSITION_TABLE, 0);
  ------------------
  |  |   65|    503|#define YR_AC_TRANSITION_TABLE      8
  ------------------
  514|       |
  515|    503|  new_rules->ac_match_table = yr_arena_get_ptr(
  516|    503|      arena, YR_AC_STATE_MATCHES_TABLE, 0);
  ------------------
  |  |   66|    503|#define YR_AC_STATE_MATCHES_TABLE   9
  ------------------
  517|       |
  518|    503|  new_rules->ac_match_pool = yr_arena_get_ptr(
  519|    503|      arena, YR_AC_STATE_MATCHES_POOL, 0);
  ------------------
  |  |   67|    503|#define YR_AC_STATE_MATCHES_POOL    10
  ------------------
  520|       |
  521|    503|  new_rules->code_start = yr_arena_get_ptr(arena, YR_CODE_SECTION, 0);
  ------------------
  |  |   63|    503|#define YR_CODE_SECTION             6
  ------------------
  522|       |
  523|       |  // If a rule has no required_strings, this means that the condition might
  524|       |  // evaluate to true without any matching strings, and we therefore have to
  525|       |  // mark it as "to be evaluated" from the beginning.
  526|    808|  for (int i = 0; i < new_rules->num_rules; i++)
  ------------------
  |  Branch (526:19): [True: 305, False: 503]
  ------------------
  527|    305|  {
  528|    305|    if (new_rules->rules_table[i].required_strings == 0)
  ------------------
  |  Branch (528:9): [True: 104, False: 201]
  ------------------
  529|    104|      yr_bitmask_set(new_rules->no_required_strings, i);
  ------------------
  |  |   60|    104|  do                                                                         \
  |  |   61|    104|  {                                                                          \
  |  |   62|    104|    (bm)[(i) / YR_BITMASK_SLOT_BITS] |= 1UL << ((i) % YR_BITMASK_SLOT_BITS); \
  |  |  ------------------
  |  |  |  |   56|    104|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  |  |  ------------------
  |  |                   (bm)[(i) / YR_BITMASK_SLOT_BITS] |= 1UL << ((i) % YR_BITMASK_SLOT_BITS); \
  |  |  ------------------
  |  |  |  |   56|    104|#define YR_BITMASK_SLOT_BITS (sizeof(YR_BITMASK) * 8)
  |  |  ------------------
  |  |   63|    104|  } while (0)
  |  |  ------------------
  |  |  |  Branch (63:12): [Folded, False: 104]
  |  |  ------------------
  ------------------
  530|    305|  }
  531|       |
  532|    503|  *rules = new_rules;
  533|       |
  534|    503|  return ERROR_SUCCESS;
  ------------------
  |  |   40|    503|#define ERROR_SUCCESS 0
  ------------------
  535|    503|}
yr_rules_destroy:
  681|    503|{
  682|    503|  YR_EXTERNAL_VARIABLE* external = rules->ext_vars_table;
  683|       |
  684|    503|  while (!EXTERNAL_VARIABLE_IS_NULL(external))
  ------------------
  |  |  152|    503|  ((x) != NULL ? (x)->type == EXTERNAL_VARIABLE_TYPE_NULL : true)
  |  |  ------------------
  |  |  |  |  144|    503|#define EXTERNAL_VARIABLE_TYPE_NULL          0
  |  |  ------------------
  |  |  |  Branch (152:4): [True: 503, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (684:10): [True: 0, False: 503]
  ------------------
  685|      0|  {
  686|      0|    if (external->type == EXTERNAL_VARIABLE_TYPE_MALLOC_STRING)
  ------------------
  |  |  149|      0|#define EXTERNAL_VARIABLE_TYPE_MALLOC_STRING 5
  ------------------
  |  Branch (686:9): [True: 0, False: 0]
  ------------------
  687|      0|      yr_free(external->value.s);
  688|       |
  689|      0|    external++;
  690|      0|  }
  691|       |
  692|    503|  yr_free(rules->no_required_strings);
  693|    503|  yr_arena_release(rules->arena);
  694|    503|  yr_free(rules);
  695|       |
  696|    503|  return ERROR_SUCCESS;
  ------------------
  |  |   40|    503|#define ERROR_SUCCESS 0
  ------------------
  697|    503|}

ss_compare:
   45|    625|{
   46|    625|  size_t i = 0;
   47|       |
   48|  39.4k|  while (s1->length > i && s2->length > i && s1->c_string[i] == s2->c_string[i])
  ------------------
  |  Branch (48:10): [True: 38.8k, False: 605]
  |  Branch (48:28): [True: 38.8k, False: 0]
  |  Branch (48:46): [True: 38.8k, False: 20]
  ------------------
   49|  38.8k|  {
   50|  38.8k|    i++;
   51|  38.8k|  }
   52|       |
   53|    625|  if (i == s1->length && i == s2->length)
  ------------------
  |  Branch (53:7): [True: 605, False: 20]
  |  Branch (53:26): [True: 605, False: 0]
  ------------------
   54|    605|    return 0;
   55|     20|  else if (i == s1->length)
  ------------------
  |  Branch (55:12): [True: 0, False: 20]
  ------------------
   56|      0|    return -1;
   57|     20|  else if (i == s2->length)
  ------------------
  |  Branch (57:12): [True: 0, False: 20]
  ------------------
   58|      0|    return 1;
   59|     20|  else if (s1->c_string[i] < s2->c_string[i])
  ------------------
  |  Branch (59:12): [True: 8, False: 12]
  ------------------
   60|      8|    return -1;
   61|     12|  else
   62|     12|    return 1;
   63|    625|}
ss_new:
  216|  2.91k|{
  217|  2.91k|  SIZED_STRING* result;
  218|       |
  219|  2.91k|  size_t length = strlen(s);
  220|       |
  221|  2.91k|  result = (SIZED_STRING*) yr_malloc(sizeof(SIZED_STRING) + length);
  222|       |
  223|  2.91k|  if (result == NULL)
  ------------------
  |  Branch (223:7): [True: 0, False: 2.91k]
  ------------------
  224|      0|    return NULL;
  225|       |
  226|  2.91k|  result->length = (uint32_t) length;
  227|  2.91k|  result->flags = 0;
  228|       |
  229|       |  // Copy the string and the null terminator.
  230|  2.91k|  strcpy(result->c_string, s);
  231|       |
  232|  2.91k|  return result;
  233|  2.91k|}
ss_convert_to_wide:
  240|  5.17k|{
  241|  5.17k|  SIZED_STRING* wide = (SIZED_STRING*) yr_malloc(
  242|  5.17k|      sizeof(SIZED_STRING) + s->length * 2);
  243|       |
  244|  5.17k|  if (wide == NULL)
  ------------------
  |  Branch (244:7): [True: 0, False: 5.17k]
  ------------------
  245|      0|    return NULL;
  246|       |
  247|   585k|  for (size_t i = 0; i < s->length; i++)
  ------------------
  |  Branch (247:22): [True: 580k, False: 5.17k]
  ------------------
  248|   580k|  {
  249|   580k|    wide->c_string[i * 2] = s->c_string[i];
  250|   580k|    wide->c_string[i * 2 + 1] = '\x00';
  251|   580k|  }
  252|       |
  253|  5.17k|  wide->length = s->length * 2;
  254|  5.17k|  wide->c_string[wide->length] = '\x00';
  255|  5.17k|  wide->flags = s->flags | STRING_FLAGS_WIDE;
  ------------------
  |  |   70|  5.17k|#define STRING_FLAGS_WIDE          0x10
  ------------------
  256|       |
  257|  5.17k|  return wide;
  258|  5.17k|}

yr_stack_create:
   42|  11.8k|{
   43|  11.8k|  *stack = (YR_STACK*) yr_malloc(sizeof(YR_STACK));
   44|       |
   45|  11.8k|  if (*stack == NULL)
  ------------------
  |  Branch (45:7): [True: 0, False: 11.8k]
  ------------------
   46|      0|    return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
   47|       |
   48|  11.8k|  (*stack)->items = yr_malloc(initial_capacity * item_size);
   49|       |
   50|  11.8k|  if ((*stack)->items == NULL)
  ------------------
  |  Branch (50:7): [True: 0, False: 11.8k]
  ------------------
   51|      0|  {
   52|      0|    yr_free(*stack);
   53|      0|    *stack = NULL;
   54|      0|    return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
   55|      0|  }
   56|       |
   57|  11.8k|  (*stack)->capacity = initial_capacity;
   58|  11.8k|  (*stack)->item_size = item_size;
   59|  11.8k|  (*stack)->top = 0;
   60|       |
   61|  11.8k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  11.8k|#define ERROR_SUCCESS 0
  ------------------
   62|  11.8k|}
yr_stack_destroy:
   68|  11.8k|{
   69|  11.8k|  yr_free(stack->items);
   70|  11.8k|  yr_free(stack);
   71|  11.8k|}
yr_stack_push:
   79|  1.22M|{
   80|  1.22M|  if (stack->top == stack->capacity)
  ------------------
  |  Branch (80:7): [True: 211, False: 1.22M]
  ------------------
   81|    211|  {
   82|    211|    void* items = yr_realloc(
   83|    211|        stack->items, 2 * stack->capacity * stack->item_size);
   84|       |
   85|    211|    if (items == NULL)
  ------------------
  |  Branch (85:9): [True: 0, False: 211]
  ------------------
   86|      0|      return ERROR_INSUFFICIENT_MEMORY;
  ------------------
  |  |   47|      0|#define ERROR_INSUFFICIENT_MEMORY            1
  ------------------
   87|       |
   88|    211|    stack->items = items;
   89|    211|    stack->capacity *= 2;
   90|    211|  }
   91|       |
   92|  1.22M|  memcpy(
   93|  1.22M|      (uint8_t*) stack->items + stack->top * stack->item_size,
   94|  1.22M|      item,
   95|  1.22M|      stack->item_size);
   96|       |
   97|  1.22M|  stack->top++;
   98|       |
   99|  1.22M|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  1.22M|#define ERROR_SUCCESS 0
  ------------------
  100|  1.22M|}
yr_stack_pop:
  109|  1.24M|{
  110|  1.24M|  if (stack->top == 0)  // Return 0 if stack is empty.
  ------------------
  |  Branch (110:7): [True: 11.8k, False: 1.22M]
  ------------------
  111|  11.8k|    return 0;
  112|       |
  113|  1.22M|  stack->top--;
  114|       |
  115|  1.22M|  memcpy(
  116|  1.22M|      item,
  117|  1.22M|      (uint8_t*) stack->items + stack->top * stack->item_size,
  118|  1.22M|      stack->item_size);
  119|       |
  120|  1.22M|  return 1;
  121|  1.24M|}

xtoi:
   36|  90.5k|{
   37|  90.5k|  size_t i;
   38|  90.5k|  size_t l = strlen(hexstr);
   39|       |
   40|  90.5k|  uint64_t r = 0;
   41|       |
   42|   271k|  for (i = 0; i < l; i++)
  ------------------
  |  Branch (42:15): [True: 181k, False: 90.5k]
  ------------------
   43|   181k|  {
   44|   181k|    switch (hexstr[i])
   45|   181k|    {
   46|  30.4k|    case '0':
  ------------------
  |  Branch (46:5): [True: 30.4k, False: 150k]
  ------------------
   47|  34.8k|    case '1':
  ------------------
  |  Branch (47:5): [True: 4.39k, False: 176k]
  ------------------
   48|  36.4k|    case '2':
  ------------------
  |  Branch (48:5): [True: 1.63k, False: 179k]
  ------------------
   49|  38.5k|    case '3':
  ------------------
  |  Branch (49:5): [True: 2.08k, False: 178k]
  ------------------
   50|  39.5k|    case '4':
  ------------------
  |  Branch (50:5): [True: 998, False: 180k]
  ------------------
   51|  41.8k|    case '5':
  ------------------
  |  Branch (51:5): [True: 2.31k, False: 178k]
  ------------------
   52|  43.0k|    case '6':
  ------------------
  |  Branch (52:5): [True: 1.24k, False: 179k]
  ------------------
   53|  43.8k|    case '7':
  ------------------
  |  Branch (53:5): [True: 731, False: 180k]
  ------------------
   54|  44.7k|    case '8':
  ------------------
  |  Branch (54:5): [True: 983, False: 180k]
  ------------------
   55|  45.2k|    case '9':
  ------------------
  |  Branch (55:5): [True: 457, False: 180k]
  ------------------
   56|  45.2k|      r |= ((uint64_t) (hexstr[i] - '0')) << ((l - i - 1) * 4);
   57|  45.2k|      break;
   58|  85.5k|    case 'a':
  ------------------
  |  Branch (58:5): [True: 85.5k, False: 95.4k]
  ------------------
   59|  88.3k|    case 'b':
  ------------------
  |  Branch (59:5): [True: 2.73k, False: 178k]
  ------------------
   60|  89.9k|    case 'c':
  ------------------
  |  Branch (60:5): [True: 1.60k, False: 179k]
  ------------------
   61|  96.0k|    case 'd':
  ------------------
  |  Branch (61:5): [True: 6.08k, False: 174k]
  ------------------
   62|  96.3k|    case 'e':
  ------------------
  |  Branch (62:5): [True: 316, False: 180k]
  ------------------
   63|   114k|    case 'f':
  ------------------
  |  Branch (63:5): [True: 18.0k, False: 162k]
  ------------------
   64|   114k|      r |= ((uint64_t) (hexstr[i] - 'a' + 10)) << ((l - i - 1) * 4);
   65|   114k|      break;
   66|  14.1k|    case 'A':
  ------------------
  |  Branch (66:5): [True: 14.1k, False: 166k]
  ------------------
   67|  15.0k|    case 'B':
  ------------------
  |  Branch (67:5): [True: 951, False: 180k]
  ------------------
   68|  16.3k|    case 'C':
  ------------------
  |  Branch (68:5): [True: 1.29k, False: 179k]
  ------------------
   69|  16.9k|    case 'D':
  ------------------
  |  Branch (69:5): [True: 551, False: 180k]
  ------------------
   70|  20.8k|    case 'E':
  ------------------
  |  Branch (70:5): [True: 3.87k, False: 177k]
  ------------------
   71|  21.3k|    case 'F':
  ------------------
  |  Branch (71:5): [True: 555, False: 180k]
  ------------------
   72|  21.3k|      r |= ((uint64_t) (hexstr[i] - 'A' + 10)) << ((l - i - 1) * 4);
   73|  21.3k|      break;
   74|      0|    default:
  ------------------
  |  Branch (74:5): [True: 0, False: 181k]
  ------------------
   75|      0|      i = l;  // force loop exit
   76|   181k|    }
   77|   181k|  }
   78|       |
   79|  90.5k|  return r;
   80|  90.5k|}

yr_thread_storage_create:
  160|      4|{
  161|      4|  if (pthread_key_create(storage, NULL) != 0)
  ------------------
  |  Branch (161:7): [True: 0, False: 4]
  ------------------
  162|      0|    return ERROR_INTERNAL_FATAL_ERROR;
  ------------------
  |  |   78|      0|#define ERROR_INTERNAL_FATAL_ERROR           31
  ------------------
  163|       |
  164|      4|  return ERROR_SUCCESS;
  ------------------
  |  |   40|      4|#define ERROR_SUCCESS 0
  ------------------
  165|      4|}
yr_thread_storage_set_value:
  178|  41.1k|{
  179|  41.1k|  if (pthread_setspecific(*storage, value) != 0)
  ------------------
  |  Branch (179:7): [True: 0, False: 41.1k]
  ------------------
  180|      0|    return ERROR_INTERNAL_FATAL_ERROR;
  ------------------
  |  |   78|      0|#define ERROR_INTERNAL_FATAL_ERROR           31
  ------------------
  181|       |
  182|  41.1k|  return ERROR_SUCCESS;
  ------------------
  |  |   40|  41.1k|#define ERROR_SUCCESS 0
  ------------------
  183|  41.1k|}

LLVMFuzzerInitialize:
   37|      2|{
   38|      2|  yr_initialize();
   39|      2|  return 0;
   40|      2|}
LLVMFuzzerTestOneInput:
   44|  14.1k|{
   45|  14.1k|  YR_RULES* rules;
   46|  14.1k|  YR_COMPILER* compiler;
   47|       |
   48|  14.1k|  char* buffer = (char*) malloc(size + 1);
   49|       |
   50|  14.1k|  if (!buffer)
  ------------------
  |  Branch (50:7): [True: 0, False: 14.1k]
  ------------------
   51|      0|    return 0;
   52|       |
   53|  14.1k|  strncpy(buffer, (const char*) data, size);
   54|  14.1k|  buffer[size] = 0;
   55|       |
   56|  14.1k|  if (yr_compiler_create(&compiler) != ERROR_SUCCESS)
  ------------------
  |  |   40|  14.1k|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (56:7): [True: 0, False: 14.1k]
  ------------------
   57|      0|  {
   58|      0|    free(buffer);
   59|      0|    return 0;
   60|      0|  }
   61|       |
   62|  14.1k|  if (yr_compiler_add_string(compiler, (const char*) buffer, NULL) == 0)
  ------------------
  |  Branch (62:7): [True: 503, False: 13.6k]
  ------------------
   63|    503|  {
   64|    503|    if (yr_compiler_get_rules(compiler, &rules) == ERROR_SUCCESS)
  ------------------
  |  |   40|    503|#define ERROR_SUCCESS 0
  ------------------
  |  Branch (64:9): [True: 503, False: 0]
  ------------------
   65|    503|      yr_rules_destroy(rules);
   66|    503|  }
   67|       |
   68|  14.1k|  yr_compiler_destroy(compiler);
   69|  14.1k|  free(buffer);
   70|       |
   71|  14.1k|  return 0;
   72|  14.1k|}

