mirror of
https://github.com/CheckPointSW/InviZzzible
synced 2026-06-08 10:35:43 +00:00
0e8abc9037
Cuckoo: WMI escape implemented Cuckoo: detection by agent.py implemented Cuckoo: detection based on specific event presence implemented Cuckoo: whitelisted process detection implemented Cuckoo: reused pid detection implemented Cuckoo: configuration artifacts detection implemented Cuckoo: unbalanced stack detection implemented Cuckoo: INFINITE delay skip detection implemented Cuckoo: delays accumulation detection implemented Cuckoo: functions hooking detection implemented Cuckoo: agent.py artifacts detection implemented
46 lines
1.1 KiB
C++
46 lines
1.1 KiB
C++
//////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// (C) Copyright Ion Gaztanaga 2005.
|
|
// Distributed under the Boost Software License, Version 1.0.
|
|
// (See accompanying file LICENSE_1_0.txt or copy at
|
|
// http://www.boost.org/LICENSE_1_0.txt)
|
|
//
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef BOOST_POINTER_CAST_HPP
|
|
#define BOOST_POINTER_CAST_HPP
|
|
|
|
namespace boost {
|
|
|
|
//static_pointer_cast overload for raw pointers
|
|
template<class T, class U>
|
|
inline T* static_pointer_cast(U *ptr)
|
|
{
|
|
return static_cast<T*>(ptr);
|
|
}
|
|
|
|
//dynamic_pointer_cast overload for raw pointers
|
|
template<class T, class U>
|
|
inline T* dynamic_pointer_cast(U *ptr)
|
|
{
|
|
return dynamic_cast<T*>(ptr);
|
|
}
|
|
|
|
//const_pointer_cast overload for raw pointers
|
|
template<class T, class U>
|
|
inline T* const_pointer_cast(U *ptr)
|
|
{
|
|
return const_cast<T*>(ptr);
|
|
}
|
|
|
|
//reinterpret_pointer_cast overload for raw pointers
|
|
template<class T, class U>
|
|
inline T* reinterpret_pointer_cast(U *ptr)
|
|
{
|
|
return reinterpret_cast<T*>(ptr);
|
|
}
|
|
|
|
} // namespace boost
|
|
|
|
#endif //BOOST_POINTER_CAST_HPP
|