Windows 8 Instruction Cache menu

Shout-Out

User Tag List

Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    Master674's Avatar Elite User
    Reputation
    487
    Join Date
    May 2008
    Posts
    578
    Thanks G/R
    2/23
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    <something used to be here... its gone now>
    Last edited by Master674; 10-15-2012 at 12:47 PM.

    Windows 8 Instruction Cache
  2. #17
    sitnspinlock's Avatar Elite User CoreCoins Purchaser
    Reputation
    398
    Join Date
    Sep 2010
    Posts
    439
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    perhaps it was left handicapped on purpose in that during a consumer preview they didn't expect consumers to be doing hefty debugging and/or running self modifying code. Are you applying the hook by writing instructions within the address space of the target process? WriteProcessMemory would indeed cause a flush anyway because it ends up calling MmCopyVirtualMemory which in turn calls KeStackAttachProcess (which would cause a flush because of mov to cr3, explained earlier).

    whereas if you were modifying the instructions within the context of the process itself perhaps using only VirtualProtect (assuming the page was originally read/execute) to make it writeable you would need to do a manual flush because the TLB would still contain information from the previous translation.

  3. #18
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by everdox View Post
    perhaps it was left handicapped on purpose in that during a consumer preview they didn't expect consumers to be doing hefty debugging and/or running self modifying code.
    There's lots of legitimate applications which perform API hooking of some sort. I doubt they'd intentionally handicap their OS.

    Some of the 'consumer' oriented software includes: Chrome (hooks APIs for increased security in the sandbox), Fraps (DX video recording), Afterburner (same as Fraps), AdMuncher (hooks winsock etc for ad blocking).

    Also, doing 'hefty debugging' is exactly what I'd be expecting people (not mom and pop, but software developers) to do on the beta of a new OS.

    Nevertheless, the RTM seems to be exhibiting the same problem.

    Here is ntoskrnl.exe from Windows 8 RTM so you can check for yourself:
    https://dl.dropbox.com/u/74751/rever...g/ntoskrnl.exe

  4. #19
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Necro-bumping this thread to provide some followup information. This was an intentional change in the kernel. The function is now a no-op on architectures with a coherent icache (i.e. x86 and x64, but not arm).
    Last edited by Cypher; 08-15-2013 at 09:05 PM.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. world of warcraft skin for WINDOWS MEDIA
    By Elites360 in forum World of Warcraft General
    Replies: 4
    Last Post: 12-27-2006, 05:01 PM
  2. Mac vs. Windows
    By Tenche in forum Community Chat
    Replies: 31
    Last Post: 11-13-2006, 03:57 PM
  3. window mode
    By Erunnon in forum Community Chat
    Replies: 4
    Last Post: 08-08-2006, 12:21 PM
  4. Window Title Renaming Tool
    By Matt in forum World of Warcraft Bots and Programs
    Replies: 7
    Last Post: 07-29-2006, 01:59 AM
  5. How to turn off window mode
    By insaneomato in forum World of Warcraft General
    Replies: 1
    Last Post: 05-31-2006, 11:18 PM
All times are GMT -5. The time now is 11:48 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search