Zum Hauptinhalt springen
••••
YouTube Security VideosGoogle Chrome: Safety. No assembly required.(26.10.2026 um 18:12 Uhr)
••••
YouTube Security VideosOregon: Build the future of technology with Intel Foundry | Intel(26.10.2026 um 15:37 Uhr)
•
YouTube Security VideosNew Mexico: Build the future of technology with Intel Foundry | Intel(26.10.2026 um 15:39 Uhr)
•••••
YouTube Security VideosGoogle Chrome: Safety. No assembly required.(26.10.2026 um 18:12 Uhr)
••••
YouTube Security VideosOregon: Build the future of technology with Intel Foundry | Intel(26.10.2026 um 15:37 Uhr)
•
YouTube Security VideosNew Mexico: Build the future of technology with Intel Foundry | Intel(26.10.2026 um 15:39 Uhr)
•
Intelligence View
⚡ tsecurity.de Intelligence

ciflow/trunk/182213: Update on "[dynamo] Add faithful VTs for CPython descriptor types"

Add VariableTracker subclasses that mirror CPython's descriptor protocol, replacing the previous approach of collapsing C-level descriptors into…

Beitrag
0
Seite
0
↗ Quelle (github.com)
Social ReaktionenReagiere als Erste:r — dein Feedback zählt!

Add VariableTracker subclasses that mirror CPython's descriptor protocol, replacing the previous approach of collapsing C-level descriptors into GetAttrVariable.


Each descriptor type now has its own VT with a tp_descr_get_impl method that mirrors the corresponding CPython tp_descr_get slot:


Non-data descriptors:



  • WrapperDescriptorVariable / MethodWrapperVariable

  • MethodDescriptorVariable / BoundBuiltinMethodVariable

  • ClassMethodDescriptorVariable

  • StaticMethodVariable, ClassMethodVariable

  • UserFunctionVariable (func_descr_get)


Data descriptors:



  • MemberDescriptorVariable, GetSetDescriptorVariable, PropertyVariable


UDOV and UDCV attribute lookup now route through these VTs. Descriptor VT sources use MRO dict walk (via get_source_by_walking_mro) so guards watch the descriptor in the class dict rather than the result of the descriptor protocol.


Authored with Claude.


cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx kadeng chauhang amjames Lucaskabela jataylo azahed98


[ghstack-poisoned]

Intelligence Digest — kostenlos Täglich die wichtigsten Security-News · jederzeit abbestellbar
Community Rating & Social Proof
⭐ Leser-Wertung
–
Ø / 5.0
Noch keine Leser-Bewertungen
War diese Seite hilfreich?
0
Jetzt Bewertung abgeben
🟢 Niedrig (1-3.9) 🟡 Mittel (4.0-6.9) 🔴 Hoch (7.0-8.9) Kritisch (9.0-10.0)
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten ciflow/trunk/182213: Update on "[dynamo] Add faithful VTs for CPython descriptor types"

Thematisch verwandte Begriffe: ciflowtrunk182213, Update, quotdynamo, faithful · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

💬 Kommentare werden geladen…
Zum Aktualisieren ziehen
Nächster Beitrag