You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@daffodil.apache.org by "Olabusayo Kilo (JIRA)" <ji...@apache.org> on 2019/06/20 13:53:00 UTC

[jira] [Assigned] (DAFFODIL-2119) Debugger RTL data dumps are nibbles-reversed

     [ https://issues.apache.org/jira/browse/DAFFODIL-2119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olabusayo Kilo reassigned DAFFODIL-2119:
----------------------------------------

    Assignee: Olabusayo Kilo

> Debugger RTL data dumps are nibbles-reversed
> --------------------------------------------
>
>                 Key: DAFFODIL-2119
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2119
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Debugger
>    Affects Versions: 2.3.0
>            Reporter: Michael Beckerle
>            Assignee: Olabusayo Kilo
>            Priority: Major
>
> This is what the debugger outputs for parsing one of the tests for mil-std-2045, test2045msghdr1.
> It detects that this is bitOrder leastSignificantBitFirst data and so presents the data Right-to-Left order, which is good.
> {code:java}
>      fedcba9876543210  ffee ddcc bbaa 9988 7766 5544 3322 1100  87654321
>    cø€␀␀␀wü␚’gU€␀gä  368f 0800 0000 77cf a129 7655 0800 764e :00000000
>           ␀␀␁›¶þ␐HD                   00 0010 b96b ef01 8444 :00000010{code}
>  
> However, this is gibberish, as the bytes of this data (left-to-right) are E4 67 00 80 55....
> So presented Right-to-left the values in the bytes shouldn't change. But if you look at the data dump above, the bytes are 4e 76 00 08 55.... which means the nibbles of each byte have been swapped.
> That's just plain wrong. Bit order doesn't change the numeric value of any byte.
> These displays are useless.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)