Quantcast
Channel: Python extension for WinDbg
Viewing all articles
Browse latest Browse all 1625

Edited Issue: [0.3.x] pykd does not see synthetic symbols [13557]

$
0
0
```
0:000:x86> !py
Python 2.7.8 (default, Jun 30 2014, 16:08:48) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> symsyn = addSyntheticSymbol(0x041d134, ptrSize(), "PtrToSomeFuntion")
```

```
>>> findSymbol(0x041d134)
u'test+1d134'
>>> exit()
```

```
0:000:x86> ln 0x041d134
Browse module
Set bu breakpoint

(0041d134) test!PtrToSomeFuntion
Exact matches:
test!PtrToSomeFuntion = <no type information>
```
Comments: ** Comment from web user: EreTIk **

Changeset/90465

```
>>> symsyn = addSyntheticSymbol(0x041d134, ptrSize(), "PtrToSomeFuntion")
```

```
>>> findSymbol(0x041d134)
u'test!PtrToSomeFuntion'

>>> findSymbol(0x041d134+4)
u'test!PtrToSomeFuntion+4'

>>> findSymbol(0x041d134+5)
u'test+1d139'

0:000:x86> ln 0x041d134
Browse module
Set bu breakpoint

(0041d134) test!PtrToSomeFuntion
Exact matches:
test!PtrToSomeFuntion = <no type information>

0:000:x86> ln 0x041d134+4
Browse module
Set bu breakpoint

(0041d134) test!PtrToSomeFuntion+0x4

0:000:x86> ln 0x041d134+5
Browse module
Set bu breakpoint
```

```
>>> hex( getOffset("test!PtrToSomeFuntion") )
'0x41d134'

0:000:x86> x test!PtrToSomeFuntion
0041d134 test!PtrToSomeFuntion = <no type information>
```


Viewing all articles
Browse latest Browse all 1625

Trending Articles