Giter Club home page Giter Club logo

smali's People

Contributors

a4vision avatar agorski3 avatar ale5000-git avatar allight avatar andvgal avatar calebfenton avatar dsrbecky avatar eyecatchup avatar friederbluemle avatar fuzion24 avatar ibotpeaches avatar igoreisberg avatar jesusfreke avatar lanchon avatar magicalmcgrady avatar melcz avatar mikaelpeltier avatar narayank avatar psm14 avatar regisd avatar rover12421 avatar sgjesse avatar shivang1989 avatar sriteja777 avatar stevenarzt avatar sv99 avatar whydoubt avatar wojtek-kalicinski avatar yyjdelete avatar zerny avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

smali's Issues

Build Failure

$ ./gradlew smali:fatJar
Downloading https://services.gradle.org/distributions/gradle-8.5-all.zip
....................10%.....................20%.....................30%.....................40%.....................50%.....................60%....................70%.....................80%.....................90%.....................100%

Welcome to Gradle 8.5!

Here are the highlights of this release:
 - Support for running on Java 21
 - Faster first use with Kotlin DSL
 - Improved error and warning messages

For more details see https://docs.gradle.org/8.5/release-notes.html

Starting a Gradle Daemon (subsequent builds will be faster)

FAILURE: Build failed with an exception.

* What went wrong:
Could not open settings generic class cache for settings file '/home/reyuki/software/open-source/smali/settings.gradle' (/home/reyuki/.gradle/caches/8.5/scripts/bp37r5vijkpl0c04goc913z3q).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 66

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 49s
$ ./gradlew assemble

FAILURE: Build failed with an exception.

* What went wrong:
Could not open settings generic class cache for settings file '/home/reyuki/software/open-source/smali/settings.gradle' (/home/reyuki/.gradle/caches/8.5/scripts/bp37r5vijkpl0c04goc913z3q).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 66

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 255ms

$ ./gradlew --stacktrace --debug --scan smali:fatJar
2024-09-09T02:45:43.896+0700 [INFO] [org.gradle.internal.nativeintegration.services.NativeServices] Initialized native services in: /home/reyuki/.gradle/native
2024-09-09T02:45:43.918+0700 [INFO] [org.gradle.internal.nativeintegration.services.NativeServices] Initialized jansi services in: /home/reyuki/.gradle/native
2024-09-09T02:45:43.929+0700 [LIFECYCLE] [org.gradle.launcher.cli.DebugLoggerWarningAction]
#############################################################################
   WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING

   Debug level logging will leak security sensitive information!

   For more details, please refer to https://docs.gradle.org/8.5/userguide/logging.html#sec:debug_security in the Gradle documentation.
#############################################################################

2024-09-09T02:45:43.956+0700 [INFO] [org.gradle.internal.jvm.inspection.DefaultJvmMetadataDetector] Received JVM installation metadata from '/usr/lib/jvm/java-22-openjdk': {JAVA_HOME=/usr/lib/jvm/java-22-openjdk, JAVA_VERSION=22.0.2, JAVA_VENDOR=Arch Linux, RUNTIME_NAME=OpenJDK Runtime Environment, RUNTIME_VERSION=22.0.2+9, VM_NAME=OpenJDK 64-Bit Server VM, VM_VERSION=22.0.2+9, VM_VENDOR=Arch Linux, OS_ARCH=amd64}
2024-09-09T02:45:43.992+0700 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClient] Executing build 840cbca8-437a-4489-b491-ad36dccad685 in daemon client {pid=1435195}
2024-09-09T02:45:43.993+0700 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface wlp102s0f3u1u4
2024-09-09T02:45:43.993+0700 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? false
2024-09-09T02:45:43.993+0700 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding remote address /fe80:0:0:0:ef49:7632:8ca3:6d9e%wlp102s0f3u1u4
2024-09-09T02:45:43.993+0700 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding remote address /192.168.18.73
2024-09-09T02:45:43.993+0700 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface wlp4s0
2024-09-09T02:45:43.993+0700 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? false
2024-09-09T02:45:43.993+0700 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding remote address /fe80:0:0:0:304c:2035:2ab7:a3c9%wlp4s0
2024-09-09T02:45:43.993+0700 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding remote address /192.168.18.162
2024-09-09T02:45:43.993+0700 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding IP addresses for network interface lo
2024-09-09T02:45:43.993+0700 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Is this a loopback interface? true
2024-09-09T02:45:43.993+0700 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding loopback address /0:0:0:0:0:0:0:1%lo
2024-09-09T02:45:43.993+0700 [DEBUG] [org.gradle.internal.remote.internal.inet.InetAddresses] Adding loopback address /127.0.0.1
2024-09-09T02:45:43.997+0700 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry.
2024-09-09T02:45:43.998+0700 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
2024-09-09T02:45:43.999+0700 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
2024-09-09T02:45:43.999+0700 [DEBUG] [org.gradle.internal.remote.internal.inet.TcpOutgoingConnector] Attempting to connect to [0b09c4a3-c555-4839-b769-319c53acf663 port:37547, addresses:[/127.0.0.1]].
2024-09-09T02:45:43.999+0700 [DEBUG] [org.gradle.internal.remote.internal.inet.TcpOutgoingConnector] Trying to connect to address /127.0.0.1.
2024-09-09T02:45:44.000+0700 [DEBUG] [org.gradle.internal.remote.internal.inet.TcpOutgoingConnector] Connected to address /127.0.0.1:37547.
2024-09-09T02:45:44.004+0700 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClient] Connected to daemon DaemonInfo{pid=1431559, address=[0b09c4a3-c555-4839-b769-319c53acf663 port:37547, addresses:[/127.0.0.1]], state=Idle, lastBusy=1725824592680, context=DefaultDaemonContext[uid=16f1323c-652f-4995-8818-e5335d29bf13,javaHome=/usr/lib/jvm/java-22-openjdk,daemonRegistryDir=/home/reyuki/.gradle/daemon,pid=1431559,idleTimeout=10800000,priority=NORMAL,applyInstrumentationAgent=true,daemonOpts=--add-opens=java.base/java.util=ALL-UNNAMED,--add-opens=java.base/java.lang=ALL-UNNAMED,--add-opens=java.base/java.lang.invoke=ALL-UNNAMED,--add-opens=java.prefs/java.util.prefs=ALL-UNNAMED,--add-opens=java.base/java.nio.charset=ALL-UNNAMED,--add-opens=java.base/java.net=ALL-UNNAMED,--add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED,-XX:MaxMetaspaceSize=384m,-XX:+HeapDumpOnOutOfMemoryError,-Xms256m,-Xmx512m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant]}. Dispatching request Build{id=840cbca8-437a-4489-b491-ad36dccad685, currentDir=/home/reyuki/software/open-source/smali}.
2024-09-09T02:45:44.004+0700 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 1: dispatching class org.gradle.launcher.daemon.protocol.Build
2024-09-09T02:45:44.011+0700 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClient] Received result org.gradle.launcher.daemon.protocol.BuildStarted@79c7532f from daemon DaemonInfo{pid=1431559, address=[0b09c4a3-c555-4839-b769-319c53acf663 port:37547, addresses:[/127.0.0.1]], state=Idle, lastBusy=1725824592680, context=DefaultDaemonContext[uid=16f1323c-652f-4995-8818-e5335d29bf13,javaHome=/usr/lib/jvm/java-22-openjdk,daemonRegistryDir=/home/reyuki/.gradle/daemon,pid=1431559,idleTimeout=10800000,priority=NORMAL,applyInstrumentationAgent=true,daemonOpts=--add-opens=java.base/java.util=ALL-UNNAMED,--add-opens=java.base/java.lang=ALL-UNNAMED,--add-opens=java.base/java.lang.invoke=ALL-UNNAMED,--add-opens=java.prefs/java.util.prefs=ALL-UNNAMED,--add-opens=java.base/java.nio.charset=ALL-UNNAMED,--add-opens=java.base/java.net=ALL-UNNAMED,--add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED,-XX:MaxMetaspaceSize=384m,-XX:+HeapDumpOnOutOfMemoryError,-Xms256m,-Xmx512m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant]} (build should be starting).
2024-09-09T02:45:44.010+0700 [INFO] [org.gradle.launcher.daemon.server.exec.LogToClient] The client will now receive all logging from the daemon (pid: 1431559). The daemon log file: /home/reyuki/.gradle/daemon/8.5/daemon-1431559.out.log
2024-09-09T02:45:44.011+0700 [INFO] [org.gradle.launcher.daemon.server.exec.LogAndCheckHealth] Starting 3rd build in daemon [uptime: 4 mins 38.517 secs, performance: 98%, GC rate: 0.00/s, heap usage: 4% of 512 MiB, non-heap usage: 9% of 384 MiB]
2024-09-09T02:45:44.011+0700 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] The daemon has started executing the build.
2024-09-09T02:45:44.011+0700 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] Executing build with daemon context: DefaultDaemonContext[uid=16f1323c-652f-4995-8818-e5335d29bf13,javaHome=/usr/lib/jvm/java-22-openjdk,daemonRegistryDir=/home/reyuki/.gradle/daemon,pid=1431559,idleTimeout=10800000,priority=NORMAL,applyInstrumentationAgent=true,daemonOpts=--add-opens=java.base/java.util=ALL-UNNAMED,--add-opens=java.base/java.lang=ALL-UNNAMED,--add-opens=java.base/java.lang.invoke=ALL-UNNAMED,--add-opens=java.prefs/java.util.prefs=ALL-UNNAMED,--add-opens=java.base/java.nio.charset=ALL-UNNAMED,--add-opens=java.base/java.net=ALL-UNNAMED,--add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED,-XX:MaxMetaspaceSize=384m,-XX:+HeapDumpOnOutOfMemoryError,-Xms256m,-Xmx512m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant]
2024-09-09T02:45:44.012+0700 [INFO] [org.gradle.internal.work.DefaultWorkerLeaseService] Using 16 worker leases.
2024-09-09T02:45:44.012+0700 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Daemon worker Thread 3: acquired lock on worker lease
2024-09-09T02:45:44.012+0700 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Run build' started
2024-09-09T02:45:44.014+0700 [INFO] [org.gradle.internal.watch.registry.impl.WatchableHierarchies] Now considering [/home/reyuki/software/open-source/smali] as hierarchies to watch
2024-09-09T02:45:44.014+0700 [INFO] [org.gradle.tooling.internal.provider.FileSystemWatchingBuildActionRunner] Watching the file system is configured to be enabled if available
2024-09-09T02:45:44.014+0700 [DEBUG] [org.gradle.tooling.internal.provider.FileSystemWatchingBuildActionRunner] Watching the file system computed to be enabled if available
2024-09-09T02:45:44.014+0700 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Build started for file system watching' started
2024-09-09T02:45:44.015+0700 [DEBUG] [org.gradle.internal.watch.vfs.impl.DefaultWatchableFileSystemDetector] Detected proc: /proc from proc (remote: false)
2024-09-09T02:45:44.015+0700 [DEBUG] [org.gradle.internal.watch.vfs.impl.DefaultWatchableFileSystemDetector] Detected sysfs: /sys from sys (remote: false)
2024-09-09T02:45:44.015+0700 [DEBUG] [org.gradle.internal.watch.vfs.impl.DefaultWatchableFileSystemDetector] Detected devtmpfs: /dev from dev (remote: false)
2024-09-09T02:45:44.015+0700 [DEBUG] [org.gradle.internal.watch.vfs.impl.DefaultWatchableFileSystemDetector] Detected tmpfs: /run from run (remote: false)
2024-09-09T02:45:44.015+0700 [DEBUG] [org.gradle.internal.watch.vfs.impl.DefaultWatchableFileSystemDetector] Detected efivarfs: /sys/firmware/efi/efivars from efivarfs (remote: false)
2024-09-09T02:45:44.015+0700 [DEBUG] [org.gradle.internal.watch.vfs.impl.DefaultWatchableFileSystemDetector] Detected ext4: / from /dev/nvme1n1p3 (remote: false)
2024-09-09T02:45:44.015+0700 [DEBUG] [org.gradle.internal.watch.vfs.impl.DefaultWatchableFileSystemDetector] Detected securityfs: /sys/kernel/security from securityfs (remote: false)
2024-09-09T02:45:44.015+0700 [DEBUG] [org.gradle.internal.watch.vfs.impl.DefaultWatchableFileSystemDetector] Detected tmpfs: /dev/shm from tmpfs (remote: false)
2024-09-09T02:45:44.015+0700 [DEBUG] [org.gradle.internal.watch.vfs.impl.DefaultWatchableFileSystemDetector] Detected devpts: /dev/pts from devpts (remote: false)
2024-09-09T02:45:44.015+0700 [DEBUG] [org.gradle.internal.watch.vfs.impl.DefaultWatchableFileSystemDetector] Detected cgroup2: /sys/fs/cgroup from cgroup2 (remote: false)
2024-09-09T02:45:44.015+0700 [DEBUG] [org.gradle.internal.watch.vfs.impl.DefaultWatchableFileSystemDetector] Detected pstore: /sys/fs/pstore from pstore (remote: false)
2024-09-09T02:45:44.015+0700 [DEBUG] [org.gradle.internal.watch.vfs.impl.DefaultWatchableFileSystemDetector] Detected bpf: /sys/fs/bpf from bpf (remote: false)
2024-09-09T02:45:44.015+0700 [DEBUG] [org.gradle.internal.watch.vfs.impl.DefaultWatchableFileSystemDetector] Detected autofs: /proc/sys/fs/binfmt_misc from systemd-1 (remote: false)
2024-09-09T02:45:44.015+0700 [DEBUG] [org.gradle.internal.watch.vfs.impl.DefaultWatchableFileSystemDetector] Detected hugetlbfs: /dev/hugepages from hugetlbfs (remote: false)
2024-09-09T02:45:44.015+0700 [DEBUG] [org.gradle.internal.watch.vfs.impl.DefaultWatchableFileSystemDetector] Detected mqueue: /dev/mqueue from mqueue (remote: false)
2024-09-09T02:45:44.015+0700 [DEBUG] [org.gradle.internal.watch.vfs.impl.DefaultWatchableFileSystemDetector] Detected debugfs: /sys/kernel/debug from none (remote: false)
2024-09-09T02:45:44.015+0700 [DEBUG] [org.gradle.internal.watch.vfs.impl.DefaultWatchableFileSystemDetector] Detected tracefs: /sys/kernel/tracing from tracefs (remote: false)
2024-09-09T02:45:44.015+0700 [DEBUG] [org.gradle.internal.watch.vfs.impl.DefaultWatchableFileSystemDetector] Detected tmpfs: /run/credentials/systemd-journald.service from tmpfs (remote: false)
2024-09-09T02:45:44.015+0700 [DEBUG] [org.gradle.internal.watch.vfs.impl.DefaultWatchableFileSystemDetector] Detected tmpfs: /run/credentials/systemd-udev-load-credentials.service from tmpfs (remote: false)
2024-09-09T02:45:44.015+0700 [DEBUG] [org.gradle.internal.watch.vfs.impl.DefaultWatchableFileSystemDetector] Detected fusectl: /sys/fs/fuse/connections from fusectl (remote: false)
2024-09-09T02:45:44.015+0700 [DEBUG] [org.gradle.internal.watch.vfs.impl.DefaultWatchableFileSystemDetector] Detected configfs: /sys/kernel/config from configfs (remote: false)
2024-09-09T02:45:44.015+0700 [DEBUG] [org.gradle.internal.watch.vfs.impl.DefaultWatchableFileSystemDetector] Detected tmpfs: /run/credentials/systemd-tmpfiles-setup-dev-early.service from tmpfs (remote: false)
2024-09-09T02:45:44.015+0700 [DEBUG] [org.gradle.internal.watch.vfs.impl.DefaultWatchableFileSystemDetector] Detected tmpfs: /run/credentials/systemd-sysctl.service from tmpfs (remote: false)
2024-09-09T02:45:44.015+0700 [DEBUG] [org.gradle.internal.watch.vfs.impl.DefaultWatchableFileSystemDetector] Detected tmpfs: /run/credentials/systemd-tmpfiles-setup-dev.service from tmpfs (remote: false)
2024-09-09T02:45:44.015+0700 [DEBUG] [org.gradle.internal.watch.vfs.impl.DefaultWatchableFileSystemDetector] Detected tmpfs: /tmp from tmpfs (remote: false)
2024-09-09T02:45:44.015+0700 [DEBUG] [org.gradle.internal.watch.vfs.impl.DefaultWatchableFileSystemDetector] Detected vfat: /boot from /dev/nvme1n1p1 (remote: false)
2024-09-09T02:45:44.015+0700 [DEBUG] [org.gradle.internal.watch.vfs.impl.DefaultWatchableFileSystemDetector] Detected tmpfs: /run/credentials/systemd-tmpfiles-setup.service from tmpfs (remote: false)
2024-09-09T02:45:44.015+0700 [DEBUG] [org.gradle.internal.watch.vfs.impl.DefaultWatchableFileSystemDetector] Detected tmpfs: /run/credentials/systemd-vconsole-setup.service from tmpfs (remote: false)
2024-09-09T02:45:44.015+0700 [DEBUG] [org.gradle.internal.watch.vfs.impl.DefaultWatchableFileSystemDetector] Detected tmpfs: /run/credentials/[email protected] from tmpfs (remote: false)
2024-09-09T02:45:44.015+0700 [DEBUG] [org.gradle.internal.watch.vfs.impl.DefaultWatchableFileSystemDetector] Detected tmpfs: /run/user/1000 from tmpfs (remote: false)
2024-09-09T02:45:44.015+0700 [DEBUG] [org.gradle.internal.watch.vfs.impl.DefaultWatchableFileSystemDetector] Detected binfmt_misc: /proc/sys/fs/binfmt_misc from binfmt_misc (remote: false)
2024-09-09T02:45:44.015+0700 [DEBUG] [org.gradle.internal.watch.vfs.impl.DefaultWatchableFileSystemDetector] Detected tracefs: /sys/kernel/debug/tracing from tracefs (remote: false)
2024-09-09T02:45:44.015+0700 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Completing Build operation 'Build started for file system watching'
2024-09-09T02:45:44.015+0700 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Build started for file system watching' completed
2024-09-09T02:45:44.016+0700 [INFO] [org.gradle.tooling.internal.provider.FileSystemWatchingBuildActionRunner] File system watching is active
2024-09-09T02:45:44.016+0700 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Load build' started
2024-09-09T02:45:44.016+0700 [DEBUG] [org.gradle.initialization.properties.DefaultProjectPropertiesLoader] Found env project properties: []
2024-09-09T02:45:44.016+0700 [DEBUG] [org.gradle.initialization.properties.DefaultProjectPropertiesLoader] Found system project properties: []
2024-09-09T02:45:44.016+0700 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Evaluate settings' started
2024-09-09T02:45:44.016+0700 [DEBUG] [org.gradle.cache.internal.DefaultCacheCoordinator] Creating new cache for workingDirs, path /home/reyuki/software/open-source/smali/.gradle/8.5/vcsMetadata/workingDirs.bin, access org.gradle.cache.internal.DefaultCacheCoordinator@1d755956
2024-09-09T02:45:44.017+0700 [DEBUG] [org.gradle.cache.internal.DefaultCacheCoordinator] Creating new cache for md5-
2024-09-09T02:46:00.260+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA256withRSA, Serial:a0142800000014523cf467c00000002, Subject:CN=IdenTrust Public Sector Root CA 1, O=IdenTrust, C=US, Issuer:CN=IdenTrust Public Sector Root CA 1, O=IdenTrust, C=US, Key type:RSA, Length:4096, Cert Id:2123370772, Valid from:1/17/14, 12:53 AM, Valid until:1/17/34, 12:53 AM
2024-09-09T02:46:00.260+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA256withRSA, Serial:b0b75a16485fbfe1cbf58bd719e67d, Subject:CN=Izenpe.com, O=IZENPE S.A., C=ES, Issuer:CN=Izenpe.com, O=IZENPE S.A., C=ES, Key type:RSA, Length:4096, Cert Id:2449386312, Valid from:12/13/07, 8:08 PM, Valid until:12/13/37, 3:27 PM
2024-09-09T02:46:00.260+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA256withRSA, Serial:c27e43044e473f19, Subject:[email protected], CN=Microsec e-Szigno Root CA 2009, O=Microsec Ltd., L=Budapest, C=HU, Issuer:[email protected], CN=Microsec e-Szigno Root CA 2009, O=Microsec Ltd., L=Budapest, C=HU, Key type:RSA, Length:2048, Cert Id:2391017284, Valid from:6/16/09, 6:30 PM, Valid until:12/30/29, 6:30 PM
2024-09-09T02:46:00.261+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA384withECDSA, Serial:66f23daf87de8bb14aea0c573101c2ec, Subject:CN=Microsoft ECC Root Certificate Authority 2017, O=Microsoft Corporation, C=US, Issuer:CN=Microsoft ECC Root Certificate Authority 2017, O=Microsoft Corporation, C=US, Key type:EC, Length:384, Cert Id:3240761285, Valid from:12/19/19, 6:06 AM, Valid until:7/19/42, 6:16 AM
2024-09-09T02:46:00.261+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA384withRSA, Serial:1ed397095fd8b4b347701eaabe7f45b3, Subject:CN=Microsoft RSA Root Certificate Authority 2017, O=Microsoft Corporation, C=US, Issuer:CN=Microsoft RSA Root Certificate Authority 2017, O=Microsoft Corporation, C=US, Key type:RSA, Length:4096, Cert Id:2848349048, Valid from:12/19/19, 5:51 AM, Valid until:7/19/42, 6:00 AM
2024-09-09T02:46:00.261+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA384withRSA, Serial:194301ea20bddf5c5332ab1434471f8d6504d0d, Subject:CN=NAVER Global Root Certification Authority, O=NAVER BUSINESS PLATFORM Corp., C=KR, Issuer:CN=NAVER Global Root Certification Authority, O=NAVER BUSINESS PLATFORM Corp., C=KR, Key type:RSA, Length:4096, Cert Id:1777546867, Valid from:8/18/17, 3:58 PM, Valid until:8/19/37, 6:59 AM
2024-09-09T02:46:00.261+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA256withRSA, Serial:49412ce40010, Subject:CN=NetLock Arany (Class Gold) Főtanúsítvány, OU=Tanúsítványkiadók (Certification Services), O=NetLock Kft., L=Budapest, C=HU, Issuer:CN=NetLock Arany (Class Gold) Főtanúsítvány, OU=Tanúsítványkiadók (Certification Services), O=NetLock Kft., L=Budapest, C=HU, Key type:RSA, Length:2048, Cert Id:58541246, Valid from:12/11/08, 10:08 PM, Valid until:12/6/28, 10:08 PM
2024-09-09T02:46:00.261+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA256withRSA, Serial:76b1205274f0858746b3f8231af6c2c0, Subject:CN=OISTE WISeKey Global Root GB CA, OU=OISTE Foundation Endorsed, O=WISeKey, C=CH, Issuer:CN=OISTE WISeKey Global Root GB CA, OU=OISTE Foundation Endorsed, O=WISeKey, C=CH, Key type:RSA, Length:2048, Cert Id:3681485780, Valid from:12/1/14, 10:00 PM, Valid until:12/1/39, 10:10 PM
2024-09-09T02:46:00.261+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA384withECDSA, Serial:212a560caeda0cab4045bf2ba22d3aea, Subject:CN=OISTE WISeKey Global Root GC CA, OU=OISTE Foundation Endorsed, O=WISeKey, C=CH, Issuer:CN=OISTE WISeKey Global Root GC CA, OU=OISTE Foundation Endorsed, O=WISeKey, C=CH, Key type:EC, Length:384, Cert Id:2781801839, Valid from:5/9/17, 4:48 PM, Valid until:5/9/42, 4:58 PM
2024-09-09T02:46:00.261+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA256withRSA, Serial:78585f2ead2c194be3370735341328b596d46593, Subject:CN=QuoVadis Root CA 1 G3, O=QuoVadis Limited, C=BM, Issuer:CN=QuoVadis Root CA 1 G3, O=QuoVadis Limited, C=BM, Key type:RSA, Length:4096, Cert Id:3532531262, Valid from:1/13/12, 12:27 AM, Valid until:1/13/42, 12:27 AM
2024-09-09T02:46:00.261+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA1withRSA, Serial:509, Subject:CN=QuoVadis Root CA 2, O=QuoVadis Limited, C=BM, Issuer:CN=QuoVadis Root CA 2, O=QuoVadis Limited, C=BM, Key type:RSA, Length:4096, Cert Id:338250116, Valid from:11/25/06, 1:27 AM, Valid until:11/25/31, 1:23 AM
2024-09-09T02:46:00.261+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA256withRSA, Serial:445734245b81899b35f2ceb82b3b5ba726f07528, Subject:CN=QuoVadis Root CA 2 G3, O=QuoVadis Limited, C=BM, Issuer:CN=QuoVadis Root CA 2 G3, O=QuoVadis Limited, C=BM, Key type:RSA, Length:4096, Cert Id:696763521, Valid from:1/13/12, 1:59 AM, Valid until:1/13/42, 1:59 AM
2024-09-09T02:46:00.261+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA1withRSA, Serial:5c6, Subject:CN=QuoVadis Root CA 3, O=QuoVadis Limited, C=BM, Issuer:CN=QuoVadis Root CA 3, O=QuoVadis Limited, C=BM, Key type:RSA, Length:4096, Cert Id:1470392860, Valid from:11/25/06, 2:11 AM, Valid until:11/25/31, 2:06 AM
2024-09-09T02:46:00.261+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA256withRSA, Serial:2ef59b0228a7db7affd5a3a9eebd03a0cf126a1d, Subject:CN=QuoVadis Root CA 3 G3, O=QuoVadis Limited, C=BM, Issuer:CN=QuoVadis Root CA 3 G3, O=QuoVadis Limited, C=BM, Key type:RSA, Length:4096, Cert Id:3589344305, Valid from:1/13/12, 3:26 AM, Valid until:1/13/42, 3:26 AM
2024-09-09T02:46:00.261+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA256withECDSA, Serial:2c299c5b16ed0595, Subject:CN=SSL.com EV Root Certification Authority ECC, O=SSL Corporation, L=Houston, ST=Texas, C=US, Issuer:CN=SSL.com EV Root Certification Authority ECC, O=SSL Corporation, L=Houston, ST=Texas, C=US, Key type:EC, Length:384, Cert Id:1789254518, Valid from:2/13/16, 1:15 AM, Valid until:2/13/41, 1:15 AM
2024-09-09T02:46:00.261+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA256withRSA, Serial:56b629cd34bc78f6, Subject:CN=SSL.com EV Root Certification Authority RSA R2, O=SSL Corporation, L=Houston, ST=Texas, C=US, Issuer:CN=SSL.com EV Root Certification Authority RSA R2, O=SSL Corporation, L=Houston, ST=Texas, C=US, Key type:RSA, Length:4096, Cert Id:1381862403, Valid from:6/1/17, 1:14 AM, Valid until:5/31/42, 1:14 AM
2024-09-09T02:46:00.261+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA256withECDSA, Serial:75e6dfcbc1685ba8, Subject:CN=SSL.com Root Certification Authority ECC, O=SSL Corporation, L=Houston, ST=Texas, C=US, Issuer:CN=SSL.com Root Certification Authority ECC, O=SSL Corporation, L=Houston, ST=Texas, C=US, Key type:EC, Length:384, Cert Id:2926673683, Valid from:2/13/16, 1:14 AM, Valid until:2/13/41, 1:14 AM
2024-09-09T02:46:00.261+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA256withRSA, Serial:7b2c9bd316803299, Subject:CN=SSL.com Root Certification Authority RSA, O=SSL Corporation, L=Houston, ST=Texas, C=US, Issuer:CN=SSL.com Root Certification Authority RSA, O=SSL Corporation, L=Houston, ST=Texas, C=US, Key type:RSA, Length:4096, Cert Id:156725711, Valid from:2/13/16, 12:39 AM, Valid until:2/13/41, 12:39 AM
2024-09-09T02:46:00.261+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA384withECDSA, Serial:1403f5abfb378b17405be243b2a5d1c4, Subject:CN=SSL.com TLS ECC Root CA 2022, O=SSL Corporation, C=US, Issuer:CN=SSL.com TLS ECC Root CA 2022, O=SSL Corporation, C=US, Key type:EC, Length:384, Cert Id:683561703, Valid from:8/25/22, 11:33 PM, Valid until:8/19/46, 11:33 PM
2024-09-09T02:46:00.261+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA256withRSA, Serial:6fbedaad73bd0840e28b4dbed4f75b91, Subject:CN=SSL.com TLS RSA Root CA 2022, O=SSL Corporation, C=US, Issuer:CN=SSL.com TLS RSA Root CA 2022, O=SSL Corporation, C=US, Key type:RSA, Length:4096, Cert Id:556880013, Valid from:8/25/22, 11:34 PM, Valid until:8/19/46, 11:34 PM
2024-09-09T02:46:00.261+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA256withRSA, Serial:3e8a5d07ec55d232d5b7e3b65f01eb2ddce4d6e4, Subject:CN=SZAFIR ROOT CA2, O=Krajowa Izba Rozliczeniowa S.A., C=PL, Issuer:CN=SZAFIR ROOT CA2, O=Krajowa Izba Rozliczeniowa S.A., C=PL, Key type:RSA, Length:2048, Cert Id:381279303, Valid from:10/19/15, 2:43 PM, Valid until:10/19/35, 2:43 PM
2024-09-09T02:46:00.261+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA384withECDSA, Serial:42f2ccda1b6937445f15fe752810b8f4, Subject:CN=Sectigo Public Server Authentication Root E46, O=Sectigo Limited, C=GB, Issuer:CN=Sectigo Public Server Authentication Root E46, O=Sectigo Limited, C=GB, Key type:EC, Length:384, Cert Id:3789385269, Valid from:3/22/21, 7:00 AM, Valid until:3/22/46, 6:59 AM
2024-09-09T02:46:00.261+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA384withRSA, Serial:758dfd8bae7c0700faa925a7e1c7ad14, Subject:CN=Sectigo Public Server Authentication Root R46, O=Sectigo Limited, C=GB, Issuer:CN=Sectigo Public Server Authentication Root R46, O=Sectigo Limited, C=GB, Key type:RSA, Length:4096, Cert Id:3806652169, Valid from:3/22/21, 7:00 AM, Valid until:3/22/46, 6:59 AM
2024-09-09T02:46:00.261+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA1withRSA, Serial:1, Subject:CN=SecureSign RootCA11, O="Japan Certification Services, Inc.", C=JP, Issuer:CN=SecureSign RootCA11, O="Japan Certification Services, Inc.", C=JP, Key type:RSA, Length:2048, Cert Id:2079057034, Valid from:4/8/09, 11:56 AM, Valid until:4/8/29, 11:56 AM
2024-09-09T02:46:00.261+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA1withRSA, Serial:cf08e5c0816a5ad427ff0eb271859d0, Subject:CN=SecureTrust CA, O=SecureTrust Corporation, C=US, Issuer:CN=SecureTrust CA, O=SecureTrust Corporation, C=US, Key type:RSA, Length:2048, Cert Id:2034155325, Valid from:11/8/06, 2:31 AM, Valid until:1/1/30, 2:40 AM
2024-09-09T02:46:00.261+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA1withRSA, Serial:75622a4e8d48a894df413c8f0f8eaa5, Subject:CN=Secure Global CA, O=SecureTrust Corporation, C=US, Issuer:CN=Secure Global CA, O=SecureTrust Corporation, C=US, Key type:RSA, Length:2048, Cert Id:2818194321, Valid from:11/8/06, 2:42 AM, Valid until:1/1/30, 2:52 AM
2024-09-09T02:46:00.261+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA384withECDSA, Serial:d65d9bb378812eeb, Subject:CN=Security Communication ECC RootCA1, O="SECOM Trust Systems CO.,LTD.", C=JP, Issuer:CN=Security Communication ECC RootCA1, O="SECOM Trust Systems CO.,LTD.", C=JP, Key type:EC, Length:384, Cert Id:2131361491, Valid from:6/16/16, 12:15 PM, Valid until:1/18/38, 12:15 PM
2024-09-09T02:46:00.262+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA256withRSA, Serial:0, Subject:OU=Security Communication RootCA2, O="SECOM Trust Systems CO.,LTD.", C=JP, Issuer:OU=Security Communication RootCA2, O="SECOM Trust Systems CO.,LTD.", C=JP, Key type:RSA, Length:2048, Cert Id:1521072570, Valid from:5/29/09, 12:00 PM, Valid until:5/29/29, 12:00 PM
2024-09-09T02:46:00.262+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA384withRSA, Serial:e17c3740fd1bfe67, Subject:CN=Security Communication RootCA3, O="SECOM Trust Systems CO.,LTD.", C=JP, Issuer:CN=Security Communication RootCA3, O="SECOM Trust Systems CO.,LTD.", C=JP, Key type:RSA, Length:4096, Cert Id:3804693758, Valid from:6/16/16, 1:17 PM, Valid until:1/18/38, 1:17 PM
2024-09-09T02:46:00.262+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA1withRSA, Serial:0, Subject:OU=Starfield Class 2 Certification Authority, O="Starfield Technologies, Inc.", C=US, Issuer:OU=Starfield Class 2 Certification Authority, O="Starfield Technologies, Inc.", C=US, Key type:RSA, Length:2048, Cert Id:1825617644, Valid from:6/30/04, 12:39 AM, Valid until:6/30/34, 12:39 AM
2024-09-09T02:46:00.262+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA256withRSA, Serial:0, Subject:CN=Starfield Root Certificate Authority - G2, O="Starfield Technologies, Inc.", L=Scottsdale, ST=Arizona, C=US, Issuer:CN=Starfield Root Certificate Authority - G2, O="Starfield Technologies, Inc.", L=Scottsdale, ST=Arizona, C=US, Key type:RSA, Length:2048, Cert Id:3268325709, Valid from:9/1/09, 7:00 AM, Valid until:1/1/38, 6:59 AM
2024-09-09T02:46:00.262+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA256withRSA, Serial:0, Subject:CN=Starfield Services Root Certificate Authority - G2, O="Starfield Technologies, Inc.", L=Scottsdale, ST=Arizona, C=US, Issuer:CN=Starfield Services Root Certificate Authority - G2, O="Starfield Technologies, Inc.", L=Scottsdale, ST=Arizona, C=US, Key type:RSA, Length:2048, Cert Id:1964785574, Valid from:9/1/09, 7:00 AM, Valid until:1/1/38, 6:59 AM
2024-09-09T02:46:00.262+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA1withRSA, Serial:bb401c43f55e4fb0, Subject:CN=SwissSign Gold CA - G2, O=SwissSign AG, C=CH, Issuer:CN=SwissSign Gold CA - G2, O=SwissSign AG, C=CH, Key type:RSA, Length:4096, Cert Id:1516221943, Valid from:10/25/06, 3:30 PM, Valid until:10/25/36, 3:30 PM
2024-09-09T02:46:00.262+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA1withRSA, Serial:4f1bd42f54bb2f4b, Subject:CN=SwissSign Silver CA - G2, O=SwissSign AG, C=CH, Issuer:CN=SwissSign Silver CA - G2, O=SwissSign AG, C=CH, Key type:RSA, Length:4096, Cert Id:126726124, Valid from:10/25/06, 3:32 PM, Valid until:10/25/36, 3:32 PM
2024-09-09T02:46:00.262+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA256withRSA, Serial:1, Subject:CN=T-TeleSec GlobalRoot Class 2, OU=T-Systems Trust Center, O=T-Systems Enterprise Services GmbH, C=DE, Issuer:CN=T-TeleSec GlobalRoot Class 2, OU=T-Systems Trust Center, O=T-Systems Enterprise Services GmbH, C=DE, Key type:RSA, Length:2048, Cert Id:3056503257, Valid from:10/1/08, 5:40 PM, Valid until:10/2/33, 6:59 AM
2024-09-09T02:46:00.262+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA256withRSA, Serial:1, Subject:CN=T-TeleSec GlobalRoot Class 3, OU=T-Systems Trust Center, O=T-Systems Enterprise Services GmbH, C=DE, Issuer:CN=T-TeleSec GlobalRoot Class 3, OU=T-Systems Trust Center, O=T-Systems Enterprise Services GmbH, C=DE, Key type:RSA, Length:2048, Cert Id:1894096264, Valid from:10/1/08, 5:29 PM, Valid until:10/2/33, 6:59 AM
2024-09-09T02:46:00.262+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA256withRSA, Serial:1, Subject:CN=TUBITAK Kamu SM SSL Kok Sertifikasi - Surum 1, OU=Kamu Sertifikasyon Merkezi - Kamu SM, O=Turkiye Bilimsel ve Teknolojik Arastirma Kurumu - TUBITAK, L=Gebze - Kocaeli, C=TR, Issuer:CN=TUBITAK Kamu SM SSL Kok Sertifikasi - Surum 1, OU=Kamu Sertifikasyon Merkezi - Kamu SM, O=Turkiye Bilimsel ve Teknolojik Arastirma Kurumu - TUBITAK, L=Gebze - Kocaeli, C=TR, Key type:RSA, Length:2048, Cert Id:1093603654, Valid from:11/25/13, 3:25 PM, Valid until:10/25/43, 3:25 PM
2024-09-09T02:46:00.262+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA256withRSA, Serial:cbe, Subject:CN=TWCA Global Root CA, OU=Root CA, O=TAIWAN-CA, C=TW, Issuer:CN=TWCA Global Root CA, OU=Root CA, O=TAIWAN-CA, C=TW, Key type:RSA, Length:4096, Cert Id:861175838, Valid from:6/27/12, 1:28 PM, Valid until:12/31/30, 10:59 PM
2024-09-09T02:46:00.262+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA1withRSA, Serial:1, Subject:CN=TWCA Root Certification Authority, OU=Root CA, O=TAIWAN-CA, C=TW, Issuer:CN=TWCA Root Certification Authority, OU=Root CA, O=TAIWAN-CA, C=TW, Key type:RSA, Length:2048, Cert Id:2652873033, Valid from:8/28/08, 2:24 PM, Valid until:12/31/30, 10:59 PM
2024-09-09T02:46:00.262+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA384withECDSA, Serial:363a968cc95cb258cdd0015dc5e55700, Subject:CN=Telekom Security TLS ECC Root 2020, O=Deutsche Telekom Security GmbH, C=DE, Issuer:CN=Telekom Security TLS ECC Root 2020, O=Deutsche Telekom Security GmbH, C=DE, Key type:EC, Length:384, Cert Id:771592905, Valid from:8/25/20, 2:48 PM, Valid until:8/26/45, 6:59 AM
2024-09-09T02:46:00.262+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA384withRSA, Serial:219c542de8f6ec7177fa4ee8c3705797, Subject:CN=Telekom Security TLS RSA Root 2023, O=Deutsche Telekom Security GmbH, C=DE, Issuer:CN=Telekom Security TLS RSA Root 2023, O=Deutsche Telekom Security GmbH, C=DE, Key type:RSA, Length:4096, Cert Id:2296218035, Valid from:3/28/23, 7:16 PM, Valid until:3/28/48, 6:59 AM
2024-09-09T02:46:00.262+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA1withRSA, Serial:95be16a0f72e46f17b398272fa8bcd96, Subject:CN=TeliaSonera Root CA v1, O=TeliaSonera, Issuer:CN=TeliaSonera Root CA v1, O=TeliaSonera, Key type:RSA, Length:4096, Cert Id:1495358374, Valid from:10/18/07, 7:00 PM, Valid until:10/18/32, 7:00 PM
2024-09-09T02:46:00.262+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA256withRSA, Serial:1675f27d6fe7ae3e4acbe095b059e, Subject:CN=Telia Root CA v2, O=Telia Finland Oyj, C=FI, Issuer:CN=Telia Root CA v2, O=Telia Finland Oyj, C=FI, Key type:RSA, Length:4096, Cert Id:3473063976, Valid from:11/29/18, 6:55 PM, Valid until:11/29/43, 6:55 PM
2024-09-09T02:46:00.262+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA384withRSA, Serial:64f60e6577616aab3bb4ea8584bbb189b871930f, Subject:CN=TrustAsia Global Root CA G3, O="TrustAsia Technologies, Inc.", C=CN, Issuer:CN=TrustAsia Global Root CA G3, O="TrustAsia Technologies, Inc.", C=CN, Key type:RSA, Length:4096, Cert Id:3528443285, Valid from:5/20/21, 9:10 AM, Valid until:5/19/46, 9:10 AM
2024-09-09T02:46:00.262+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA384withECDSA, Serial:4f2364b88e97639ec65381c1764ecb2a7415d6d7, Subject:CN=TrustAsia Global Root CA G4, O="TrustAsia Technologies, Inc.", C=CN, Issuer:CN=TrustAsia Global Root CA G4, O="TrustAsia Technologies, Inc.", C=CN, Key type:EC, Length:384, Cert Id:3167719659, Valid from:5/20/21, 9:10 AM, Valid until:5/19/46, 9:10 AM
2024-09-09T02:46:00.262+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA256withRSA, Serial:5f70e86da49f346352ebab2, Subject:CN=Trustwave Global Certification Authority, O="Trustwave Holdings, Inc.", L=Chicago, ST=Illinois, C=US, Issuer:CN=Trustwave Global Certification Authority, O="Trustwave Holdings, Inc.", L=Chicago, ST=Illinois, C=US, Key type:RSA, Length:4096, Cert Id:416366836, Valid from:8/24/17, 2:34 AM, Valid until:8/24/42, 2:34 AM
2024-09-09T02:46:00.262+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA256withECDSA, Serial:d6a5f083f285c3e5195df5d, Subject:CN=Trustwave Global ECC P256 Certification Authority, O="Trustwave Holdings, Inc.", L=Chicago, ST=Illinois, C=US, Issuer:CN=Trustwave Global ECC P256 Certification Authority, O="Trustwave Holdings, Inc.", L=Chicago, ST=Illinois, C=US, Key type:EC, Length:256, Cert Id:948272517, Valid from:8/24/17, 2:35 AM, Valid until:8/24/42, 2:35 AM
2024-09-09T02:46:00.262+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA384withECDSA, Serial:8bd85976c9927a48068473b, Subject:CN=Trustwave Global ECC P384 Certification Authority, O="Trustwave Holdings, Inc.", L=Chicago, ST=Illinois, C=US, Issuer:CN=Trustwave Global ECC P384 Certification Authority, O="Trustwave Holdings, Inc.", L=Chicago, ST=Illinois, C=US, Key type:EC, Length:384, Cert Id:2301042373, Valid from:8/24/17, 2:36 AM, Valid until:8/24/42, 2:36 AM
2024-09-09T02:46:00.263+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA256withRSA, Serial:1302d5e2404c92468616675db4bbbbb26b3efc13, Subject:CN=TunTrust Root CA, O=Agence Nationale de Certification Electronique, C=TN, Issuer:CN=TunTrust Root CA, O=Agence Nationale de Certification Electronique, C=TN, Key type:RSA, Length:4096, Cert Id:1973181427, Valid from:4/26/19, 3:57 PM, Valid until:4/26/44, 3:57 PM
2024-09-09T02:46:00.263+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA256withRSA, Serial:4fd22b8ff564c8339e4f345866237060, Subject:CN=UCA Extended Validation Root, O=UniTrust, C=CN, Issuer:CN=UCA Extended Validation Root, O=UniTrust, C=CN, Key type:RSA, Length:4096, Cert Id:649181271, Valid from:3/13/15, 7:00 AM, Valid until:12/31/38, 7:00 AM
2024-09-09T02:46:00.263+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA256withRSA, Serial:5ddfb1da5aa3ed5dbe5a6520650390ef, Subject:CN=UCA Global G2 Root, O=UniTrust, C=CN, Issuer:CN=UCA Global G2 Root, O=UniTrust, C=CN, Key type:RSA, Length:4096, Cert Id:1844967193, Valid from:3/11/16, 7:00 AM, Valid until:12/31/40, 7:00 AM
2024-09-09T02:46:00.263+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA384withECDSA, Serial:5c8b99c55a94c5d27156decd8980cc26, Subject:CN=USERTrust ECC Certification Authority, O=The USERTRUST Network, L=Jersey City, ST=New Jersey, C=US, Issuer:CN=USERTrust ECC Certification Authority, O=The USERTRUST Network, L=Jersey City, ST=New Jersey, C=US, Key type:EC, Length:384, Cert Id:3329287386, Valid from:2/1/10, 7:00 AM, Valid until:1/19/38, 6:59 AM
2024-09-09T02:46:00.263+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA384withRSA, Serial:1fd6d30fca3ca51a81bbc640e35032d, Subject:CN=USERTrust RSA Certification Authority, O=The USERTRUST Network, L=Jersey City, ST=New Jersey, C=US, Issuer:CN=USERTrust RSA Certification Authority, O=The USERTRUST Network, L=Jersey City, ST=New Jersey, C=US, Key type:RSA, Length:4096, Cert Id:3947601401, Valid from:2/1/10, 7:00 AM, Valid until:1/19/38, 6:59 AM
2024-09-09T02:46:00.263+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA1withRSA, Serial:50946cec18ead59c4dd597ef758fa0ad, Subject:CN=XRamp Global Certification Authority, O=XRamp Security Services Inc, OU=www.xrampsecurity.com, C=US, Issuer:CN=XRamp Global Certification Authority, O=XRamp Security Services Inc, OU=www.xrampsecurity.com, C=US, Key type:RSA, Length:2048, Cert Id:3342493210, Valid from:11/2/04, 12:14 AM, Valid until:1/1/35, 12:37 PM
2024-09-09T02:46:00.263+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA1withRSA, Serial:200605167002, Subject:OU=certSIGN ROOT CA, O=certSIGN, C=RO, Issuer:OU=certSIGN ROOT CA, O=certSIGN, C=RO, Key type:RSA, Length:2048, Cert Id:4005006620, Valid from:7/5/06, 12:20 AM, Valid until:7/5/31, 12:20 AM
2024-09-09T02:46:00.263+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA256withRSA, Serial:110034b64ec6362d36, Subject:OU=certSIGN ROOT CA G2, O=CERTSIGN SA, C=RO, Issuer:OU=certSIGN ROOT CA G2, O=CERTSIGN SA, C=RO, Key type:RSA, Length:4096, Cert Id:2181086866, Valid from:2/6/17, 4:27 PM, Valid until:2/6/42, 4:27 PM
2024-09-09T02:46:00.263+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA256withECDSA, Serial:15448ef21fd97590df5040a, Subject:CN=e-Szigno Root CA 2017, OID.2.5.4.97=VATHU-23584497, O=Microsec Ltd., L=Budapest, C=HU, Issuer:CN=e-Szigno Root CA 2017, OID.2.5.4.97=VATHU-23584497, O=Microsec Ltd., L=Budapest, C=HU, Key type:EC, Length:256, Cert Id:3303793581, Valid from:8/22/17, 7:07 PM, Valid until:8/22/42, 7:07 PM
2024-09-09T02:46:00.263+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA1withRSA, Serial:15c8bd65475cafb897005ee406d2bc9d, Subject:OU=ePKI Root Certification Authority, O="Chunghwa Telecom Co., Ltd.", C=TW, Issuer:OU=ePKI Root Certification Authority, O="Chunghwa Telecom Co., Ltd.", C=TW, Key type:RSA, Length:4096, Cert Id:3632331159, Valid from:12/20/04, 9:31 AM, Valid until:12/20/34, 9:31 AM
2024-09-09T02:46:00.263+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA384withECDSA, Serial:7b71b68256b8127c9ca8, Subject:CN=emSign ECC Root CA - C3, O=eMudhra Inc, OU=emSign PKI, C=US, Issuer:CN=emSign ECC Root CA - C3, O=eMudhra Inc, OU=emSign PKI, C=US, Key type:EC, Length:384, Cert Id:3346510540, Valid from:2/19/18, 1:30 AM, Valid until:2/19/43, 1:30 AM
2024-09-09T02:46:00.263+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA384withECDSA, Serial:3cf607a968700eda8b84, Subject:CN=emSign ECC Root CA - G3, O=eMudhra Technologies Limited, OU=emSign PKI, C=IN, Issuer:CN=emSign ECC Root CA - G3, O=eMudhra Technologies Limited, OU=emSign PKI, C=IN, Key type:EC, Length:384, Cert Id:3832035707, Valid from:2/19/18, 1:30 AM, Valid until:2/19/43, 1:30 AM
2024-09-09T02:46:00.263+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA256withRSA, Serial:aecf00bac4cf32f843b2, Subject:CN=emSign Root CA - C1, O=eMudhra Inc, OU=emSign PKI, C=US, Issuer:CN=emSign Root CA - C1, O=eMudhra Inc, OU=emSign PKI, C=US, Key type:RSA, Length:2048, Cert Id:3026103940, Valid from:2/19/18, 1:30 AM, Valid until:2/19/43, 1:30 AM
2024-09-09T02:46:00.263+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA256withRSA, Serial:31f5e4620c6c58edd6d8, Subject:CN=emSign Root CA - G1, O=eMudhra Technologies Limited, OU=emSign PKI, C=IN, Issuer:CN=emSign Root CA - G1, O=eMudhra Technologies Limited, OU=emSign PKI, C=IN, Key type:RSA, Length:2048, Cert Id:392709196, Valid from:2/19/18, 1:30 AM, Valid until:2/19/43, 1:30 AM
2024-09-09T02:46:00.263+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA384withECDSA, Serial:6e6abc59aa53be983967a2d26ba43be66d1cd6da, Subject:CN=vTrus ECC Root CA, O="iTrusChina Co.,Ltd.", C=CN, Issuer:CN=vTrus ECC Root CA, O="iTrusChina Co.,Ltd.", C=CN, Key type:EC, Length:384, Cert Id:268503342, Valid from:7/31/18, 2:26 PM, Valid until:7/31/43, 2:26 PM
2024-09-09T02:46:00.263+0700 [DEBUG] [jdk.event.security] X509Certificate: Alg:SHA256withRSA, Serial:43e37113d8b359145db7ce8cfd35fd6fbc058d45, Subject:CN=vTrus Root CA, O="iTrusChina Co.,Ltd.", C=CN, Issuer:CN=vTrus Root CA, O="iTrusChina Co.,Ltd.", C=CN, Key type:RSA, Length:4096, Cert Id:2469083546, Valid from:7/31/18, 2:24 PM, Valid until:7/31/43, 2:24 PM
2024-09-09T02:46:00.266+0700 [DEBUG] [jdk.event.security]  TLSHandshake: scans-in.gradle.com:443, TLSv1.3, TLS_AES_256_GCM_SHA384, 149913401
2024-09-09T02:46:00.266+0700 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] sun.net.www.MessageHeader@7880e41f 11 pairs: {POST /scans/publish/gradle/3.15.1/token HTTP/1.1: null}{X-Request-Id: acc6cd8c-26d1-4581-8c40-89567f8752cf}{Accept-Encoding: gzip}{Content-Type: application/vnd.gradle.scan-token-request+json}{Cache-Control: no-cache}{Pragma: no-cache}{User-Agent: Java/22.0.2}{Host: scans-in.gradle.com}{Accept: */*}{Connection: close}{Content-Length: 147}
2024-09-09T02:46:00.581+0700 [DEBUG] [sun.net.www.protocol.http.HttpURLConnection] sun.net.www.MessageHeader@4b4c0c03 16 pairs: {null: HTTP/1.1 200 OK}{Date: Sun, 08 Sep 2024 19:46:00 GMT}{Content-Type: application/vnd.gradle.scan-ack+json}{Transfer-Encoding: chunked}{Connection: close}{cache-control: no-cache, no-store, must-revalidate}{pragma: no-cache}{expires: 0}{x-content-type-options: nosniff}{x-frame-options: deny}{strict-transport-security: max-age=31536000; includeSubDomains; preload}{x-xss-protection: 1; mode=block}{content-encoding: gzip}{CF-Cache-Status: DYNAMIC}{Server: cloudflare}{CF-RAY: 8c01712fbb833579-CGK}
2024-09-09T02:46:00.696+0700 [QUIET] [com.gradle.enterprise.gradleplugin.GradleEnterprisePlugin] https://gradle.com/s/p7rnyxjrgeahq
2024-09-09T02:46:00.696+0700 [QUIET] [com.gradle.enterprise.gradleplugin.GradleEnterprisePlugin]
2024-09-09T02:46:00.697+0700 [DEBUG] [com.gradle.enterprise.gradleplugin.GradleEnterprisePlugin] Failed to visit file /home/reyuki/.gradle/build-scan-data/3.15.1
java.nio.file.NoSuchFileException: /home/reyuki/.gradle/build-scan-data/3.15.1
        at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
        at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
        at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
        at java.base/sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:56)
        at java.base/sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:171)
        at java.base/sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99)
        at java.base/java.nio.file.Files.readAttributes(Files.java:1858)
        at java.base/java.nio.file.FileTreeWalker.getAttributes(FileTreeWalker.java:220)
        at java.base/java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:277)
        at java.base/java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:323)
        at java.base/java.nio.file.Files.walkFileTree(Files.java:2784)
        at java.base/java.nio.file.Files.walkFileTree(Files.java:2862)
        at com.gradle.scan.plugin.internal.e.a.a(SourceFile:78)
        at com.gradle.scan.plugin.internal.e.a.b(SourceFile:62)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
        at java.base/java.lang.Thread.run(Thread.java:1570)
2024-09-09T02:46:00.698+0700 [DEBUG] [org.gradle.cache.internal.LockOnDemandCrossProcessCacheAccess] Releasing file lock for cache directory md-supplier (/home/reyuki/.gradle/caches/8.5/md-supplier)
2024-09-09T02:46:00.698+0700 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on cache directory md-supplier (/home/reyuki/.gradle/caches/8.5/md-supplier).
2024-09-09T02:46:00.698+0700 [DEBUG] [org.gradle.cache.internal.LockOnDemandCrossProcessCacheAccess] Releasing file lock for cache directory md-rule (/home/reyuki/.gradle/caches/8.5/md-rule)
2024-09-09T02:46:00.698+0700 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on cache directory md-rule (/home/reyuki/.gradle/caches/8.5/md-rule).
2024-09-09T02:46:00.726+0700 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.CachedStoreFactory] Resolution result cache closed. Cache reads: 0, disk reads: 0 (avg: 0.0 secs, total: 0.0 secs)
2024-09-09T02:46:00.726+0700 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.CachedStoreFactory] Resolution result cache closed. Cache reads: 0, disk reads: 2 (avg: 0.0 secs, total: 0.001 secs)
2024-09-09T02:46:00.726+0700 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.ResolutionResultsStoreFactory] Deleted 2 resolution results binary files in 0.027 secs
2024-09-09T02:46:00.726+0700 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Completing Build operation 'Run build'
2024-09-09T02:46:00.726+0700 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Run build' completed
2024-09-09T02:46:00.726+0700 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Daemon worker Thread 3: released lock on worker lease
2024-09-09T02:46:00.730+0700 [DEBUG] [org.gradle.deployment.internal.DefaultDeploymentRegistry] Stopping 0 deployment handles
2024-09-09T02:46:00.731+0700 [DEBUG] [org.gradle.deployment.internal.DefaultDeploymentRegistry] Stopped deployment handles
2024-09-09T02:46:00.731+0700 [DEBUG] [org.gradle.cache.internal.DefaultPersistentDirectoryStore] VCS Checkout Cache (/home/reyuki/software/open-source/smali/.gradle/vcs-1) has last been fully cleaned up 0 hours ago
2024-09-09T02:46:00.731+0700 [DEBUG] [org.gradle.cache.internal.DefaultCacheCoordinator] Cache VCS Checkout Cache (/home/reyuki/software/open-source/smali/.gradle/vcs-1) was closed 0 times.
2024-09-09T02:46:00.731+0700 [DEBUG] [org.gradle.cache.internal.DefaultCacheCoordinator] Cache VCS metadata (/home/reyuki/software/open-source/smali/.gradle/8.5/vcsMetadata) was closed 0 times.
2024-09-09T02:46:00.731+0700 [DEBUG] [org.gradle.cache.internal.LockOnDemandCrossProcessCacheAccess] Releasing file lock for checksums cache (/home/reyuki/software/open-source/smali/.gradle/8.5/checksums)
2024-09-09T02:46:00.731+0700 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache md5-checksums.bin (/home/reyuki/software/open-source/smali/.gradle/8.5/checksums/md5-checksums.bin)
2024-09-09T02:46:00.731+0700 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache] Closing cache sha1-checksums.bin (/home/reyuki/software/open-source/smali/.gradle/8.5/checksums/sha1-checksums.bin)
2024-09-09T02:46:00.731+0700 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on checksums cache (/home/reyuki/software/open-source/smali/.gradle/8.5/checksums).
2024-09-09T02:46:00.732+0700 [DEBUG] [org.gradle.cache.internal.LockOnDemandCrossProcessCacheAccess] Releasing file lock for file hash cache (/home/reyuki/software/open-source/smali/.gradle/8.5/fileHashes)
2024-09-09T02:46:00.732+0700 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on file hash cache (/home/reyuki/software/open-source/smali/.gradle/8.5/fileHashes).
2024-09-09T02:46:00.736+0700 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] The daemon has finished executing the build.
2024-09-09T02:46:00.749+0700 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientInputForwarder] Dispatching close input message: org.gradle.launcher.daemon.protocol.CloseInput@7bd42e64
2024-09-09T02:46:00.749+0700 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 35: dispatching class org.gradle.launcher.daemon.protocol.CloseInput
2024-09-09T02:46:00.749+0700 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClient] Received result Success[value=org.gradle.launcher.exec.BuildActionResult@3bcbb589] from daemon DaemonInfo{pid=1431559, address=[0b09c4a3-c555-4839-b769-319c53acf663 port:37547, addresses:[/127.0.0.1]], state=Idle, lastBusy=1725824592680, context=DefaultDaemonContext[uid=16f1323c-652f-4995-8818-e5335d29bf13,javaHome=/usr/lib/jvm/java-22-openjdk,daemonRegistryDir=/home/reyuki/.gradle/daemon,pid=1431559,idleTimeout=10800000,priority=NORMAL,applyInstrumentationAgent=true,daemonOpts=--add-opens=java.base/java.util=ALL-UNNAMED,--add-opens=java.base/java.lang=ALL-UNNAMED,--add-opens=java.base/java.lang.invoke=ALL-UNNAMED,--add-opens=java.prefs/java.util.prefs=ALL-UNNAMED,--add-opens=java.base/java.nio.charset=ALL-UNNAMED,--add-opens=java.base/java.net=ALL-UNNAMED,--add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED,-XX:MaxMetaspaceSize=384m,-XX:+HeapDumpOnOutOfMemoryError,-Xms256m,-Xmx512m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant]} (build should be done).
2024-09-09T02:46:00.749+0700 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 1: dispatching class org.gradle.launcher.daemon.protocol.Finished
2024-09-09T02:46:00.749+0700 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 1: connection stop
2024-09-09T02:46:00.750+0700 [LIFECYCLE] [org.gradle.launcher.cli.DebugLoggerWarningAction]
#############################################################################
   WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING

   Debug level logging will leak security sensitive information!

   For more details, please refer to https://docs.gradle.org/8.5/userguide/logging.html#sec:debug_security in the Gradle documentation.
#############################################################################

Smali fails to assemble classes.dex decompiled with baksmali

Using smali 3.0.5-137d16c1-dirty

After successfully building the fatJars, I use baksmali to decompile like so java -jar baksmali.jar d -a 34 app_og/classes.dex -o classes

Then immediately try assembling it back with smali: java -jar smali.jar a -a 34 classes -o app/classes.dex.

And get the following error:

Exception in thread "main" java.lang.IndexOutOfBoundsException: toIndex = 128
        at java.base/java.util.AbstractList.subListRangeCheck(AbstractList.java:507)
        at java.base/java.util.AbstractList.subList(AbstractList.java:497)
        at com.android.tools.smali.dexlib2.writer.DebugInfoCache.hashCode(DebugInfoCache.java:26)
        at java.base/java.util.HashMap.hash(HashMap.java:340)
        at java.base/java.util.HashMap.getOrDefault(HashMap.java:1053)
        at com.android.tools.smali.dexlib2.writer.DexWriter.writeDebugItem(DexWriter.java:1204)
        at com.android.tools.smali.dexlib2.writer.DexWriter.writeDebugAndCodeItems(DexWriter.java:1094)
        at com.android.tools.smali.dexlib2.writer.DexWriter.writeTo(DexWriter.java:409)
        at com.android.tools.smali.dexlib2.writer.DexWriter.writeTo(DexWriter.java:371)
        at com.android.tools.smali.smali.Smali.assemble(Smali.java:136)
        at com.android.tools.smali.smali.AssembleCommand.run(AssembleCommand.java:95)
        at com.android.tools.smali.smali.Main.main(Main.java:99)

This produces a crippled classes.dex about half the size of the original.

Happens irrespectively of wheteher any of the smali files have been modified. Also specifying the API version when decompiling or not doesn't change the result. Not specifying it or using a lower one during assembly appears to start the process, but produces a ton of other errors about such and such only supporting higher API levels.

build failed

$ ./gradlew test

FAILURE: Build failed with an exception.

  • What went wrong:
    Gradle could not start your build.

Cannot create service of type DefaultConfigurationCache using DefaultConfigurationCache constructor as there is a problem with parameter #10 of type ConfigurationCacheFingerprintController.
Cannot create service of type ConfigurationCacheFingerprintController using ConfigurationCacheFingerprintController constructor as there is a problem with parameter #5 of type FileCollectionFingerprinterRegistry.
> Cannot create service of type FileCollectionFingerprinterRegistry using method VirtualFileSystemServices$BuildSessionServices.createFileCollectionFingerprinterRegistry() as there is a problem with parameter #1 of type List.
> Could not create service of type CrossBuildFileHashCache using BuildSessionServices.createCrossBuildFileHashCache().
> Failed to create parent directory 'C:\Program Files\Android\Android Studio\lib\smali-3.0.2.gradle' when creating directory 'C:\Program Files\Android\Android Studio\lib\smali-3.0.2.gradle\6.8.2\fileHashes'

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 657ms

Error while writing instruction at code offset 0x8

When I use versions 2.2.4 and 2.4.0, both occur the issue:

Caused by: org.jf.util.ExceptionWithContext: Error while writing instruction at code offset 0x8 at org.jf.dexlib2.writer.DexWriter.writeCodeItem(DexWriter.java:1319) at org.jf.dexlib2.writer.DexWriter.writeDebugAndCodeItems(DexWriter.java:1042) ... 39 common frames omitted

Caused by: org.jf.util.ExceptionWithContext: Item not found.: (J)Ljava/util/Date; at org.jf.dexlib2.writer.pool.BaseIndexPool.getItemIndex(BaseIndexPool.java:54) at org.jf.dexlib2.writer.InstructionWriter.getReferenceIndex(InstructionWriter.java:561) at org.jf.dexlib2.writer.InstructionWriter.getReference2Index(InstructionWriter.java:546) at org.jf.dexlib2.writer.InstructionWriter.write(InstructionWriter.java:429) at org.jf.dexlib2.writer.DexWriter.writeCodeItem(DexWriter.java:1297) ... 40 common frames omitted

Could you help me?

DexFileFactory.writeDexFile produces invalid files

Compile and run sample program that uses DexRewriter without any passes:

import com.android.tools.smali.dexlib2.DexFileFactory;
import com.android.tools.smali.dexlib2.dexbacked.DexBackedDexFile;
import com.android.tools.smali.dexlib2.iface.DexFile;
import com.android.tools.smali.dexlib2.rewriter.DexRewriter;
import com.android.tools.smali.dexlib2.rewriter.RewriterModule;

public class Main {
    public static void main(String[] args) {
        try {
            DexBackedDexFile dexFile = DexFileFactory.loadDexFile("classes_original.dex", null);
            DexRewriter rewriter = new DexRewriter(new RewriterModule());
            DexFile newDexFile = rewriter.getDexFileRewriter().rewrite(dexFile);
            DexFileFactory.writeDexFile("classes_rewritten.dex", newDexFile);
        }
        catch (Exception e) {
            e.printStackTrace();
        }
    }
}

Using smali library 3.0.7:

$ ls lib
smali-3.0.7.jar  smali-baksmali-3.0.7.jar  smali-dexlib2-3.0.7.jar  smali-util-3.0.7.jar guava-33.2.1-jre.jar  jcommander-1.64.jar 

Try to disassemble classes_original.dex (success):

$ java -cp "lib\*" com.android.tools.smali.baksmali.Main dis -o classes_original_out classes_original.dex

Try to disassemble classes_rewritten.dex (failure):

$ java -cp "lib\*" com.android.tools.smali.baksmali.Main dis -o classes_rewritten_out classes_rewritten.dex

Error occurred while disassembling class LFC0; - skipping class
com.android.tools.smali.util.ExceptionWithContext: Invalid uleb128 integer encountered at offset 0x110642
        at com.android.tools.smali.dexlib2.dexbacked.DexReader.readUleb128(DexReader.java:147)
        at com.android.tools.smali.dexlib2.dexbacked.DexReader.readSmallUleb128(DexReader.java:118)
        ...
Error occurred while disassembling class LVL1; - skipping class
com.android.tools.smali.util.ExceptionWithContext: Invalid string index 1237382, not in [0, 19974)
        at com.android.tools.smali.util.ExceptionWithContext.withContext(ExceptionWithContext.java:54)
        at com.android.tools.smali.baksmali.Adaptors.MethodDefinition.<init>(MethodDefinition.java:168)
        ...
Error occurred while disassembling class Landroidx.appcompat.widget.AppCompatTextView; - skipping class
com.android.tools.smali.util.ExceptionWithContext: Invalid string index 157401990, not in [0, 19974)
        at com.android.tools.smali.util.ExceptionWithContext.withContext(ExceptionWithContext.java:54)
        at com.android.tools.smali.baksmali.Adaptors.MethodDefinition.<init>(MethodDefinition.java:168)
        ...

Download: classes_original.dex

DEX version compatibility

Does it matter, say, if I use a more recent version of smali/baksmali (DEX v41) to decompile/recompile a file that was compiled with DEX v38? Will this cause some sort of compatibility issues?

Don't emit multiple .line directives before an instruction when disassembling

When running baksmali the disassembly can have multiple .line directives before an instruction, like this:

.line n
.line n+1
.line n+2
<instruction>

This happens when the line number table have line information for PCs which are not at an exact instruction boundary (in the example above .line n and .line n+1 are on PCs between the previous instruction and <instruction>. The disassembly should only have .line directives for the PCs matching instruction boundaries. So only

.line n+2
<instruction>

for the example above.

Typically this is caused by R8 compiling with PC -to-PC based line tables to be able to share then and save on DEX size.

403: Forbidden

Hello, I've tried on two different phones to install smali. I checked recent issues and faqs. I don't see anything similar. I get the following error > Could not resolve org.spdx:spdx-jackson-store:1.1.9.1.
> Could not get resource 'https://plugins.gradle.org/m2/org/spdx/spdx-jackson-store/1.1.9.1/spdx-jackson-store-1.1.9.1.pom'.
> Could not GET 'https://jcenter.bintray.com/org/spdx/spdx-jackson-store/1.1.9.1/spdx-jackson-store-1.1.9.1.pom'. Received status code 403 from server: Forbidden

I also added google to the list of repos in the build files. If anyone could shed some light I'd be grateful.

Build failed

generateGrammarSource fails when I try to build on Windows. I'm using JDK 21 on Windows 11 23h2

> Task :smali:generateGrammarSource FAILED
Caching disabled for task ':smali:generateGrammarSource' because:
  Build cache is disabled
Task ':smali:generateGrammarSource' is not up-to-date because:
  Task has failed previously.
The input changes require a full rebuild for incremental task ':smali:generateGrammarSource'.
Starting process 'Gradle ANTLR Worker 1'. Working directory: F:\Github\smali\smali Command: C:\Program Files\Java\jdk-21\bin\java.exe -DANTLR_DO_NOT_EXIT=true @C:\Users\XXX\.gradle\.tmp\gradle-worker-classpath10969868112096779875txt -Xmx512m -Dfile.encoding=UTF-8 -Duser.country=DK -Duser.language=da -Duser.variant worker.org.gradle.process.internal.worker.GradleWorkerMain 'Gradle ANTLR Worker 1'
Successfully started process 'Gradle ANTLR Worker 1'
Processing with ANTLR 3
error(10):  internal error:  : java.lang.Error: Error parsing smaliParser.g: 'third_party' not expected 'grammar'
org.antlr.tool.GrammarSpelunker.match(GrammarSpelunker.java:70)
org.antlr.tool.GrammarSpelunker.grammarHeader(GrammarSpelunker.java:108)
org.antlr.tool.GrammarSpelunker.parse(GrammarSpelunker.java:80)
org.antlr.Tool.sortGrammarFiles(Tool.java:585)
org.antlr.Tool.process(Tool.java:439)
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
java.base/java.lang.reflect.Method.invoke(Method.java:580)
org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:125)
org.gradle.api.plugins.antlr.internal.AntlrExecuter$Antlr3Tool.invoke(AntlrExecuter.java:76)
org.gradle.api.plugins.antlr.internal.AntlrExecuter$AntlrTool.doProcess(AntlrExecuter.java:147)
org.gradle.api.plugins.antlr.internal.AntlrExecuter$AntlrTool.process(AntlrExecuter.java:117)
org.gradle.api.plugins.antlr.internal.AntlrExecuter.run(AntlrExecuter.java:55)
org.gradle.api.plugins.antlr.internal.AntlrExecuter.run(AntlrExecuter.java:40)
org.gradle.process.internal.worker.request.WorkerAction$1.call(WorkerAction.java:138)
org.gradle.process.internal.worker.child.WorkerLogEventListener.withWorkerLoggingProtocol(WorkerLogEventListener.java:41)
org.gradle.process.internal.worker.request.WorkerAction.lambda$run$0(WorkerAction.java:135)
org.gradle.internal.operations.CurrentBuildOperationRef.with(CurrentBuildOperationRef.java:80)
org.gradle.process.internal.worker.request.WorkerAction.run(WorkerAction.java:127)
org.gradle.process.internal.worker.request.WorkerAction.runThenStop(WorkerAction.java:115)
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
java.base/java.lang.reflect.Method.invoke(Method.java:580)
org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:182)
org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:164)
org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:414)
org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:47)
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
java.base/java.lang.Thread.run(Thread.java:1583)
error(100): smaliParser.g:1:1: syntax error: antlr: NoViableAltException(70@[])
line 1:3 no viable alternative at character '.'
line 1:6 no viable alternative at character '.'
line 1:9 no viable alternative at character '.'
line 1:12 no viable alternative at character 't'
line 1:24 no viable alternative at character 's'
error(8):  file smaliParser.g contains grammar third_party; names must be identical
line 1:30 no viable alternative at character 's'
error(100): smaliParser.g:1:25: syntax error: antlr: MissingTokenException(inserted [@-1,0:0='<missing SEMI>',<82>,1:24] at smali)
line 1:34 no viable alternative at character 'm'
error(100): smaliParser.g:1:31: syntax error: antlr: MissingTokenException(inserted [@-1,0:0='<missing COLON>',<22>,1:30] at src)
line 1:39 no viable alternative at character 'a'
line 1:45 no viable alternative at character 's'
error(100): smaliParser.g:1:59: syntax error: antlr: NoViableAltException(-1@[])
error(100): smaliParser.g:1:59: syntax error: antlr: NoViableAltException(-1@[])
error(100): smaliParser.g:1:59: syntax error: antlr: MismatchedTokenException(-1!=82)
error(150):  grammar file smaliParser.g has no rules
error(100): smaliParser.g:1:10: syntax error: assign.types: NoViableAltException(70@[])
org\antlr\grammar\v3\DefineGrammarItemsWalker.g: node from line 1:9 no viable alternative at input '..'
error(100): smaliTreeWalker.g:1:1: syntax error: antlr: NoViableAltException(70@[])
line 1:3 no viable alternative at character '.'
line 1:6 no viable alternative at character '.'
line 1:9 no viable alternative at character '.'
line 1:12 no viable alternative at character 't'
line 1:24 no viable alternative at character 's'
error(8):  file smaliTreeWalker.g contains grammar third_party; names must be identical
line 1:30 no viable alternative at character 's'
error(100): smaliTreeWalker.g:1:25: syntax error: antlr: MissingTokenException(inserted [@-1,0:0='<missing SEMI>',<82>,1:24] at smali)
line 1:34 no viable alternative at character 'm'
error(100): smaliTreeWalker.g:1:31: syntax error: antlr: MissingTokenException(inserted [@-1,0:0='<missing COLON>',<22>,1:30] at src)
line 1:39 no viable alternative at character 'a'
line 1:45 no viable alternative at character 's'
error(100): smaliTreeWalker.g:1:63: syntax error: antlr: NoViableAltException(-1@[])
error(100): smaliTreeWalker.g:1:63: syntax error: antlr: NoViableAltException(-1@[])
error(100): smaliTreeWalker.g:1:63: syntax error: antlr: MismatchedTokenException(-1!=82)
error(150):  grammar file smaliTreeWalker.g has no rules
error(100): smaliTreeWalker.g:1:10: syntax error: assign.types: NoViableAltException(70@[])
org\antlr\grammar\v3\DefineGrammarItemsWalker.g: node from line 1:9 no viable alternative at input '..'

> Task :dexlib2:compileJava
Caching disabled for task ':dexlib2:compileJava' because:
  Build cache is disabled
Task ':dexlib2:compileJava' is not up-to-date because:
  Output property 'destinationDirectory' file F:\Github\smali\dexlib2\build\classes\java\main has been removed.
  Output property 'destinationDirectory' file F:\Github\smali\dexlib2\build\classes\java\main\com has been removed.
  Output property 'destinationDirectory' file F:\Github\smali\dexlib2\build\classes\java\main\com\android has been removed.
  Output property 'options.generatedSourceOutputDirectory' file F:\Github\smali\dexlib2\build\generated\sources\annotationProcessor\java\main has been removed.
The input changes require a full rebuild for incremental task ':dexlib2:compileJava'.
Full recompilation is required because no incremental change information is available. This is usually caused by clean builds or changing compiler arguments.
Compiling with toolchain 'C:\Program Files\Java\jdk-21'.
Compiling with JDK Java compiler API.
warning: [options] source value 8 is obsolete and will be removed in a future release
warning: [options] target value 8 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 warnings
Class dependency analysis for incremental compilation took 0.254 secs.
Created classpath snapshot for incremental compilation in 0.018 secs.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':smali:generateGrammarSource'.
> There were 19 errors during grammar generation

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.5/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 5s
6 actionable tasks: 6 executed
Watched directory hierarchies: [F:\Github\smali]

[BUG] After smali, Origin method name changes. So runtime error occurs.

There is an APK, which can be determined by apktool and jadx. One of the game's methods is called:
lambda$ensureContextsScheduled$0$com-google-android-datatransport-runtime-scheduling-jobscheduling-WorkInitializer
The delimiter of the method name is a horizontal line. But after smali.jar turn smali to dex, this method name changes :
lambda$ensureContextsScheduled$1$com_google_android_datatransport_runtime_scheduling_jobscheduling_WorkInitializer
The horizontal line becomes underlined. This way, when the APK runs, it will find the error that the method cannot be found. Likes this:

18:03:15.090 AndroidRuntime           E  FATAL EXCEPTION: pool-1-thread-1
                                         Process: com.genbasestudio.adventure, PID: 10094
                                         java.lang.NoSuchMethodError: No virtual method lambda$ensureContextsScheduled$1$com-google-android-datatransport-runtime-scheduling-jobscheduling-WorkInitializer()V in class Lcom/google/android/datatransport/runtime/scheduling/jobscheduling/WorkInitializer; or its super classes (declaration of 'com.google.android.datatransport.runtime.scheduling.jobscheduling.WorkInitializer' appears in /data/app/com.genbasestudio.adventure-pJeegMbU41OxReHH1xkjow==/base.apk)
                                         	at com.google.android.datatransport.runtime.scheduling.jobscheduling.WorkInitializer$$ExternalSyntheticLambda1.run(Unknown Source:2)

By the way, This bug has been around for a long time and I have encountered it for a long time. At that time, I modified smali myself and then solved the problem. But this time, smali was right. But there is a problem with the dex obtained after smali. I can't solve this.

APK:
apk is too big, can't upload. So I give old issue link

Typo in readme

Quote:
com.anroid.tools.smali

anroid?
Shouldn't be android?

Can't build in WSL Debian

> Task :dexlib2:test

com.android.tools.smali.dexlib2.DexEntryFinderTest > testNormalStuff FAILED
    java.lang.ExceptionInInitializerError at DexEntryFinderTest.java:58
        Caused by: java.lang.reflect.InaccessibleObjectException at DexEntryFinderTest.java:58

com.android.tools.smali.dexlib2.DexEntryFinderTest > testSimilarEntries FAILED
    java.lang.NoClassDefFoundError at DexEntryFinderTest.java:110
        Caused by: java.lang.ExceptionInInitializerError at DexEntryFinderTest.java:58

com.android.tools.smali.dexlib2.DexEntryFinderTest > testMatchingSuffix FAILED
    java.lang.NoClassDefFoundError at DexEntryFinderTest.java:131
        Caused by: java.lang.ExceptionInInitializerError at DexEntryFinderTest.java:58

com.android.tools.smali.dexlib2.DexEntryFinderTest > testNonDexEntries FAILED
    java.lang.NoClassDefFoundError at DexEntryFinderTest.java:150
        Caused by: java.lang.ExceptionInInitializerError at DexEntryFinderTest.java:58

com.android.tools.smali.dexlib2.formatter.DexFormatterTest > testGetFieldReference FAILED
    java.lang.NoClassDefFoundError at DexFormatterTest.java:81
        Caused by: java.lang.ExceptionInInitializerError at KeyFactory.java:167

com.android.tools.smali.dexlib2.formatter.DexFormatterTest > testGetShortFieldReference FAILED
    java.lang.NoClassDefFoundError at DexFormatterTest.java:89
        Caused by: java.lang.ExceptionInInitializerError at KeyFactory.java:167

com.android.tools.smali.dexlib2.formatter.DexFormatterTest > testReference FAILED
    java.lang.NoClassDefFoundError at DexFormatterTest.java:137
        Caused by: java.lang.ExceptionInInitializerError at KeyFactory.java:167

com.android.tools.smali.dexlib2.formatter.DexFormatterTest > testGetMethodProtoReference FAILED
    java.lang.NoClassDefFoundError at DexFormatterTest.java:73
        Caused by: java.lang.ExceptionInInitializerError at KeyFactory.java:167

com.android.tools.smali.dexlib2.formatter.DexFormatterTest > testGetShortMethodReference FAILED
    java.lang.NoClassDefFoundError at DexFormatterTest.java:65
        Caused by: java.lang.ExceptionInInitializerError at KeyFactory.java:167

com.android.tools.smali.dexlib2.formatter.DexFormatterTest > testGetEncodedValue FAILED
    java.lang.NoClassDefFoundError at DexFormatterTest.java:129
        Caused by: java.lang.ExceptionInInitializerError at KeyFactory.java:167

com.android.tools.smali.dexlib2.formatter.DexFormatterTest > testGetCallSite FAILED
    java.lang.NoClassDefFoundError at DexFormatterTest.java:105
        Caused by: java.lang.ExceptionInInitializerError at KeyFactory.java:167

com.android.tools.smali.dexlib2.formatter.DexFormatterTest > testGetMethodReference FAILED
    java.lang.NoClassDefFoundError at DexFormatterTest.java:57
        Caused by: java.lang.ExceptionInInitializerError at KeyFactory.java:167

com.android.tools.smali.dexlib2.formatter.DexFormatterTest > testGetMethodHandle FAILED
    java.lang.NoClassDefFoundError at DexFormatterTest.java:97
        Caused by: java.lang.ExceptionInInitializerError at KeyFactory.java:167

190 tests completed, 13 failed

> Task :dexlib2:test FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':dexlib2:test'.
> There were failing tests. See the report at: file:///home/laptop/smali/dexlib2/build/reports/tests/test/index.html

* Try:
> Run with --scan to get full insights.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.5/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 3s
41 actionable tasks: 1 executed, 40 up-to-date

Invalid text error using emojis (UTF-16)

Emojis don't match the lexer.

They should match SimpleNameCharacter but they don't for some reason.
For example 🍉 is \ud83c\udf49 which corresponds to HighSurrogate and LowSurrogate respectively.

Example

Command: java -jar smali.jar tokens test.smali

Input

invoke-virtual {p0}, Lsample/SampleActivity;->🍉()V

Output

Error for input '🍉': Invalid text
INVALID_TOKEN("\ud83c\udf49")

different signature after compilation

I have a script which modifies a jar using APKTool which uses smali 3.0.7.
With the recompiled jar ,I end up with errors like this:

java.lang.String com.android.server.policy.SingleKeyGestureDetector$MessageObject.toString() failed to verify: java.lang.String com.android.server.policy.SingleKeyGestureDetector$MessageObject.toString(): [0x0] invalid argument count (1) exceeds outsSize (0) (declaration of 'com.android.server.policy.SingleKeyGestureDetector$MessageObject' appears in /system/framework/services.jar!classes2.dex)
                         E      at com.android.server.policy.SingleKeyGestureDetector.interceptKeyDown(SingleKeyGestureDetector.java:286)
                         E      at com.android.server.policy.SingleKeyGestureDetector.interceptKey(SingleKeyGestureDetector.java:220)
                         E      at com.android.server.policy.PhoneWindowManager.handleKeyGesture(PhoneWindowManager.java:5795)
                         E      at com.android.server.policy.PhoneWindowManager.interceptKeyBeforeQueueing(PhoneWindowManager.java:5295)
                         E      at com.android.server.wm.InputManagerCallback.interceptKeyBeforeQueueing(InputManagerCallback.java:165)
                         E      at com.android.server.input.InputManagerService.interceptKeyBeforeQueueing(InputManagerService.java:2563)

It seems like the method com.android.server.policy.SingleKeyGestureDetector$MessageObject.toString() does not have the same signature in the rebuilt jar.

Try to run examples/BracketedMemberNames

I am new to Smali, followed your "hello world" example, which was a success, but I am facing problems while running BracketedMemberNames

smali a -o classes BracketedMemberNames.smali
zip test.zip classes.dex
adb push test.zip /storage/emulated/0/Download
adb shell dalvikvm -cp /storage/emulated/0/Download/test.zip BracketedMemberNames

error log:

Unable to locate class 'BracketedMemberNames'
java.lang.ClassNotFoundException: BracketedMemberNames
Exception in thread "main" java.lang.ClassNotFoundException: BracketedMemberNames

Security Policy violation Binary Artifacts

This issue was automatically created by Allstar.

Security Policy Violation
Project is out of compliance with Binary Artifacts policy: binaries present in source code

Rule Description
Binary Artifacts are an increased security risk in your repository. Binary artifacts cannot be reviewed, allowing the introduction of possibly obsolete or maliciously subverted executables. For more information see the Security Scorecards Documentation for Binary Artifacts.

Remediation Steps
To remediate, remove the generated executable artifacts from the repository.

First 10 Artifacts Found

  • baksmali/src/test/resources/ConstructorTest/classes.dex
  • baksmali/src/test/resources/DuplicateTest/classes.dex
  • baksmali/src/test/resources/FieldGapOrderTest/FieldGapOrderInput.dex
  • baksmali/src/test/resources/InstanceOfTest/classes.dex
  • baksmali/src/test/resources/LocalTest/classes.dex
  • baksmali/src/test/resources/MultiSwitchTest/MultiSwitchInput.dex
  • baksmali/src/test/resources/MultipleStartInstructionsTest/classes.dex
  • baksmali/src/test/resources/RegisterEqualityOnMergeTest/classes.dex
  • baksmali/src/test/resources/UninitRefIdentityTest/classes.dex
  • baksmali/src/test/resources/ZeroArrayPayloadWidthTest/ZeroArrayPayloadWidthTestInput.dex
  • Run a Scorecards scan to see full list.

Additional Information
This policy is drawn from Security Scorecards, which is a tool that scores a project's adherence to security best practices. You may wish to run a Scorecards scan directly on this repository for more details.


Allstar has been installed on all Google managed GitHub orgs. Policies are gradually being rolled out and enforced by the GOSST and OSPO teams. Learn more at http://go/allstar

This issue will auto resolve when the policy is in compliance.

Issue created by Allstar. See https://github.com/ossf/allstar/ for more information. For questions specific to the repository, please contact the owner or maintainer.

CI builds fails, as it is currently compiling with JDK-8

See https://ci.chromium.org/ui/p/r8/builders/ci/smali

Cloning into '/b/s/w/ir/x/t/tmpj3ksmkyq'...
Enter directory: /b/s/w/ir/x/t/tmpj3ksmkyq
HEAD is now at 0363397b Version 3.0.4 (#31)
Building version: 3.0.4
Downloading https://services.gradle.org/distributions/gradle-8.5-all.zip
....................10%.....................20%.....................30%.....................40%.....................50%.....................60%....................70%.....................80%.....................90%.....................100%

Welcome to Gradle 8.5!

Here are the highlights of this release:
 - Support for running on Java 21
 - Faster first use with Kotlin DSL
 - Improved error and warning messages

For more details see https://docs.gradle.org/8.5/release-notes.html

Starting a Gradle Daemon (subsequent builds will be faster)
> Task :util:processResources NO-SOURCE
> Task :util:publish UP-TO-DATE
> Task :dexlib2:accessorTestGenerator:processResources
> Task :util:sourcesJar
> Task :dexlib2:accessorTestGenerator:processTestResources NO-SOURCE
> Task :util:processTestResources NO-SOURCE
> Task :baksmali:processResources
> Task :baksmali:publish UP-TO-DATE
> Task :baksmali:sourcesJar
> Task :baksmali:processTestResources
> Task :smali:generateGrammarSource
> Task :smali:jflex
> Task :smali:processResources
> Task :smali:publish UP-TO-DATE
> Task :smali:sourcesJar

> Task :dexlib2:compileJava
/b/s/w/ir/x/t/tmpj3ksmkyq/dexlib2/src/main/java/com/android/tools/smali/dexlib2/dexbacked/OatFile.java:173: error: cannot find symbol
            return Collections.unmodifiableList(List.of());
                                                    ^
  symbol:   method of()
  location: interface java.util.List
/b/s/w/ir/x/t/tmpj3ksmkyq/dexlib2/src/main/java/com/android/tools/smali/dexlib2/dexbacked/OatFile.java:177: error: cannot find symbol
            return Collections.unmodifiableList(List.of());
                                                    ^
  symbol:   method of()
  location: interface java.util.List
/b/s/w/ir/x/t/tmpj3ksmkyq/dexlib2/src/main/java/com/android/tools/smali/dexlib2/DexFileFactory.java:463: error: cannot find symbol
            return unmodifiableList(List.of(entryName));
                                        ^
  symbol:   method of(java.lang.String)
  location: interface java.util.List
/b/s/w/ir/x/t/tmpj3ksmkyq/dexlib2/src/main/java/com/android/tools/smali/dexlib2/dexbacked/DexBackedMethod.java:158: error: cannot find symbol
        return unmodifiableList(List.of());
                                    ^
  symbol:   method of()
  location: interface java.util.List

> Task :smali:generateTestGrammarSource
> Task :smali:processTestResources

> Task :dexlib2:compileJava FAILED
/b/s/w/ir/x/t/tmpj3ksmkyq/dexlib2/src/main/java/com/android/tools/smali/dexlib2/MethodHandleType.java:53: error: cannot find symbol
    private static final Map<Integer, String> methodHandleTypeNames = unmodifiableMap(Map.of(
                                                                                         ^
  symbol:   method of(int,java.lang.String,int,java.lang.String,int,java.lang.String,int,java.lang.String,int,java.lang.String,int,java.lang.String,int,java.lang.String,int,java.lang.String,int,java.lang.String)
  location: interface java.util.Map
/b/s/w/ir/x/t/tmpj3ksmkyq/dexlib2/src/main/java/com/android/tools/smali/dexlib2/dexbacked/instruction/DexBackedArrayPayload.java:84: error: cannot find symbol
            return Collections.unmodifiableList(List.of());
                                                    ^
  symbol:   method of()
  location: interface java.util.List
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
6 errors

> Task :util:generatePomFileForMavenJavaPublication
> Task :baksmali:generatePomFileForMavenJavaPublication
> Task :smali:generatePomFileForMavenJavaPublication

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':dexlib2:compileJava'.
> Compilation failed; see the compiler error output for details.

* Try:
> Run with --info option to get more log output.
> Run with --scan to get full insights.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.5/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 34s
15 actionable tasks: 15 executed
Enter directory: /b/s/w/ir/x/w/r8
Traceback (most recent call last):
  File "tools/archive_smali.py", line 175, in <module>
    sys.exit(Main())
  File "tools/archive_smali.py", line 105, in Main
    subprocess.check_call([
  File "/b/s/w/ir/cipd_bin_packages/cpython3/lib/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['./gradlew', '-Dmaven.repo.local=/b/s/w/ir/x/t/tmpj3ksmkyq/m2', 'release', 'test', 'publishToMavenLocal']' returned non-zero exit status 1.

java.lang.IllegalArgumentException: bad utf-8 byte dc at offset 000000eb

I frequently am finding dex files like this and previously it was fixed in smali 2.3. Though since in this same application classes13.dex is a completely empty file - I'm partial to believing this is just a corrupted useless file.

➜  3503 java -jar ./smali/baksmali/build/libs/baksmali.jar d classes1.dex                      
Exception in thread "main" java.lang.IllegalArgumentException: bad utf-8 byte dc at offset 000000eb
	at com.android.tools.smali.util.Utf8Utils.throwBadUtf8(Utf8Utils.java:284)
	at com.android.tools.smali.util.Utf8Utils.utf8BytesWithUtf16LengthToString(Utf8Utils.java:220)
	at com.android.tools.smali.dexlib2.dexbacked.DexReader.readString(DexReader.java:610)
	at com.android.tools.smali.dexlib2.dexbacked.DexBackedDexFile$5.get(DexBackedDexFile.java:326)
	at com.android.tools.smali.dexlib2.dexbacked.DexBackedDexFile$5.get(DexBackedDexFile.java:319)
	at com.android.tools.smali.dexlib2.dexbacked.DexBackedDexFile$6.get(DexBackedDexFile.java:362)
	at com.android.tools.smali.dexlib2.dexbacked.DexBackedDexFile$6.get(DexBackedDexFile.java:357)
	at com.android.tools.smali.dexlib2.dexbacked.DexBackedClassDef.getType(DexBackedClassDef.java:107)
	at com.android.tools.smali.dexlib2.util.SyntheticAccessorResolver.<init>(SyntheticAccessorResolver.java:80)
	at com.android.tools.smali.baksmali.DisassembleCommand.getOptions(DisassembleCommand.java:287)
	at com.android.tools.smali.baksmali.DisassembleCommand.run(DisassembleCommand.java:182)
	at com.android.tools.smali.baksmali.Main.main(Main.java:101)

context: iBotPeaches/Apktool#3503
file above: classes1.zip

assert failed in 3.0.7

I upgraded my own project's dexlib2 dependency to 3.0.7, and I tried to use dexlib2 to modify a dex built by d8, but it reported an error. I found that the problem was caused by this commit

java.lang.AssertionError
	at com.android.tools.smali.util.ArraySortedSet.assertSorted(ArraySortedSet.java:78)
	at com.android.tools.smali.util.ArraySortedSet.<init>(ArraySortedSet.java:59)
	at com.android.tools.smali.util.ArraySortedSet.of(ArraySortedSet.java:67)
	at com.android.tools.smali.dexlib2.writer.pool.PoolClassDef.<init>(PoolClassDef.java:75)
	at com.android.tools.smali.dexlib2.writer.pool.ClassPool.intern(ClassPool.java:98)
	at com.android.tools.smali.dexlib2.writer.pool.DexPool.internClass(DexPool.java:129)
	at xxx

FAILURE: Build failed with an exception. Execution failed for task ':dexlib2:javadoc'.

> Task :dexlib2:compileJava
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :dexlib2:javadoc FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':dexlib2:javadoc'.
> Javadoc generation failed. Generated Javadoc options file (useful for troubleshooting): '/mnt/f/svnlocal/temp/smali-3.0.7/dexlib2/build/tmp/javadoc/javadoc.options'

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.5/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 16s

Bad index for debug_info_item parameter_name: 2ffffff >= 1e58

reason is:

private int writeDebugItem(@Nonnull DexDataWriter writer,
                           @Nullable Iterable<? extends StringKey> parameterNames,
                           @Nullable Iterable<? extends DebugItem> debugItems) throws IOException {
    int parameterCount = 0;
    int lastNamedParameterIndex = -1;
    if (parameterNames != null) {
        parameterCount = IteratorUtils.size(parameterNames);
        int index = 0;
        for (StringKey parameterName: parameterNames) {
            if (parameterName != null) {
                lastNamedParameterIndex = index;
            }
            index++;
        }
    }
    if (lastNamedParameterIndex == -1 && (debugItems == null 
            || !debugItems.iterator().hasNext())) {
        return NO_OFFSET;
    }
    int debugItemOffset = writer.getPosition();
    int startingLineNumber = 0;
    if (debugItems != null) {
        for (DebugItem debugItem: debugItems) {
            if (debugItem instanceof LineNumber) {
                startingLineNumber = ((LineNumber)debugItem).getLineNumber();
                break;
            }
        }
    }
    ByteArrayOutputStream tempByteOutput = new ByteArrayOutputStream();
    DexDataWriter tempDataWriter = new DexDataWriter(tempByteOutput, 0, 64);
    DebugWriter tempDebugWriter = new DebugWriter(stringSection, typeSection, tempDataWriter);
    tempDataWriter.writeUleb128(startingLineNumber);

The parameterNames type is is TransformedIterator.

public class TransformedIterator<F extends Object, T extends Object>
        implements Iterator<T>, Iterable<T> {
    final Iterator<? extends F> backingIterator;
    final Function<F, T> transformFunction;

    public TransformedIterator(Iterable<? extends F> backingIterable,
            Function<F, T> transformFunction) {
        this.backingIterator = backingIterable.iterator();
        this.transformFunction = transformFunction;
    }

    public TransformedIterator(Iterator<? extends F> backingIterator,
            Function<F, T> transformFunction) {
        this.backingIterator = backingIterator;
        this.transformFunction = transformFunction;
    }

    @Override
    public final boolean hasNext() {
        return backingIterator.hasNext();
    }

    @Override
    public final T next() {
        return transformFunction.apply(backingIterator.next());
    }

    @Override
    public final void remove() {
        backingIterator.remove();
    }

    @Override
    public final Iterator<T> iterator() {
        return this;
    }
}

It can be used only once.

Support for rewrite/instrumentation with dexlib2

Hi

I've been trying for several days already, but can't seem to find my way around how dexlib2 is supposed to work...

My goal is to get a .dex file and modify a single method and rebuild it to obtain a runnable APK.
Basically, I'm trying to improve my script here: https://github.com/Foo-Manroot/apk-patcher

I could improve it by disassembling everything (Baksmali.disassembleDexFile ()), modifying the text file (<whatever>.smali) and assemble it back again (Smali.assemble ()).
This approach does work, but is obviously not ideal.

My idea was to use dexlib2 directly; but every time I write the resulting .dex file, it seems to be corrupted.
When baksmaling that re-assembled .dex, I get a lot of failures like this, which seem to be related with wrong indices on the DebugInfo section (?):

Error occurred while disassembling class Landroidx.appcompat.view.menu.MenuAdapter; - skipping class
com.android.tools.smali.util.ExceptionWithContext: Invalid string index 50184, not in [0, 43639)
        at com.android.tools.smali.util.ExceptionWithContext.withContext(ExceptionWithContext.java:54)
        at com.android.tools.smali.baksmali.Adaptors.MethodDefinition.<init>(MethodDefinition.java:168)
        at com.android.tools.smali.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDefinition.java:327)
        at com.android.tools.smali.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:118)
        at com.android.tools.smali.baksmali.Baksmali.disassembleClass(Baksmali.java:169)
        at com.android.tools.smali.baksmali.Baksmali.access$000(Baksmali.java:54)
        at com.android.tools.smali.baksmali.Baksmali$1.call(Baksmali.java:84)
        at com.android.tools.smali.baksmali.Baksmali$1.call(Baksmali.java:82)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.IndexOutOfBoundsException: Invalid string index 50184, not in [0, 43639)
        at com.android.tools.smali.dexlib2.dexbacked.DexBackedDexFile$5.getOffset(DexBackedDexFile.java:347)
        at com.android.tools.smali.dexlib2.dexbacked.DexBackedDexFile$5.get(DexBackedDexFile.java:322)
        at com.android.tools.smali.dexlib2.dexbacked.DexBackedDexFile$5.getOptional(DexBackedDexFile.java:340)
        at com.android.tools.smali.dexlib2.dexbacked.DexBackedDexFile$5.getOptional(DexBackedDexFile.java:319)
        at com.android.tools.smali.dexlib2.dexbacked.util.DebugInfo$DebugInfoImpl$4.readNextItem(DebugInfo.java:304)
        at com.android.tools.smali.dexlib2.dexbacked.util.DebugInfo$DebugInfoImpl$4.readNextItem(DebugInfo.java:302)
        at com.android.tools.smali.dexlib2.dexbacked.util.VariableSizeIterator.next(VariableSizeIterator.java:79)
        at com.android.tools.smali.dexlib2.dexbacked.util.ParameterIterator.next(ParameterIterator.java:74)
        at com.android.tools.smali.dexlib2.dexbacked.util.ParameterIterator.next(ParameterIterator.java:45)
        at java.base/java.util.AbstractCollection.toArray(AbstractCollection.java:146)
        at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:249)
        at com.android.tools.smali.baksmali.Adaptors.MethodDefinition.<init>(MethodDefinition.java:100)
        ... 10 more
Error while processing method Landroidx/appcompat/view/menu/MenuAdapter;->getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;

Similar errors happen with other tools like dexdump

That stack trace was generated by simply trying to $ baksmali disassemble output.dex, with output.dex being generated like this:

Opcodes opcodes = Opcodes.forDexVersion (38);
DexBackedDexFile dex = DexFileFactory.loadDexFile ("classes.dex", opcodes);
DexFileFactory.writeDexFile ("output.dex", dex);

This simple example should've generated a valid file, shouldn't it?
I attach the original classes.dex and my output.dex, just in case it helps. They come from a sample app I just created with Android Studio, after unzipping the resulting app-debug.apk:
dex files.zip

I tried multiple methods:

  • Using DexRewriter (that snippet in the comment is using the old API, btw)
  • Recreating the whole file with a DexPool, as suggested here
  • Taking inspiration from other implementations like this, here, this issue, ... all of them seem to be using an old API, maybe that's why they don't work anymore (?)
  • Navigating the Javadoc and trying a thousand different things, but I get a bit lost on the API (i.e.: what's the purpose of the seemingly duplicated functionality like ImmutableClassDef, BuilderClassDef, DexBackedClassDef, RewrittenClassDef, ... this StackOverflow answer has some pointers, but don't go into details into how to properly perform the conversion from one to the other.

Could you help me figure out how to properly use dexlib2, or point out what I might be doing wrong?
Thanks in advance

Dex - getOpcodes().api returning misleading api version

During Apktool usage when given a jar file - I parse out the intended api version so I know how to properly invoke smali later on. This looks something like

int minSdkVersion = dexFile.getOpcodes().api;
if (mMinSdkVersion == 0 || mMinSdkVersion > minSdkVersion) {
    mMinSdkVersion = minSdkVersion;
}

The sample attached detects on every single dex file as API 28 as the api version. During smali usage though it crashes out expecting API 29

I: Smaling smali_classes6 folder into classes6.dex...
framework.jar.out/smali_classes6/javax/microedition/khronos/egl/EGL11.smali[10,27] Hidden API restrictions are only supported on api 29 and above.
framework.jar.out/smali_classes6/javax/microedition/khronos/egl/EGL11.smali[10,54] mismatched tree node: I_FIELD_INITIAL_VALUE expecting I_ANNOTATIONS

Am I misunderstanding or should the api returned from opcodes detected the api restrictions usage and moved api up to 29+?

framework.zip

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.