question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Adjust Pointer Offset / Create Relative Pointer: What does it do?

See original GitHub issue

Commit ec5b6aada introduced a “relative pointer action” to the decompiler.

Can I clarify whether supplying arguments DataType = MyType, offset=0x10, name="MyTypeDef", results in a typedef that represents a pointer to offset 0x10 in the MyType structure?

Also, is there an equivalent global action to create a similar offset typedef?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
ryanmkurtzcommented, Jun 25, 2022

Perhaps this isn’t shipped 10.1.4?

Correct, this is in master/10.2-DEV

2reactions
dev747368commented, Apr 28, 2022

In DTM, the painful / manual way is to create a pointer to a type (right click on type, New | Pointer to typename), find the new pointer type, right click on it, and create a typedef to that, find the new typedef and right click on it and choose “Settings”, and tweak.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Relative Pointers - gingerBill
A pointer references a location in memory, and obtaining the value stored at this location in memory is known as dereferencing a pointer....
Read more >
How can I set an address to be a relative offset pointer in IDA ...
Define the element to be the appropriate size (such as by pressing d repeatedly). Then press Ctrl-R (or use the menu entry: Edit->Operand ......
Read more >
How are base address relative offsets determined, and why ...
Why do some offsets change each time you run the application and some are fixed until the application is changed & recompiled? pointers ......
Read more >
cursor - CSS: Cascading Style Sheets - MDN Web Docs
The cursor CSS property sets the mouse cursor, if any, to show when the mouse pointer is over an element.
Read more >
How To Find Offsets, Entity Addresses & Pointers - YouTube
This is a remake of a super beginner tutorial because people found the previous video too ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found