Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MIPS support to callstack_instr plugin #751

Merged
merged 4 commits into from
Sep 10, 2020
Merged

Conversation

tnballo
Copy link
Contributor

@tnballo tnballo commented Sep 9, 2020

  • Adds MIPS support to callstack_instr
  • Includes a temporary workaround for a capstone bug
  • Tested for big and little endian MIPS - does detect calls (improvement from prior state) but not guaranteed to be 100% accurate (needs usage and testing)

@tnballo tnballo closed this Sep 9, 2020
@tnballo tnballo reopened this Sep 9, 2020
@panda-jenkins-ci
Copy link
Collaborator

Continuous Integration failure.
"asidstory1" regression test failed.
See output below for details.

Traceback (most recent call last):
File "ptest.py", line 51, in
from ptest_utils import *
File "/home/panda/.jenkins/jobs/PANDA/workspace/panda/testing/ptest_utils.py", line 71, in
from run_debian import SUPPORTED_ARCHES
File "/home/panda/.jenkins/jobs/PANDA/workspace/panda/scripts/run_debian.py", line 73, in
from run_guest import create_recording
File "/home/panda/.jenkins/jobs/PANDA/workspace/panda/scripts/run_guest.py", line 46
print(Style.BRIGHT + "(qemu)" + Style.RESET_ALL, end=' ')
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "ptest.py", line 51, in
from ptest_utils import *
File "/home/panda/.jenkins/jobs/PANDA/workspace/panda/testing/ptest_utils.py", line 71, in
from run_debian import SUPPORTED_ARCHES
File "/home/panda/.jenkins/jobs/PANDA/workspace/panda/scripts/run_debian.py", line 73, in
from run_guest import create_recording
File "/home/panda/.jenkins/jobs/PANDA/workspace/panda/scripts/run_guest.py", line 46
print(Style.BRIGHT + "(qemu)" + Style.RESET_ALL, end=' ')
^
SyntaxError: invalid syntax

@tnballo
Copy link
Contributor Author

tnballo commented Sep 9, 2020

CI error not directly related (PyPanda cffi.CDefError: cannot parse "struct GHashTable {};"), but will look into it.

@panda-jenkins-ci
Copy link
Collaborator

Continuous Integration failure.
"asidstory1" regression test failed.
See output below for details.

Traceback (most recent call last):
File "ptest.py", line 51, in
from ptest_utils import *
File "/home/panda/.jenkins/jobs/PANDA/workspace/panda/testing/ptest_utils.py", line 71, in
from run_debian import SUPPORTED_ARCHES
File "/home/panda/.jenkins/jobs/PANDA/workspace/panda/scripts/run_debian.py", line 73, in
from run_guest import create_recording
File "/home/panda/.jenkins/jobs/PANDA/workspace/panda/scripts/run_guest.py", line 46
print(Style.BRIGHT + "(qemu)" + Style.RESET_ALL, end=' ')
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "ptest.py", line 51, in
from ptest_utils import *
File "/home/panda/.jenkins/jobs/PANDA/workspace/panda/testing/ptest_utils.py", line 71, in
from run_debian import SUPPORTED_ARCHES
File "/home/panda/.jenkins/jobs/PANDA/workspace/panda/scripts/run_debian.py", line 73, in
from run_guest import create_recording
File "/home/panda/.jenkins/jobs/PANDA/workspace/panda/scripts/run_guest.py", line 46
print(Style.BRIGHT + "(qemu)" + Style.RESET_ALL, end=' ')
^
SyntaxError: invalid syntax

@panda-jenkins-ci
Copy link
Collaborator

Continuous Integration failure.
"asidstory1" regression test failed.
See output below for details.

Traceback (most recent call last):
File "ptest.py", line 51, in
from ptest_utils import *
File "/home/panda/.jenkins/jobs/PANDA/workspace/panda/testing/ptest_utils.py", line 71, in
from run_debian import SUPPORTED_ARCHES
File "/home/panda/.jenkins/jobs/PANDA/workspace/panda/scripts/run_debian.py", line 73, in
from run_guest import create_recording
File "/home/panda/.jenkins/jobs/PANDA/workspace/panda/scripts/run_guest.py", line 46
print(Style.BRIGHT + "(qemu)" + Style.RESET_ALL, end=' ')
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "ptest.py", line 51, in
from ptest_utils import *
File "/home/panda/.jenkins/jobs/PANDA/workspace/panda/testing/ptest_utils.py", line 71, in
from run_debian import SUPPORTED_ARCHES
File "/home/panda/.jenkins/jobs/PANDA/workspace/panda/scripts/run_debian.py", line 73, in
from run_guest import create_recording
File "/home/panda/.jenkins/jobs/PANDA/workspace/panda/scripts/run_guest.py", line 46
print(Style.BRIGHT + "(qemu)" + Style.RESET_ALL, end=' ')
^
SyntaxError: invalid syntax

@panda-jenkins-ci
Copy link
Collaborator

Continuous Integration failure.
PANDA build failed, see below for details.
Duplicate lines have been removed from output.

@AndrewFasano AndrewFasano merged commit 01cc96a into master Sep 10, 2020
@AndrewFasano AndrewFasano deleted the mips_callstack_instr branch September 10, 2020 12:28
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