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

Multiple errors while loading SM-G973F PAK G973FXXU9DTJA #2

Open
locus-x64 opened this issue Dec 25, 2024 · 1 comment
Open

Multiple errors while loading SM-G973F PAK G973FXXU9DTJA #2

locus-x64 opened this issue Dec 25, 2024 · 1 comment

Comments

@locus-x64
Copy link

While loading S10 baseband, I got these errors

Traceback (most recent call last):
  File "<string>", line 223, in auto_empty_finally
  File "/opt/idapro-9.0/python/shannon_mpu.py", line 95, in find_hw_init
    validate_mpu_candidate(candidate)
  File "/opt/idapro-9.0/python/shannon_mpu.py", line 439, in validate_mpu_candidate
    if (process_mpu_table(metrics[5])):
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/idapro-9.0/python/shannon_mpu.py", line 497, in process_mpu_table
    shannon_generic.DEBUG("[d] s:%x  o:%x, %x, %x, %x\n" %
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: %x format: an integer is required, not NoneType
Traceback (most recent call last):
  File "<string>", line 226, in auto_empty_finally
  File "/opt/idapro-9.0/python/shannon_scatterload.py", line 392, in find_scatter
    create_scatter_tbl(scatterload)
  File "/opt/idapro-9.0/python/shannon_scatterload.py", line 78, in create_scatter_tbl
    (scatter_start, scatter_size, scatter_size / struct_size))
                                  ~~~~~~~~~~~~~^~~~~~~~~~~~~
ZeroDivisionError: division by zeroPossible file format: Shannon Baseband Image (/opt/idapro-9.0/loaders/shannon_load.py)
Traceback (most recent call last):
  File "<string>", line 226, in auto_empty_finally
  File "/opt/idapro-9.0/python/shannon_scatterload.py", line 392, in find_scatter
    create_scatter_tbl(scatterload)
  File "/opt/idapro-9.0/python/shannon_scatterload.py", line 82, in create_scatter_tbl
    tbl = read_scattertbl(scatter_start, scatter_size)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/idapro-9.0/python/shannon_scatterload.py", line 298, in read_scattertbl
    (scatter_offset + src_ptr), 4), "little"))
     ~~~~~~~~~~~~~~~^~~~~~~~~
TypeError: unsupported operand type(s) for +: 'int' and 'NoneType'
@alexander-pick
Copy link
Owner

alexander-pick commented Jan 1, 2025

I just finished the analysis of CP_G973FXXU9DTJA_CP17201589_CL20034833_QB35343967_REV01_user_low_ship and it worked just fine.

Is the IDA Pro version you are using a 9.0 beta, 9.0 or 9.0 SP1?

One of the paths in the error looks like the old beta.

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

No branches or pull requests

2 participants