Home
last modified time | relevance | path

Searched refs:codeAddress (Results 1 – 25 of 41) sorted by relevance

12

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/
DMutableMethodImplementation.java65 int codeAddress = 0; in MutableMethodImplementation() local
69 codeAddress += instruction.getCodeUnits(); in MutableMethodImplementation()
72 instructionList.add(new MethodLocation(null, codeAddress, index)); in MutableMethodImplementation()
75 final int[] codeAddressToIndex = new int[codeAddress+1]; in MutableMethodImplementation()
79 codeAddressToIndex[instructionList.get(i).codeAddress] = i; in MutableMethodImplementation()
215 int codeAddress = instructionList.get(index).getCodeAddress();
216 MethodLocation newLoc = new MethodLocation(instruction, codeAddress, index);
220 codeAddress += instruction.getCodeUnits();
225 location.codeAddress = codeAddress;
227 codeAddress += location.instruction.getCodeUnits();
[all …]
DMethodLocation.java46 int codeAddress; field in MethodLocation
58 MethodLocation(@Nullable BuilderInstruction instruction, int codeAddress, int index) { in MethodLocation() argument
60 this.codeAddress = codeAddress; in MethodLocation()
70 return codeAddress; in getCodeAddress()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DDebugWriter.java61 public void writeStartLocal(int codeAddress, int register, in writeStartLocal() argument
69 writeAdvancePC(codeAddress); in writeStartLocal()
84 public void writeEndLocal(int codeAddress, int register) throws IOException { in writeEndLocal() argument
85 writeAdvancePC(codeAddress); in writeEndLocal()
90 public void writeRestartLocal(int codeAddress, int register) throws IOException { in writeRestartLocal() argument
91 writeAdvancePC(codeAddress); in writeRestartLocal()
96 public void writePrologueEnd(int codeAddress) throws IOException { in writePrologueEnd() argument
97 writeAdvancePC(codeAddress); in writePrologueEnd()
101 public void writeEpilogueBegin(int codeAddress) throws IOException { in writeEpilogueBegin() argument
102 writeAdvancePC(codeAddress); in writeEpilogueBegin()
[all …]
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/Debug/
DDebugMethodItem.java43 protected DebugMethodItem(int codeAddress, int sortOrder) { in DebugMethodItem() argument
44 super(codeAddress); in DebugMethodItem()
51 int codeAddress = debugItem.getCodeAddress(); in build() local
54 … return new StartLocalMethodItem(codeAddress, -1, registerFormatter, (StartLocal)debugItem); in build()
56 … return new EndLocalMethodItem(codeAddress, -1, registerFormatter, (EndLocal)debugItem); in build()
58 … return new RestartLocalMethodItem(codeAddress, -1, registerFormatter, (RestartLocal)debugItem); in build()
60 return new BeginEpilogueMethodItem(codeAddress, -4); in build()
62 return new EndPrologueMethodItem(codeAddress, -4); in build()
64 return new SetSourceFileMethodItem(codeAddress, -3, (SetSourceFile)debugItem); in build()
66 return new LineNumberMethodItem(codeAddress, -2, (LineNumber)debugItem); in build()
DEndPrologueMethodItem.java39 public EndPrologueMethodItem(int codeAddress, int sortOrder) { in EndPrologueMethodItem() argument
40 super(codeAddress, sortOrder); in EndPrologueMethodItem()
DBeginEpilogueMethodItem.java39 public BeginEpilogueMethodItem(int codeAddress, int sortOrder) { in BeginEpilogueMethodItem() argument
40 super(codeAddress, sortOrder); in BeginEpilogueMethodItem()
DLineNumberMethodItem.java43 public LineNumberMethodItem(int codeAddress, int sortOrder, @Nonnull LineNumber lineNumber) { in LineNumberMethodItem() argument
44 super(codeAddress, sortOrder); in LineNumberMethodItem()
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
DMethodItem.java36 protected final int codeAddress; field in MethodItem
38 protected MethodItem(int codeAddress) { in MethodItem() argument
39 this.codeAddress = codeAddress; in MethodItem()
43 return codeAddress; in getCodeAddress()
50 int result = ((Integer) codeAddress).compareTo(methodItem.codeAddress); in compareTo()
DCatchMethodItem.java46 … int codeAddress, @Nullable String exceptionType, int startAddress, int endAddress, in CatchMethodItem() argument
48 super(codeAddress); in CatchMethodItem()
55 … tryEndLabel = labelCache.internLabel(new EndTryLabelMethodItem(options, codeAddress, endAddress)); in CatchMethodItem()
DBlankMethodItem.java35 public BlankMethodItem(int codeAddress) { in BlankMethodItem() argument
36 super(codeAddress); in BlankMethodItem()
DEndTryLabelMethodItem.java38 …public EndTryLabelMethodItem(@Nonnull BaksmaliOptions options, int codeAddress, int endTryAddress)… in EndTryLabelMethodItem() argument
39 super(options, codeAddress, "try_end_"); in EndTryLabelMethodItem()
DCommentMethodItem.java40 public CommentMethodItem(String comment, int codeAddress, double sortOrder) { in CommentMethodItem() argument
41 super(codeAddress); in CommentMethodItem()
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/Format/
DInstructionMethodItemFactory.java44 MethodDefinition methodDef, int codeAddress, Instruction instruction) { in makeInstructionFormatMethodItem() argument
47 … return new OffsetInstructionFormatMethodItem(methodDef.classDef.options, methodDef, codeAddress, in makeInstructionFormatMethodItem()
52 return new UnresolvedOdexInstructionMethodItem(methodDef, codeAddress, in makeInstructionFormatMethodItem()
58 return new ArrayDataMethodItem(methodDef, codeAddress, (ArrayPayload)instruction); in makeInstructionFormatMethodItem()
60 … return new PackedSwitchMethodItem(methodDef, codeAddress, (PackedSwitchPayload)instruction); in makeInstructionFormatMethodItem()
62 … return new SparseSwitchMethodItem(methodDef, codeAddress, (SparseSwitchPayload)instruction); in makeInstructionFormatMethodItem()
64 return new InstructionMethodItem<Instruction>(methodDef, codeAddress, instruction); in makeInstructionFormatMethodItem()
DOffsetInstructionFormatMethodItem.java45 int codeAddress, OffsetInstruction instruction) { in OffsetInstructionFormatMethodItem() argument
46 super(methodDef, codeAddress, instruction); in OffsetInstructionFormatMethodItem()
48 … label = new LabelMethodItem(options, codeAddress + instruction.getCodeOffset(), getLabelPrefix()); in OffsetInstructionFormatMethodItem()
DSparseSwitchMethodItem.java49 …public SparseSwitchMethodItem(MethodDefinition methodDef, int codeAddress, SparseSwitchPayload ins… in SparseSwitchMethodItem() argument
50 super(methodDef, codeAddress, instruction); in SparseSwitchMethodItem()
52 int baseCodeAddress = methodDef.getSparseSwitchBaseAddress(codeAddress); in SparseSwitchMethodItem()
DPackedSwitchMethodItem.java50 …public PackedSwitchMethodItem(MethodDefinition methodDef, int codeAddress, PackedSwitchPayload ins… in PackedSwitchMethodItem() argument
51 super(methodDef, codeAddress, instruction); in PackedSwitchMethodItem()
53 int baseCodeAddress = methodDef.getPackedSwitchBaseAddress(codeAddress); in PackedSwitchMethodItem()
DUnresolvedOdexInstructionMethodItem.java39 public UnresolvedOdexInstructionMethodItem(@Nonnull MethodDefinition methodDef, int codeAddress, in UnresolvedOdexInstructionMethodItem() argument
41 super(methodDef, codeAddress, instruction); in UnresolvedOdexInstructionMethodItem()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/util/
DDebugInfo.java158 private int codeAddress = 0; in iterator()
171 codeAddress += addressDiff; in iterator()
184 … new ImmutableStartLocal(codeAddress, register, name, type, null); in iterator()
196 … new ImmutableStartLocal(codeAddress, register, name, type, signature); in iterator()
222 … new ImmutableEndLocal(codeAddress, register, localInfo.getName(), in iterator()
238 … new ImmutableRestartLocal(codeAddress, register, localInfo.getName(), in iterator()
246 return new ImmutablePrologueEnd(codeAddress); in iterator()
249 return new ImmutableEpilogueBegin(codeAddress); in iterator()
253 return new ImmutableSetSourceFile(codeAddress, sourceFile); in iterator()
257 codeAddress += adjusted / 15; in iterator()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/debug/
DImmutableDebugItem.java44 protected final int codeAddress; field in ImmutableDebugItem
46 public ImmutableDebugItem(int codeAddress) { in ImmutableDebugItem() argument
47 this.codeAddress = codeAddress; in ImmutableDebugItem()
75 @Override public int getCodeAddress() { return codeAddress; } in getCodeAddress()
DImmutableRestartLocal.java46 public ImmutableRestartLocal(int codeAddress, in ImmutableRestartLocal() argument
48 super(codeAddress); in ImmutableRestartLocal()
55 public ImmutableRestartLocal(int codeAddress, in ImmutableRestartLocal() argument
60 super(codeAddress); in ImmutableRestartLocal()
DImmutableEndLocal.java46 public ImmutableEndLocal(int codeAddress, in ImmutableEndLocal() argument
48 super(codeAddress); in ImmutableEndLocal()
55 public ImmutableEndLocal(int codeAddress, in ImmutableEndLocal() argument
60 super(codeAddress); in ImmutableEndLocal()
DImmutablePrologueEnd.java40 public ImmutablePrologueEnd(int codeAddress) { in ImmutablePrologueEnd() argument
41 super(codeAddress); in ImmutablePrologueEnd()
DImmutableEpilogueBegin.java40 public ImmutableEpilogueBegin(int codeAddress) { in ImmutableEpilogueBegin() argument
41 super(codeAddress); in ImmutableEpilogueBegin()
DImmutableLineNumber.java42 public ImmutableLineNumber(int codeAddress, in ImmutableLineNumber() argument
44 super(codeAddress); in ImmutableLineNumber()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DDebugInfoItem.java75 int codeAddress = 0; in makeAnnotator() local
89 codeAddress += addressDiff; in makeAnnotator()
91 codeAddress); in makeAnnotator() local
172 codeAddress += addressDiff; in makeAnnotator()
175 addressDiff, codeAddress, lineDiff, lineNumber); in makeAnnotator() local

12