Interpret memory at the given address as a V8 object. Automatic alignment makes sure that you can pass tagged as well as un-tagged addresses.
(self, address)
| 3882 | return self.do_display_object(address) |
| 3883 | |
| 3884 | def do_display_object(self, address): |
| 3885 | """ |
| 3886 | Interpret memory at the given address as a V8 object. |
| 3887 | |
| 3888 | Automatic alignment makes sure that you can pass tagged as well as |
| 3889 | un-tagged addresses. |
| 3890 | """ |
| 3891 | address = self.ParseAddressExpr(address) |
| 3892 | if self.reader.IsAlignedAddress(address): |
| 3893 | address = address + 1 |
| 3894 | elif not self.heap.IsTaggedObjectAddress(address): |
| 3895 | print("Address doesn't look like a valid pointer!") |
| 3896 | return |
| 3897 | heap_object = self.padawan.SenseObject(address) |
| 3898 | if heap_object: |
| 3899 | heap_object.Print(Printer()) |
| 3900 | else: |
| 3901 | print("Address cannot be interpreted as object!") |
| 3902 | |
| 3903 | def do_dso(self, args): |
| 3904 | """ see display_stack_objects """ |
no test coverage detected