Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
J
jadx
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open-source
jadx
Commits
7342ae18
Commit
7342ae18
authored
Nov 15, 2013
by
13.beta2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core: fix to
4f61ddd4
parent
eafe080c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
CodeShrinker.java
...re/src/main/java/jadx/core/dex/visitors/CodeShrinker.java
+6
-1
No files found.
jadx-core/src/main/java/jadx/core/dex/visitors/CodeShrinker.java
View file @
7342ae18
...
@@ -82,7 +82,12 @@ public class CodeShrinker extends AbstractVisitor {
...
@@ -82,7 +82,12 @@ public class CodeShrinker extends AbstractVisitor {
}
}
if
(
wrap
)
{
if
(
wrap
)
{
if
(
insn
.
getType
()
==
InsnType
.
MOVE
)
{
if
(
insn
.
getType
()
==
InsnType
.
MOVE
)
{
useInsnArg
.
getParentInsn
().
setArg
(
0
,
insn
.
getArg
(
0
));
for
(
int
r
=
0
;
r
<
useInsn
.
getArgsCount
();
r
++)
{
if
(
useInsn
.
getArg
(
r
).
getTypedVar
()
==
insn
.
getResult
().
getTypedVar
())
{
useInsn
.
setArg
(
r
,
insn
.
getArg
(
0
));
break
;
}
}
}
else
{
}
else
{
useInsnArg
.
wrapInstruction
(
insn
);
useInsnArg
.
wrapInstruction
(
insn
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment