Exploit database

GH-87d78a8273b7c916c0f9f9ca25ca743e

trinadh465/frameworks_base_aosp10_r33_cve-2022-20007

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2022-20007

2 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files52Next files →

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

tools/aapt/Images.h

Text · 680 bytes
//
// Copyright 2006 The Android Open Source Project
//
// Build resource files from raw assets.
//

#ifndef IMAGES_H
#define IMAGES_H

#include "ResourceTable.h"
#include "Bundle.h"

#include <utils/String8.h>
#include <utils/RefBase.h>

using android::String8;

status_t preProcessImage(const Bundle* bundle, const sp<AaptAssets>& assets,
                         const sp<AaptFile>& file, String8* outNewLeafName);

status_t preProcessImageToCache(const Bundle* bundle, const String8& source, const String8& dest);

status_t postProcessImage(const Bundle* bundle, const sp<AaptAssets>& assets,
                          ResourceTable* table, const sp<AaptFile>& file);

#endif