MCPcopy Create free account
hub / github.com/NetSPI/BOF-PE / RuntimeFunctionEntry

Class RuntimeFunctionEntry

loader/Pe.hpp:1880–1911  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1878{
1879public:
1880 class RuntimeFunctionEntry
1881 {
1882 private:
1883 const typename DirExceptions::Type* m_runtimeFunction;
1884
1885 public:
1886 explicit RuntimeFunctionEntry(const typename DirExceptions::Type* runtimeFunction) noexcept
1887 : m_runtimeFunction(runtimeFunction)
1888 {
1889 }
1890
1891 const typename DirExceptions::Type* runtimeFunction() const noexcept
1892 {
1893 return m_runtimeFunction;
1894 }
1895
1896 bool valid() const noexcept
1897 {
1898 return m_runtimeFunction && m_runtimeFunction->BeginAddress;
1899 }
1900
1901 bool operator == (const RuntimeFunctionEntry& entry) const noexcept
1902 {
1903 return runtimeFunction() == entry.runtimeFunction();
1904 }
1905
1906 RuntimeFunctionEntry& operator ++ () noexcept
1907 {
1908 ++m_runtimeFunction;
1909 return *this;
1910 }
1911 };
1912
1913 using RuntimeFunctionIterator = Iterator<RuntimeFunctionEntry>;
1914

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected