You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Ilya Berezhniuk (JIRA)" <ji...@apache.org> on 2007/12/17 15:36:43 UTC

[jira] Created: (HARMONY-5320) [drlvm][NCAI][encoder] Decoder incorrectly parses special case with modrm.mod=0 and sib.base=5

[drlvm][NCAI][encoder] Decoder incorrectly parses special case with modrm.mod=0 and sib.base=5
----------------------------------------------------------------------------------------------

                 Key: HARMONY-5320
                 URL: https://issues.apache.org/jira/browse/HARMONY-5320
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
         Environment: All
            Reporter: Ilya Berezhniuk


Decoder incorrectly parses SIB byte when SIB.base == 5 and ModR/M.mod == 0.
It's special case when base is absent but disp32 is present.

This bug affects JVMTI disassembler. I've met the bug using NCAI interface when disassembling native code.
Probably this bug will not occur for JVMTI itself because JIT does not produce such instruction.

Suggested patch fixes this issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HARMONY-5320) [drlvm][NCAI][encoder] Decoder incorrectly parses special case with modrm.mod=0 and sib.base=5

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gregory Shimansky resolved HARMONY-5320.
----------------------------------------

    Resolution: Fixed

Patch is applied at 605232.

> [drlvm][NCAI][encoder] Decoder incorrectly parses special case with modrm.mod=0 and sib.base=5
> ----------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5320
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5320
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Ilya Berezhniuk
>            Assignee: Gregory Shimansky
>         Attachments: H-5320.patch
>
>
> Decoder incorrectly parses SIB byte when SIB.base == 5 and ModR/M.mod == 0.
> It's special case when base is absent but disp32 is present.
> This bug affects JVMTI disassembler. I've met the bug using NCAI interface when disassembling native code.
> Probably this bug will not occur for JVMTI itself because JIT does not produce such instruction.
> Suggested patch fixes this issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-5320) [drlvm][NCAI][encoder] Decoder incorrectly parses special case with modrm.mod=0 and sib.base=5

Posted by "Ilya Berezhniuk (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ilya Berezhniuk updated HARMONY-5320:
-------------------------------------

    Attachment: H-5320.patch

> [drlvm][NCAI][encoder] Decoder incorrectly parses special case with modrm.mod=0 and sib.base=5
> ----------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5320
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5320
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Ilya Berezhniuk
>         Attachments: H-5320.patch
>
>
> Decoder incorrectly parses SIB byte when SIB.base == 5 and ModR/M.mod == 0.
> It's special case when base is absent but disp32 is present.
> This bug affects JVMTI disassembler. I've met the bug using NCAI interface when disassembling native code.
> Probably this bug will not occur for JVMTI itself because JIT does not produce such instruction.
> Suggested patch fixes this issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HARMONY-5320) [drlvm][NCAI][encoder] Decoder incorrectly parses special case with modrm.mod=0 and sib.base=5

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gregory Shimansky reassigned HARMONY-5320:
------------------------------------------

    Assignee: Gregory Shimansky

> [drlvm][NCAI][encoder] Decoder incorrectly parses special case with modrm.mod=0 and sib.base=5
> ----------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5320
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5320
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Ilya Berezhniuk
>            Assignee: Gregory Shimansky
>         Attachments: H-5320.patch
>
>
> Decoder incorrectly parses SIB byte when SIB.base == 5 and ModR/M.mod == 0.
> It's special case when base is absent but disp32 is present.
> This bug affects JVMTI disassembler. I've met the bug using NCAI interface when disassembling native code.
> Probably this bug will not occur for JVMTI itself because JIT does not produce such instruction.
> Suggested patch fixes this issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (HARMONY-5320) [drlvm][NCAI][encoder] Decoder incorrectly parses special case with modrm.mod=0 and sib.base=5

Posted by "Ilya Berezhniuk (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ilya Berezhniuk closed HARMONY-5320.
------------------------------------


Thanks Gregory,
the patch is applied as expected.

> [drlvm][NCAI][encoder] Decoder incorrectly parses special case with modrm.mod=0 and sib.base=5
> ----------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5320
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5320
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Ilya Berezhniuk
>            Assignee: Gregory Shimansky
>         Attachments: H-5320.patch
>
>
> Decoder incorrectly parses SIB byte when SIB.base == 5 and ModR/M.mod == 0.
> It's special case when base is absent but disp32 is present.
> This bug affects JVMTI disassembler. I've met the bug using NCAI interface when disassembling native code.
> Probably this bug will not occur for JVMTI itself because JIT does not produce such instruction.
> Suggested patch fixes this issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.