Commit Graph

2370 Commits

Author SHA1 Message Date
erev0s
7e07c12794
Merge pull request #1028 from ehrenb/pyqt5-qt5-fix
address pyqt5-qt5 inconsistencies by adding markers for MacOS ARM targets
2024-04-10 11:09:01 +03:00
MadSquirrel
293d85b29e Fix test case 2024-04-08 21:39:38 +02:00
MadSquirrel
db87703967 Correct attribute name to be the same used by Android 2024-04-08 08:32:50 +02:00
Branden Ehrenreich
f718737e9b
address pyqt5-qt5 inconsistencies by adding markers 2024-04-02 19:14:37 -04:00
erev0s
30fdb638e3
Merge pull request #1022 from subho007/patch-1
[bugfix] Remove spaces from nsmap
2024-03-27 18:05:44 +02:00
Subho Halder
d2aa4381ea
[bugfix] Remove spaces from nsmap
See more details in: https://github.com/appknox/pyaxmlparser/pull/64
2024-03-26 21:26:47 +05:30
erev0s
868af2b9e7
Merge pull request #1020 from androguard/fix_resources_1017
fix 1017 by checking the size for ARSCResTableConfig for anything abo…
2024-03-23 19:32:47 +02:00
erev0s
4187a64681 Merge remote-tracking branch 'origin/master' into fix_resources_1017 2024-03-23 19:29:49 +02:00
erev0s
294a0f9172
Merge pull request #1019 from ehrenb/master
fix https://github.com/androguard/androguard/issues/1018 by hard lock…
2024-03-23 19:19:48 +02:00
erev0s
7dee783960 fix 1017 by checking the size for ARSCResTableConfig for anything above the first 16 bytes 2024-03-23 19:16:00 +02:00
ehrenb
8e95bca53c fix https://github.com/androguard/androguard/issues/1018 by hard locking pyqt5-qt5 to last known version with linux/win/macos .whls 2024-03-23 13:04:35 -04:00
erev0s
f01be4168b
Merge pull request #1012 from Forgo7ten/master
fix 'set' object is not subscriptable error.
2024-03-17 21:49:02 +02:00
erev0s
23ad0b992d
Merge pull request #1016 from androguard/1014
Reserved values res0/res1 error
2024-03-15 00:24:04 +02:00
erev0s
d975f72b7a bump version 2024-03-15 00:18:50 +02:00
erev0s
6862bf00d0 Patch update based on https://github.com/androguard/androguard/issues/1014 2024-03-15 00:16:52 +02:00
erev0s
8e26eec255
Merge pull request #1013 from androguard/axml-update
supplementary for 1006
2024-03-11 23:35:29 +02:00
erev0s
05c02efd1a supplementary for 1006 2024-03-11 23:21:16 +02:00
Forgo7ten
f8c7972c68 fix 'set' object is not subscriptable. 2024-03-11 23:31:45 +08:00
erev0s
9f7a3c6a74
Merge pull request #1010 from ehrenb/refactor-analysis
Ensure all Fields and Strings get wrapped as FieldAnalysis and StringAnalysis respectivly when creating Analysis
2024-03-10 23:33:34 +02:00
erev0s
a5aaf75aba
Merge pull request #1011 from androguard/axml-update
fix for 1006
2024-03-10 23:33:14 +02:00
erev0s
e45e584137 fix for 1006 2024-03-10 23:28:27 +02:00
ehrenb
167ef191d8 fix comment 2024-03-09 20:19:48 -05:00
ehrenb
58ea8cfb9c Merge branch 'refactor-analysis' of github.com:ehrenb/androguard into refactor-analysis 2024-03-09 15:28:21 -05:00
ehrenb
126bac4605 ensure .show() works for MethodAnalysis that are External. Add logging when creating new ClassAnalysis instance. Similar to wrapping all fields into FieldAnalysis, also add and wrap all strings into StringAnalysis. Create explicit methods for getting internal/external methods. Updated expected outputs for test_analysis, as underlying implementations have changed 2024-03-09 15:27:51 -05:00
Branden Ehrenreich
e13c102555
Merge branch 'androguard:master' into refactor-analysis 2024-03-09 11:55:42 -05:00
erev0s
3ae3f44f8e
Merge pull request #1009 from backtohuman/master
fix 4-byte aligned padding
2024-03-08 23:46:01 +02:00
erev0s
aa2a63bf66
Merge pull request #1008 from Ch0pin/master
Added error handling for ResParserError
2024-03-08 23:39:18 +02:00
backtohuman
025aaa243c
Update __init__.py
fix 4-byte aligned padding
2024-03-08 18:29:38 +09:00
Ch0pin
187b912784 added error handling for "res1" and "res0" must be zero errors which caused aborting the parsing 2024-03-07 17:21:38 +00:00
ehrenb
8fdb6f939d update all tests to use explicit functions for encoded methods/fields. fix failing test mentioned in https://github.com/androguard/androguard/issues/989\#issuecomment-1925512272 so that it assumes testing for wrapped fields. make new tests for DEX-class level testing that tests counts of parsed values in the DEX header 2024-02-25 18:12:46 -05:00
ehrenb
e8945c923a create 'gets()' function for MethodHIdItem class, make explicit functions for getting FieldIdItems and MethodIdItems vs. EncodedFields and EncodedMethods, normalize variable names to be consistent where designs overlap, and create additional 'get_len_xxx()' functions for classes 2024-02-25 18:08:11 -05:00
Branden Ehrenreich
8886901986
Merge branch 'androguard:master' into refactor-analysis 2024-02-25 10:50:56 -05:00
erev0s
913c2cd907 ready for minor update to 4.1.0 where call graph is included again 2024-02-25 16:51:46 +02:00
erev0s
a06e5cc489
Merge pull request #1003 from androguard/miscFixes
minor update about sessions and added warning before deletion in expo…
2024-02-11 23:33:36 +02:00
erev0s
8ebc4e297b minor update about sessions and added warning before deletion in export_apps_to_format 2024-02-11 23:26:43 +02:00
erev0s
d93b4d2542
Merge pull request #997 from ehrenb/master
add tests for class, fields, and method access flags using the TestActivity.apk file (attempt #2)
2024-02-08 23:57:27 +02:00
ehrenb
b8fe1d5120 revert to using Analysis classes' fields, since theyll contain xrefs. If we make a new Analysis field attribute, none of the downstream XREF analysis will get propagated to it 2024-02-04 19:24:29 -05:00
ehrenb
b420793c78 testing out wrapping fields 2024-02-03 20:21:51 -05:00
ehrenb
f47720aea2 update access flags test to use Analysis' underlying ClassDefItem's get_methods() and get_fields() for getting fields and methods, as opposed to the Analysis get_methods() and get_fields() which are supposed to only return xrefs of methods and fields. 2024-02-03 17:22:43 -05:00
ehrenb
2724ccc86b ensure expected class, methods, and fields exist before moving forward with testing their access flags 2024-01-14 00:02:04 -05:00
ehrenb
5f45f149b1 add more tests for access flags, will do fields' access flags after https://github.com/androguard/androguard/issues/989 is cleared up 2024-01-07 20:25:53 -05:00
ehrenb
46312269d5 fix get_item_type docstring 2024-01-07 14:14:00 -05:00
erev0s
4dcdd81230
Merge pull request #985 from ehrenb/master
Restore 'androguard cg' callgraph generation
2024-01-03 22:37:03 +01:00
erev0s
7c3c214761
Update README.md 2024-01-03 23:34:48 +02:00
Branden Ehrenreich
2652529802
Merge branch 'androguard:master' into master 2024-01-02 19:46:32 -05:00
erev0s
4097070c4c
Merge pull request #986 from eybisi/master
stricter regex to capture "official" classes.dex files
2024-01-02 22:35:48 +01:00
eybisi
be1ef1d875 better regex to capture "official" classes.dex files
In some cases self.get_files returns a file name such as classes.dex/sample.png. To avoid capturing such files use strict regex
2024-01-02 15:36:40 +03:00
ehrenb
a35c241a4b initial tests for callgraph 2024-01-01 20:55:33 -05:00
ehrenb
3f1bd97c43 add methodname for exported formats 2024-01-01 20:55:20 -05:00
ehrenb
be855e265b lock subpackage required by PyQt5, PyQt5-Qt, to a version that has .whl files for other platforms. For some reason, recent version of the subpackage are only marked for macos. Pip does not have this issue, only Poetry. see https://github.com/python-poetry/poetry/issues/8540 and 060f044077 2024-01-01 17:22:37 -05:00