Skip to content

[M680X] Fix #1483: errors logged to stderr, using abort.#1487

Closed
aladur wants to merge 1 commit intocapstone-engine:nextfrom
aladur:stderr
Closed

[M680X] Fix #1483: errors logged to stderr, using abort.#1487
aladur wants to merge 1 commit intocapstone-engine:nextfrom
aladur:stderr

Conversation

@aladur
Copy link
Copy Markdown
Contributor

@aladur aladur commented May 18, 2019

  • This is not suitable for an application framework
    especially for kernel code.
  • All these error conditions do not occur under normal conditions.
    They only can occur if a maintainer (in the future) would make
    inappropriate changes to the M680X code base.
  • The commented out assert's help the maintainer when e.g.
    adding new M680X cpu types.

- This is not suitable for an application framework
  especially for kernel code.
- All these error conditions do not occur under normal conditions.
  They only can occur if a maintainer (in the future) would make
  inappropriate changes to the M680X code base.
- The commented out assert's help the maintainer when e.g.
  adding new M680X cpu types.
Comment thread arch/M680X/M680XDisassembler.c
@aquynh
Copy link
Copy Markdown
Collaborator

aquynh commented May 18, 2019

so this PR overlaps with #1485?

@aladur
Copy link
Copy Markdown
Contributor Author

aladur commented May 18, 2019

#1487 fixes the whole issue as described in #1483.
#1485 only would fix one part of it.

@tmfink
Copy link
Copy Markdown
Contributor

tmfink commented May 18, 2019

#1485 only would fix one part of it.

@aquynh I'll just close #1485 once this is merged. I think it makes sense for @aladur to handle this as the author of M680X arch.

@aladur
Copy link
Copy Markdown
Contributor Author

aladur commented May 18, 2019

Closed this one. New PR #1489 provides a better solution.

@aladur aladur closed this May 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants