Jump to content
Tuts 4 You

Forums

  1. General Discussions and Site Issues

    1. The Board Rules & Frequently Asked Questions   (105,622 visits to this link)

      Very important! Please read before posting...

    2. General Discussions and Off Topic

      General and off-topic conversations and discussions here...

      9,582
      posts
    3. Site Bug Reports and Technical Issues

      Bugs and issues regarding this website and board...

      1,981
      posts
  2. Reverse Code Engineering

    1. Challenge of Reverse Engineering

      Try a challenge or contribute your own, any platform or operating system...

      12,530
      posts
    2. Hardware Reverse Engineering

      Reverse engineering of hardware, firmware and industrial controllers...

      138
      posts
    3. Internet and Network Security

      Discussions on network security, holes, exploits and other issues...

      415
      posts
    4. Malware Reverse Engineering

      Debug, disassemble and document interesting trojans, virus', malware, etc.

      1,322
      posts
    5. Reverse Engineering Articles

      Share links to an interesting blog, news page or other RE related site...

      1,193
      posts
    6. Employment and Job Vacancies

      Discussions and employment opportunities in your field of expertise...

      139
      posts
    7. Search On Tuts 4 You   (40,301 visits to this link)

      Use the search engine on the main page as an additional resource...

  3. Developers Forums

    1. Programming and Coding

      Programming and coding tips, help and solutions...

      10,910
      posts
    2. Programming Resources

      Share interesting links and information from blogs, news articles and other resources...

      235
      posts
    3. Software Security

      Discussions on securing your software against reverse engineering...

      565
      posts
  4. Community Projects

    1. TitanEngine Community Edition

      The next generation reverse engineering framework...

      283
      posts
    2. Scylla Imports Reconstruction

      Development and support forum for the Scylla project...

      469
      posts
    3. x64dbg

      An open-source x64/x32 debugger for windows...

      985
      posts
    4. Future Community Projects

      Looking for support and interested partners for a future project?

      134
      posts
    5. Community Projects Archive

      Old and inactive projects moved to long term support...

      509
      posts
  5. The Demoscene

    1. Scene Artists / Demoscene

      Share your graphics, ASCII, module, demo, intro ideas and works...

      7,359
      posts
  • Posts

    • skylark
      First check your compiled program in olly/64dbg to know if the loops are there in assembly code or have been optimized/removed. If loops are removed, try removing compiler optimization and run it again to see if anything new happens? You can try any of these options. 1. If you are using gcc, then try running with gcc -o0. I don't know about msvc. 2. Declare the target variables with volatile keyword, like "volatile int a = k2[ j ]" 3. Write some complex statement inside the loops so that compiler doesn't dare to optimize, or something that creates side effect, like "printf(".")". Now recompile and check the assembly codes again to make sure loops are there. If you don't get any difference in time again, then maybe this wasn't what you were looking for. Personally I am not sure about the speed difference in such case, so far I only know about difference when you write it like, int a = 2; and class myClass; int a = myClass.b;    
    • CodeExplorer
      I wanna know about the speed of different data types declarations, from your reply: it doesn't matter how I declare them?
       
    • deepzero
      The optimizer is just going to delete those loops. Even if it didnt there wouldnt be a difference because memory is just memory and these ints will just end up in the cache / inlined. What are you trying to find out exactly?
  • Blog Comments

  • File Comments

  • Image Comments

    • Copyright - Good text to fill extra space.
      I archived a copy, nice work.
      Cinema4D has some excellent tools.
      Smudge borders, add fine shadows, fisheye 3% to 6% the subject of image/off center, blur 7%, Sharpen 12% in small areas and a few highlights can take an average image to professional quality.
      Alien Effects is a great plugin for doing logos.

    • which is why its recommended to change its name... sigh
×