From c9d75e103920253377b4ae096827b8a652301721 Mon Sep 17 00:00:00 2001 From: gogo Date: Fri, 13 Dec 2024 03:35:37 +0100 Subject: [PATCH] document Packer::hasLoaderSection --- src/packer.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/packer.h b/src/packer.h index 99564f81..25041e81 100644 --- a/src/packer.h +++ b/src/packer.h @@ -207,6 +207,17 @@ protected: #else void addLoaderVA(const char *s, ...); #endif + + /** + * \brief Copy stub from exe. + * + * \param : + * + * \arg const char *name \n + * Name of the section looked for. + * + * \return true if the `name` argument correpsonds to an existing section. returns false else. + **/ virtual bool hasLoaderSection(const char *name) const; virtual int getLoaderSection(const char *name, int *slen = nullptr) const; virtual int getLoaderSectionStart(const char *name, int *slen = nullptr) const;