dex++ 0.3.1
C++ and C API reference
Loading...
Searching...
No Matches
DexppComponent Struct Reference

An activity, service, receiver or provider declared in the manifest. More...

#include <dexpp.h>

Public Attributes

char * name
 Full class name, e.g. "com.example.Main".
 
DexppComponentKind kind
 The kind of component.
 
int exported
 android:exported: 1 or 0 as written, or as the resource it refers to says; -1 when absent or when a reference could not be resolved.
 
uint32_t exported_reference
 When android:exported is a resource reference ("@bool/name") or a theme attribute ("?attr/name"): its id, resolved or not; else 0.
 
char * permission
 The permission a caller needs, or NULL.
 
DexppIntentFilter * intent_filters
 The intent filters.
 
size_t intent_filter_count
 Number of intent filters.
 
int guarded_by_signature_permission
 1 when guarded by an app-declared signature permission.
 
int is_exported
 The effective answer: explicit, or inferred from filters; 1 when the value is an unresolved reference (possibly exported).
 
int is_reachable
 Exported and not guarded by a signature permission.
 

Detailed Description

An activity, service, receiver or provider declared in the manifest.

Member Data Documentation

◆ name

char* DexppComponent::name

Full class name, e.g. "com.example.Main".

◆ kind

DexppComponentKind DexppComponent::kind

The kind of component.

◆ exported

int DexppComponent::exported

android:exported: 1 or 0 as written, or as the resource it refers to says; -1 when absent or when a reference could not be resolved.

◆ exported_reference

uint32_t DexppComponent::exported_reference

When android:exported is a resource reference ("@bool/name") or a theme attribute ("?attr/name"): its id, resolved or not; else 0.

A nonzero id with exported == -1 means the value is unknown.

◆ permission

char* DexppComponent::permission

The permission a caller needs, or NULL.

◆ intent_filters

DexppIntentFilter* DexppComponent::intent_filters

The intent filters.

◆ intent_filter_count

size_t DexppComponent::intent_filter_count

Number of intent filters.

◆ guarded_by_signature_permission

int DexppComponent::guarded_by_signature_permission

1 when guarded by an app-declared signature permission.

◆ is_exported

int DexppComponent::is_exported

The effective answer: explicit, or inferred from filters; 1 when the value is an unresolved reference (possibly exported).

◆ is_reachable

int DexppComponent::is_reachable

Exported and not guarded by a signature permission.


The documentation for this struct was generated from the following file: