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
e081aadd
Commit
e081aadd
authored
Dec 21, 2014
by
YASME-Tim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added xml header
parent
2bacab7d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
JadxCLI.java
jadx-cli/src/main/java/jadx/cli/JadxCLI.java
+4
-4
BinaryXMLParser.java
...-core/src/main/java/jadx/core/xmlgen/BinaryXMLParser.java
+1
-0
No files found.
jadx-cli/src/main/java/jadx/cli/JadxCLI.java
View file @
e081aadd
...
...
@@ -8,15 +8,15 @@ import java.io.File;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
//
import jadx.core.xmlgen.BinaryXMLParser;
import
jadx.core.xmlgen.BinaryXMLParser
;
public
class
JadxCLI
{
private
static
final
Logger
LOG
=
LoggerFactory
.
getLogger
(
JadxCLI
.
class
);
public
static
void
main
(
String
[]
args
)
throws
JadxException
{
//
BinaryXMLParser bxp = new BinaryXMLParser(args[0],args[1]);
//
bxp.parse();
//
System.exit(4);
BinaryXMLParser
bxp
=
new
BinaryXMLParser
(
args
[
0
],
args
[
1
]);
bxp
.
parse
();
System
.
exit
(
4
);
try
{
JadxCLIArgs
jadxArgs
=
new
JadxCLIArgs
();
if
(
processArgs
(
jadxArgs
,
args
))
{
...
...
jadx-core/src/main/java/jadx/core/xmlgen/BinaryXMLParser.java
View file @
e081aadd
...
...
@@ -28,6 +28,7 @@ public class BinaryXMLParser {
}
catch
(
FileNotFoundException
fnfe
)
{
die
(
"FNFE"
);
}
catch
(
UnsupportedEncodingException
uee
)
{
die
(
"UEE"
);
}
if
(
null
==
writer
)
die
(
"null==writer"
);
writer
.
println
(
"<?xml version=\"1.0\" encoding=\"utf-8\"?>"
);
File
manifest
=
new
File
(
xmlfilepath
);
if
(
null
==
manifest
)
die
(
"null==manifest"
);
bytes
=
new
byte
[(
int
)
manifest
.
length
()];
...
...
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