flat assembler
Message board for the users of flat assembler.
  
|  Index
      > Main > help me :-) [newbie] | 
| Author | 
 | 
| ansik 21 Dec 2005, 13:16 help me plz. I need algorythm to find and replace hex-codes in binary file.
 e.g: 'ff 00 ff 6b' replace to 'f1 02 cc 6a' help me plz.  | |||
|  21 Dec 2005, 13:16 | 
 | 
| Tomasz Grysztar 21 Dec 2005, 17:31 Do you mean replacing some bytes pattern with the same amount of bytes, without shifting the rest of the file? | |||
|  21 Dec 2005, 17:31 | 
 | 
| ansik 21 Dec 2005, 21:11 yes. and which "read block size" use? 1byte is slow (file~3Mb), and in order to use bigger "read block size" i need an algorythm   ) | |||
|  21 Dec 2005, 21:11 | 
 | 
| Tomasz Grysztar 21 Dec 2005, 21:50 In which operating system? In Windows you could use the file mapping and thus "read block" wouldn't be necessary at all. | |||
|  21 Dec 2005, 21:50 | 
 | 
| vid 23 Dec 2005, 02:16 look at FASMLIB, file 'fasmlib\str.inc', procedure 'str.pos' | |||
|  23 Dec 2005, 02:16 | 
 | 
| < Last Thread | Next Thread > | 
| Forum Rules: 
 | 
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.