update to ida 7.6, add builds
This commit is contained in:
34
idasdk76/module/avr/notify_codes.hpp
Normal file
34
idasdk76/module/avr/notify_codes.hpp
Normal file
@@ -0,0 +1,34 @@
|
||||
/*
|
||||
* Interactive disassembler (IDA).
|
||||
* Copyright (c) 1990-2021 Hex-Rays
|
||||
* ALL RIGHTS RESERVED.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __AVR_NOTIFY_CODES_HPP
|
||||
#define __AVR_NOTIFY_CODES_HPP
|
||||
|
||||
#include <idp.hpp>
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
// The following events are supported by the AVR module in the ph.notify() function
|
||||
namespace avr_module_t
|
||||
{
|
||||
enum event_codes_t
|
||||
{
|
||||
ev_set_machine_type = processor_t::ev_loader,
|
||||
// elf-loader 'set machine type' and file type
|
||||
};
|
||||
|
||||
inline processor_t::event_t idp_ev(event_codes_t ev)
|
||||
{
|
||||
return processor_t::event_t(ev);
|
||||
}
|
||||
|
||||
inline void set_machine_type(int subarch, bool image_file)
|
||||
{
|
||||
processor_t::notify(idp_ev(ev_set_machine_type), subarch, image_file);
|
||||
}
|
||||
}
|
||||
|
||||
#endif // __AVR_NOTIFY_CODES_HPP
|
||||
Reference in New Issue
Block a user