Skip to content

Commit

Permalink
upload bookmark with label with either offset from main or full address
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvita committed Dec 6, 2022
1 parent 51698bf commit 454f94b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion PointerSearcher/Form1.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions PointerSearcher/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2466,7 +2466,7 @@ private void prepareASM()
continue;
}
BM.BaseStream.Seek( 135 + bookmark_count * ( 4 + 100 ), SeekOrigin.Begin ); // u32 offset; char * label[100] Edizon header size = 135
BM.Write( Convert.ToInt32( dgvDumpTargets.Rows[i].Cells[7].Value.ToString().Replace( " ", "" ), 16 ) );
BM.Write( Convert.ToInt64( dgvDumpTargets.Rows[i].Cells[7].Value.ToString().Replace( " ", "" ), 16 ) );
BM.Write( dgvDumpTargets.Rows[i].Cells[10].Value.ToString() ); //= "address";

bookmark_count++;
Expand Down Expand Up @@ -2508,7 +2508,7 @@ private void prepareASM()
//}

BM.BaseStream.Seek( 5, SeekOrigin.Begin );
BM.Write( bookmark_count * ( 4 + 100 ) );
BM.Write( bookmark_count * ( 8 + 100 ) );
BM.BaseStream.Close();
}
catch ( IOException ) { txtPointerSearchResults.Text = "Cannot create file"; }
Expand Down

0 comments on commit 454f94b

Please sign in to comment.