Get integers from fuzzdb database

      bitwidth - The bitwidth that has to contain the integer
      unsigned - Whether the type is unsigned
      limit - Limit to |limit| results

def get_integers(bitwidth, unsigned, limit=0):
    '''
    Get integers from fuzzdb database

      bitwidth - The bitwidth that has to contain the integer
      unsigned - Whether the type is unsigned
      limit - Limit to |limit| results
    '''
    if unsigned:
        start, stop = 0, ((1 << bitwidth) - 1)
    else:
        start, stop = (-(1 << bitwidth-1)), (1 << (bitwidth-1)-1)

    for num in _fuzzdb_integers(limit):
        if num >= start and num <= stop:
            yield num