Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WyAtu/CVE-2018-20250
/ functions
Functions
230 in github.com/WyAtu/CVE-2018-20250
⨍
Functions
230
◇
Types & classes
42
↓ 1 callers
Method
shift_pixels
Shift pixels to the left to prepare for the next column. C A D B X
acefile.py:1900
↓ 1 callers
Function
test
()
acefile.py:4181
↓ 1 callers
Method
testall
Test all the members in the archive. Returns the name of the first archive member with a failing header or content CRC, or None if a
acefile.py:3671
↓ 1 callers
Function
title
(docstr)
acefile.py:3859
↓ 1 callers
Method
try_load_next_volume
Open the next volume following this one in a multi-volume archive and return the instantiated :class:`AceVolume` object.
acefile.py:2993
↓ 1 callers
Function
unace
()
acefile.py:3854
↓ 1 callers
Method
update_pixel_x
Read the next data point from BitStream *bs* and store the resulting pixel X based on ErrContext *context*.
acefile.py:1941
Method
__enter__
Using :class:`AceArchive` as a context manager ensures that :meth:`AceArchive.close` is called after leaving the block.
acefile.py:3339
Method
__eq__
Compare the checksum to a fixed value or another ACE CRC32 object.
acefile.py:897
Method
__eq__
(self, other)
exp.py:28
Method
__exit__
(self, type, value, traceback)
acefile.py:3346
Method
__format__
Format the checksum for printing.
acefile.py:903
Method
__format__
(self, format_spec)
exp.py:31
Method
__iadd__
Adding a buffer of bytes into the checksum, updating the rolling checksum from all previously added buffers.
acefile.py:889
Method
__iadd__
(self, buf)
exp.py:24
Method
__init__
(self, f, base, size)
acefile.py:272
Method
__init__
(self, files)
acefile.py:324
Method
__init__
(self, f, engine)
acefile.py:395
Method
__init__
Initialize decryption engine with a key derived from password *pwd*, which can be str or bytes.
acefile.py:722
Method
__init__
Initialize and add bytes in *buf* into checksum.
acefile.py:881
Method
__init__
Initialize BitStream reading from file-like object *f* until EOF.
acefile.py:1012
Method
__init__
(self, mode)
acefile.py:1151
Method
__init__
(self, codes, widths, max_width)
acefile.py:1176
Method
__init__
(self)
acefile.py:1343
Method
__init__
(self)
acefile.py:1390
Method
__init__
(self, minsize, maxsize)
acefile.py:1421
Method
__init__
(self)
acefile.py:1503
Method
__init__
(self, num_models)
acefile.py:1598
Method
__init__
Initialize a channel with index *channel_idx*, using symbol reader *symreader* to fetch new symbols.
acefile.py:1638
Method
__init__
(self)
acefile.py:1772
Method
__init__
(self)
acefile.py:1822
Method
__init__
(self)
acefile.py:1835
Method
__init__
(self)
acefile.py:1971
Method
__init__
(self)
acefile.py:1984
Method
__init__
(self)
acefile.py:2136
Method
__init__
(self, crc, size, type, flags)
acefile.py:2448
Method
__init__
(self, *args)
acefile.py:2491
Method
__init__
(self, *args)
acefile.py:2541
Method
__init__
Initialize an :class:`AceMember` object with index within archive *idx*, initial file header *filehdr* and underlying file-like objec
acefile.py:2745
Method
__init__
(self, file, mode='r', *, search=524288, _idx=0, _am=None)
acefile.py:2914
Method
__init__
See :meth:`AceArchive._open`.
acefile.py:3261
Method
__init__
(self, argv0, action, archive)
acefile.py:3863
Method
__init__
(self, buf=b'')
exp.py:19
Method
__iter__
Using :class:`AceArchive` as an iterater will iterate over :class:`AceMember` objects for all archive members.
acefile.py:3349
Method
__repr__
(self)
acefile.py:3356
Method
__str__
String representation of object is hex value of checksum.
acefile.py:909
Method
__str__
String representation of object is hex value of checksum.
acefile.py:935
Method
__str__
(self)
acefile.py:1154
Method
__str__
(self)
acefile.py:2504
Method
__str__
(self)
acefile.py:2558
Method
__str__
(self)
acefile.py:3869
Method
__str__
(self)
exp.py:34
Method
_list_swap
>>> a = list(range(9)) >>> _list_swap(a, 3, 6) [0, 1, 2, 6, 4, 5, 3, 7, 8, 9]
acefile.py:1210
Method
_open
Open archive from *file*, which is either a filename or seekable file-like object, and return an instance of :class:`AceArchive`
acefile.py:3237
Method
_quicksort_subrange
(left, right)
acefile.py:1209
Method
_read_trees
Read the Huffman trees as well as the blocksize from BitStream *bs*; essentially this starts reading into a next block of sym
acefile.py:1602
Function
ace_crc32
Return the ACE CRC-32 checksum of the bytes in *buf*. >>> ace_crc32(b"123456789") 873187033
acefile.py:948
Method
advert
(self)
acefile.py:3190
Method
advert
ACE archive advert string as :class:`str`. Unregistered versions of ACE compressors communicate that they are unregistered by
acefile.py:3724
Method
append
Append output byte *char* to dictionary.
acefile.py:1432
Method
attrib
(self, attrib)
acefile.py:2588
Method
attribs
DOS/Windows file attribute bit field, as :class:`int`, as produced by the Windows :func:`GetFileAttributes` API.
acefile.py:2793
Method
attribs_str
(self)
acefile.py:2592
Method
blocksize
Return the block size of the decryption engine in bytes. The decrypt() method will only accept buffers containing a multiple of
acefile.py:852
Method
classinit_pic_dif_bit_width
Decorator that adds the PIC dif_bit_width static table to *cls*.
acefile.py:1839
Method
classinit_pic_quantizers
Decorator that adds the PIC quantizer static tables to *cls*.
acefile.py:1850
Method
classinit_sound_quantizer
Decorator that adds the static quantizer table to class *cls*.
acefile.py:1623
Method
comment
File-level comment, as :class:`str`. If absent, empty :class:`str`.
acefile.py:2801
Method
comment
(self)
acefile.py:3194
Method
comment
ACE archive level comment as :class:`str`. If absent, empty :class:`str`.
acefile.py:3735
Method
compqual
Compression quality used; one of :data:`QUAL_NONE`, :data:`QUAL_FASTEST`, :data:`QUAL_FAST`, :data:`QUAL_NORM
acefile.py:2819
Method
compqual_str
(self)
acefile.py:2603
Method
comptype
Compression type used; one of :data:`COMP_STORED`, :data:`COMP_LZ77` or :data:`COMP_BLOCKED`.
acefile.py:2809
Method
comptype_str
(self)
acefile.py:2596
Method
cversion
(self)
acefile.py:3198
Method
cversion
ACE creator version. This is equal to the major version of the ACE compressor used to create the archive, which equals the highest
acefile.py:3743
Method
datetime
(self)
acefile.py:3210
Method
datetime
Archive timestamp as :class:`datetime.datetime` object.
acefile.py:3770
Method
decompress_blocked
Decompress data compressed using the ACE 2.0 blocked method from file-like-object *f* containing compressed bytes that will be
acefile.py:2177
Method
decompress_lz77
Decompress data compressed using the ACE 1.0 legacy LZ77 method from file-like-object *f* containing compressed bytes that will be
acefile.py:2159
Method
decompress_stored
Decompress data compressed using the store method from file-like-object *f* containing compressed bytes that will be decompressed to
acefile.py:2141
Method
dicsize
LZ77 dictionary size required for extraction of this archive member in literal symbols, ranging from 1K to 4M.
acefile.py:2849
Method
dicsizebits
LZ77 dictionary size bit length, i.e. the base-two logarithm of the dictionary size required for extraction of this archive member.
acefile.py:2857
Method
dumpheaders
Dump all ACE file format headers in this archive and all its volumes to *file*.
acefile.py:3687
Method
eversion
(self)
acefile.py:3202
Method
eversion
ACE extractor version. This is the version of the ACE decompressor required to extract, which equals the version of the ACE format t
acefile.py:3753
Method
extractall
Extract *members* or all members from archive to *path* or the current working directory. *Members* can contain :class:`AceMe
acefile.py:3495
Method
filename
Sanitized filename, as :class:`str`, safe for use with file operations on the current platform.
acefile.py:2865
Method
filename
(self)
acefile.py:3206
Method
filename
ACE archive filename. This is not a property of the archive but rather just the filename passed to :func:`acefile.open`.
acefile.py:3762
Method
getrawnames
(self)
acefile.py:3438
Method
hdr_flags_str
(self)
acefile.py:2476
Method
hdr_type_str
(self)
acefile.py:2469
Method
host_str
(self)
acefile.py:2532
Function
is_acefile
Return True iff *file* refers to an ACE archive by filename or seekable file-like object. If *search* is 0, the archive must start at pos
acefile.py:3802
Method
is_locked
Return True iff archive is locked for further modifications. Since this implementation does not support writing to archives,
acefile.py:3695
Method
is_reg
True iff :class:`AceMember` instance describes a regular file.
acefile.py:2786
Method
ntsecurity
NT security descriptor as :class:`bytes`, describing the owner, primary group and discretionary access control list (DACL) of the arc
acefile.py:2873
Method
packsize
Size before decompression (packed size).
acefile.py:2886
Method
platform
(self)
acefile.py:3214
← previous
next →
101–200 of 230, ranked by callers