1

There are a sequence of bytes that i need to find out where are used in dnspy

i tried going to hex editor and found the bytes, but right clicking and saying go to code or structure or follow reference wont work

how can i know where these bytes are used if there is no reference? is it possible to set breakpoint on location access just like IDA, or any easier way?

The sequence of bytes are right before the IAT in the .text section, around 0x70 bytes after this string which seems to be in a lot of .net files :

Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator

1 Answer 1

1

I figured it out:

Right click and go to hex editor, then search the bytes you are looking for, then after finding it right click and select go to code reference.

2
  • It's completely fine to answer your own question, it may be useful to someone else who runs into the same issue.
    – Igor Skochinsky
    Jul 14, 2020 at 8:08
  • @IgorSkochinsky this option works for code references. In this particular example this is not and this option doesn't work as this is part of attribute. I know how to find thuis code manually but I think there's no option in the current dnSpy to go directly from hex editor to the part of the source where it is used. Jul 14, 2020 at 8:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.