mirror of https://github.com/x64dbg/zydis
				
				
				
			fixed many inaccurate flag definitions
This commit is contained in:
		
							parent
							
								
									90538a8040
								
							
						
					
					
						commit
						05d36bd39b
					
				
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| 
						 | 
					@ -0,0 +1,17 @@
 | 
				
			||||||
 | 
					#!/usr/bin/env python
 | 
				
			||||||
 | 
					"""Process script copy & paste template."""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import json
 | 
				
			||||||
 | 
					import collections
 | 
				
			||||||
 | 
					import re
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					with open('instructions.json') as fi:
 | 
				
			||||||
 | 
					    fi = fi.read()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					data = json.loads(fi, object_pairs_hook=collections.OrderedDict)
 | 
				
			||||||
 | 
					defs = data['definitions']
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# ... processing code here ...
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					with open('instructions.json', 'w') as of:
 | 
				
			||||||
 | 
					    json.dump(data, of)
 | 
				
			||||||
		Loading…
	
		Reference in New Issue