{"id":258952,"date":"2015-06-09T12:11:02","date_gmt":"2015-06-09T08:11:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=258952"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=258952","title":{"rendered":"\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 OS \u043d\u0430 Go+asm Part 0x01"},"content":{"rendered":"<p>     \t\u041f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e, %username%.<\/p>\n<p>  \u041f\u0435\u0440\u0435\u0434 \u0432\u0430\u043c\u0438 \u0432\u0442\u043e\u0440\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u0438\u0437 \u0446\u0438\u043a\u043b\u0430 \u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u041e\u0421 \u043d\u0430 Go + asm.<\/p>\n<p>  <a href=\"http:\/\/habrahabr.ru\/post\/259719\/\">Part 0x00<\/a><\/p>\n<p>  \u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u044f \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043b, \u0447\u0442\u043e \u0432\u0442\u043e\u0440\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u043d\u0438\u0439, \u043d\u043e Go \u043d\u0430\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442 \u0441\u0432\u043e\u0438 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u043a\u0438 \u2014 \u0441\u0435\u0439\u0447\u0430\u0441 \u0431\u0443\u0434\u0435\u0442 \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043f\u0430\u043c\u044f\u0442\u0438 \u0438 \u0447\u0430\u0441\u0442\u044c \u0440\u0430\u043d\u0442\u0430\u0439\u043c\u0430 Go, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043d\u0430\u043c \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f, \u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u043d\u043d\u043e. \u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u044d\u0442\u043e \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u043a \u0442\u0440\u0435\u0442\u044c\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u2014 \u043a\u0443\u0447\u0435 \u0438 \u0434\u043e\u043f\u0438\u043b\u0438\u0432\u0430\u043d\u0438\u044e \u0440\u0430\u043d\u0442\u0430\u0439\u043c\u0430.<br \/>  \u041a\u043e\u0434\u0430 \u043a \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043d\u0430 \u0433\u0438\u0442\u0445\u0430\u0431\u0435 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 (\u0437\u0430\u0431\u044b\u043b \u0432\u043e\u0432\u0440\u0435\u043c\u044f \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043a\u043e\u043c\u043c\u0438\u0442, \u0430 \u0442\u0435\u043f\u0435\u0440\u044c \u0431\u0430\u043d\u0430\u043b\u044c\u043d\u043e \u043b\u0435\u043d\u044c \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c, \u0435\u0441\u043b\u0438 \u043a\u0442\u043e \u043f\u0440\u0438\u0448\u043b\u0435\u0442 \u043f\u0443\u043b\u043b \u0440\u0435\u043a\u0432\u0435\u0441\u0442 \u2014 \u0431\u0443\u0434\u0443 \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u0435\u043d)<\/p>\n<p>  <i>\u0421\u043b\u0430\u0431\u043e\u043d\u0435\u0440\u0432\u043d\u044b\u043c \u043f\u0440\u043e\u0441\u044c\u0431\u0430 \u0437\u0430\u043a\u0440\u044b\u0442\u044c \u0441\u0442\u0430\u0442\u044c\u044e \u2014 \u0432\u0441\u0435, \u0447\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u043e \u043d\u0430 Go \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u043e \u043d\u0430 \u043d\u0435\u043c!<\/i><\/p>\n<p>  <a name=\"habracut\"><\/a><\/p>\n<p>  \u041f\u043e\u043c\u043d\u0438\u0442\u0435 \u0432 multiboot.s \u0431\u044b\u043b\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0437\u0430\u0433\u043b\u0443\u0448\u043a\u0438 \u0434\u043b\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430? \u041f\u0435\u0440\u0435\u043d\u0435\u0441\u0438\u0442\u0435 \u0438\u0445 \u0432 \u0444\u0430\u0439\u043b runtime.s (\u0441\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u0435\u0433\u043e)<\/p>\n<p>  <b>Step 0x00<\/b><\/p>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043d\u0430\u0443\u0447\u0438\u043c\u0441\u044f \u0432\u044b\u0434\u0435\u043b\u044f\u0442\u044c \u043f\u0430\u043c\u044f\u0442\u044c \u2014 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0444\u0430\u0439\u043b memory.go  <\/p>\n<pre><code class=\"go\">package memory  \/\/extern end var end uint32 \/\/\u0431\u0435\u0440\u0435\u0442\u0441\u044f \u0438\u0437 link.ld  var placement_address uint32 \/\/\u0422\u0435\u043a\u0443\u0449\u0438\u0439 \u0430\u0434\u0440\u0435\u0441  \/\/extern __unsafe_get_addr  func pointer2uint32(pointer *uint32) uint32 \/\/\u0412\u0441\u0435 \u043a\u0430\u043a \u0432 \u043f\u0440\u043e\u0448\u043b\u044b\u0439 \u0440\u0430\u0437, \u0440\u0430\u0437\u0432\u0435 \u0447\u0442\u043e \u0442\u0438\u043f \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430 \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0441\u044f, \u043d\u043e \u044d\u0442\u043e \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e  func Init() { \tplacement_address = pointer2uint32(&end) \/\/\u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439 \u0430\u0434\u0440\u0435\u0441\u0441 }  func kmalloc(size uint32, align int, phys *uint32) uint32 { \/\/\u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043f\u0430\u043c\u044f\u0442\u0438 \tif align == 1 && (placement_address&0xFFFFF000) != uint32(0) { \/\/\u0415\u0441\u043b\u0438 \u0430\u0434\u0440\u0435\u0441 \u043d\u0435 \u0432\u044b\u0440\u043e\u0432\u043d\u0435\u043d \u043f\u043e \u0433\u0440\u0430\u043d\u0438\u0446\u0435 - \u0442\u043e \u0432\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u043c. \t\tplacement_address &= 0xFFFFF000 \t\tplacement_address += 0x1000 \t} \tif phys != nil { \/\/\u0435\u0441\u043b\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e - \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0430\u0434\u0440\u0435\u0441 \t\t*phys = placement_address \t} \tres := placement_address \/\/\u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u0430\u0434\u0440\u0435\u0441 \tplacement_address += size \/\/\u0438\u0437\u043c\u0435\u043d\u044f\u0435\u043c \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u0430\u0434\u0440\u0435\u0441 \treturn res }  func Kmalloc(size uint32) uint32 { \/\/\u041f\u0440\u043e\u0441\u0442\u043e\u0435 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043f\u0430\u043c\u044f\u0442\u0438 \treturn kmalloc(size, 0, nil) } <\/code><\/pre>\n<p>  <b>Step 0x01<\/b><\/p>\n<p>  \u041f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043c \u043a \u0440\u0430\u043d\u0442\u0430\u0439\u043c\u0443. \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0444\u0430\u0439\u043b runtime.go  <\/p>\n<pre><code class=\"go\">package runtime  import ( \t&quot;memory&quot; )  \/\/extern __unsafe_get_addr func pointer2byteSlice(ptr uint32) *[]byte  \/\/extern __unsafe_get_addr func pointer2uint32(ptr interface{}) uint32  func memset(buf_ptr uint32, value byte, count uint32) { \/\/\u041f\u0440\u0438\u043c\u0438\u0442\u0438\u0432\u043d\u0430\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f memset \tvar buf *[]byte \tbuf = pointer2byteSlice(buf_ptr) \tfor i := uint32(0); i &lt; count; i++ { \t\t(*buf)[i] = value \t} }  func memcpy(dst, src uint32, size uint32) { \/\/\u0422\u0430\u043a \u0436\u0435 \u043f\u0440\u0438\u043c\u0438\u0442\u0438\u0432\u043d\u0430\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f memcpy \tvar dest, source *[]byte \tdest = pointer2byteSlice(dst) \tsource = pointer2byteSlice(src) \tfor i := uint32(0); i &lt; size; i++ { \t\t(*dest)[i] = (*source)[i] \t} }  func New(typeDescriptor uint32, size uint32) uint32 { \/\/\u0410 \u0432\u043e\u0442 \u0438 \u0431\u0443\u0434\u0443\u0449\u0430\u044f new()         \/\/\u041d\u0430 \u0434\u0430\u043d\u043d\u043e\u043c \u044d\u0442\u0430\u043f\u0435 typeDescriptor \u043d\u0435 \u043d\u0443\u0436\u0435\u043d \tbuf_ptr := memory.Kmalloc(size) \/\/\u0412\u044b\u0434\u0435\u043b\u044f\u0435\u043c \u043f\u0430\u043c\u044f\u0442\u044c \tmemset(buf_ptr, 0, size) \/\/\u0437\u0430\u0431\u0438\u0432\u0430\u0435\u043c \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u0443\u044e \u043f\u0430\u043c\u044f\u0442\u044c \u043d\u0443\u043b\u044f\u043c\u0438 \treturn buf_ptr \/\/\u0412\u043e\u0437\u0440\u0430\u0449\u0430\u0435\u043c \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c } <\/code><\/pre>\n<p>  \u0427\u0438\u0442\u0430\u0442\u0435\u043b\u044c, \u0438\u0437\u0443\u0447\u0438\u0432\u0448\u0438\u0439 \u043a\u043e\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u043a \u043f\u0440\u0435\u0432\u0435\u0434\u0443\u0449\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0437\u0430\u0434\u0430\u0441\u0442 \u0432\u043e\u043f\u0440\u043e\u0441: \u00ab\u041a\u0430\u043a \u0436\u0435 \u0442\u0430\u043a, new() \u044d\u0442\u043e __go_new, \u0430 \u043d\u0435 go.runtime.new?\u00bb<\/p>\n<p>  \u041e\u0442\u0432\u0435\u0442 \u0432 \u0444\u0430\u0439\u043b\u0435 runtime.s (\u041f\u043e\u043c\u043d\u0438\u0442\u0435 \u044f \u043f\u0440\u043e\u0441\u0438\u043b \u043f\u0435\u0440\u0435\u043d\u0435\u0441\u0442\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0438\u0437 multiboot.s \u0432 \u043d\u0435\u0433\u043e?)  <\/p>\n<pre><code>;gccgo compability global __go_runtime_error  global __go_register_gc_roots     __go_register_gc_roots: __go_runtime_error:   ret  global __unsafe_get_addr ;convert uint32 to pointer  __unsafe_get_addr:   push ebp   mov ebp, esp   mov eax, [ebp+8]   mov esp, ebp   pop ebp   ret  extern go.runtime.New  global __go_new global __go_new_nopointers  __go_new: ;\u043f\u0440\u043e\u043a\u0438\u0434\u044b\u0432\u0430\u0435\u043c go.runtime.New \u043a\u0430\u043a __go_new __go_new_nopointers:   call go.runtime.New   ret <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043c \u0444\u0430\u0439\u043b kernel.go \u043a \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c\u0443 \u0432\u0438\u0434\u0443:  <\/p>\n<pre><code class=\"go\">package kernel  import ( \t&quot;memory&quot; \t&quot;screen&quot; )  func Load() { \tmemory.Init() \tscreen.Init() \tscreen.Clear() \tstr := new(string) \t*str = &quot;Habrahabr&quot; \tscreen.PrintStr(string(*str)) } <\/code><\/pre>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043c\u044b \u0443\u0432\u0438\u0434\u0438\u043c \u043d\u0430\u0434\u043f\u0438\u0441\u044c \u00abHabrahabr\u00bb.<\/p>\n<p>  <b>\u041f\u0420\u0415\u0414\u0423\u041f\u0420\u0415\u0416\u0414\u0415\u041d\u0418\u0415: \u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u043f\u043e\u043a\u0430 \u043d\u0435 \u0441\u0442\u043e\u0438\u0442 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0432\u0435\u043a\u0442\u043e\u0440\u0430 \u043d\u0430 \u0441\u043b\u0430\u0439\u0441\u044b, \u0441\u0442\u0440\u043e\u043a\u0438 \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u0442\u0438\u043f\u044b \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0434\u043b\u0438\u043d\u043d\u044b \u0438\u043d\u0430\u0447\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043d\u0430\u043b\u043e\u0436\u0435\u043d\u0438\u0435.<\/b>     \t<\/p>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/259839\/\"> http:\/\/habrahabr.ru\/post\/259839\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>     \t\u041f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e, %username%.<\/p>\n<p>  \u041f\u0435\u0440\u0435\u0434 \u0432\u0430\u043c\u0438 \u0432\u0442\u043e\u0440\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u0438\u0437 \u0446\u0438\u043a\u043b\u0430 \u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u041e\u0421 \u043d\u0430 Go + asm.<\/p>\n<p>  <a href=\"http:\/\/habrahabr.ru\/post\/259719\/\">Part 0x00<\/a><\/p>\n<p>  \u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u044f \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043b, \u0447\u0442\u043e \u0432\u0442\u043e\u0440\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u043d\u0438\u0439, \u043d\u043e Go \u043d\u0430\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442 \u0441\u0432\u043e\u0438 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u043a\u0438 \u2014 \u0441\u0435\u0439\u0447\u0430\u0441 \u0431\u0443\u0434\u0435\u0442 \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043f\u0430\u043c\u044f\u0442\u0438 \u0438 \u0447\u0430\u0441\u0442\u044c \u0440\u0430\u043d\u0442\u0430\u0439\u043c\u0430 Go, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043d\u0430\u043c \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f, \u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u043d\u043d\u043e. \u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u044d\u0442\u043e \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u043a \u0442\u0440\u0435\u0442\u044c\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u2014 \u043a\u0443\u0447\u0435 \u0438 \u0434\u043e\u043f\u0438\u043b\u0438\u0432\u0430\u043d\u0438\u044e \u0440\u0430\u043d\u0442\u0430\u0439\u043c\u0430.<br \/>  \u041a\u043e\u0434\u0430 \u043a \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043d\u0430 \u0433\u0438\u0442\u0445\u0430\u0431\u0435 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 (\u0437\u0430\u0431\u044b\u043b \u0432\u043e\u0432\u0440\u0435\u043c\u044f \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043a\u043e\u043c\u043c\u0438\u0442, \u0430 \u0442\u0435\u043f\u0435\u0440\u044c \u0431\u0430\u043d\u0430\u043b\u044c\u043d\u043e \u043b\u0435\u043d\u044c \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c, \u0435\u0441\u043b\u0438 \u043a\u0442\u043e \u043f\u0440\u0438\u0448\u043b\u0435\u0442 \u043f\u0443\u043b\u043b \u0440\u0435\u043a\u0432\u0435\u0441\u0442 \u2014 \u0431\u0443\u0434\u0443 \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u0435\u043d)<\/p>\n<p>  <i>\u0421\u043b\u0430\u0431\u043e\u043d\u0435\u0440\u0432\u043d\u044b\u043c \u043f\u0440\u043e\u0441\u044c\u0431\u0430 \u0437\u0430\u043a\u0440\u044b\u0442\u044c \u0441\u0442\u0430\u0442\u044c\u044e \u2014 \u0432\u0441\u0435, \u0447\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u043e \u043d\u0430 Go \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u043e \u043d\u0430 \u043d\u0435\u043c!<\/i><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-258952","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/258952","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=258952"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/258952\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=258952"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=258952"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=258952"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}