You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The overflows argument is a format-string-length to output-amount tradeoff:
842
842
Larger values for ``overflows`` produce shorter format strings that generate more output at runtime.
843
843
844
+
The writes argument is a dictionary with address/value pairs like ``{addr: value, addr2: value2}``.
845
+
If the value is an ``int`` datatype, it will be automatically casted into a bytestring with the length of a ``long`` (8 bytes in 64-bit, 4 bytes in 32-bit).
846
+
If a specific number of bytes is intended to be written (such as only a single byte, single short, or single int and not an entire long),
847
+
then provide a bytestring like ``b'\x37\x13'`` or ``p16(0x1337)``.
848
+
Note that the ``write_size`` argument does not determine **total** bytes written, only the size of each consecutive write.
849
+
844
850
Arguments:
845
851
offset(int): the first formatter's offset you control
846
852
writes(dict): dict with addr, value ``{addr: value, addr2: value2}``
0 commit comments