proc maps parser Prefab

Prefab package for proc_maps_parser (https://github.com/ouadev/proc_maps_parser).

License

License

GroupId

GroupId

dev.rikka.ndk.thirdparty
ArtifactId

ArtifactId

proc-maps-parser
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

aar
Description

Description

proc maps parser Prefab
Prefab package for proc_maps_parser (https://github.com/ouadev/proc_maps_parser).
Project URL

Project URL

https://github.com/RikkaW/proc-maps-parser-prefab
Source Code Management

Source Code Management

https://github.com/RikkaW/proc-maps-parser-prefab

Download proc-maps-parser

How to add to project

<!-- https://jarcasting.com/artifacts/dev.rikka.ndk.thirdparty/proc-maps-parser/ -->
<dependency>
    <groupId>dev.rikka.ndk.thirdparty</groupId>
    <artifactId>proc-maps-parser</artifactId>
    <version>1.0.0</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/dev.rikka.ndk.thirdparty/proc-maps-parser/
implementation 'dev.rikka.ndk.thirdparty:proc-maps-parser:1.0.0'
// https://jarcasting.com/artifacts/dev.rikka.ndk.thirdparty/proc-maps-parser/
implementation ("dev.rikka.ndk.thirdparty:proc-maps-parser:1.0.0")
'dev.rikka.ndk.thirdparty:proc-maps-parser:aar:1.0.0'
<dependency org="dev.rikka.ndk.thirdparty" name="proc-maps-parser" rev="1.0.0">
  <artifact name="proc-maps-parser" type="aar" />
</dependency>
@Grapes(
@Grab(group='dev.rikka.ndk.thirdparty', module='proc-maps-parser', version='1.0.0')
)
libraryDependencies += "dev.rikka.ndk.thirdparty" % "proc-maps-parser" % "1.0.0"
[dev.rikka.ndk.thirdparty/proc-maps-parser "1.0.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

proc maps parser Prefab

Prefab package for https://github.com/ouadev/proc_maps_parser.

Changes to original

  • Don't use temporary buffers (from https://github.com/RikkaApps/Riru/pull/202)
  • Add extern "C" in `pmparser.c
  • Use name "proc-maps-parser" instead of "pmparser", since in Android, "pm" is the very common abbreviation for "PackageManager"

Integration

This is a Prefab library, so you will need to enable it in your project (requires Android Gradle Plugin 4.1+):

android {
    ...
    buildFeatures {
        ...
        prefab true
    }
}

Add dependency:

repositories {
    mavenCentral()
}

dependencies {
    implementation 'dev.rikka.ndk.thirdparty:proc-maps-parser:1.0.0'
}

Usage

ndk-build

LOCAL_STATIC_LIBRARIES := proc-maps-parser

# You can remove this block if you are using NDK r21+.
ifneq ($(call ndk-major-at-least,21),true)
    $(call import-add-path,$(NDK_GRADLE_INJECTED_IMPORT_PATH))
endif

$(call import-module,prefab/proc-maps-parser)

CMake

find_package(proc-maps-parser REQUIRED CONFIG)
target_link_libraries(<your lib> proc-maps-parser::proc-maps-parser)

Versions

Version
1.0.0