You've already forked Zygisk-Assistant
mirror of
https://github.com/snake-4/Zygisk-Assistant.git
synced 2025-09-06 06:37:02 +00:00
Fixed companion NS and moved code to namespaces
This commit is contained in:
@@ -4,25 +4,28 @@
|
||||
#include <vector>
|
||||
#include <sys/types.h>
|
||||
|
||||
class map_entry_t
|
||||
namespace Parsers
|
||||
{
|
||||
public:
|
||||
map_entry_t(uintptr_t address_start, uintptr_t address_end, uintptr_t offset,
|
||||
const std::string &perms, const std::string &pathname, dev_t device, ino_t inode);
|
||||
class map_entry_t
|
||||
{
|
||||
public:
|
||||
map_entry_t(uintptr_t address_start, uintptr_t address_end, uintptr_t offset,
|
||||
const std::string &perms, const std::string &pathname, dev_t device, ino_t inode);
|
||||
|
||||
uintptr_t getAddressStart() const;
|
||||
uintptr_t getAddressEnd() const;
|
||||
const std::string &getPerms() const;
|
||||
uintptr_t getOffset() const;
|
||||
dev_t getDevice() const;
|
||||
ino_t getInode() const;
|
||||
const std::string &getPathname() const;
|
||||
uintptr_t getAddressStart() const;
|
||||
uintptr_t getAddressEnd() const;
|
||||
const std::string &getPerms() const;
|
||||
uintptr_t getOffset() const;
|
||||
dev_t getDevice() const;
|
||||
ino_t getInode() const;
|
||||
const std::string &getPathname() const;
|
||||
|
||||
private:
|
||||
uintptr_t address_start, address_end, offset;
|
||||
std::string perms, pathname;
|
||||
dev_t device;
|
||||
ino_t inode;
|
||||
};
|
||||
private:
|
||||
uintptr_t address_start, address_end, offset;
|
||||
std::string perms, pathname;
|
||||
dev_t device;
|
||||
ino_t inode;
|
||||
};
|
||||
|
||||
const std::vector<map_entry_t> &parseSelfMaps(bool cached = true);
|
||||
const std::vector<map_entry_t> &parseSelfMaps(bool cached = true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user