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

TypeError: this.__tmp_block.setDataWidth is not a function #60

Open
D-Sinus opened this issue Aug 12, 2021 · 1 comment
Open

TypeError: this.__tmp_block.setDataWidth is not a function #60

D-Sinus opened this issue Aug 12, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@D-Sinus
Copy link

D-Sinus commented Aug 12, 2021

Describe the bug
A clear and concise description of what the bug is.

When I trying to analyze the application in the device using dexcalibur, an error occurs while parsing the smali code.

To reproduce / to understand
Please provide the command used to launch Dexcalibur and steps (if applicable).

Execute following command: node --max-old-space-size=16384 ./dexcalibur.js
Select an application -> Press scan -> The error occurs

Expected behavior
A clear and concise description of what you expected to happen.

The application is processed and normal dexcalibur UI screen appears.

Screenshots
If applicable, add screenshots or copy Dexcalibur output.
image

Desktop (please complete the following information):

  • OS: [Windows 10]
  • Node JS version: [12.22.1]
  • Dexcalibur version (see 'package.json' or output) : [0.7.9]
@D-Sinus D-Sinus added the bug Something isn't working label Aug 12, 2021
@D-Sinus
Copy link
Author

D-Sinus commented Aug 12, 2021

Well, turns out that it is solved when I changes the line 435 in SmaliParser.js...

case LEX.STRUCT.ARRAY:
                //this.__tmp_block.setDataWidth(parseInt(sml[1],10));
                this.__tmp_block.setDataWidth = parseInt(sml[1],10);

But I don't know whether the above change is correct patch or not.
Would you mind reviewing this issue? @FrenchYeti

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants