Comments (9)
Comment #1 originally posted by JesusFreke on 2010-06-09T13:17:47.000Z:
Can you provide a snippet of the smali code around one of the lines that it is complaining about?
from smali.
Comment #2 originally posted by JesusFreke on 2010-06-09T13:28:13.000Z:
Line 396 in AddBookmarkPage.smali: invoke-virtual {v16 .. v16}, Ljava/lang/String;->length()I
Line 5673 in BrowserActivity.smali: invoke-virtual {v16 .. v16}, Ljava/lang/String;->length()I
Line 856 in BrowserProvider,smali: invoke-virtual {p2 .. p2}, Ljava/lang/String;->length()I
from smali.
Comment #3 originally posted by JesusFreke on 2010-06-09T13:29:31.000Z:
Line 396 in AddBookmarkPage.smali: invoke-virtual {v16 .. v16}, Ljava/lang/String;->length()I
Line 5673 in BrowserActivity.smali: invoke-virtual {v16 .. v16}, Ljava/lang/String;->length()I
Line 856 in BrowserProvider,smali: invoke-virtual {p2 .. p2}, Ljava/lang/String;->length()I
from smali.
Comment #4 originally posted by JesusFreke on 2010-06-09T13:35:09.000Z:
Can you provide some context to one of those? I'd like to see the code around one of those locations as well
from smali.
Comment #5 originally posted by JesusFreke on 2010-06-09T13:42:43.000Z:
From AddBookmarkPage.smali:
.line 179
.local v6, emptyTitle:Z
:goto_31
invoke-virtual {v13}, Ljava/lang/String;->trim()Ljava/lang/String;
move-result-object v16
invoke-virtual {v16 .. v16}, Ljava/lang/String;->length()I
move-result v16
if-nez v16, :cond_79
const/16 v16, 0x1
move/from16 v7, v16
from BrowserActivity.smali:
.line 363
.local v10, jsFlags:Ljava/lang/String;
invoke-virtual {v10}, Ljava/lang/String;->trim()Ljava/lang/String;
move-result-object v16
invoke-virtual {v16 .. v16}, Ljava/lang/String;->length()I
move-result v16
if-eqz v16, :cond_28b
.line 364
move-object/from16 v0, p0
iget-object v0, v0, Lcom/android/browser/BrowserActivity;->mTabControl:Lcom/android/browser/TabControl;
move-object/from16 v16, v0
invoke-virtual/range {v16 .. v16}, Lcom/android/browser/TabControl;->getCurrentWebView()Landroid/webkit/WebView;
move-result-object v16
from smali.
Comment #6 originally posted by JesusFreke on 2010-06-09T13:45:06.000Z:
Gotcha, thanks. It's using the /range style of registers for a non-range invoke. weird. I'll look into it, thanks
from smali.
Comment #7 originally posted by JesusFreke on 2010-06-09T13:48:03.000Z:
Excellent, thanks. :-)
from smali.
Comment #8 originally posted by JesusFreke on 2010-06-09T15:29:17.000Z:
Yeah, I noticed this problem too. Sometimes there are normal (not range) invokes for a range of registers, also there are e.g. {v1 .. v2} or even {v1 .. v1} invokes everywhere.
from smali.
Comment #9 originally posted by JesusFreke on 2010-06-10T01:44:18.000Z:
Fixed :)
http://code.google.com/p/smali/source/detail?r=731
from smali.
Related Issues (20)
- org.jf.dexlib2.util.DexUtil$InvalidFile: Invalid endian tag: 0x52623dbd
- New official version published? HOT 4
- added support for 4rcc in MutableMethodImplementation
- Ive been Hacked please help me HOT 6
- Parsing smali methode HOT 1
- The Fields do not keep their initial values if they're default value
- odex error
- Error while writing instruction at code offset 0x8
- How to calculate the contribution of each class to the dex HOT 2
- Dex file size increases by ~50% without making changes (DexFileFactory.loadDexFile then DexFileFactory.writeDexFile) HOT 7
- missing EOF at '.class'
- any method to replace one String with modifiedString in StringIds section of dex file using dexlib2? HOT 3
- How to create a new method using dexlib2 HOT 2
- Try to run examples/BracketedMemberNames HOT 1
- how to copy class to new dex using dexlib2 HOT 4
- Smali patcher does not support Dex version 039 HOT 1
- java.lang.NoSuchMethodError when calling DexPool.internClass
- smali report error
- how to move the useless classes to a new dex using dexlib2? HOT 1
- [Feature Request] Could we support dex v41? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smali.