name string | code string | asm string | file string |
|---|---|---|---|
QBasicMutex::unlock() | inline void unlock() noexcept {
Q_ASSERT(d_ptr.loadRelaxed()); //mutex must be locked
QtTsan::mutexPreUnlock(this, 0u);
if constexpr (FutexAlwaysAvailable) {
// we always unlock if we have futexes
if (QMutexPrivate *d = d_ptr.fetchAndStoreRelease(nullptr); d != dummyLoc... | endbr64
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq 0x20(%rsp), %rdi
movq %rdi, 0x8(%rsp)
xorl %esi, %esi
callq 0x27230
movq 0x8(%rsp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x27240
movq %rax, 0x18(%rsp)
movq 0x18(%rsp), %rax
movq %rax, 0x10(%rsp)
callq 0x269d0
movq %rax, %rcx
movq 0x10(%rsp), %rax
cmpq %rcx, %rax... | /qt[P]qtbase/src/corelib/thread/qmutex.h |
QtPrivate::QPodArrayOps<QFbBackingStore*>::copyAppend(QFbBackingStore* const*, QFbBackingStore* const*) | void copyAppend(const T *b, const T *e) noexcept
{
Q_ASSERT(this->isMutable() || b == e);
Q_ASSERT(!this->isShared() || b == e);
Q_ASSERT(b <= e);
Q_ASSERT((e - b) <= this->freeSpaceAtEnd());
if (b == e)
return;
::memcpy(static_cast<void *>(this->end()),... | endbr64
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq %rdx, 0x10(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x18(%rsp), %rax
cmpq 0x10(%rsp), %rax
jne 0x2611f
jmp 0x26169
movq 0x8(%rsp), %rdi
callq 0x253b0
movq %rax, %rdi
movq 0x18(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x18(%rsp), %rax
s... | /qt[P]qtbase/src/corelib/tools/qarraydataops.h |
QFbCursor::getCurrentRect() const | QRect QFbCursor::getCurrentRect() const
{
QRect rect = mCursorImage->image()->rect().translated(-mCursorImage->hotspot().x(),
-mCursorImage->hotspot().y());
rect.translate(m_pos);
QPoint mScreenOffset = mScreen->geometry().topLeft();
rect.transla... | endbr64
subq $0x98, %rsp
movq %fs:0x28, %rax
movq %rax, 0x90(%rsp)
movq %rdi, 0x38(%rsp)
movq 0x38(%rsp), %rdi
movq %rdi, 0x18(%rsp)
movups 0x59b9e(%rip), %xmm0 # 0x81380
movaps %xmm0, 0x80(%rsp)
addq $0x48, %rdi
movq %rdi, 0x8(%rsp)
callq 0x289c0
movq %rax, %rdi
callq 0x289e0
movq %rax, %rdi
callq 0x14090
movq 0x8(... | /qt[P]qtbase/src/platformsupport/fbconvenience/qfbcursor.cpp |
QFbCursor::drawCursor(QPainter&) | QRect QFbCursor::drawCursor(QPainter & painter)
{
if (!mVisible)
return QRect();
mDirty = false;
if (mCurrentRect.isNull())
return QRect();
// We need this because the cursor might be mDirty due to moving off mScreen
QPoint mScreenOffset = mScreen->geometry().topLeft();
// glob... | endbr64
subq $0x88, %rsp
movq %fs:0x28, %rax
movq %rax, 0x80(%rsp)
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq 0x30(%rsp), %rax
movq %rax, 0x20(%rsp)
testb $0x1, 0x10(%rax)
jne 0x27ca5
leaq 0x70(%rsp), %rdi
callq 0x1a540
jmp 0x27dc5
movq 0x20(%rsp), %rdi
movb $0x0, 0x40(%rdi)
addq $0x20, %rdi
callq 0x28eb0
testb $... | /qt[P]qtbase/src/platformsupport/fbconvenience/qfbcursor.cpp |
QFbCursor::changeCursor(QCursor*, QWindow*) | void QFbCursor::changeCursor(QCursor * widgetCursor, QWindow *window)
{
Q_UNUSED(window);
if (!mVisible)
return;
const Qt::CursorShape shape = widgetCursor ? widgetCursor->shape() : Qt::ArrowCursor;
if (shape == Qt::BitmapCursor) {
// application supplied cursor
QPoint spot = wi... | endbr64
subq $0xc8, %rsp
movq %fs:0x28, %rax
movq %rax, 0xc0(%rsp)
movq %rdi, 0x38(%rsp)
movq %rsi, 0x30(%rsp)
movq %rdx, 0x28(%rsp)
movq 0x38(%rsp), %rax
movq %rax, 0x18(%rsp)
testb $0x1, 0x10(%rax)
jne 0x27fc0
jmp 0x28170
cmpq $0x0, 0x30(%rsp)
je 0x27fd8
movq 0x30(%rsp), %rdi
callq 0x138a0
movl %eax, 0x14(%rsp)
jmp 0... | /qt[P]qtbase/src/platformsupport/fbconvenience/qfbcursor.cpp |
bool QtPrivate::checkTypeIsSuitableForMetaType<QInputDeviceManager::DeviceType>() | static constexpr bool checkTypeIsSuitableForMetaType()
{
using T = typename MetatypeDecay<X>::type;
static_assert(is_complete<T, void>::value || std::is_void_v<T>,
"Meta Types must be fully defined");
static_assert(!std::is_reference_v<T>,
"Meta Types cannot b... | movb $0x1, %al
andb $0x1, %al
retq
nopw %cs:(%rax,%rax)
| /qt[P]qtbase/src/corelib/kernel/qmetatype.h |
int QtPrivate::qSaturateRound<double, true>(double) | constexpr inline int qSaturateRound(FP value)
{
#ifdef QT_SUPPORTS_IS_CONSTANT_EVALUATED
if (!q20::is_constant_evaluated())
Q_ASSERT(!qIsNaN(value));
#endif
constexpr FP MinBound = FP((std::numeric_limits<int>::min)());
constexpr FP MaxBound = FP((std::numeric_limits<int>::max)());
const FP befo... | endbr64
subq $0x38, %rsp
movq %fs:0x28, %rax
movq %rax, 0x30(%rsp)
movsd %xmm0, 0x10(%rsp)
movabsq $-0x3e20000000000000, %rax # imm = 0xC1E0000000000000
movq %rax, 0x28(%rsp)
movabsq $0x41dfffffffc00000, %rax # imm = 0x41DFFFFFFFC00000
movq %rax, 0x20(%rsp)
movsd 0x10(%rsp), %xmm0
callq 0x1c700
movsd %xmm0, 0x18(%rsp)
... | /qt[P]qtbase/src/corelib/global/qnumeric.h |
QFbScreen::topLevelAt(QPoint const&) const | QWindow *QFbScreen::topLevelAt(const QPoint & p) const
{
for (QFbWindow *fbw : mWindowStack) {
if (fbw->geometry().contains(p, false) && fbw->window()->isVisible())
return fbw->window();
}
return nullptr;
} | endbr64
subq $0x68, %rsp
movq %fs:0x28, %rax
movq %rax, 0x60(%rsp)
movq %rdi, 0x28(%rsp)
movq %rsi, 0x20(%rsp)
movq 0x28(%rsp), %rax
movabsq $-0x5555555555555556, %rcx # imm = 0xAAAAAAAAAAAAAAAA
movq %rcx, 0x18(%rsp)
addq $0x20, %rax
movq %rax, 0x18(%rsp)
movq 0x560f4(%rip), %rax # 0x815c8
movq %rax, 0x58(%rsp)
mov... | /qt[P]qtbase/src/platformsupport/fbconvenience/qfbscreen.cpp |
QList<QFbWindow*>::move(long long, long long) | void move(qsizetype from, qsizetype to)
{
Q_ASSERT_X(from >= 0 && from < size(), "QList::move(qsizetype, qsizetype)", "'from' is out-of-range");
Q_ASSERT_X(to >= 0 && to < size(), "QList::move(qsizetype, qsizetype)", "'to' is out-of-range");
if (from == to) // don't detach when no-op
... | endbr64
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq %rdx, 0x10(%rsp)
movq 0x20(%rsp), %rax
movq %rax, (%rsp)
movq 0x18(%rsp), %rax
cmpq 0x10(%rsp), %rax
jne 0x2c681
jmp 0x2c72a
movq (%rsp), %rdi
callq 0x2f190
movq (%rsp), %rdi
callq 0x2cae0
movq %rax, %rdi
callq 0x2cf60
movq %rax, 0x8(%rsp)
movq 0... | /qt[P]qtbase/src/corelib/tools/qlist.h |
QArrayDataPointer<QFbWindow*>::tryReadjustFreeSpace(QArrayData::GrowthPosition, long long, QFbWindow* const**) | bool tryReadjustFreeSpace(QArrayData::GrowthPosition pos, qsizetype n, const T **data = nullptr)
{
Q_ASSERT(!this->needsDetach());
Q_ASSERT(n > 0);
Q_ASSERT((pos == QArrayData::GrowsAtEnd && this->freeSpaceAtEnd() < n)
|| (pos == QArrayData::GrowsAtBeginning && this->freeSpa... | endbr64
subq $0x78, %rsp
movq %fs:0x28, %rax
movq %rax, 0x70(%rsp)
movq %rdi, 0x50(%rsp)
movl %esi, 0x4c(%rsp)
movq %rdx, 0x40(%rsp)
movq %rcx, 0x38(%rsp)
movq 0x50(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0x2d670
movq 0x10(%rsp), %rdi
movq %rax, 0x30(%rsp)
callq 0x2d070
movq 0x10(%rsp), %rdi
movq %rax, 0x28(%rsp)
callq... | /qt[P]qtbase/src/corelib/tools/qarraydatapointer.h |
QArrayDataPointer<QFbWindow*>::allocateGrow(QArrayDataPointer<QFbWindow*> const&, long long, QArrayData::GrowthPosition) | static QArrayDataPointer allocateGrow(const QArrayDataPointer &from, qsizetype n, QArrayData::GrowthPosition position)
{
// calculate new capacity. We keep the free capacity at the side that does not have to grow
// to avoid quadratic behavior with mixed append/prepend cases
// use qMax bel... | endbr64
subq $0xc8, %rsp
movq %rdi, 0x28(%rsp)
movq %rdi, %rax
movq %rax, 0x30(%rsp)
movq %fs:0x28, %rax
movq %rax, 0xc0(%rsp)
movq %rdi, 0x88(%rsp)
movq %rsi, 0x80(%rsp)
movq %rdx, 0x78(%rsp)
movl %ecx, 0x74(%rsp)
movq 0x80(%rsp), %rax
addq $0x10, %rax
movq %rax, 0x38(%rsp)
movq 0x80(%rsp), %rdi
callq 0x2d670
movq 0x3... | /qt[P]qtbase/src/corelib/tools/qarraydatapointer.h |
QtPrivate::QPodArrayOps<QFbBackingStore*>::erase(QFbBackingStore**, long long) | void erase(T *b, qsizetype n)
{
T *e = b + n;
Q_ASSERT(this->isMutable());
Q_ASSERT(b < e);
Q_ASSERT(b >= this->begin() && b < this->end());
Q_ASSERT(e > this->begin() && e <= this->end());
// Comply with std::vector::erase(): erased elements and all after them
... | endbr64
subq $0x58, %rsp
movq %rdi, 0x50(%rsp)
movq %rsi, 0x48(%rsp)
movq %rdx, 0x40(%rsp)
movq 0x50(%rsp), %rdi
movq %rdi, 0x28(%rsp)
movq 0x48(%rsp), %rax
movq 0x40(%rsp), %rcx
shlq $0x3, %rcx
addq %rcx, %rax
movq %rax, 0x38(%rsp)
movq 0x48(%rsp), %rax
movq %rax, 0x30(%rsp)
callq 0x25460
movq %rax, %rcx
movq 0x30(%rs... | /qt[P]qtbase/src/corelib/tools/qarraydataops.h |
QFbVtHandler::qt_metacall(QMetaObject::Call, int, void**) | int QFbVtHandler::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QObject::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 4)
qt_static_metacall(this, _c, _id, _a);
_id -= 4;
}
if (_c == QMetaOb... | endbr64
subq $0x48, %rsp
movq %fs:0x28, %rax
movq %rax, 0x40(%rsp)
movq %rdi, 0x28(%rsp)
movl %esi, 0x24(%rsp)
movl %edx, 0x20(%rsp)
movq %rcx, 0x18(%rsp)
movq 0x28(%rsp), %rdi
movq %rdi, 0x10(%rsp)
movl 0x24(%rsp), %esi
movl 0x20(%rsp), %edx
movq 0x18(%rsp), %rcx
callq 0x13fa0
movl %eax, 0x20(%rsp)
cmpl $0x0, 0x20(%rs... | /qt[P]qtbase/build_O0/src/platformsupport/fbconvenience/FbSupportPrivate_autogen/include/moc_qfbvthandler_p.cpp |
QMetaObject::Connection QObject::connect<void (QSocketNotifier::*)(QSocketDescriptor, QSocketNotifier::Type, QSocketNotifier::QPrivateSignal), void (QFbVtHandler::*)()>(QtPrivate::FunctionPointer<void (QSocketNotifier::*)(QSocketDescriptor, QSocketNotifier::Type, QSocketNotifier::QPrivateSignal)>::Object const*, void (... | static inline QMetaObject::Connection
connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal,
const typename QtPrivate::ContextTypeForFunctor<Func2>::ContextType *context, Func2 &&slot,
Qt::ConnectionType type = Qt::AutoConnection)
{
ty... | endbr64
subq $0x98, %rsp
movq %rdi, 0x30(%rsp)
movq %rdi, %rax
movq %rax, 0x38(%rsp)
movl 0xa0(%rsp), %eax
movq %fs:0x28, %rax
movq %rax, 0x90(%rsp)
movq %rdi, 0x78(%rsp)
movq %rdx, 0x68(%rsp)
movq %rcx, 0x70(%rsp)
movq 0x68(%rsp), %rax
movq 0x70(%rsp), %rcx
movq %rsi, 0x60(%rsp)
movq %rcx, 0x88(%rsp)
movq %rax, 0x80(%... | /qt[P]qtbase/src/corelib/kernel/qobject.h |
void QtPrivate::assertObjectType<QFbVtHandler>(QObject*) | inline void assertObjectType(QObject *o)
{
// ensure all three compile
[[maybe_unused]] auto staticcast = [](QObject *obj) { return static_cast<Obj *>(obj); };
[[maybe_unused]] auto qobjcast = [](QObject *obj) { return Obj::staticMetaObject.cast(obj); };
#ifdef __cpp_rtti
[[maybe_unu... | endbr64
subq $0x18, %rsp
movq %fs:0x28, %rax
movq %rax, 0x10(%rsp)
movq %rdi, (%rsp)
movb $-0x56, 0xf(%rsp)
movb $-0x56, 0xe(%rsp)
movb $-0x56, 0xd(%rsp)
movb $-0x56, 0xc(%rsp)
movq %fs:0x28, %rax
movq 0x10(%rsp), %rcx
cmpq %rcx, %rax
jne 0x30fe6
addq $0x18, %rsp
retq
callq 0x12d70
nopl (%rax,%rax)
| /qt[P]qtbase/src/corelib/kernel/qobjectdefs_impl.h |
QFbWindow::setGeometry(QRect const&) | void QFbWindow::setGeometry(const QRect &rect)
{
// store previous geometry for screen update
mOldGeometry = geometry();
QWindowSystemInterface::handleGeometryChange(window(), rect);
QPlatformWindow::setGeometry(rect);
if (mOldGeometry != rect)
QWindowSystemInterface::handleExposeEvent(wi... | endbr64
subq $0x78, %rsp
movq %fs:0x28, %rax
movq %rax, 0x70(%rsp)
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq 0x20(%rsp), %rdi
movq %rdi, 0x10(%rsp)
movq (%rdi), %rax
callq *0x30(%rax)
movq 0x10(%rsp), %rdi
movq %rax, 0x60(%rsp)
movq %rdx, 0x68(%rsp)
movq 0x60(%rsp), %rax
movq %rax, 0x20(%rdi)
movq 0x68(%rsp), %r... | /qt[P]qtbase/src/platformsupport/fbconvenience/qfbwindow.cpp |
QFbWindow::repaint(QRegion const&) | void QFbWindow::repaint(const QRegion ®ion)
{
const QRect currentGeometry = geometry();
const QRect oldGeometryLocal = mOldGeometry;
mOldGeometry = currentGeometry;
// If this is a move, redraw the previous location
if (oldGeometryLocal != currentGeometry)
platformScreen()->setDirty(oldGe... | endbr64
subq $0x88, %rsp
movq %fs:0x28, %rax
movq %rax, 0x80(%rsp)
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq 0x30(%rsp), %rdi
movq %rdi, 0x8(%rsp)
movq 0x50f55(%rip), %rax # 0x8290c
movq %rax, 0x70(%rsp)
movq 0x50f51(%rip), %rax # 0x82914
movq %rax, 0x78(%rsp)
movq (%rdi), %rax
callq *0x30(%rax)
movq %ra... | /qt[P]qtbase/src/platformsupport/fbconvenience/qfbwindow.cpp |
QEvdevKeyboardManager::loadKeymap(QString const&) | void QEvdevKeyboardManager::loadKeymap(const QString &file)
{
m_defaultKeymapFile = file;
if (file.isEmpty()) {
// Restore the default, which is either the built-in keymap or
// the one given in the plugin spec.
QString keymapFromSpec;
const auto specs = QStringView{m_spec}.spli... | endbr64
subq $0x118, %rsp # imm = 0x118
movq %fs:0x28, %rax
movq %rax, 0x110(%rsp)
movq %rdi, 0x60(%rsp)
movq %rsi, 0x58(%rsp)
movq 0x60(%rsp), %rdi
movq %rdi, 0x10(%rsp)
movq 0x58(%rsp), %rsi
addq $0x40, %rdi
callq 0x13f20
movq 0x58(%rsp), %rdi
callq 0x1a9c0
testb $0x1, %al
jne 0x32a41
jmp 0x32d7c
movq 0x4f... | /qt[P]qtbase/src/platformsupport/input/evdevkeyboard/qevdevkeyboardmanager.cpp |
QMetaObject::Connection QObject::connect<void (QDeviceDiscovery::*)(QString const&), void (QEvdevKeyboardManager::*)(QString const&)>(QtPrivate::FunctionPointer<void (QDeviceDiscovery::*)(QString const&)>::Object const*, void (QDeviceDiscovery::*)(QString const&), QtPrivate::ContextTypeForFunctor<void (QEvdevKeyboardMa... | static inline QMetaObject::Connection
connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal,
const typename QtPrivate::ContextTypeForFunctor<Func2>::ContextType *context, Func2 &&slot,
Qt::ConnectionType type = Qt::AutoConnection)
{
ty... | endbr64
subq $0x98, %rsp
movq %rdi, 0x30(%rsp)
movq %rdi, %rax
movq %rax, 0x38(%rsp)
movl 0xa0(%rsp), %eax
movq %fs:0x28, %rax
movq %rax, 0x90(%rsp)
movq %rdi, 0x78(%rsp)
movq %rdx, 0x68(%rsp)
movq %rcx, 0x70(%rsp)
movq 0x68(%rsp), %rax
movq 0x70(%rsp), %rcx
movq %rsi, 0x60(%rsp)
movq %rcx, 0x88(%rsp)
movq %rax, 0x80(%... | /qt[P]qtbase/src/corelib/kernel/qobject.h |
void QtPrivate::assertObjectType<QEvdevKeyboardManager>(QObject*) | inline void assertObjectType(QObject *o)
{
// ensure all three compile
[[maybe_unused]] auto staticcast = [](QObject *obj) { return static_cast<Obj *>(obj); };
[[maybe_unused]] auto qobjcast = [](QObject *obj) { return Obj::staticMetaObject.cast(obj); };
#ifdef __cpp_rtti
[[maybe_unu... | endbr64
subq $0x18, %rsp
movq %fs:0x28, %rax
movq %rax, 0x10(%rsp)
movq %rdi, (%rsp)
movb $-0x56, 0xf(%rsp)
movb $-0x56, 0xe(%rsp)
movb $-0x56, 0xd(%rsp)
movb $-0x56, 0xc(%rsp)
movq %fs:0x28, %rax
movq 0x10(%rsp), %rcx
cmpq %rcx, %rax
jne 0x345c6
addq $0x18, %rsp
retq
callq 0x12d70
nopl (%rax,%rax)
| /qt[P]qtbase/src/corelib/kernel/qobjectdefs_impl.h |
void QtPrivate::FunctorCallBase::call_internal<void, QtPrivate::FunctorCall<std::integer_sequence<unsigned long, 0ul>, QtPrivate::List<QString const&>, void, void (QEvdevKeyboardManager::*)(QString const&)>::call(void (QEvdevKeyboardManager::*)(QString const&), QEvdevKeyboardManager*, void**)::'lambda'()>(void**, QtPri... | static void call_internal([[maybe_unused]] void **args, Lambda &&fn)
noexcept(std::is_nothrow_invocable_v<Lambda>)
{
if constexpr (std::is_void_v<R> || std::is_void_v<std::invoke_result_t<Lambda>>) {
std::forward<Lambda>(fn)();
} else {
if (arg... | endbr64
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
movq 0x8(%rsp), %rdi
callq 0x34600
addq $0x18, %rsp
retq
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)
| /qt[P]qtbase/src/corelib/kernel/qobjectdefs_impl.h |
QEvdevMouseManager::addMouse(QString const&) | void QEvdevMouseManager::addMouse(const QString &deviceNode)
{
qCDebug(qLcEvdevMouse, "Adding mouse at %ls", qUtf16Printable(deviceNode));
auto handler = QEvdevMouseHandler::create(deviceNode, m_spec);
if (handler) {
connect(handler.get(), &QEvdevMouseHandler::handleMouseEvent,
this,... | endbr64
subq $0xf8, %rsp
movq %fs:0x28, %rax
movq %rax, 0xf0(%rsp)
movq %rdi, 0x58(%rsp)
movq %rsi, 0x50(%rsp)
movq 0x58(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x4a5b9(%rip), %rax # 0x81380
movq %rax, 0xe0(%rsp)
movq 0x4a5b2(%rip), %rax # 0x81388
movq %rax, 0xe8(%rsp)
callq 0x45720
movq %rax, %rsi
leaq 0xe0(%rs... | /qt[P]qtbase/src/platformsupport/input/evdevmouse/qevdevmousemanager.cpp |
QMetaObject::Connection QObject::connect<void (QInputDeviceManager::*)(QPoint const&), QEvdevMouseManager::QEvdevMouseManager(QString const&, QString const&, QObject*)::$_0>(QtPrivate::FunctionPointer<void (QInputDeviceManager::*)(QPoint const&)>::Object const*, void (QInputDeviceManager::*)(QPoint const&), QtPrivate::... | static inline QMetaObject::Connection
connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal,
const typename QtPrivate::ContextTypeForFunctor<Func2>::ContextType *context, Func2 &&slot,
Qt::ConnectionType type = Qt::AutoConnection)
{
ty... | subq $0xa8, %rsp
movq %rdi, 0x38(%rsp)
movq %rdi, %rax
movq %rax, 0x40(%rsp)
movl 0xb0(%rsp), %eax
movq %fs:0x28, %rax
movq %rax, 0xa0(%rsp)
movq %rdi, 0x88(%rsp)
movq %rdx, 0x78(%rsp)
movq %rcx, 0x80(%rsp)
movq 0x78(%rsp), %rax
movq 0x80(%rsp), %rcx
movq %rsi, 0x70(%rsp)
movq %rcx, 0x98(%rsp)
movq %rax, 0x90(%rsp)
mov... | /qt[P]qtbase/src/corelib/kernel/qobject.h |
QMetaObject::Connection QObject::connect<void (QEvdevMouseHandler::*)(int, int, bool, QFlags<Qt::MouseButton>, Qt::MouseButton, QEvent::Type), void (QEvdevMouseManager::*)(int, int, bool, QFlags<Qt::MouseButton>, Qt::MouseButton, QEvent::Type)>(QtPrivate::FunctionPointer<void (QEvdevMouseHandler::*)(int, int, bool, QFl... | static inline QMetaObject::Connection
connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal,
const typename QtPrivate::ContextTypeForFunctor<Func2>::ContextType *context, Func2 &&slot,
Qt::ConnectionType type = Qt::AutoConnection)
{
ty... | endbr64
subq $0x98, %rsp
movq %rdi, 0x30(%rsp)
movq %rdi, %rax
movq %rax, 0x38(%rsp)
movl 0xa0(%rsp), %eax
movq %fs:0x28, %rax
movq %rax, 0x90(%rsp)
movq %rdi, 0x78(%rsp)
movq %rdx, 0x68(%rsp)
movq %rcx, 0x70(%rsp)
movq 0x68(%rsp), %rax
movq 0x70(%rsp), %rcx
movq %rsi, 0x60(%rsp)
movq %rcx, 0x88(%rsp)
movq %rax, 0x80(%... | /qt[P]qtbase/src/corelib/kernel/qobject.h |
QMetaObject::Connection QObject::connect<void (QEvdevMouseHandler::*)(QPoint), void (QEvdevMouseManager::*)(QPoint)>(QtPrivate::FunctionPointer<void (QEvdevMouseHandler::*)(QPoint)>::Object const*, void (QEvdevMouseHandler::*)(QPoint), QtPrivate::ContextTypeForFunctor<void (QEvdevMouseManager::*)(QPoint), void>::Contex... | static inline QMetaObject::Connection
connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal,
const typename QtPrivate::ContextTypeForFunctor<Func2>::ContextType *context, Func2 &&slot,
Qt::ConnectionType type = Qt::AutoConnection)
{
ty... | endbr64
subq $0x98, %rsp
movq %rdi, 0x30(%rsp)
movq %rdi, %rax
movq %rax, 0x38(%rsp)
movl 0xa0(%rsp), %eax
movq %fs:0x28, %rax
movq %rax, 0x90(%rsp)
movq %rdi, 0x78(%rsp)
movq %rdx, 0x68(%rsp)
movq %rcx, 0x70(%rsp)
movq 0x68(%rsp), %rax
movq 0x70(%rsp), %rcx
movq %rsi, 0x60(%rsp)
movq %rcx, 0x88(%rsp)
movq %rax, 0x80(%... | /qt[P]qtbase/src/corelib/kernel/qobject.h |
void QtPrivate::assertObjectType<QEvdevMouseManager>(QObject*) | inline void assertObjectType(QObject *o)
{
// ensure all three compile
[[maybe_unused]] auto staticcast = [](QObject *obj) { return static_cast<Obj *>(obj); };
[[maybe_unused]] auto qobjcast = [](QObject *obj) { return Obj::staticMetaObject.cast(obj); };
#ifdef __cpp_rtti
[[maybe_unu... | endbr64
subq $0x18, %rsp
movq %fs:0x28, %rax
movq %rax, 0x10(%rsp)
movq %rdi, (%rsp)
movb $-0x56, 0xf(%rsp)
movb $-0x56, 0xe(%rsp)
movb $-0x56, 0xd(%rsp)
movb $-0x56, 0xc(%rsp)
movq %fs:0x28, %rax
movq 0x10(%rsp), %rcx
cmpq %rcx, %rax
jne 0x38ca6
addq $0x18, %rsp
retq
callq 0x12d70
nopl (%rax,%rax)
| /qt[P]qtbase/src/corelib/kernel/qobjectdefs_impl.h |
void QtPrivate::FunctorCallBase::call_internal<void, QtPrivate::FunctorCall<std::integer_sequence<unsigned long, 0ul>, QtPrivate::List<QString const&>, void, void (QEvdevMouseManager::*)(QString const&)>::call(void (QEvdevMouseManager::*)(QString const&), QEvdevMouseManager*, void**)::'lambda'()>(void**, QtPrivate::Fun... | static void call_internal([[maybe_unused]] void **args, Lambda &&fn)
noexcept(std::is_nothrow_invocable_v<Lambda>)
{
if constexpr (std::is_void_v<R> || std::is_void_v<std::invoke_result_t<Lambda>>) {
std::forward<Lambda>(fn)();
} else {
if (arg... | endbr64
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
movq 0x8(%rsp), %rdi
callq 0x38ce0
addq $0x18, %rsp
retq
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)
| /qt[P]qtbase/src/corelib/kernel/qobjectdefs_impl.h |
void QtPrivate::FunctorCallBase::call_internal<void, QtPrivate::FunctorCall<std::integer_sequence<unsigned long, 0ul>, QtPrivate::List<QPoint>, void, void (QEvdevMouseManager::*)(QPoint)>::call(void (QEvdevMouseManager::*)(QPoint), QEvdevMouseManager*, void**)::'lambda'()>(void**, QtPrivate::FunctorCall<std::integer_se... | static void call_internal([[maybe_unused]] void **args, Lambda &&fn)
noexcept(std::is_nothrow_invocable_v<Lambda>)
{
if constexpr (std::is_void_v<R> || std::is_void_v<std::invoke_result_t<Lambda>>) {
std::forward<Lambda>(fn)();
} else {
if (arg... | endbr64
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
movq 0x8(%rsp), %rdi
callq 0x399c0
addq $0x18, %rsp
retq
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)
| /qt[P]qtbase/src/corelib/kernel/qobjectdefs_impl.h |
QEvdevTouchManager::updateInputDeviceCount() | void QEvdevTouchManager::updateInputDeviceCount()
{
int registeredTouchDevices = 0;
for (const auto &device : m_activeDevices) {
if (device.handler->isPointingDeviceRegistered())
++registeredTouchDevices;
}
qCDebug(qLcEvdevTouch, "evdevtouch: Updating QInputDeviceManager device coun... | endbr64
subq $0x78, %rsp
movq %fs:0x28, %rax
movq %rax, 0x70(%rsp)
movq %rdi, 0x28(%rsp)
movq 0x28(%rsp), %rax
movq %rax, 0x8(%rsp)
movl $0x0, 0x24(%rsp)
movabsq $-0x5555555555555556, %rcx # imm = 0xAAAAAAAAAAAAAAAA
movq %rcx, 0x18(%rsp)
addq $0x28, %rax
movq %rax, 0x18(%rsp)
movq 0x4569c(%rip), %rax # 0x815c8
movq... | /qt[P]qtbase/src/platformsupport/input/evdevtouch/qevdevtouchmanager.cpp |
(anonymous namespace)::QLoggingCategoryMacroHolder<(QtMsgType)0>::init(QLoggingCategory const&) | void init(const QLoggingCategory &cat) noexcept
{
category = &cat;
// same as:
// control = cat.isEnabled(Which);
// but without an out-of-line call
if constexpr (Which == QtDebugMsg) {
control = cat.isDebugEnabled();
} else if constexpr (Which == QtInfoM... | subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
movq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq 0x8(%rsp), %rcx
movq %rcx, (%rax)
movq 0x8(%rsp), %rdi
callq 0x21d40
movb %al, %cl
movq (%rsp), %rax
andb $0x1, %cl
movb %cl, 0x8(%rax)
addq $0x18, %rsp
retq
nopw (%rax,%rax)
| /qt[P]qtbase/src/corelib/io/qloggingcategory.h |
QMetaObject::Connection QObject::connect<void (QEvdevTouchScreenHandlerThread::*)(), void (QEvdevTouchManager::*)()>(QtPrivate::FunctionPointer<void (QEvdevTouchScreenHandlerThread::*)()>::Object const*, void (QEvdevTouchScreenHandlerThread::*)(), QtPrivate::ContextTypeForFunctor<void (QEvdevTouchManager::*)(), void>::... | static inline QMetaObject::Connection
connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal,
const typename QtPrivate::ContextTypeForFunctor<Func2>::ContextType *context, Func2 &&slot,
Qt::ConnectionType type = Qt::AutoConnection)
{
ty... | endbr64
subq $0x98, %rsp
movq %rdi, 0x30(%rsp)
movq %rdi, %rax
movq %rax, 0x38(%rsp)
movl 0xa0(%rsp), %eax
movq %fs:0x28, %rax
movq %rax, 0x90(%rsp)
movq %rdi, 0x78(%rsp)
movq %rdx, 0x68(%rsp)
movq %rcx, 0x70(%rsp)
movq 0x68(%rsp), %rax
movq 0x70(%rsp), %rcx
movq %rsi, 0x60(%rsp)
movq %rcx, 0x88(%rsp)
movq %rax, 0x80(%... | /qt[P]qtbase/src/corelib/kernel/qobject.h |
void QtPrivate::assertObjectType<QEvdevTouchManager>(QObject*) | inline void assertObjectType(QObject *o)
{
// ensure all three compile
[[maybe_unused]] auto staticcast = [](QObject *obj) { return static_cast<Obj *>(obj); };
[[maybe_unused]] auto qobjcast = [](QObject *obj) { return Obj::staticMetaObject.cast(obj); };
#ifdef __cpp_rtti
[[maybe_unu... | endbr64
subq $0x18, %rsp
movq %fs:0x28, %rax
movq %rax, 0x10(%rsp)
movq %rdi, (%rsp)
movb $-0x56, 0xf(%rsp)
movb $-0x56, 0xe(%rsp)
movb $-0x56, 0xd(%rsp)
movb $-0x56, 0xc(%rsp)
movq %fs:0x28, %rax
movq 0x10(%rsp), %rcx
cmpq %rcx, %rax
jne 0x3d016
addq $0x18, %rsp
retq
callq 0x12d70
nopl (%rax,%rax)
| /qt[P]qtbase/src/corelib/kernel/qobjectdefs_impl.h |
void QtPrivate::FunctorCallBase::call_internal<void, QtPrivate::FunctorCall<std::integer_sequence<unsigned long>, QtPrivate::List<>, void, void (QEvdevTouchManager::*)()>::call(void (QEvdevTouchManager::*)(), QEvdevTouchManager*, void**)::'lambda'()>(void**, QtPrivate::FunctorCall<std::integer_sequence<unsigned long>, ... | static void call_internal([[maybe_unused]] void **args, Lambda &&fn)
noexcept(std::is_nothrow_invocable_v<Lambda>)
{
if constexpr (std::is_void_v<R> || std::is_void_v<std::invoke_result_t<Lambda>>) {
std::forward<Lambda>(fn)();
} else {
if (arg... | endbr64
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
movq 0x8(%rsp), %rdi
callq 0x3d680
addq $0x18, %rsp
retq
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)
| /qt[P]qtbase/src/corelib/kernel/qobjectdefs_impl.h |
QString& operator+=<QStringView const&, char16_t>(QString&, QStringBuilder<QStringView const&, char16_t> const&) | QString &operator+=(QString &a, const QStringBuilder<A, B> &b)
{
qsizetype len = a.size() + QConcatenable< QStringBuilder<A, B> >::size(b);
a.detach(); // a detach() in a.data() could reset a.capacity() to a.size()
if (len > a.data_ptr().freeSpaceAtEnd()) // capacity() was broken when prepend()-optimization... | endbr64
subq $0x68, %rsp
movq %fs:0x28, %rax
movq %rax, 0x60(%rsp)
movq %rdi, 0x40(%rsp)
movq %rsi, 0x38(%rsp)
movq 0x40(%rsp), %rdi
callq 0x1b900
movq %rax, 0x28(%rsp)
movq 0x38(%rsp), %rdi
callq 0x41360
movq %rax, %rcx
movq 0x28(%rsp), %rax
addq %rcx, %rax
movq %rax, 0x58(%rsp)
movq 0x40(%rsp), %rdi
callq 0x413e0
mov... | /qt[P]qtbase/src/corelib/text/qstringbuilder.h |
QArrayDataPointer<QString>::detachAndGrow(QArrayData::GrowthPosition, long long, QString const**, QArrayDataPointer<QString>*) | void detachAndGrow(QArrayData::GrowthPosition where, qsizetype n, const T **data,
QArrayDataPointer *old)
{
const bool detach = needsDetach();
bool readjusted = false;
if (!detach) {
if (!n || (where == QArrayData::GrowsAtBeginning && freeSpaceAtBegin() >= ... | endbr64
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movl %esi, 0x2c(%rsp)
movq %rdx, 0x20(%rsp)
movq %rcx, 0x18(%rsp)
movq %r8, 0x10(%rsp)
movq 0x30(%rsp), %rdi
movq %rdi, (%rsp)
callq 0x40030
andb $0x1, %al
movb %al, 0xf(%rsp)
movb $0x0, 0xe(%rsp)
testb $0x1, 0xf(%rsp)
jne 0x401e5
cmpq $0x0, 0x20(%rsp)
je 0x401c6
cmpl $0x1... | /qt[P]qtbase/src/corelib/tools/qarraydatapointer.h |
QtPrivate::QMovableArrayOps<QString>::Inserter::~Inserter() | ~Inserter() {
auto inserts = nInserts;
if constexpr (!std::is_nothrow_copy_constructible_v<T>) {
if (displaceFrom != displaceTo) {
::memmove(static_cast<void *>(displaceFrom), static_cast<void *>(displaceTo), bytes);
inserts -= qAbs(displac... | endbr64
movq %rdi, -0x8(%rsp)
movq -0x8(%rsp), %rax
movq 0x18(%rax), %rcx
movq %rcx, -0x10(%rsp)
movq -0x10(%rsp), %rcx
movq (%rax), %rax
addq 0x10(%rax), %rcx
movq %rcx, 0x10(%rax)
retq
nopl (%rax,%rax)
| /qt[P]qtbase/src/corelib/tools/qarraydataops.h |
QtPrivate::QGenericArrayOps<QString>::copyAppend(QString const*, QString const*) | void copyAppend(const T *b, const T *e)
{
Q_ASSERT(this->isMutable() || b == e);
Q_ASSERT(!this->isShared() || b == e);
Q_ASSERT(b <= e);
Q_ASSERT((e - b) <= this->freeSpaceAtEnd());
if (b == e) // short-cut and handling the case b and e == nullptr
return;
... | endbr64
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq %rdx, 0x10(%rsp)
movq 0x20(%rsp), %rax
movq %rax, (%rsp)
movq 0x18(%rsp), %rax
cmpq 0x10(%rsp), %rax
jne 0x40dce
jmp 0x40e23
movq (%rsp), %rdi
callq 0x1b6d0
movq %rax, 0x8(%rsp)
movq 0x18(%rsp), %rax
cmpq 0x10(%rsp), %rax
jae 0x40e23
movq (%rsp),... | /qt[P]qtbase/src/corelib/tools/qarraydataops.h |
QEvdevKeyboardHandler::loadKeymap(QString const&) | bool QEvdevKeyboardHandler::loadKeymap(const QString &file)
{
qCDebug(qLcEvdevKey, "Loading keymap %ls", qUtf16Printable(file));
QFile f(file);
if (!f.open(QIODevice::ReadOnly)) {
qWarning("Could not open keymap file '%ls'", qUtf16Printable(file));
return false;
}
// .qmap files h... | endbr64
subq $0x148, %rsp # imm = 0x148
movq %fs:0x28, %rax
movq %rax, 0x140(%rsp)
movq %rdi, 0x58(%rsp)
movq %rsi, 0x50(%rsp)
movq 0x58(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x3f441(%rip), %rax # 0x81218
movq %rax, 0x130(%rsp)
movq 0x3f43a(%rip), %rax # 0x81220
movq %rax, 0x138(%rsp)
callq 0x419c0
... | /qt[P]qtbase/src/platformsupport/input/evdevkeyboard/qevdevkeyboardhandler.cpp |
QEvdevKeyboardHandler::readKeycode() | void QEvdevKeyboardHandler::readKeycode()
{
struct ::input_event buffer[32];
int n = 0;
forever {
int result = qt_safe_read(m_fd.get(), reinterpret_cast<char *>(buffer) + n, sizeof(buffer) - n);
if (result == 0) {
qWarning("evdevkeyboard: Got EOF from the input device");
... | endbr64
subq $0x368, %rsp # imm = 0x368
movq %fs:0x28, %rax
movq %rax, 0x360(%rsp)
movq %rdi, 0x38(%rsp)
movq 0x38(%rsp), %rax
movq %rax, 0x18(%rsp)
leaq 0x60(%rsp), %rdi
movl $0xaa, %esi
movl $0x300, %edx # imm = 0x300
callq 0x12db0
movl $0x0, 0x34(%rsp)
movq 0x18(%rsp), %rdi
addq $0x28, %rdi
cal... | /qt[P]qtbase/src/platformsupport/input/evdevkeyboard/qevdevkeyboardhandler.cpp |
qt_safe_open(char const*, int, unsigned int) | static inline int qt_safe_open(const char *pathname, int flags, mode_t mode = 0777)
{
#ifdef O_CLOEXEC
flags |= O_CLOEXEC;
#endif
int fd;
QT_EINTR_LOOP(fd, QT_OPEN(pathname, flags, mode));
#ifndef O_CLOEXEC
if (fd != -1)
::fcntl(fd, F_SETFD, FD_CLOEXEC);
#endif
return fd;
} | subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movl %esi, 0xc(%rsp)
movl %edx, 0x8(%rsp)
movl 0xc(%rsp), %eax
orl $0x80000, %eax # imm = 0x80000
movl %eax, 0xc(%rsp)
movl $0xaaaaaaaa, 0x4(%rsp) # imm = 0xAAAAAAAA
movq 0x10(%rsp), %rdi
movl 0xc(%rsp), %esi
movl 0x8(%rsp), %edx
movb $0x0, %al
callq 0x14030
movl %eax, 0... | /qt[P]qtbase/src/corelib/kernel/qcore_unix_p.h |
void QtPrivate::assertObjectType<QEvdevKeyboardHandler>(QObject*) | inline void assertObjectType(QObject *o)
{
// ensure all three compile
[[maybe_unused]] auto staticcast = [](QObject *obj) { return static_cast<Obj *>(obj); };
[[maybe_unused]] auto qobjcast = [](QObject *obj) { return Obj::staticMetaObject.cast(obj); };
#ifdef __cpp_rtti
[[maybe_unu... | endbr64
subq $0x18, %rsp
movq %fs:0x28, %rax
movq %rax, 0x10(%rsp)
movq %rdi, (%rsp)
movb $-0x56, 0xf(%rsp)
movb $-0x56, 0xe(%rsp)
movb $-0x56, 0xd(%rsp)
movb $-0x56, 0xc(%rsp)
movq %fs:0x28, %rax
movq 0x10(%rsp), %rcx
cmpq %rcx, %rax
jne 0x455e6
addq $0x18, %rsp
retq
callq 0x12d70
nopl (%rax,%rax)
| /qt[P]qtbase/src/corelib/kernel/qobjectdefs_impl.h |
QEvdevMouseHandler::readMouseData() | void QEvdevMouseHandler::readMouseData()
{
struct ::input_event buffer[32];
int n = 0;
bool posChanged = false, btnChanged = false;
bool pendingMouseEvent = false;
forever {
int result = QT_READ(m_fd, reinterpret_cast<char *>(buffer) + n, sizeof(buffer) - n);
if (result == 0) {
... | endbr64
subq $0x398, %rsp # imm = 0x398
movq %fs:0x28, %rax
movq %rax, 0x390(%rsp)
movq %rdi, 0x40(%rsp)
movq 0x40(%rsp), %rax
movq %rax, 0x18(%rsp)
leaq 0x90(%rsp), %rdi
movl $0xaa, %esi
movl $0x300, %edx # imm = 0x300
callq 0x12db0
movl $0x0, 0x3c(%rsp)
movb $0x0, 0x3b(%rsp)
movb $0x0, 0x3a(%rsp... | /qt[P]qtbase/src/platformsupport/input/evdevmouse/qevdevmousehandler.cpp |
bool QtMocHelpers::indexOfMethod<void (QEvdevMouseHandler::*)(int, int, bool, QFlags<Qt::MouseButton>, Qt::MouseButton, QEvent::Type)>(void**, void (QEvdevMouseHandler::*)(int, int, bool, QFlags<Qt::MouseButton>, Qt::MouseButton, QEvent::Type), int) | inline bool indexOfMethod(void **_a, FuncType f, int index) noexcept
{
int *result = static_cast<int *>(_a[0]);
auto candidate = reinterpret_cast<FuncType *>(_a[1]);
if (*candidate != f)
return false;
*result = index;
return true;
} | endbr64
movq %rsi, -0x18(%rsp)
movq %rdx, -0x10(%rsp)
movq -0x18(%rsp), %rax
movq -0x10(%rsp), %rdx
movq %rdi, -0x20(%rsp)
movq %rdx, -0x28(%rsp)
movq %rax, -0x30(%rsp)
movl %ecx, -0x34(%rsp)
movq -0x20(%rsp), %rax
movq (%rax), %rax
movq %rax, -0x40(%rsp)
movq -0x20(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x48(%rs... | /qt[P]qtbase/src/corelib/kernel/qtmochelpers.h |
QEvdevTouchScreenHandler::unregisterPointingDevice() | void QEvdevTouchScreenHandler::unregisterPointingDevice()
{
if (!m_device)
return;
if (QGuiApplication::instance()) {
m_device->moveToThread(QGuiApplication::instance()->thread());
m_device->deleteLater();
} else {
delete m_device;
}
m_device = nullptr;
} | endbr64
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x10(%rsp)
cmpq $0x0, 0x28(%rax)
jne 0x4b670
jmp 0x4b6df
callq 0x44cf0
cmpq $0x0, %rax
je 0x4b6b3
movq 0x10(%rsp), %rax
movq 0x28(%rax), %rax
movq %rax, 0x8(%rsp)
callq 0x44cf0
movq %rax, %rdi
callq 0x133f0
movq 0x8(%rsp), %rdi
movq %rax, %... | /qt[P]qtbase/src/platformsupport/input/evdevtouch/qevdevtouchhandler.cpp |
QEvdevTouchScreenData::screenGeometry() const | QRect QEvdevTouchScreenData::screenGeometry() const
{
if (m_forceToActiveWindow) {
QWindow *win = QGuiApplication::focusWindow();
return win ? QHighDpi::toNativeWindowGeometry(win->geometry(), win) : QRect();
}
// Now it becomes tricky. Traditionally we picked the primaryScreen()
// and... | endbr64
subq $0xc8, %rsp
movq %fs:0x28, %rax
movq %rax, 0xc0(%rsp)
movq %rdi, 0x40(%rsp)
movq 0x40(%rsp), %rax
movq %rax, 0x18(%rsp)
testb $0x1, 0xc8(%rax)
je 0x4c756
callq 0x13030
movq %rax, 0x38(%rsp)
cmpq $0x0, 0x38(%rsp)
je 0x4c744
movq 0x38(%rsp), %rdi
callq 0x13110
movq %rax, 0xa0(%rsp)
movq %rdx, 0xa8(%rsp)
movq... | /qt[P]qtbase/src/platformsupport/input/evdevtouch/qevdevtouchhandler.cpp |
QEvdevTouchScreenData::reportPoints() | void QEvdevTouchScreenData::reportPoints()
{
QRect winRect = screenGeometry();
if (winRect.isNull())
return;
const int hw_w = hw_range_x_max - hw_range_x_min;
const int hw_h = hw_range_y_max - hw_range_y_min;
// Map the coordinates based on the normalized position. QPA expects 'area'
/... | endbr64
subq $0x148, %rsp # imm = 0x148
movq %fs:0x28, %rax
movq %rax, 0x140(%rsp)
movq %rdi, 0x88(%rsp)
movq 0x88(%rsp), %rdi
movq %rdi, 0x50(%rsp)
movq 0x341a8(%rip), %rax # 0x81380
movq %rax, 0x120(%rsp)
movq 0x341a1(%rip), %rax # 0x81388
movq %rax, 0x128(%rsp)
callq 0x4c6c0
movq %rax, 0x120(%rsp)... | /qt[P]qtbase/src/platformsupport/input/evdevtouch/qevdevtouchhandler.cpp |
QEvdevTouchScreenData::findClosestContact(QHash<int, QEvdevTouchScreenData::Contact> const&, int, int, int*) | int QEvdevTouchScreenData::findClosestContact(const QHash<int, Contact> &contacts, int x, int y, int *dist)
{
int minDist = -1, id = -1;
for (QHash<int, Contact>::const_iterator it = contacts.constBegin(), ite = contacts.constEnd();
it != ite; ++it) {
const Contact &contact(it.value());
... | endbr64
subq $0x68, %rsp
movq %fs:0x28, %rax
movq %rax, 0x60(%rsp)
movq %rdi, 0x38(%rsp)
movq %rsi, 0x30(%rsp)
movl %edx, 0x2c(%rsp)
movl %ecx, 0x28(%rsp)
movq %r8, 0x20(%rsp)
movl $0xffffffff, 0x1c(%rsp) # imm = 0xFFFFFFFF
movl $0xffffffff, 0x18(%rsp) # imm = 0xFFFFFFFF
movq 0x33c5c(%rip), %rax # 0x81380
movq %rax... | /qt[P]qtbase/src/platformsupport/input/evdevtouch/qevdevtouchhandler.cpp |
PyInit_member | PYBIND11_PLUGIN(member)
{
py::module m("lambdamember","pybind11 member class with lambda function example");
py::class_<SomeClass>( m, "SomeClass")
.def(py::init<std::string>())
.def_readwrite("name", & SomeClass::name)
.def_property("number", &SomeClass::getNumber, &SomeClass::setNumbe... | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
callq 0x44ca0
movq %rax, %rdi
leaq 0x2544d(%rip), %rsi # 0x6e014
leaq -0xc(%rbp), %rdx
leaq -0x10(%rbp), %rcx
movb $0x0, %al
callq 0x45300
cmpl $0x2, %eax
je 0x48bfe
movq 0x3a3ee(%rip), %rax # 0x82fd0
movq (%rax), %rdi
leaq 0x2542e(%rip), %rsi # 0x6e01a
callq 0x45... | /shibasisp[P]pybind11-examples/05-ClassMemberswithLambdaFunction/lambdamember.cpp |
pybind11_init() | PYBIND11_PLUGIN(member)
{
py::module m("lambdamember","pybind11 member class with lambda function example");
py::class_<SomeClass>( m, "SomeClass")
.def(py::init<std::string>())
.def_readwrite("name", & SomeClass::name)
.def_property("number", &SomeClass::getNumber, &SomeClass::setNumbe... | pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
leaq 0x25334(%rip), %rsi # 0x6e0a6
leaq 0x2533a(%rip), %rdx # 0x6e0b3
leaq -0x8(%rbp), %rdi
callq 0x48000
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rsi
leaq 0x25351(%rip), %rdx # 0x6e0e6
leaq -0x10(%rbp), %rdi
callq 0x42910
jmp 0x48da0
callq ... | /shibasisp[P]pybind11-examples/05-ClassMemberswithLambdaFunction/lambdamember.cpp |
pybind11::class_<SomeClass>& pybind11::class_<SomeClass>::def<pybind11_init()::$_0>(char const*, pybind11_init()::$_0&&) | class_ &def(const char *name_, Func&& f, const Extra&... extra) {
cpp_function cf(std::forward<Func>(f), name(name_), is_method(*this),
sibling(getattr(*this, name_, none())), extra...);
attr(cf.name()) = cf;
return *this;
} | pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0xb0(%rbp)
movq -0x10(%rbp), %rsi
leaq -0x28(%rbp), %rdi
callq 0x43c60
movq -0xa8(%rbp), %rsi
leaq -0x30(%rbp), %rdi
callq 0x47b... | /shibasisp[P]pybind11-examples/pybind11/include/pybind11/pybind11.h |
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> pybind11::type_id<char const*&>() | static std::string type_id() {
std::string name(typeid(T).name());
detail::clean_type_id(name);
return name;
} | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x38(%rbp)
movq %rdi, %rax
movq %rax, -0x40(%rbp)
movq %rdi, -0x8(%rbp)
movb $0x0, -0x9(%rbp)
movq 0x39c8e(%rip), %rdi # 0x82e10
callq 0x44d00
movq %rax, -0x30(%rbp)
leaq -0xa(%rbp), %rdi
movq %rdi, -0x28(%rbp)
callq 0x47f00
movq -0x38(%rbp), %rdi
movq -0x30(%... | /shibasisp[P]pybind11-examples/pybind11/include/pybind11/typeid.h |
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> pybind11::type_id<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>() | static std::string type_id() {
std::string name(typeid(T).name());
detail::clean_type_id(name);
return name;
} | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x38(%rbp)
movq %rdi, %rax
movq %rax, -0x40(%rbp)
movq %rdi, -0x8(%rbp)
movb $0x0, -0x9(%rbp)
movq 0x39ba6(%rip), %rdi # 0x82e28
callq 0x44d00
movq %rax, -0x30(%rbp)
leaq -0xa(%rbp), %rdi
movq %rdi, -0x28(%rbp)
callq 0x47f00
movq -0x38(%rbp), %rdi
movq -0x30(%... | /shibasisp[P]pybind11-examples/pybind11/include/pybind11/typeid.h |
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> pybind11::type_id<bool>() | static std::string type_id() {
std::string name(typeid(T).name());
detail::clean_type_id(name);
return name;
} | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x38(%rbp)
movq %rdi, %rax
movq %rax, -0x40(%rbp)
movq %rdi, -0x8(%rbp)
movb $0x0, -0x9(%rbp)
movq 0x39b66(%rip), %rdi # 0x82ec8
callq 0x44d00
movq %rax, -0x30(%rbp)
leaq -0xa(%rbp), %rdi
movq %rdi, -0x28(%rbp)
callq 0x47f00
movq -0x38(%rbp), %rdi
movq -0x30(%... | /shibasisp[P]pybind11-examples/pybind11/include/pybind11/typeid.h |
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> pybind11::type_id<pybind11::handle&>() | static std::string type_id() {
std::string name(typeid(T).name());
detail::clean_type_id(name);
return name;
} | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x38(%rbp)
movq %rdi, %rax
movq %rax, -0x40(%rbp)
movq %rdi, -0x8(%rbp)
movb $0x0, -0x9(%rbp)
movq 0x399f6(%rip), %rdi # 0x82f58
callq 0x44d00
movq %rax, -0x30(%rbp)
leaq -0xa(%rbp), %rdi
movq %rdi, -0x28(%rbp)
callq 0x47f00
movq -0x38(%rbp), %rdi
movq -0x30(%... | /shibasisp[P]pybind11-examples/pybind11/include/pybind11/typeid.h |
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> pybind11::type_id<pybind11::str>() | static std::string type_id() {
std::string name(typeid(T).name());
detail::clean_type_id(name);
return name;
} | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x38(%rbp)
movq %rdi, %rax
movq %rax, -0x40(%rbp)
movq %rdi, -0x8(%rbp)
movb $0x0, -0x9(%rbp)
movq 0x39656(%rip), %rdi # 0x82df8
callq 0x44d00
movq %rax, -0x30(%rbp)
leaq -0xa(%rbp), %rdi
movq %rdi, -0x28(%rbp)
callq 0x47f00
movq -0x38(%rbp), %rdi
movq -0x30(%... | /shibasisp[P]pybind11-examples/pybind11/include/pybind11/typeid.h |
void pybind11::cpp_function::initialize<pybind11_init()::$_0, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, SomeClass const&, pybind11::name, pybind11::is_method, pybind11::sibling>(pybind11_init()::$_0&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> (... | void initialize(Func &&f, Return (*)(Args...), const Extra&... extra) {
struct capture { detail::remove_reference_t<Func> f; };
/* Store the function including any extra state it might have (e.g. a lambda capture object) */
auto rec = make_function_record();
/* Store the capture objec... | pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x80(%rbp)
callq 0x45d80
movq %rax, -0x38(%rbp)
leaq -0x39(%rbp), %rdi
callq 0x49980
movq %rax, %rcx
movq -... | /shibasisp[P]pybind11-examples/pybind11/include/pybind11/pybind11.h |
pybind11::module::module(char const*, char const*) | explicit module(const char *name, const char *doc = nullptr) {
if (!options::show_user_defined_docstrings()) doc = nullptr;
#if PY_MAJOR_VERSION >= 3
PyModuleDef *def = new PyModuleDef();
std::memset(def, 0, sizeof(PyModuleDef));
def->m_name = name;
def->m_doc = doc;
def-... | pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x40(%rbp)
callq 0x46930
callq 0x433f0
movb %al, -0x31(%rbp)
jmp 0x49d0b
movb -0x31(%rbp), %al
testb $0x1, %al
jne 0x49d38
jmp 0x49d14
movq $0x0, -0x18(%rbp)
jmp 0x49d38
movq... | /shibasisp[P]pybind11-examples/pybind11/include/pybind11/pybind11.h |
pybind11::class_<SomeClass>::class_<>(pybind11::handle, char const*) | class_(handle scope, const char *name, const Extra &... extra) {
using namespace detail;
// MI can only be specified via class_ template options, not constructor parameters
static_assert(
none_of<is_pyobject<Extra>...>::value || // no base class arguments, or:
( conste... | pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq %rsi, -0x8(%rbp)
movq %rdi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x90(%rbp)
callq 0x467b0
leaq -0x78(%rbp), %rdi
callq 0x47550
jmp 0x49e52
movq -0x8(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x70(%rbp)
movq 0x3... | /shibasisp[P]pybind11-examples/pybind11/include/pybind11/pybind11.h |
pybind11::detail::generic_type::generic_type() | void initialize(const type_record &rec) {
if (rec.scope && hasattr(rec.scope, rec.name))
pybind11_fail("generic_type: cannot initialize type \"" + std::string(rec.name) +
"\": an object with that name is already defined");
if (get_type_info(*rec.type))
... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x10(%rbp)
xorl %esi, %esi
movl $0x8, %edx
callq 0x439b0
movq -0x10(%rbp), %rdi
callq 0x46930
addq $0x10, %rsp
popq %rbp
retq
nop
| /shibasisp[P]pybind11-examples/pybind11/include/pybind11/pybind11.h |
pybind11::detail::generic_type::initialize(pybind11::detail::type_record const&) | void initialize(const type_record &rec) {
if (rec.scope && hasattr(rec.scope, rec.name))
pybind11_fail("generic_type: cannot initialize type \"" + std::string(rec.name) +
"\": an object with that name is already defined");
if (get_type_info(*rec.type))
... | pushq %rbp
movq %rsp, %rbp
subq $0x1d0, %rsp # imm = 0x1D0
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x160(%rbp)
movq -0x10(%rbp), %rdi
callq 0x43af0
testb $0x1, %al
jne 0x4a540
jmp 0x4a64b
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), ... | /shibasisp[P]pybind11-examples/pybind11/include/pybind11/pybind11.h |
pybind11::detail::instance::get_value_and_holder(pybind11::detail::type_info const*) | PYBIND11_NOINLINE inline value_and_holder instance::get_value_and_holder(const type_info *find_type /*= nullptr default in common.h*/) {
// Optimize common case:
if (!find_type || Py_TYPE(this) == find_type->type)
return value_and_holder(this, find_type, 0, 0);
detail::values_and_holders vhs(this);... | pushq %rbp
movq %rsp, %rbp
subq $0x1a0, %rsp # imm = 0x1A0
movq %rdi, -0x178(%rbp)
movq %rdi, -0x170(%rbp)
movq %rsi, -0x8(%rbp)
movq %rdx, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x168(%rbp)
cmpq $0x0, -0x10(%rbp)
je 0x4ac27
movq -0x168(%rbp), %rax
movq 0x8(%rax), %rax
movq -0x10(%rbp), %rcx
cmpq (%rc... | /shibasisp[P]pybind11-examples/pybind11/include/pybind11/cast.h |
pybind11::detail::get_type_info(std::type_info const&, bool) | PYBIND11_NOINLINE inline detail::type_info *get_type_info(const std::type_info &tp,
bool throw_if_missing = false) {
auto &types = get_internals().registered_types_cpp;
auto it = types.find(std::type_index(tp));
if (it != types.end())
return... | pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movb %sil, %al
movq %rdi, -0x10(%rbp)
andb $0x1, %al
movb %al, -0x11(%rbp)
callq 0x435a0
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0xb8(%rbp)
movq -0x10(%rbp), %rsi
leaq -0x30(%rbp), %rdi
callq 0x48770
movq -0xb8(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x427f... | /shibasisp[P]pybind11-examples/pybind11/include/pybind11/cast.h |
pybind11::class_<SomeClass>::init_holder_helper(pybind11::detail::instance*, pybind11::detail::value_and_holder&, std::unique_ptr<SomeClass, std::default_delete<SomeClass>> const*, void const*) | static void init_holder_helper(detail::instance *inst, detail::value_and_holder &v_h,
const holder_type *holder_ptr, const void * /* dummy -- not enable_shared_from_this<T>) */) {
if (holder_ptr) {
init_holder_from_existing(v_h, holder_ptr, std::is_copy_constructible<holder_type>());
... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0x4b0b7
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x44090
movq -0x10(%rbp), %rdi
callq 0x468d0
jmp 0x4b0f1
movq -0x8(%rbp), %rax
movb 0x30(%rax), %al... | /shibasisp[P]pybind11-examples/pybind11/include/pybind11/pybind11.h |
pybind11::detail::values_and_holders::find(pybind11::detail::type_info const*) | iterator find(const type_info *find_type) {
auto it = begin(), endit = end();
while (it != endit && it->type != find_type) ++it;
return it;
} | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x58(%rbp)
movq %rdi, %rax
movq %rax, -0x50(%rbp)
movq %rsi, -0x8(%rbp)
movq %rdx, -0x10(%rbp)
movq -0x8(%rbp), %rsi
movq %rsi, -0x48(%rbp)
callq 0x44360
movq -0x48(%rbp), %rsi
leaq -0x40(%rbp), %rdi
callq 0x437b0
movq -0x58(%rbp), %rdi
leaq -0x40(%rbp), %rsi
call... | /shibasisp[P]pybind11-examples/pybind11/include/pybind11/cast.h |
pybind11::detail::all_type_info_get_cache(_typeobject*) | inline std::pair<decltype(internals::registered_types_py)::iterator, bool> all_type_info_get_cache(PyTypeObject *type) {
auto res = get_internals().registered_types_py
#ifdef z__cpp_lib_unordered_map_try_emplace
.try_emplace(type);
#else
.emplace(type, std::vector<detail::type_info *>());
#endif
... | pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0x18(%rbp)
callq 0x435a0
addq $0x38, %rax
movq %rax, -0xa0(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -0x30(%rbp)
movq $0x0, -0x20(%rbp)
leaq -0x30(%rbp), %rdi
movq %rdi, -0x98(%rbp)
callq 0x46480
movq -0xa0(%rbp), %rdi
movq -0x98(%rbp), %rdx
leaq -0x18(%rbp), %rsi
ca... | /shibasisp[P]pybind11-examples/pybind11/include/pybind11/pybind11.h |
pybind11::detail::type_caster<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, void>::cast(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, pybind11::return_value_policy, pybind11::handle) | static handle cast(const StringType &src, return_value_policy /* policy */, handle /* parent */) {
const char *buffer = reinterpret_cast<const char *>(src.c_str());
ssize_t nbytes = ssize_t(src.size() * sizeof(CharT));
handle s = decode_utfN(buffer, nbytes);
if (!s) throw error_already_s... | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movb %sil, %al
movq %rdx, -0x10(%rbp)
movq %rdi, -0x18(%rbp)
movb %al, -0x19(%rbp)
movq -0x18(%rbp), %rdi
callq 0x43270
movq %rax, -0x28(%rbp)
movq -0x18(%rbp), %rdi
callq 0x44220
shlq $0x0, %rax
movq %rax, -0x30(%rbp)
movq -0x28(%rbp), %rdi
movq -0x30(%rbp), %rsi
callq 0x435... | /shibasisp[P]pybind11-examples/pybind11/include/pybind11/cast.h |
pybind11::detail::type_caster<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, void>::decode_utfN(char const*, long) | static handle decode_utfN(const char *buffer, ssize_t nbytes) {
#if !defined(PYPY_VERSION)
return
UTF_N == 8 ? PyUnicode_DecodeUTF8(buffer, nbytes, nullptr) :
UTF_N == 16 ? PyUnicode_DecodeUTF16(buffer, nbytes, nullptr, nullptr) :
PyUnicode_DecodeUTF32(buffer, ... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
xorl %eax, %eax
movl %eax, %edx
callq 0x44570
movq %rax, %rsi
leaq -0x8(%rbp), %rdi
callq 0x45b90
movq -0x8(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
nopw (%rax,%rax)
| /shibasisp[P]pybind11-examples/pybind11/include/pybind11/cast.h |
pybind11::detail::error_string[abi:cxx11]() | PYBIND11_NOINLINE inline std::string error_string() {
if (!PyErr_Occurred()) {
PyErr_SetString(PyExc_RuntimeError, "Unknown internal error occurred");
return "Unknown internal error occurred";
}
error_scope scope; // Preserve error state
std::string errorString;
if (scope.type) {
... | pushq %rbp
movq %rsp, %rbp
subq $0x230, %rsp # imm = 0x230
movq %rdi, -0x210(%rbp)
movq %rdi, %rax
movq %rax, -0x208(%rbp)
movq %rdi, -0x8(%rbp)
callq 0x476f0
cmpq $0x0, %rax
jne 0x4dd7c
movq 0x351fe(%rip), %rax # 0x82f10
movq (%rax), %rdi
leaq 0x20601(%rip), %rsi # 0x6e31d
movq %rsi, -0x220(%rbp)
ca... | /shibasisp[P]pybind11-examples/pybind11/include/pybind11/cast.h |
ZNK8pybind113strcvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEv | operator std::string() const {
object temp = *this;
if (PyUnicode_Check(m_ptr)) {
temp = reinterpret_steal<object>(PyUnicode_AsUTF8String(m_ptr));
if (!temp)
pybind11_fail("Unable to extract string contents! (encoding issue)");
}
char *buffer;
... | pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0x68(%rbp)
movq %rdi, %rax
movq %rax, -0x60(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rsi
movq %rsi, -0x58(%rbp)
leaq -0x18(%rbp), %rdi
callq 0x47ce0
movq -0x58(%rbp), %rax
movq (%rax), %rax
movq 0x8(%rax), %rdi
movl $0x10000000, %esi ... | /shibasisp[P]pybind11-examples/pybind11/include/pybind11/pytypes.h |
pybind11::object::operator=(pybind11::object&&) | object& operator=(object &&other) noexcept {
if (this != &other) {
handle temp(m_ptr);
m_ptr = other.m_ptr;
other.m_ptr = nullptr;
temp.dec_ref();
}
return *this;
} | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
cmpq -0x10(%rbp), %rax
je 0x4e856
movq -0x20(%rbp), %rax
movq (%rax), %rsi
leaq -0x18(%rbp), %rdi
callq 0x45b90
jmp 0x4e830
movq -0x20(%rbp), %rax
movq -0x10(%rbp), %rcx
movq (%rcx), %rc... | /shibasisp[P]pybind11-examples/pybind11/include/pybind11/pytypes.h |
pybind11::detail::type_caster<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, void>& pybind11::detail::load_type<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, void>(pybind11::detail::type_caster<std::__cxx11::basic_string<char, std::char_traits<char>, st... | type_caster<T, SFINAE> &load_type(type_caster<T, SFINAE> &conv, const handle &handle) {
if (!conv.load(handle, true)) {
#if defined(NDEBUG)
throw cast_error("Unable to cast Python instance to C++ type (compile in debug mode for details)");
#else
throw cast_error("Unable to cast Python instance of ty... | pushq %rbp
movq %rsp, %rbp
subq $0x110, %rsp # imm = 0x110
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rsi
movl $0x1, %edx
callq 0x47b90
testb $0x1, %al
jne 0x4ecec
movb $0x1, -0xf9(%rbp)
movl $0x10, %ed... | /shibasisp[P]pybind11-examples/pybind11/include/pybind11/cast.h |
pybind11::detail::type_caster<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, void>::load(pybind11::handle, bool) | bool load(handle src, bool) {
#if PY_MAJOR_VERSION < 3
object temp;
#endif
handle load_src = src;
if (!src) {
return false;
} else if (!PyUnicode_Check(load_src.ptr())) {
#if PY_MAJOR_VERSION >= 3
return load_bytes(load_src);
#else
if (sizeof(CharT) ==... | pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
movb %dl, %al
movq %rsi, -0x10(%rbp)
movq %rdi, -0x18(%rbp)
andb $0x1, %al
movb %al, -0x19(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
leaq -0x10(%rbp), %rdi
callq 0x43af0
testb $0x1, %al
jne 0x4ed53
movb $0x0, -0x1(%rbp)
... | /shibasisp[P]pybind11-examples/pybind11/include/pybind11/cast.h |
pybind11::str::raw_str(_object*) | static PyObject *raw_str(PyObject *op) {
PyObject *str_value = PyObject_Str(op);
#if PY_MAJOR_VERSION < 3
if (!str_value) throw error_already_set();
PyObject *unicode = PyUnicode_FromEncodedObject(str_value, "utf-8", nullptr);
Py_XDECREF(str_value); str_value = unicode;
#endif
re... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x42cc0
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax)
| /shibasisp[P]pybind11-examples/pybind11/include/pybind11/pytypes.h |
pybind11::gil_scoped_acquire::gil_scoped_acquire() | PYBIND11_NOINLINE gil_scoped_acquire() {
auto const &internals = detail::get_internals();
tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate);
if (!tstate) {
tstate = PyThreadState_New(internals.istate);
#if !defined(NDEBUG)
if (!tstate)
... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
movq $0x0, (%rax)
movb $0x1, 0x8(%rax)
callq 0x435a0
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movl 0x170(%rax), %edi
callq 0x43d10
movq %rax, %rcx
movq -0x18(%rbp), %rax
movq %rcx, (%rax)
cmpq $0x0, (%rax... | /shibasisp[P]pybind11-examples/pybind11/include/pybind11/pybind11.h |
pybind11::gil_scoped_acquire::dec_ref() | PYBIND11_NOINLINE void dec_ref() {
--tstate->gilstate_counter;
#if !defined(NDEBUG)
if (detail::get_thread_state_unchecked() != tstate)
pybind11_fail("scoped_acquire::dec_ref(): thread state must be current!");
if (tstate->gilstate_counter < 0)
pyb... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq (%rax), %rax
movl 0xa0(%rax), %ecx
addl $-0x1, %ecx
movl %ecx, 0xa0(%rax)
callq 0x43100
movq -0x10(%rbp), %rcx
cmpq (%rcx), %rax
je 0x4fa00
leaq 0x1ea36(%rip), %rdi # 0x6e431
callq 0x47520
movq -0x10(... | /shibasisp[P]pybind11-examples/pybind11/include/pybind11/pybind11.h |
pybind11::detail::type_caster<bool, void>& pybind11::detail::load_type<bool, void>(pybind11::detail::type_caster<bool, void>&, pybind11::handle const&) | type_caster<T, SFINAE> &load_type(type_caster<T, SFINAE> &conv, const handle &handle) {
if (!conv.load(handle, true)) {
#if defined(NDEBUG)
throw cast_error("Unable to cast Python instance to C++ type (compile in debug mode for details)");
#else
throw cast_error("Unable to cast Python instance of ty... | pushq %rbp
movq %rsp, %rbp
subq $0x110, %rsp # imm = 0x110
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rsi
movl $0x1, %edx
callq 0x481a0
testb $0x1, %al
jne 0x5022c
movb $0x1, -0xf9(%rbp)
movl $0x10, %ed... | /shibasisp[P]pybind11-examples/pybind11/include/pybind11/cast.h |
pybind11::detail::accessor_policies::generic_item::get(pybind11::handle, pybind11::handle) | static object get(handle obj, handle key) {
PyObject *result = PyObject_GetItem(obj.ptr(), key.ptr());
if (!result) { throw error_already_set(); }
return reinterpret_steal<object>(result);
} | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x50(%rbp)
movq %rdi, %rax
movq %rax, -0x48(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
leaq -0x10(%rbp), %rdi
callq 0x43850
movq (%rax), %rax
movq %rax, -0x40(%rbp)
leaq -0x18(%rbp), %rdi
callq 0x43850
movq -0x40(%rbp), %rdi
movq (%r... | /shibasisp[P]pybind11-examples/pybind11/include/pybind11/pytypes.h |
pybind11_meta_setattro | inline int pybind11_meta_setattro(PyObject* obj, PyObject* name, PyObject* value) {
// Use `_PyType_Lookup()` instead of `PyObject_GetAttr()` in order to get the raw
// descriptor (`property`) instead of calling `tp_descr_get` (`property.__get__()`).
PyObject *descr = _PyType_Lookup((PyTypeObject *) obj, na... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x47bc0
movq %rax, -0x28(%rbp)
callq 0x435a0
movq 0x158(%rax), %rax
movq %rax, -0x30(%rbp)
xorl %eax, %eax
cmpq $0x0, -0x28(%rbp)
movb %al, -0x32(%rbp)
je ... | /shibasisp[P]pybind11-examples/pybind11/include/pybind11/class_support.h |
pybind11_object_init | inline int pybind11_object_init(PyObject *self, PyObject *, PyObject *) {
PyTypeObject *type = Py_TYPE(self);
std::string msg;
#if defined(PYPY_VERSION)
msg += handle((PyObject *) type).attr("__module__").cast<std::string>() + ".";
#endif
msg += type->tp_name;
msg += ": No constructor defined!";
... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x20(%rbp)
leaq -0x40(%rbp), %rdi
movq %rdi, -0x58(%rbp)
callq 0x46970
movq -0x58(%rbp), %rdi
movq -0x20(%rbp), %rax
movq 0x18(%rax), %rsi
callq 0x45170
... | /shibasisp[P]pybind11-examples/pybind11/include/pybind11/class_support.h |
pybind11::detail::instance::allocate_layout() | PYBIND11_NOINLINE inline void instance::allocate_layout() {
auto &tinfo = all_type_info(Py_TYPE(this));
const size_t n_types = tinfo.size();
if (n_types == 0)
pybind11_fail("instance allocation failed: new instance has no pybind11-registered base types");
simple_layout =
n_types == 1 ... | pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x50(%rbp)
movq 0x8(%rax), %rdi
callq 0x42d80
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rdi
callq 0x44010
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
jne 0x51d21
leaq 0x1cafc(%rip), %rdi # 0x6e818
callq 0x47520
xor... | /shibasisp[P]pybind11-examples/pybind11/include/pybind11/cast.h |
pybind11::detail::traverse_offset_bases(void*, pybind11::detail::type_info const*, pybind11::detail::instance*, bool (*)(void*, pybind11::detail::instance*)) | inline void traverse_offset_bases(void *valueptr, const detail::type_info *tinfo, instance *self,
bool (*f)(void * /*parentptr*/, instance * /*self*/)) {
for (handle h : reinterpret_borrow<tuple>(tinfo->type->tp_bases)) {
if (auto parent_tinfo = get_type_info((PyTypeObject *) h.ptr())) {
... | pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq 0x150(%rax), %rsi
leaq -0x38(%rbp), %rdi
callq 0x45b90
movq -0x38(%rbp), %rsi
leaq -0x30(%rbp), %rdi
movq %rdi, -0xa0(%rbp)
callq 0x46230
m... | /shibasisp[P]pybind11-examples/pybind11/include/pybind11/class_support.h |
pybind11::detail::clear_instance(_object*) | inline void clear_instance(PyObject *self) {
auto instance = reinterpret_cast<detail::instance *>(self);
// Deallocate any values/holders, if present:
for (auto &v_h : values_and_holders(instance)) {
if (v_h) {
if (instance->owned || v_h.holder_constructed())
v_h.type->d... | pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rsi
leaq -0x28(%rbp), %rdi
callq 0x42b10
leaq -0x28(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rsi
leaq -0x58(%rbp), %rdi
callq 0x44360
movq -0x18(%rbp), %rsi
leaq -0x88(%rbp), %r... | /shibasisp[P]pybind11-examples/pybind11/include/pybind11/class_support.h |
pybind11::tuple pybind11::make_tuple<(pybind11::return_value_policy)1>() | tuple make_tuple(Args&&... args_) {
constexpr size_t size = sizeof...(Args);
std::array<object, size> args {
{ reinterpret_steal<object>(detail::make_caster<Args>::cast(
std::forward<Args>(args_), policy, nullptr))... }
};
for (size_t i = 0; i < args.size(); i++) {
if (!args[... | pushq %rbp
movq %rsp, %rbp
subq $0xf0, %rsp
movq %rdi, -0xb8(%rbp)
movq %rdi, %rax
movq %rax, -0xb0(%rbp)
movq %rdi, -0x8(%rbp)
movq $0x0, -0x10(%rbp)
movb 0x14aab(%rip), %al # 0x6f4e9
movb %al, -0x11(%rbp)
movq $0x0, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0xc0(%rbp)
leaq -0x11(%rbp), %rdi
callq 0x480f0
mo... | /shibasisp[P]pybind11-examples/pybind11/include/pybind11/cast.h |
pybind11::detail::accessor_policies::tuple_item::get(pybind11::handle, unsigned long) | static object get(handle obj, size_t index) {
PyObject *result = PyTuple_GetItem(obj.ptr(), static_cast<ssize_t>(index));
if (!result) { throw error_already_set(); }
return reinterpret_borrow<object>(result);
} | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x48(%rbp)
movq %rdi, %rax
movq %rax, -0x40(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
leaq -0x10(%rbp), %rdi
callq 0x43850
movq (%rax), %rdi
movq -0x18(%rbp), %rsi
callq 0x48630
movq %rax, -0x20(%rbp)
cmpq $0x0, -0x20(%rbp)
jne 0x61... | /shibasisp[P]pybind11-examples/pybind11/include/pybind11/pytypes.h |
void pybind11::cpp_function::initialize<void pybind11::detail::init<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>::execute<pybind11::class_<SomeClass>, 0>(pybind11::class_<SomeClass>&)::'lambda'(SomeClass*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)... | void initialize(Func &&f, Return (*)(Args...), const Extra&... extra) {
struct capture { detail::remove_reference_t<Func> f; };
/* Store the function including any extra state it might have (e.g. a lambda capture object) */
auto rec = make_function_record();
/* Store the capture objec... | pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x88(%rbp)
callq 0x45d80
movq %rax, -0x38(%rbp)
leaq -0x39(%rbp), %rdi
callq 0x48620
movq %rax, %rcx
movq -... | /shibasisp[P]pybind11-examples/pybind11/include/pybind11/pybind11.h |
index::set_word_end(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t>> const&) | void index::set_word_end(const std::wstring& word)
{
auto range = index_.equal_range(word[level_ - 1]);
for (auto iter = range.first; iter != range.second; ++iter)
{
if (iter->second.value == word[level_])
{
iter->second.is_word_end = true;
iter->second.word = word;
... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x38(%rdi), %rax
movq (%rsi), %rcx
leaq (%rcx,%rax,4), %rsi
addq $-0x4, %rsi
callq 0x693c
cmpq %rdx, %rax
je 0x62c8
movq %rax, %r15
movq %rdx, %r12
movl 0x10(%r15), %eax
movq 0x38(%r14), %rcx
movq (%rbx), %rdx
cmpl (%rdx,%rcx,4)... | /chxuan[P]dfa/index.cpp |
index::equal_word(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t>> const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t>> const&, unsigned long, unsigned long) | bool index::equal_word(const std::wstring& word, const std::wstring& content, std::size_t begin, std::size_t size)
{
return word == content.substr(begin, size);
} | pushq %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r14
movq %rsp, %rbx
movq %rbx, %rdi
movq %rdx, %rsi
movq %rcx, %rdx
movq %r8, %rcx
callq 0x5090
movq 0x8(%r14), %rdx
cmpq 0x8(%rbx), %rdx
jne 0x64d5
movq (%rsp), %rbx
testq %rdx, %rdx
je 0x64dd
movq (%r14), %rdi
movq %rbx, %rsi
callq 0x5120
testl %eax, %eax
... | /chxuan[P]dfa/index.cpp |
index_tree::create_index_tree() | void index_tree::create_index_tree()
{
for (int i = 1; i <= max_index_level; ++i)
{
auto idx = std::make_shared<index>(i, this);
indexes_.emplace_back(idx);
}
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
leaq 0x18(%rsp), %r14
leaq 0xc(%rsp), %r15
movl $0x1, (%r15)
leaq 0x10(%rsp), %r12
leaq 0xb(%rsp), %r13
leaq 0x20(%rsp), %rbp
movq %rbx, 0x20(%rsp)
movq $0x0, 0x10(%rsp)
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
mov... | /chxuan[P]dfa/index_tree.cpp |
main | int main()
{
dfa d;
// 增加敏感词
d.add_word("中国人");
d.add_word("人民");
d.add_word("人民共产党");
d.add_word("共产党");
// 增加待分析文本
d.add_content("中国人民共产党");
return 0;
} | pushq %r14
pushq %rbx
subq $0x58, %rsp
leaq 0x50(%rsp), %rax
movq %rax, -0x30(%rax)
movq $0x1, -0x28(%rax)
xorps %xmm0, %xmm0
movups %xmm0, -0x20(%rax)
movl $0x3f800000, -0x10(%rax) # imm = 0x3F800000
movups %xmm0, -0x8(%rax)
leaq 0x10(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x1274(%rip), %rsi # 0x81c6
leaq 0x1276... | /chxuan[P]dfa/main.cpp |
android::base::StringPrintf[abi:cxx11](char const*, ...) | std::string StringPrintf(const char* fmt, ...) {
va_list ap;
va_start(ap, fmt);
std::string result;
StringAppendV(&result, fmt, ap);
va_end(ap);
return result;
} | pushq %r15
pushq %r14
pushq %rbx
subq $0xd0, %rsp
movq %rdi, %rbx
leaq 0x20(%rsp), %rdi
movq %rdx, 0x10(%rdi)
movq %rcx, 0x18(%rdi)
movq %r8, 0x20(%rdi)
movq %r9, 0x28(%rdi)
testb %al, %al
je 0x5ad9
movaps %xmm0, 0x50(%rsp)
movaps %xmm1, 0x60(%rsp)
movaps %xmm2, 0x70(%rsp)
movaps %xmm3, 0x80(%rsp)
movaps %xmm4, 0x90(%r... | /arun-madhavan-013[P]libsparse/android-base/stringprintf.cpp |
error_handler_cb | static void
error_handler_cb (exr_const_context_t f, int code, const char* msg)
{
const char* fn;
if (EXR_ERR_SUCCESS != exr_get_file_name (f, &fn)) fn = "<error>";
fprintf (
stderr,
"ERROR '%s' (%s): %s\n",
fn,
exr_get_error_code_as_string (code),
msg);
} | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movl %esi, %ebp
movq %rsp, %rsi
callq 0x10c0
testl %eax, %eax
jne 0x110e
movq (%rsp), %r14
jmp 0x1119
leaq 0x112f(%rip), %r14 # 0x2244
movq %r14, (%rsp)
movq 0x2ed8(%rip), %rax # 0x3ff8
movq (%rax), %r15
movl %ebp, %edi
callq 0x1080
leaq 0... | /meshula[P]openexr/src/bin/exrinfo/main.c |
main | int
main (int argc, const char* argv[])
{
int rv = 0, nfiles = 0, verbose = 0, allmeta = 0, strict = 0;
for (int a = 1; a < argc; ++a)
{
if (!strcmp (argv[a], "-h") || !strcmp (argv[a], "-?") ||
!strcmp (argv[a], "--help"))
{
usage (stdout, "exrinfo", 1);
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
xorl %ebx, %ebx
cmpl $0x2, %edi
jl 0x1603
movq %rsi, %r14
movl %edi, %r12d
movl $0x1, %r15d
movl $0x0, 0x10(%rsp)
movl $0x0, 0x14(%rsp)
movl $0x0, 0xc(%rsp)
xorl %ebx, %ebx
movq (%r14,%r15,8), %rbp
movb (%rbp), %r13b
cmpb $0x2d, %r13b
jn... | /meshula[P]openexr/src/bin/exrinfo/main.c |
verifyResult(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, double, double, CD_Matrix::Vector3T<double, false> const&, CD_Matrix::Vector3T<double, false> const&) | bool verifyResult(const std::string & objI, const std::string & objJ,
double distance, double penetration,
const Point3 & p1, const Point3 & p2)
{
std::cerr.precision(14);
double dd(0);
double pd(0);
Point3 dp1(0, 0, 0);
Point3 dp2(0, 0, 0);
if(objJ == "super1" && objI ... | pushq %rbp
movq %rsp, %rbp
subq $0x9e0, %rsp # imm = 0x9E0
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movsd %xmm0, -0x18(%rbp)
movsd %xmm1, -0x20(%rbp)
movq %rdx, -0x28(%rbp)
movq %rcx, -0x30(%rbp)
movq 0x14664(%rip), %rax # 0x1eff0
movq (%rax), %rax
movq 0x1465a(%rip), %rdi # 0x1eff0
addq -0x18(%r... | /jrl-umi3218[P]sch-core/tests/shared-tests/examples/example1.cpp |
test_auth_pubkey.cold.3 | static int read_file(const char *path, char **out_buffer, size_t *out_len)
{
FILE *fp;
char *buffer;
ssize_t len;
if(!out_buffer || !out_len || !path) {
fprintf(stderr, "invalid params.\n");
return 1;
}
*out_buffer = NULL;
*out_len = 0;
fp = fopen(path, "r");
if(!... | movq 0x4b2c(%rip), %rax # 0x6fe8
movq (%rax), %rcx
leaq 0x210c(%rip), %rdi # 0x45d2
pushq $0x10
popq %rsi
pushq $0x1
popq %rdx
jmp 0x22b0
| /libssh2[P]libssh2/tests/session_fixture.c |
main | int main(void)
{
int exit_code;
int retries = 0, retry = 0;
#ifdef LIBSSH2_WINCNG
/* FIXME: Retry tests with WinCNG due to flakiness in hostkey
verification: https://github.com/libssh2/libssh2/issues/804 */
retries += 2;
#endif
do {
int skipped, rc;
LIBSSH2_SESSION *session ... | pushq %rbx
subq $0x10, %rsp
leaq 0x8(%rsp), %rdi
leaq 0xc(%rsp), %rsi
callq 0x2790
testq %rax, %rax
je 0x276e
movq %rax, %rdi
callq 0x272c
xorl %ebx, %ebx
testl %eax, %eax
setne %bl
jmp 0x277a
movl $0x1, %ebx
cmpl $0x0, 0x8(%rsp)
jne 0x2787
callq 0x2a8a
movl %ebx, %eax
addq $0x10, %rsp
popq %rbx
retq
callq 0x2320
xorl ... | /libssh2[P]libssh2/tests/runner.c |
stop_session_fixture | void stop_session_fixture(void)
{
if(connected_session) {
libssh2_session_disconnect(connected_session, "test ended");
libssh2_session_free(connected_session);
connected_session = NULL;
}
else {
fprintf(stderr, "Cannot stop session - none started\n");
}
close_socket_... | pushq %rax
movq 0x471e(%rip), %rdi # 0x71b0
testq %rdi, %rdi
je 0x2aed
leaq 0x1771(%rip), %rdx # 0x420f
leaq 0x1749(%rip), %rcx # 0x41ee
movl $0xb, %esi
callq 0x20f0
movq 0x46fa(%rip), %rdi # 0x71b0
callq 0x2160
movq $0x0, 0x46ea(%rip) # 0x71b0
movl 0x46cc(%rip), %edi # 0x7198
callq 0x34fc
movl... | /libssh2[P]libssh2/tests/session_fixture.c |
test_auth_keyboard | int test_auth_keyboard(LIBSSH2_SESSION *session, int flags,
const char *username,
const char *password)
{
int rc;
const char *userauth_list =
libssh2_userauth_list(session, username,
(unsigned int)strlen(username));
if(!use... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rcx, %r12
movq %rdx, %r14
movl %esi, %ebx
movq %rdi, %r15
movq %rdx, %rdi
callq 0x2140
movq %r15, %rdi
movq %r14, %rsi
movl %eax, %edx
callq 0x2030
testq %rax, %rax
je 0x2cd2
movq %rax, %r13
leaq 0x1693(%rip), %rsi # 0x4318
movq %rax, %rdi
callq 0x21a0
t... | /libssh2[P]libssh2/tests/session_fixture.c |
kbd_callback | static void kbd_callback(const char *name, int name_len,
const char *instruct, int instruct_len,
int num_prompts,
const LIBSSH2_USERAUTH_KBDINT_PROMPT *prompts,
LIBSSH2_USERAUTH_KBDINT_RESPONSE *responses,
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %rbx
movl %r8d, %ebp
movl %ecx, %r14d
movq %rdx, %r15
movl %esi, %edx
movq %rdi, %rcx
movq 0x42bc(%rip), %r12 # 0x6ff8
movq (%r12), %rdi
leaq 0x1846(%rip), %rsi # 0x458d
xorl %eax, %eax
callq 0x22d0
movq (%r12), %rdi
leaq 0... | /libssh2[P]libssh2/tests/session_fixture.c |
test_auth_pubkey | int test_auth_pubkey(LIBSSH2_SESSION *session, int flags,
const char *username,
const char *password,
const char *fn_pub,
const char *fn_priv)
{
int rc;
const char *userauth_list;
/* Ignore our hard-wired Dockerfile user wh... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %r13
movq %r8, %rbp
movq %rcx, %r12
movq %rdx, %r15
movl %esi, 0x4(%rsp)
movq %rdi, %r14
callq 0x3144
testl %eax, %eax
jne 0x2efb
leaq 0x1119(%rip), %rsi # 0x4004
movq %r15, %rdi
callq 0x2230
testl %eax, %eax
je 0x308f
testq %r1... | /libssh2[P]libssh2/tests/session_fixture.c |
start_openssh_fixture | int start_openssh_fixture(void)
{
int ret;
#ifdef _WIN32
WSADATA wsadata;
ret = WSAStartup(MAKEWORD(2, 0), &wsadata);
if(ret) {
fprintf(stderr, "WSAStartup failed with error: %d\n", ret);
return 1;
}
#endif
have_docker = !getenv("OPENSSH_NO_DOCKER");
ret = build_openssh_se... | pushq %rbx
leaq 0x150e(%rip), %rdi # 0x4661
callq 0x2200
xorl %ecx, %ecx
testq %rax, %rax
sete %cl
movl %ecx, 0x416a(%rip) # 0x72d0
je 0x3181
leaq 0x107f(%rip), %rdi # 0x41ee
callq 0x2220
movq %rax, 0x415d(%rip) # 0x72d8
xorl %ebx, %ebx
movl %ebx, %eax
popq %rbx
retq
leaq 0x1595(%rip), %rdi # 0... | /libssh2[P]libssh2/tests/openssh_fixture.c |
Subsets and Splits
SQL Console for LLM4Binary/decompile-bench
Filters out entries with file names ending in .cpp, providing a basic subset of the dataset that excludes C++ files.