Lib.Krakatau.verifier.descriptors.pyc Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of krakatau-lib Show documentation
Show all versions of krakatau-lib Show documentation
Assembler, disassebmler, decompiler and compiler tools library for Java.
?
?HRc @ s; d d l Te d ? Z e d ? Z e d ? Z d ? Z d S( i ( t *c C s? i t d 6t d 6t d 6t d 6t d 6t d 6t d 6t d 6} g } x?| r?t | ? } | j d ? } | t | ? } | d
k r? t
d j | ? ? ? n | s? t
d ? ? n | d
d k r| j d ? } | d k r? t
d ? ? n | d | !} | | d } t
| ? } nD | d
| k rAt
d j | d
? ? ? n | | d
} | d } | r?| rz| t k rzt } n t | | ? } n | r?t | ? } n | j | ? | t k rG | j t | ? qG qG W| S( Nt Bt Ct Dt Ft It Jt St Zt [i? s Dimension {} > 255 in descriptors' Descriptor contains [s at end of stringi t Lt ;i????s Unmatched L in descriptori s" Unrecognized code {} in descriptor( t T_BYTEt T_CHARt T_DOUBLEt T_FLOATt T_INTt T_LONGt T_SHORTt T_BOOLt lent lstript
ValueErrort formatt findt T_OBJECTt T_ARRAYt unSynthesizeTypet appendt cat2tops( t desc_strt unsynthesizet baseTypest fieldst oldlent dimt endt namet baset( ( sD /home/alex/projects/github/krakatau/Krakatau/verifier/descriptors.pyt parseFieldDescriptors s@
c C sh t | | ? } | r+ | d t k r+ d n d } t | ? | k rd t d j | t | ? ? ? ? n | S( Ni i i sB Incorrect number of fields in descriptor, expected {} but found {}( R' R R R R ( R R t rvalt cat( ( sD /home/alex/projects/github/krakatau/Krakatau/verifier/descriptors.pyt parseFieldDescriptor/ s
"!c C s? | j d ? s t d ? ? n | j d ? } | j d ? rr t | j d d d ? d ? } | j d | d ? } n | d k s? | | d k r? t d ? ? n | d | !} | | d } t | | ? } | d k r? g n t | | ? } | | f S(
Nt (s' Method descriptor does not start with (t )R i i????i s@ Unable to split method descriptor into arguments and return typet V( t
startswithR t rfindt endswitht maxR R' R* ( R R t lp_post lboundt arg_strt rval_strt argsR( ( ( sD /home/alex/projects/github/krakatau/Krakatau/verifier/descriptors.pyt parseMethodDescriptor8 s
!c C s8 t | ? \ } } | s. t | ? g | } n | | f S( N( R7 R ( R t targett isstaticR6 R( ( ( sD /home/alex/projects/github/krakatau/Krakatau/verifier/descriptors.pyt parseUnboundMethodDescriptorO s N( t verifier_typest TrueR' R* R7 R: ( ( ( sD /home/alex/projects/github/krakatau/Krakatau/verifier/descriptors.pyt s
,
© 2015 - 2025 Weber Informatics LLC | Privacy Policy