C string literal (zero-terminated). You can also include zero values in the value, but then you'll need to track the length of the string separately.
| 238 | |
| 239 | @final |
| 240 | class CString(Value): |
| 241 | """C string literal (zero-terminated). |
| 242 | |
| 243 | You can also include zero values in the value, but then you'll need to track |
| 244 | the length of the string separately. |
| 245 | """ |
| 246 | |
| 247 | def __init__(self, value: bytes, line: int = -1) -> None: |
| 248 | self.value = value |
| 249 | self.type = cstring_rprimitive |
| 250 | self.line = line |
| 251 | |
| 252 | |
| 253 | @final |
no outgoing calls
searching dependent graphs…