|
13 | 13 |
|
14 | 14 |
|
15 | 15 | def set_dbghelp_path(path): |
16 | | - """Set the path of the ``dbghelp.dll`` file to use. It allow to configure a different version of the DLL handling PDB downloading. |
| 16 | + r"""Set the path of the ``dbghelp.dll`` file to use. It allow to configure a different version of the DLL handling PDB downloading. |
17 | 17 |
|
18 | 18 | If ``path`` is a directory, the final ``dbghelp.dll`` will be computed as |
19 | 19 | ``path\<current_process_bitness>\dbghelp.dll``. |
@@ -124,7 +124,7 @@ class SymbolInfoA(gdef.SYMBOL_INFO, SymbolInfoBase): |
124 | 124 | CHAR_TYPE = gdef.CHAR |
125 | 125 |
|
126 | 126 | class SymbolInfoW(gdef.SYMBOL_INFOW, SymbolInfoBase): |
127 | | - """Represent a Symbol. |
| 127 | + r"""Represent a Symbol. |
128 | 128 | This class in based on the class `SYMBOL_INFO <https://docs.microsoft.com/en-us/windows/win32/api/dbghelp/ns-dbghelp-symbol_info>`_ |
129 | 129 | with the handling on displacement embeded into it.s |
130 | 130 |
|
@@ -326,7 +326,7 @@ def type(self): |
326 | 326 |
|
327 | 327 | @property |
328 | 328 | def pdb(self): |
329 | | - """The local path of the loaded PDB if present |
| 329 | + r"""The local path of the loaded PDB if present |
330 | 330 |
|
331 | 331 | Exemple: |
332 | 332 | >>> sh = windows.debug.symbols.VirtualSymbolHandler() |
@@ -455,7 +455,7 @@ def symbol_from_name(self, name): |
455 | 455 | return sym |
456 | 456 |
|
457 | 457 | def resolve(self, name_or_addr): |
458 | | - """Resolve ``name_or_addr``. |
| 458 | + r"""Resolve ``name_or_addr``. |
459 | 459 |
|
460 | 460 | If its an int -> Return the :class:`SymbolInfo` at the address. |
461 | 461 | If its a string -> Return the :class:`SymbolInfo` corresponding to the symbol name |
@@ -504,7 +504,7 @@ def simple_aggregator(info, size, ctx): |
504 | 504 | return True |
505 | 505 |
|
506 | 506 | def search(self, mask, mod=0, tag=0, options=gdef.SYMSEARCH_ALLITEMS, callback=None): |
507 | | - """Search the symbols matching ``mask`` (``Windbg`` like). |
| 507 | + r"""Search the symbols matching ``mask`` (``Windbg`` like). |
508 | 508 |
|
509 | 509 | :return: [:class:`SymbolInfo`] -- A list of :class:`SymbolInfo` |
510 | 510 |
|
|
0 commit comments