Created
December 20, 2019 14:26
-
-
Save daniestevez/98d397a3076decd8243677f31ae014c1 to your computer and use it in GitHub Desktop.
GNU Radio FECAPI async decoder heap corruption bug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
options: | |
parameters: | |
author: daniel | |
category: '[GRC Hier Blocks]' | |
cmake_opt: '' | |
comment: '' | |
copyright: '' | |
description: '' | |
gen_cmake: 'On' | |
gen_linking: dynamic | |
generate_options: no_gui | |
hier_block_src_path: '.:' | |
id: test_viterbi | |
max_nouts: '0' | |
output_language: python | |
placement: (0,0) | |
qt_qss_theme: '' | |
realtime_scheduling: '' | |
run: 'True' | |
run_command: '{python} -u {filename}' | |
run_options: run | |
sizing_mode: fixed | |
thread_safe_setters: '' | |
title: Not titled yet | |
window_size: '' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [8, 8] | |
rotation: 0 | |
state: enabled | |
blocks: | |
- name: frame_len | |
id: variable | |
parameters: | |
comment: '' | |
value: '1020' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [431, 38] | |
rotation: 0 | |
state: true | |
- name: samp_rate | |
id: variable | |
parameters: | |
comment: '' | |
value: '32000' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [232, 12] | |
rotation: 0 | |
state: enabled | |
- name: viterbi | |
id: variable_cc_decoder_def | |
parameters: | |
comment: '' | |
dim1: '1' | |
dim2: '1' | |
framebits: frame_len//2 | |
k: '7' | |
mode: fec.CC_TERMINATED | |
ndim: '0' | |
padding: 'False' | |
polys: '[79,-109]' | |
rate: '2' | |
state_end: '-1' | |
state_start: '0' | |
value: '"ok"' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [1035, 111] | |
rotation: 0 | |
state: enabled | |
- name: analog_noise_source_x_0 | |
id: analog_noise_source_x | |
parameters: | |
affinity: '' | |
alias: '' | |
amp: '1' | |
comment: '' | |
maxoutbuf: '0' | |
minoutbuf: '0' | |
noise_type: analog.GR_GAUSSIAN | |
seed: '0' | |
type: float | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [107, 224] | |
rotation: 0 | |
state: true | |
- name: blocks_message_debug_0 | |
id: blocks_message_debug | |
parameters: | |
affinity: '' | |
alias: '' | |
comment: '' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [998, 354] | |
rotation: 0 | |
state: disabled | |
- name: blocks_stream_to_tagged_stream_0 | |
id: blocks_stream_to_tagged_stream | |
parameters: | |
affinity: '' | |
alias: '' | |
comment: '' | |
len_tag_key: '"packet_len"' | |
maxoutbuf: '0' | |
minoutbuf: '0' | |
packet_len: frame_len | |
type: float | |
vlen: '1' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [326, 232] | |
rotation: 0 | |
state: true | |
- name: blocks_tagged_stream_to_pdu_0 | |
id: blocks_tagged_stream_to_pdu | |
parameters: | |
affinity: '' | |
alias: '' | |
comment: '' | |
maxoutbuf: '0' | |
minoutbuf: '0' | |
tag: packet_len | |
type: float | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [565, 240] | |
rotation: 0 | |
state: true | |
- name: fec_async_decoder_0 | |
id: fec_async_decoder | |
parameters: | |
affinity: '' | |
alias: '' | |
comment: '' | |
decoder: viterbi | |
maxoutbuf: '0' | |
minoutbuf: '0' | |
mtu: frame_len | |
packed: 'False' | |
rev_pack: 'False' | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [808, 231] | |
rotation: 0 | |
state: enabled | |
- name: import_0 | |
id: import | |
parameters: | |
alias: '' | |
comment: '' | |
imports: from math import ceil | |
states: | |
bus_sink: false | |
bus_source: false | |
bus_structure: null | |
coordinate: [688, 31] | |
rotation: 0 | |
state: true | |
connections: | |
- [analog_noise_source_x_0, '0', blocks_stream_to_tagged_stream_0, '0'] | |
- [blocks_stream_to_tagged_stream_0, '0', blocks_tagged_stream_to_pdu_0, '0'] | |
- [blocks_tagged_stream_to_pdu_0, pdus, fec_async_decoder_0, in] | |
- [fec_async_decoder_0, out, blocks_message_debug_0, print_pdu] | |
metadata: | |
file_format: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment